/* ========================================
   Hera Davetiye — Ana Stil Dosyası
   ======================================== */

/* ===== Değişkenler ===== */
:root {
    --gold:        #0F1E38;
    --gold-dark:   #09142A;
    --gold-light:  #C5D3E8;
    --mauve:       #4A6FA5;
    --ivory:       #F8FAFF;
    --ivory-dark:  #EEF2F8;
    --dark:        #0F1E38;
    --text:        #2D3F5C;
    --text-light:  #5A6A8A;
    --white:       #FFFFFF;
    --green-wa:    #25D366;
    --shadow-sm:   0 2px 15px rgba(26, 45, 82, 0.08);
    --shadow:      0 6px 30px rgba(26, 45, 82, 0.12);
    --shadow-lg:   0 12px 50px rgba(26, 45, 82, 0.18);
    --ease:        cubic-bezier(0.4, 0, 0.2, 1);
    --transition:  all 0.35s var(--ease);
    --radius:      14px;
    --radius-sm:   8px;
}

/* ===== Reset & Temel ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Raleway', sans-serif;
    background-color: var(--ivory);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.9rem 0;
    box-shadow: 0 2px 25px rgba(26, 45, 82, 0.10);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.nav-logo-img {
    height: 40px;
    width: 40px;
    object-fit: contain;
    border-radius: 50%;
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 1px;
    white-space: nowrap;
}

.logo-ornament {
    color: var(--gold);
    font-size: 0.65rem;
    line-height: 1;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-link {
    color: var(--text);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    position: relative;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width 0.3s var(--ease);
}

.nav-link:hover { color: var(--gold-dark); }
.nav-link:hover::after,
.nav-link.active-nav::after { width: 100%; }
.nav-link.active-nav { color: var(--gold-dark); }

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--gold);
    color: var(--white) !important;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.8px;
    transition: var(--transition);
}

.nav-cta::after { display: none; }
.nav-cta:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(17, 32, 64, 0.38);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 1001;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Navbar hero üzerinde beyaz */
.navbar:not(.scrolled) .logo-text { color: #FFFFFF; }
.navbar:not(.scrolled) .nav-link  { color: rgba(255,255,255,0.82); }
.navbar:not(.scrolled) .nav-link:hover { color: #FFFFFF; }
.navbar:not(.scrolled) .nav-link::after { background: rgba(255,255,255,0.6); }
.navbar:not(.scrolled) .nav-link.active-nav { color: #FFFFFF; }
.navbar:not(.scrolled) .nav-toggle span { background: #FFFFFF; }
.navbar:not(.scrolled) .nav-cta {
    background: rgba(255,255,255,0.15);
    color: #FFFFFF !important;
    border: 1.5px solid rgba(255,255,255,0.35);
}
.navbar:not(.scrolled) .nav-cta:hover {
    background: rgba(255,255,255,0.28);
    box-shadow: none;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(150deg, #0F1E38 0%, #132448 50%, #172A55 100%);
}

/* Dekoratif halkalar */
.hero-deco {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(201, 169, 110, 0.22);
    pointer-events: none;
    animation: rotateSlow 30s linear infinite;
}
.hero-deco-1 { width: 480px; height: 480px; top: -120px; left: -100px; border-color: rgba(26,45,82,0.12); }
.hero-deco-2 { width: 700px; height: 700px; bottom: -250px; right: -200px; border-color: rgba(26,45,82,0.08); animation-direction: reverse; }
.hero-deco-3 { width: 240px; height: 240px; top: 15%; right: 8%; border-color: rgba(26,45,82,0.10); }

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 2rem;
    animation: fadeInUp 1s var(--ease) both;
}

.hero-subtitle {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.70);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.05;
    margin-bottom: 1.4rem;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.72);
    max-width: 480px;
    margin: 0 auto 2rem;
    line-height: 1.9;
    font-weight: 400;
}

.hero-divider {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 2rem;
    line-height: 1;
}

.hero-btn {
    display: inline-block;
    padding: 0.9rem 2.4rem;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: var(--transition);
}

.hero-btn:hover {
    background: #FFFFFF;
    color: var(--dark);
    border-color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.20);
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.50);
    font-size: 0.7rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    z-index: 2;
    animation: bounce 2.2s ease-in-out infinite;
}

/* ===== ORTAK BÖLÜM ===== */
.section { padding: 6rem 0; }
.section-alt { background: var(--ivory-dark); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.section-header { text-align: center; margin-bottom: 3.5rem; }

.section-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold-dark);
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.9rem);
    color: var(--dark);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    margin: 0.9rem 0 1.2rem;
    color: var(--gold);
    font-size: 0.85rem;
}
.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    max-width: 75px;
    height: 1px;
    background: var(--gold-light);
}

.section-desc {
    color: var(--text-light);
    max-width: 520px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.85;
}

/* Hakkımızda için ince altın çizgi */
.gold-line {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin: 1rem 0 1.6rem;
    border-radius: 2px;
}

/* ===== ÜRÜN KARTlARI ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.product-card:hover {
    transform: translateY(-9px);
    box-shadow: var(--shadow-lg);
}

.product-img-wrapper {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

/* Placeholder — kullanıcı görsel ekleyince kaldırılacak */
.product-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--ivory-dark), var(--gold-light));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: var(--gold);
    font-size: 2.4rem;
    transition: transform 0.5s var(--ease);
}
.product-img-placeholder span {
    font-size: 0.7rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.7;
}

/* Gerçek görsel için */
.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s var(--ease);
}
.product-card:hover .product-img-placeholder,
.product-card:hover .product-img-wrapper img {
    transform: scale(1.06);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(38, 32, 28, 0.48);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}
.product-card:hover .product-overlay { opacity: 1; }

.product-btn {
    padding: 0.7rem 1.9rem;
    background: var(--gold);
    color: var(--white);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 1px;
    border-radius: 50px;
    transform: translateY(12px);
    transition: var(--transition);
    white-space: nowrap;
}
.product-card:hover .product-btn { transform: translateY(0); }
.product-btn:hover { background: var(--gold-dark); }

.product-badge {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    background: var(--gold);
    color: var(--white);
    padding: 0.22rem 0.7rem;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-info { padding: 1.2rem 1.4rem 1.5rem; }
.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.12rem;
    color: var(--dark);
    margin-bottom: 0.3rem;
    font-weight: 600;
}
.product-desc {
    font-size: 0.84rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* ===== HAKKIMIZDA ===== */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 5rem;
    align-items: center;
}

.about-img-side { position: relative; }

.about-img-placeholder {
    aspect-ratio: 4 / 5;
    background: linear-gradient(145deg, var(--ivory-dark), var(--gold-light));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--gold);
    box-shadow: var(--shadow);
}

.about-float-badge {
    position: absolute;
    bottom: -1.2rem;
    right: -1.2rem;
    background: var(--gold);
    color: var(--white);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1.2rem;
    text-align: center;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.about-float-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}
.about-float-label {
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.85;
}

.about-title { text-align: left; }

.about-text {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.92;
    font-size: 0.98rem;
}

.about-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gold-light);
}
.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-dark);
    line-height: 1;
    margin-bottom: 0.2rem;
}
.stat-label {
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 500;
}

/* ===== SSS ===== */
.faq-wrapper { max-width: 740px; margin: 0 auto; }

.faq-item {
    border: 1px solid var(--gold-light);
    border-radius: var(--radius-sm);
    margin-bottom: 0.85rem;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    text-align: left;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.97rem;
    transition: color 0.25s;
}
.faq-question:hover { color: var(--gold-dark); }

.faq-icon {
    color: var(--gold);
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: transform 0.35s var(--ease);
}
.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.42s var(--ease), padding 0.3s;
    padding: 0 1.5rem;
}
.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 0 1.5rem 1.4rem;
}
.faq-answer p { color: var(--text-light); line-height: 1.85; font-size: 0.93rem; }

/* ===== İLETİŞİM ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.4rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}
.contact-card:hover {
    transform: translateY(-6px);
    border-bottom-color: var(--gold);
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-light), var(--ivory-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.3rem;
    color: var(--gold-dark);
}
.contact-icon-wa {
    background: linear-gradient(135deg, #c8f7dc, #e8fce8);
    color: var(--green-wa);
}

.contact-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.08rem;
    color: var(--dark);
    margin-bottom: 0.65rem;
    font-weight: 600;
}
.contact-info {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0.2rem;
}
.contact-sub {
    font-size: 0.78rem;
    color: var(--text-light);
    opacity: 0.7;
    margin-top: 0.2rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.9rem;
    padding: 0.6rem 1.3rem;
    background: var(--green-wa);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.83rem;
    font-weight: 600;
    transition: var(--transition);
}
.whatsapp-btn:hover {
    background: #1ebe5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.32);
}

/* ===== FOOTER ===== */
.footer { background: var(--dark); padding: 3.5rem 0 1.5rem; }

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 2rem;
}
.footer-logo .logo-text { color: var(--ivory); }

.footer-tagline {
    color: rgba(250, 247, 242, 0.45);
    font-size: 0.9rem;
    font-style: italic;
    font-family: 'Playfair Display', serif;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}
.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(26, 45, 82, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 0.9rem;
    transition: var(--transition);
}
.social-link:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-divider {
    height: 1px;
    background: rgba(201, 169, 110, 0.18);
    margin-bottom: 1.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.footer-bottom > p {
    color: rgba(250, 247, 242, 0.35);
    font-size: 0.82rem;
}
.footer-nav {
    display: flex;
    gap: 1.5rem;
}
.footer-nav a {
    color: rgba(250, 247, 242, 0.5);
    font-size: 0.82rem;
    transition: color 0.25s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-nav a:hover { color: var(--gold); }

/* ===== WHATSAPP YÜzEN BUTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 58px;
    height: 58px;
    background: var(--green-wa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.65rem;
    box-shadow: 0 5px 22px rgba(37, 211, 102, 0.48);
    z-index: 998;
    transition: var(--transition);
    animation: waPulse 2.5s ease-in-out infinite;
}
.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.58);
    animation: none;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== ANİMASYONLAR ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(45px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(7px); }
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes waPulse {
    0%   { box-shadow: 0 0 0 0   rgba(37, 211, 102, 0.45); }
    70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0   rgba(37, 211, 102, 0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid  { grid-template-columns: repeat(2, 1fr); }
    .about-wrapper { gap: 3rem; }
}

@media (max-width: 640px) {
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    /* Mobil menü */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 270px;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 2.2rem;
        transition: right 0.4s var(--ease);
        box-shadow: -6px 0 35px rgba(26, 45, 82, 0.12);
        z-index: 1000;
    }
    .nav-menu.open { right: 0; }
    .nav-link { font-size: 1rem; }
    .nav-toggle { display: flex; }

    .section { padding: 4.5rem 0; }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .about-img-side { max-width: 330px; margin: 0 auto; }
    .about-title { text-align: center; }
    .gold-line { margin: 1rem auto 1.6rem; }
    .about-stats { justify-content: center; }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 560px) {
    .products-grid { grid-template-columns: 1fr; }
    .contact-grid  { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.8rem; }
    .about-stats { gap: 1.8rem; }
    .whatsapp-float { bottom: 1.25rem; right: 1.25rem; width: 52px; height: 52px; font-size: 1.4rem; }
}

/* ===== ÜRÜN FİYATI ===== */
.product-price { font-size: 1rem; font-weight: 700; color: var(--gold-dark); margin-bottom: 0.3rem; }
.product-price span { font-size: 0.75rem; font-weight: 400; color: var(--text-light); }

/* ===== HERO AKSIYON BUTONLARI ===== */
.hero-actions { display: flex; gap: 1rem; justify-content: center; align-items: center; flex-wrap: wrap; }

.hero-btn-apply {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2.4rem;
    background: #FFFFFF;
    color: var(--dark);
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
}
.hero-btn-apply:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.20);
}

/* ===== BAŞVURU MODALİ ===== */
.apply-modal {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}
.apply-modal.open { opacity: 1; pointer-events: all; }

.apply-modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    width: 100%;
    max-width: 600px;
    max-height: 92vh;
    overflow-y: auto;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(24px) scale(0.97);
    transition: transform 0.35s var(--ease);
}
.apply-modal.open .apply-modal-content { transform: translateY(0) scale(1); }
.apply-modal-content::-webkit-scrollbar { width: 4px; }
.apply-modal-content::-webkit-scrollbar-thumb { background: var(--gold-light); border-radius: 2px; }

.apply-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ivory-dark);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition);
    z-index: 1;
    border: none;
    cursor: pointer;
}
.apply-modal-close:hover { background: var(--gold); color: var(--white); }

.apply-modal-header { text-align: center; margin-bottom: 1.8rem; }
.apply-ornament { color: var(--gold); font-size: 1.2rem; margin-bottom: 0.5rem; }
.apply-modal-header h2 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--dark); font-weight: 600; margin-bottom: 0.4rem; }
.apply-modal-header p { font-size: 0.88rem; color: var(--text-light); }

.apply-section {
    margin-bottom: 1.6rem;
    padding-bottom: 1.6rem;
    border-bottom: 1px solid var(--ivory-dark);
}
.apply-section:last-of-type { border-bottom: none; margin-bottom: 0; }

.apply-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 1rem;
}

.apply-section-desc { font-size: 0.82rem; color: var(--text-light); margin-bottom: 0.75rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.form-group { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.85rem; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group textarea,
.form-group select {
    border: 1.5px solid var(--ivory-dark);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.9rem;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--dark);
    background: var(--ivory);
    transition: border-color 0.25s;
    resize: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--gold); background: var(--white); }
.form-group input.error,
.form-group textarea.error { border-color: #e06060; }
.apply-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A8833F' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer; }

.apply-image-zone {
    border: 2px dashed var(--gold-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    background: var(--ivory);
    transition: border-color 0.25s, background 0.25s;
}
.apply-image-zone:hover,
.apply-image-zone.drag-over { border-color: var(--gold); background: rgba(201,169,110,0.05); }

.apply-upload-placeholder {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    pointer-events: none;
}
.apply-upload-placeholder i { font-size: 2rem; color: var(--gold-light); }
.apply-upload-placeholder span { font-size: 0.82rem; color: var(--text-light); font-weight: 500; }

.apply-image-preview-wrap { position: relative; }
.apply-image-preview-wrap img { width: 100%; max-height: 200px; object-fit: cover; display: block; }
.apply-remove-image {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(38,32,28,0.65);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    backdrop-filter: blur(4px);
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}
.apply-remove-image:hover { background: rgba(220,53,69,0.85); }

.apply-submit-btn {
    width: 100%;
    padding: 0.95rem;
    background: var(--gold);
    color: var(--white);
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    margin-top: 0.5rem;
}
.apply-submit-btn:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(17,32,64,0.32); }
.apply-submit-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.apply-success {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
}
.apply-success-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5cb85c, #4aaa4a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.9rem;
    margin-bottom: 1.2rem;
    animation: scaleIn 0.4s var(--ease) both;
}
.apply-success h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--dark); margin-bottom: 0.7rem; }
.apply-success p { color: var(--text-light); margin-bottom: 1.5rem; max-width: 340px; line-height: 1.7; }
.apply-success-btn {
    padding: 0.75rem 2rem;
    border: 1.5px solid var(--gold);
    color: var(--gold-dark);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.88rem;
    font-family: 'Raleway', sans-serif;
    background: none;
    cursor: pointer;
    transition: var(--transition);
}
.apply-success-btn:hover { background: var(--gold); color: var(--white); }

.apply-overlay {
    position: fixed;
    inset: 0;
    background: rgba(38,32,28,0.55);
    z-index: 1399;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.apply-overlay.active { opacity: 1; pointer-events: all; }

@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

@media (max-width: 560px) {
    .hero-actions { flex-direction: column; gap: 0.75rem; }
    .form-row { grid-template-columns: 1fr; }
    .apply-modal-content { padding: 1.5rem 1.25rem; }
}

