/* ============================================================
   AFIK PHOTOGRAPHY — elegant, natural, editorial
   ============================================================ */
:root {
    --color-primary: #C8B89A;
    --color-primary-light: #EAE0D4;
    --color-secondary: #8FAF7E;
    --color-secondary-light: #B8CDB0;
    --color-bg: #F7F2EA;
    --color-cream: #FCF9F4;
    --color-white: #FFFFFF;
    --color-dark: #3A332E;
    --color-text: #4A4035;
    --color-text-muted: #897C6F;

    --font-heading: 'Frank Ruhl Libre', 'Cormorant Garamond', serif;
    --font-display: 'Cormorant Garamond', 'Frank Ruhl Libre', serif;
    --font-body: 'Assistant', sans-serif;
    --font-script: 'Dancing Script', cursive;

    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition: all 0.45s var(--ease);
    --radius: 14px;
    --radius-lg: 24px;
    --shadow: 0 6px 34px rgba(58, 51, 46, 0.08);
    --shadow-hover: 0 22px 60px rgba(58, 51, 46, 0.18);
    --maxw: 1200px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.8;
    font-weight: 400;
    direction: rtl;
    overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; color: inherit; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-primary); border-radius: 4px; }
::selection { background: var(--color-secondary-light); color: var(--color-dark); }

/* ===== PAGE LOADER ===== */
#loader {
    position: fixed; inset: 0; z-index: 3000;
    background: var(--color-bg);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
body.loaded #loader { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-leaf {
    width: 40px; height: 40px; color: var(--color-secondary);
    margin: 0 auto 14px; animation: leafPulse 1.6s ease-in-out infinite;
}
.loader-word {
    font-family: var(--font-display);
    font-size: 2.4rem; font-weight: 500; letter-spacing: 4px;
    color: var(--color-dark); margin-bottom: 18px;
}
.loader-bar {
    width: 130px; height: 2px; background: var(--color-primary-light);
    margin: 0 auto; border-radius: 2px; overflow: hidden;
}
.loader-bar span {
    display: block; height: 100%; width: 40%;
    background: var(--color-secondary); border-radius: 2px;
    animation: loadSlide 1.2s ease-in-out infinite;
}
@keyframes leafPulse { 0%,100% { transform: scale(1) rotate(-4deg); opacity: 0.8; } 50% { transform: scale(1.12) rotate(4deg); opacity: 1; } }
@keyframes loadSlide { 0% { transform: translateX(-160%); } 100% { transform: translateX(420%); } }

/* ===== CUSTOM CURSOR (fine pointer only) ===== */
/* Native cursor everywhere — pointer over anything interactive */
a, button, [data-cursor], .gallery-item, .nav-link, .hero-cat-btn { cursor: pointer; }
/* small, tasteful hover feedback on interactive elements */
@media (hover: hover) and (pointer: fine) {
    .nav-link, .hero-cat-btn, .btn-primary, .btn-outline, .btn-secondary,
    .social-btn, .lb-nav, #backToTop {
        transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
    }
    .nav-link:active, .hero-cat-btn:active, .btn-primary:active,
    .btn-outline:active, .btn-secondary:active, .social-btn:active { transform: translateY(0) scale(0.98); }
}

/* ===== SCROLL PROGRESS ===== */
#scrollProgress {
    position: fixed; top: 0; right: 0; left: 0; height: 3px; z-index: 1100;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
    transform: scaleX(0); transform-origin: right; transition: transform 0.1s linear;
}

/* ===== NAVBAR ===== */
#navbar {
    position: fixed; top: 0; right: 0; left: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: space-between;
    padding: 24px 54px; transition: var(--transition);
}
#navbar.scrolled {
    background: rgba(247, 242, 234, 0.9);
    backdrop-filter: blur(20px);
    padding: 13px 54px;
    box-shadow: 0 1px 30px rgba(58, 51, 46, 0.08);
}
.nav-logo { display: flex; align-items: center; gap: 10px; color: var(--color-white); transition: var(--transition); }
.logo-leaf { width: 24px; height: 24px; display: inline-flex; transition: var(--transition); }
.logo-leaf svg { width: 100%; height: 100%; }
.logo-text { font-family: var(--font-display); font-size: 1.65rem; font-weight: 600; letter-spacing: 2px; }
#navbar.scrolled .nav-logo { color: var(--color-dark); }
#navbar.scrolled .logo-leaf { color: var(--color-secondary); transform: rotate(-10deg); }

.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-link {
    position: relative; padding: 8px 15px; border-radius: 22px;
    font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.92);
    transition: var(--transition);
}
.nav-link::after {
    content: ''; position: absolute; bottom: 3px; right: 50%; left: 50%;
    height: 1.5px; background: currentColor; opacity: 0; transition: var(--transition);
}
.nav-link:hover::after { right: 24%; left: 24%; opacity: 0.7; }
#navbar.scrolled .nav-link { color: var(--color-text); }
.nav-link.active { color: #fff; }
#navbar.scrolled .nav-link.active { color: var(--color-secondary); }
.nav-link.active::after { right: 24%; left: 24%; opacity: 1; }
.nav-cta { background: var(--color-secondary); color: #fff !important; padding: 8px 22px; }
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--color-dark); transform: translateY(-1px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }
#navbar.scrolled .nav-toggle span { background: var(--color-dark); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    position: fixed; top: 0; bottom: 0; z-index: 1050;
    width: 38vw; max-width: 170px; min-width: 140px;
    background: var(--color-cream); padding: 84px 12px 24px;
    display: flex; flex-direction: column; gap: 2px;
    box-shadow: -12px 0 50px rgba(58,51,46,0.2);
    transform: translateX(100%); transition: transform 0.4s var(--ease); overflow-y: auto;
    right: 0; left: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { padding: 11px 12px; border-radius: 9px; font-size: 0.92rem; font-weight: 500; white-space: nowrap; color: var(--color-text); transition: var(--transition); }
.mobile-menu a:hover { background: var(--color-primary-light); color: var(--color-dark); padding-right: 16px; }
.mobile-backdrop { position: fixed; inset: 0; z-index: 1040; background: rgba(40,33,28,0.45); opacity: 0; pointer-events: none; transition: opacity 0.45s; }
.mobile-backdrop.open { opacity: 1; pointer-events: all; }

/* ===== HERO ===== */
#hero { position: relative; height: 100vh; min-height: 660px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg {
    position: absolute; inset: -4%; background-size: cover; background-position: center center;
    background-repeat: no-repeat;
    will-change: transform; animation: kenBurns 22s ease-in-out infinite alternate;
}
@keyframes kenBurns { 0% { transform: scale(1) translate(0,0); } 100% { transform: scale(1.12) translate(1%, -1.5%); } }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(40,33,28,0.46) 0%, rgba(40,33,28,0.14) 42%, rgba(40,33,28,0.62) 100%);
}
.hero-grain {
    position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}
.leaf-float { position: absolute; z-index: 1; color: var(--color-secondary-light); opacity: 0.32; pointer-events: none; }
.leaf-1 { width: 190px; top: 13%; left: 6%; animation: sway 9s ease-in-out infinite; }
.leaf-2 { width: 120px; bottom: 15%; right: 7%; transform: scaleX(-1); animation: sway 11s ease-in-out infinite reverse; }
@keyframes sway { 0%,100% { transform: rotate(0deg) translateY(0); } 50% { transform: rotate(7deg) translateY(-14px); } }

.hero-content { position: relative; z-index: 3; text-align: center; color: #fff; padding: 0 24px; max-width: 900px; }
.hero-script {
    display: block; font-family: var(--font-script); font-size: clamp(1.7rem, 3.6vw, 2.6rem);
    color: var(--color-secondary-light); margin-bottom: 4px; text-shadow: 0 2px 18px rgba(0,0,0,0.32);
    opacity: 0; transform: translateY(20px); animation: fadeUp 1.1s var(--ease) 0.3s forwards;
}
.hero-content h1 {
    font-family: var(--font-display); font-size: clamp(2.8rem, 7vw, 5.6rem);
    font-weight: 500; letter-spacing: 3px; line-height: 1.1; margin-bottom: 8px;
    text-shadow: 0 2px 28px rgba(0,0,0,0.34);
    opacity: 0; transform: translateY(26px); animation: fadeUp 1.1s var(--ease) 0.5s forwards;
}
.hero-rule {
    display: flex; align-items: center; justify-content: center; gap: 14px; margin: 14px auto 22px;
    opacity: 0; animation: fadeIn 1.1s ease 0.8s forwards;
}
.hero-rule span { width: 54px; height: 1px; background: rgba(255,255,255,0.55); }
.hero-rule svg { width: 22px; height: 22px; color: var(--color-secondary-light); }
.hero-content > p {
    font-size: clamp(1.02rem, 2.1vw, 1.28rem); font-weight: 300; letter-spacing: 0.5px;
    margin-bottom: 46px; text-shadow: 0 1px 12px rgba(0,0,0,0.3);
    opacity: 0; transform: translateY(24px); animation: fadeUp 1.1s var(--ease) 0.95s forwards;
}
.hero-cats { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; opacity: 0; transform: translateY(24px); animation: fadeUp 1.1s var(--ease) 1.15s forwards; }
.hero-cat-btn {
    padding: 11px 28px; border-radius: 30px; font-size: 0.92rem; font-weight: 500; color: #fff;
    border: 1.5px solid rgba(255,255,255,0.5); background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px); transition: var(--transition);
}
.hero-cat-btn:hover { background: rgba(255,255,255,0.96); color: var(--color-dark); border-color: #fff; transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,0.22); }

.scroll-hint {
    position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 3;
    text-align: center; color: rgba(255,255,255,0.82); font-size: 0.7rem; letter-spacing: 2.5px;
    opacity: 0; animation: fadeIn 1.1s ease 2s forwards;
}
.scroll-hint span { display: block; margin-bottom: 9px; }
.scroll-chevron {
    width: 22px; height: 22px; margin: 0 auto; border-right: 2px solid rgba(255,255,255,0.7);
    border-bottom: 2px solid rgba(255,255,255,0.7); transform: rotate(45deg);
    animation: bounceDown 1.8s ease-in-out infinite;
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes bounceDown { 0%,100% { transform: rotate(45deg) translateY(0); } 50% { transform: rotate(45deg) translateY(7px); } }

/* ===== SECTIONS / SHARED ===== */
.section { padding: 120px 0; position: relative; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 50px; }
.label {
    display: inline-block; font-size: 0.76rem; letter-spacing: 4.5px; text-transform: uppercase;
    color: var(--color-secondary); font-weight: 700; margin-bottom: 12px; position: relative; padding-right: 32px;
}
.label::before { content: ''; position: absolute; right: 0; top: 50%; width: 24px; height: 1.5px; background: var(--color-secondary); }
.label.center { padding-right: 0; }
.label.center::before { display: none; }
.label.center::after { content: ''; display: block; width: 36px; height: 1.5px; background: var(--color-secondary); margin: 8px auto 0; }
.label.light { color: var(--color-secondary-light); }
.section-num { display: block; font-family: var(--font-display); font-size: 3.4rem; font-weight: 500; font-style: italic; color: var(--color-primary); opacity: 0.55; line-height: 1; margin-bottom: 4px; }
.section-head { text-align: center; margin-bottom: 66px; }
.section-title { font-family: var(--font-heading); font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 500; color: var(--color-dark); margin-top: 6px; }
.section-sub { color: var(--color-text-muted); font-size: 1.04rem; margin-top: 14px; }

/* ===== INTRO STATEMENT ===== */
.intro-section { background: var(--color-cream); padding: 96px 0; text-align: center; }
.intro-quote {
    font-family: var(--font-heading); font-weight: 400;
    font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.6; color: var(--color-dark);
    max-width: 900px; margin: 0 auto; position: relative;
}
.intro-quote .quote-mark { font-family: var(--font-display); color: var(--color-primary); font-size: 2em; line-height: 0; vertical-align: -0.35em; margin-left: 6px; }
.intro-sign { font-family: var(--font-script); font-size: 2rem; color: var(--color-secondary); margin-top: 26px; }

/* ===== ABOUT ===== */
#about { background: var(--color-white); }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 90px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-wrap img { width: 100%; height: 560px; object-fit: cover; border-radius: var(--radius-lg); border: 6px solid var(--color-primary-light); position: relative; z-index: 1; box-shadow: var(--shadow); }
.about-img-frame { position: absolute; top: -18px; left: -18px; right: 18px; bottom: 18px; border: 2px solid var(--color-secondary-light); border-radius: var(--radius-lg); z-index: 0; }
.about-leaf { position: absolute; width: 92px; bottom: -30px; left: -32px; color: var(--color-secondary); z-index: 2; filter: drop-shadow(0 6px 12px rgba(58,51,46,0.2)); transform: rotate(-12deg); }
.about-text-wrap h2 { font-family: var(--font-heading); font-size: clamp(2rem, 2.8vw, 2.9rem); font-weight: 500; color: var(--color-dark); margin-bottom: 22px; line-height: 1.25; }
.about-text-wrap p { font-size: 1.08rem; line-height: 2.05; color: var(--color-text-muted); margin-bottom: 26px; }
.about-signature { font-family: var(--font-script); font-size: 2.6rem; color: var(--color-secondary); margin-bottom: 32px; line-height: 1; }

/* ===== BUTTONS ===== */
.btn-primary {
    background: var(--color-secondary); color: #fff; padding: 16px 44px; border-radius: 36px;
    font-size: 1rem; font-weight: 600; letter-spacing: 0.4px; transition: var(--transition);
    display: inline-flex; align-items: center; gap: 9px;
}
.btn-primary:hover { background: var(--color-dark); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(58,51,46,0.26); }
.btn-outline { color: var(--color-dark); border: 1.5px solid var(--color-primary); padding: 13px 38px; border-radius: 36px; font-size: 0.96rem; font-weight: 500; transition: var(--transition); display: inline-flex; align-items: center; gap: 6px; }
.btn-outline:hover { background: var(--color-primary); color: #fff; transform: translateY(-2px); }
.btn-secondary { color: var(--color-dark); border: 1.5px solid var(--color-secondary); padding: 13px 40px; border-radius: 36px; font-size: 0.94rem; font-weight: 500; transition: var(--transition); display: inline-flex; align-items: center; gap: 7px; }
.btn-secondary:hover { background: var(--color-secondary); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(143,175,126,0.42); }

/* ===== CATEGORIES ===== */
.category-section { padding: 110px 0; position: relative; overflow: hidden; }
.category-section.alt-bg { background: var(--color-white); }
.category-header { text-align: center; margin-bottom: 60px; }
.category-header .section-num { margin-bottom: 0; }
.category-header h2 { font-family: var(--font-heading); font-size: clamp(2.3rem, 3.8vw, 3.4rem); font-weight: 500; color: var(--color-dark); margin: 2px 0 16px; }
.category-tagline { font-family: var(--font-heading); font-size: 1.2rem; font-style: italic; font-weight: 300; color: var(--color-text-muted); max-width: 560px; margin: 0 auto; line-height: 1.6; }
.category-header::after { content: ''; display: block; width: 54px; height: 2px; background: var(--color-secondary); margin: 24px auto 0; border-radius: 2px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 52px; }
.gallery-item {
    position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius);
    border: 6px solid var(--color-white); outline: 1px solid var(--color-primary-light);
    transition: var(--transition); box-shadow: var(--shadow);
}
.gallery-item:hover { transform: translateY(-12px); box-shadow: var(--shadow-hover); outline-color: var(--color-primary); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-caption {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 10px; color: #fff; background: linear-gradient(0deg, rgba(40,33,28,0.5), rgba(40,33,28,0.1));
    opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-caption { opacity: 1; }
.gallery-caption .zoom-ring { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.85); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; transform: scale(0.7); transition: var(--transition); }
.gallery-item:hover .zoom-ring { transform: scale(1); }
.gallery-caption .cap-text { font-size: 0.8rem; letter-spacing: 2.5px; text-transform: uppercase; }
.category-cta { text-align: center; }

/* ===== LEAF DIVIDER ===== */
.leaf-divider { position: absolute; left: 0; right: 0; height: 60px; background-repeat: repeat-x; background-size: 60px 60px; opacity: 0.5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 50C30 32 40 18 54 14 50 36 42 48 30 50z' fill='%238FAF7E' opacity='0.25'/%3E%3C/svg%3E"); }
.leaf-divider.top { top: 0; }
.leaf-divider.bottom { bottom: 0; transform: scaleY(-1); }

/* ===== SHOWCASE GALLERY ===== */
.showcase-section { background: var(--color-white); }
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1000px; margin: 0 auto; }
.showcase-grid .gallery-item { aspect-ratio: 1 / 1; }

/* ===== PACKAGES ===== */
.packages-section { background: linear-gradient(160deg, var(--color-primary-light) 0%, var(--color-bg) 62%); }
.packages-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 860px; margin: 0 auto 58px; }
.package-card { background: var(--color-white); border-radius: var(--radius-lg); padding: 52px 44px; box-shadow: var(--shadow); transition: var(--transition); position: relative; overflow: hidden; text-align: right; }
.package-card-accent { position: absolute; top: 0; right: 0; left: 0; height: 5px; background: var(--color-primary); }
.package-card.featured .package-card-accent { background: linear-gradient(90deg, var(--color-secondary), var(--color-secondary-light)); }
.package-card.featured { transform: translateY(-12px); box-shadow: var(--shadow-hover); }
.package-card:hover { transform: translateY(-16px); box-shadow: 0 26px 64px rgba(58,51,46,0.16); }
.package-card.featured:hover { transform: translateY(-20px); }
.package-card::after { content: ''; position: absolute; bottom: -40px; left: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--color-primary-light); opacity: 0.4; z-index: 0; }
.package-card > * { position: relative; z-index: 1; }
.pkg-badge { position: absolute; top: 22px; left: 22px; background: var(--color-secondary); color: #fff; font-size: 0.68rem; font-weight: 700; padding: 5px 16px; border-radius: 14px; letter-spacing: 1px; text-transform: uppercase; }
.pkg-name { font-family: var(--font-heading); font-size: 1.9rem; font-weight: 500; color: var(--color-dark); margin-bottom: 4px; }
.pkg-subtitle { font-size: 0.92rem; color: var(--color-text-muted); margin-bottom: 24px; }
.pkg-price { font-size: 1.35rem; font-weight: 700; color: var(--color-secondary); padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--color-primary-light); }
.pkg-features { list-style: none; }
.pkg-features li { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 0.97rem; color: var(--color-text); border-bottom: 1px solid var(--color-bg); }
.pkg-features li:last-child { border-bottom: none; }
.pkg-features li::before { content: ''; width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; background: var(--color-secondary-light);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 11px; background-repeat: no-repeat; background-position: center; }
.packages-contact { text-align: center; padding-top: 12px; }
.packages-contact p { font-size: 1.04rem; color: var(--color-text-muted); margin-bottom: 24px; }

/* ===== FOOTER / CONTACT ===== */
footer { position: relative; background: var(--color-dark); color: rgba(255,255,255,0.65); padding: 96px 50px 50px; text-align: center; overflow: hidden; }
.footer-inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.footer-leaf { position: absolute; width: 240px; top: -50px; left: -70px; color: rgba(255,255,255,0.04); z-index: 0; }
.footer-title { font-family: var(--font-heading); font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 500; color: #fff; margin: 6px 0 18px; }
.footer-logo { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--color-primary); margin-bottom: 6px; letter-spacing: 2px; }
.footer-tagline { font-family: var(--font-script); font-size: 1.6rem; color: var(--color-secondary-light); margin-bottom: 42px; }
.footer-social { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 42px; }
.social-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 34px; border-radius: 32px; font-size: 0.96rem; font-weight: 600; color: #fff; transition: var(--transition); }
.social-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(0,0,0,0.4); }
.wa-btn { background: #25D366; }
.insta-btn { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.footer-copy { font-size: 0.82rem; opacity: 0.4; }

/* ===== LIGHTBOX ===== */
#lightbox {
    position: fixed; inset: 0; z-index: 9999; background: rgba(22, 18, 15, 0.95);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
#lightbox.open { opacity: 1; pointer-events: all; }
.lb-close { position: fixed; top: 22px; left: 28px; color: rgba(255,255,255,0.8); font-size: 2.4rem; line-height: 1; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: var(--transition); z-index: 2; }
.lb-close:hover { background: rgba(255,255,255,0.14); color: #fff; transform: rotate(90deg); }
.lb-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff; font-size: 2rem; display: flex; align-items: center; justify-content: center; transition: var(--transition); z-index: 2; }
.lb-nav:hover { background: rgba(255,255,255,0.25); }
.lb-prev { right: 28px; }   /* RTL: prev on the right */
.lb-next { left: 28px; }
.lb-stage { max-width: 90vw; max-height: 90vh; transform: scale(0.9); opacity: 0; transition: transform 0.4s var(--ease), opacity 0.4s ease; text-align: center; }
#lightbox.open .lb-stage { transform: scale(1); opacity: 1; }
.lb-stage img { max-width: 88vw; max-height: 82vh; object-fit: contain; border-radius: var(--radius); border: 4px solid rgba(255,255,255,0.1); box-shadow: 0 30px 90px rgba(0,0,0,0.65); }
.lb-meta { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; color: rgba(255,255,255,0.78); }
.lb-meta #lbCaption { font-family: var(--font-heading); font-style: italic; font-size: 1.05rem; }
.lb-meta #lbCounter { font-size: 0.85rem; letter-spacing: 2px; color: var(--color-secondary-light); }

/* ===== BACK TO TOP ===== */
#backToTop { position: fixed; bottom: 32px; left: 32px; z-index: 900; width: 48px; height: 48px; border-radius: 50%; background: var(--color-secondary); color: #fff; font-size: 1.2rem; font-weight: 700; box-shadow: var(--shadow); transition: var(--transition); opacity: 0; pointer-events: none; display: flex; align-items: center; justify-content: center; }
#backToTop.visible { opacity: 1; pointer-events: all; }
#backToTop:hover { background: var(--color-dark); transform: translateY(-3px); }

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll { opacity: 0; transform: translateY(42px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.animate-on-scroll.delay-1 { transition-delay: 0.12s; }
.animate-on-scroll.delay-2 { transition-delay: 0.24s; }
.animate-on-scroll.delay-3 { transition-delay: 0.36s; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1080px) { .nav-links { display: none; } .nav-toggle { display: flex; } }
@media (max-width: 960px) {
    .container { padding: 0 30px; }
    #navbar { padding: 18px 30px; } #navbar.scrolled { padding: 12px 30px; }
    .about-grid { grid-template-columns: 1fr; gap: 60px; }
    .about-img-wrap img { height: 420px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .packages-grid { grid-template-columns: 1fr; max-width: 450px; }
    .package-card.featured { transform: none; } .package-card.featured:hover { transform: translateY(-10px); }
    .leaf-1, .leaf-2 { display: none; }
}
@media (max-width: 600px) {
    /* tighter vertical rhythm so the page isn't endless to scroll */
    .section, .category-section { padding: 56px 0; }
    .intro-section { padding: 52px 0; }
    .container { padding: 0 20px; }
    .section-head { margin-bottom: 40px; }
    .category-header { margin-bottom: 34px; }

    /* KEY FIX: galleries 3-per-row on phones → smaller photos, far less scrolling */
    .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 32px; }
    .gallery-item { aspect-ratio: 3 / 4; border-width: 3px; }
    .showcase-grid { grid-template-columns: repeat(3, 1fr); gap: 7px; }
    /* captions/hover don't help on touch — keep a subtle constant zoom hint */
    .gallery-caption { opacity: 1; background: linear-gradient(0deg, rgba(40,33,28,0.28), transparent 55%); }
    .gallery-caption .zoom-ring { width: 34px; height: 34px; font-size: 0.9rem; transform: scale(1); border-color: rgba(255,255,255,0.7); }
    .gallery-caption .cap-text { display: none; }

    .hero-content h1 { font-size: 2.4rem; }
    .hero-script { font-size: 1.5rem; }
    .hero-cats { gap: 8px; }
    .hero-cat-btn { padding: 8px 16px; font-size: 0.8rem; }
    .section-num { font-size: 2.6rem; }
    .category-header h2, .section-title { font-size: 1.9rem; }
    .category-tagline, .section-sub { font-size: 1rem; }

    footer { padding: 56px 22px 36px; }
    /* WhatsApp + Instagram side by side in one row */
    .footer-social { flex-direction: row; justify-content: center; gap: 10px; }
    .social-btn { padding: 12px 20px; font-size: 0.88rem; }
    .packages-grid { gap: 20px; }
    .package-card { padding: 36px 26px; }
    #backToTop { bottom: 18px; left: 18px; width: 44px; height: 44px; }
    .about-leaf { width: 60px; left: -12px; bottom: -16px; }
    .about-img-wrap img { height: 340px; }
    .lb-nav { width: 42px; height: 42px; font-size: 1.4rem; }
    .lb-prev { right: 10px; } .lb-next { left: 10px; }
    .lb-close { top: 14px; left: 14px; }
}
@media (max-width: 380px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-content h1 { font-size: 2rem; }
    .social-btn { padding: 11px 14px; font-size: 0.82rem; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-bg { animation: none; }
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ============================================================
   UI/UX POLISH PASS  (ui-ux-pro-max skill)
   priorities: a11y · touch · style · motion
   ============================================================ */

/* P5 Layout: anchored sections clear the sticky navbar */
html { scroll-padding-top: 90px; }

/* P1 Accessibility: visible keyboard focus (was missing entirely) */
a:focus-visible, button:focus-visible, [data-action]:focus-visible,
.gallery-item:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 3px;
    border-radius: 6px;
}
/* don't show the ring on mouse click, only keyboard */
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }

/* P2 Touch: kill the 300ms delay + grey tap flash, comfortable targets */
a, button, [data-action] { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* P2/P7 Press feedback — subtle scale on tap for tactile feel */
.btn-primary:active, .btn-outline:active, .btn-secondary:active,
.hero-cat-btn:active, .social-btn:active, .nav-cta:active { transform: scale(0.97); }

/* P4 Style: richer, layered shadow scale + smoother card lift */
:root {
    --shadow-sm: 0 2px 10px rgba(58,51,46,0.06);
    --shadow-md: 0 10px 34px rgba(58,51,46,0.10);
}
.gallery-item { will-change: transform; }

/* P7 Motion: gallery images get a gentle reveal-zoom rhythm in view */
.gallery-item.visible img { animation: kbDrift 14s ease-in-out infinite alternate; }
@keyframes kbDrift { from { transform: scale(1.01); } to { transform: scale(1.06); } }
.gallery-item:hover img { animation: none; }

/* P6 Typography: tabular numbers for prices so they never jitter */
.pkg-price, .pkg-features li { font-variant-numeric: tabular-nums; }

/* P4 Polish: hero CTA buttons get a soft glow ring on hover for depth */
.hero-cat-btn { box-shadow: 0 2px 12px rgba(0,0,0,0.08); }

/* Nicer focus ring specifically on dark footer */
footer a:focus-visible { outline-color: var(--color-secondary-light); }

/* P2 Touch: ensure tap targets on mobile are ≥44px */
@media (max-width: 600px) {
    .nav-cta, .social-btn, .btn-primary, .btn-secondary, .btn-outline { min-height: 44px; }
    html { scroll-padding-top: 72px; }
}
