/* ============================================================
   Momentra Photography — Public Site CSS
   Color palette: #2c3e50 (dark), #e74c3c (red), #f39c12 (gold)
   Fonts: Playfair Display (headings), Poppins (body)
   ============================================================ */

:root {
    --primary: #2c3e50;
    --accent: #e74c3c;
    --gold: #f39c12;
    --text: #333;
    --text-light: #666;
    --bg: #fff;
    --bg-alt: #f8f8f8;
    --radius: 8px;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --transition: 0.3s ease;
    --header-h: 70px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--bg);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── Container ─── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover { background: #c0392b; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(231,76,60,0.35); }
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #128C7E; transform: translateY(-2px); }
.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
}
.btn-instagram:hover { opacity: 0.9; transform: translateY(-2px); }
.btn-facebook { background: #1877F2; color: #fff; }
.btn-facebook:hover { background: #0d65e0; transform: translateY(-2px); }
.btn-full { width: 100%; justify-content: center; }

/* ─── Alerts ─── */
.alert {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ─── Section base ─── */
.section {
    padding: 5rem 0;
}
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--primary);
}

/* ─── Header ─── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    background: #000;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
}
.logo-img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.logo-img--wide { width: auto; height: 62px; border-radius: 0; object-fit: contain; }
.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
}
.nav-link {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}
.nav-link:hover { color: var(--gold); }
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; transition: var(--transition); border-radius: 2px; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── Hero ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-h);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('/images/background.jpg') center/cover no-repeat;
    filter: brightness(0.45);
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem 1.5rem;
    max-width: 800px;
}
.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.2rem, 9vw, 7rem);
    font-weight: 300;
    font-style: italic;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: 0.04em;
    line-height: 1.1;
    text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.hero-tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    margin-bottom: 0.75rem;
}
.hero-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: rgba(255,255,255,0.8);
    font-weight: 300;
    margin-bottom: 2.5rem;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ─── About ─── */
.about-section { background: var(--bg); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.about-text p { margin-bottom: 1rem; color: var(--text-light); }
.about-values { display: flex; flex-direction: column; gap: 1.5rem; }
.value-item { display: flex; gap: 1rem; }
.value-icon { font-size: 1rem; color: var(--gold); flex-shrink: 0; margin-top: 0.2rem; }
.value-item h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.value-item p { color: var(--text-light); font-size: 0.9rem; margin: 0; }

/* ─── Services ─── */
.services-section { background: var(--bg-alt); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.service-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; color: var(--primary); }
.service-card p { color: var(--text-light); font-size: 0.9rem; }

/* ─── Gallery ─── */
.gallery-section { background: var(--primary); }
.gallery-section .section-title { color: #fff; }
.gallery-section .section-label { color: var(--gold); }
/* ─── Gallery Carousel (crossfade + Ken Burns) ─── */
@keyframes kenBurnsIn  { from { transform: scale(1);    } to { transform: scale(1.1); } }
@keyframes kenBurnsOut { from { transform: scale(1.1);  } to { transform: scale(1);   } }

.gallery-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    height: 580px;
    background: #111;
}
.gallery-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
}
.gallery-slide.active {
    opacity: 1;
    pointer-events: auto;
}
.gallery-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    animation: kenBurnsIn 8s ease-in-out forwards;
}
.gallery-slide.leaving .gallery-slide-bg {
    animation: kenBurnsOut 1s ease forwards;
}
.gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.65));
    color: #fff;
    padding: 2.5rem 1.5rem 1.25rem;
    font-size: 0.95rem;
    z-index: 2;
}
.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: var(--transition);
    z-index: 10;
}
.gallery-btn:hover { background: rgba(255,255,255,0.3); transform: translateY(-50%) scale(1.1); }
.gallery-prev { left: 1rem; }
.gallery-next { right: 1rem; }
.gallery-dots {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}
.gallery-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}
.gallery-dot.active { background: #fff; transform: scale(1.4); }

/* ─── Social Feed ─── */
.social-section { background: var(--bg); }

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}
.social-post-card { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.social-post-image { position: relative; width: 100%; height: 100%; }
.social-post-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease, opacity 0.5s ease; }
.social-post-image img.fading { opacity: 0; }
.social-post-card:hover .social-post-image img { transform: scale(1.05); }
.social-post-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    transition: opacity var(--transition);
    padding: 1rem;
}
.social-post-card:hover .social-post-overlay { opacity: 1; }
.social-platform-icon { color: #fff; width: 28px; height: 28px; flex-shrink: 0; }
.social-platform-icon svg { width: 28px; height: 28px; }
.social-post-caption { color: rgba(255,255,255,0.9); font-size: 0.8rem; text-align: center; line-height: 1.5; }
.social-follow-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}
.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    color: #555;
    margin-top: 0.75rem;
}

/* ─── Reviews ─── */
.reviews-section { background: var(--bg-alt); }
.reviews-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.review-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow);
}
.review-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.reviewer-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.reviewer-avatar-placeholder {
    width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.1rem;
}
.reviewer-info strong { display: block; font-size: 0.95rem; }
.review-stars .star-filled { color: var(--gold); }
.review-stars .star-empty  { color: #ddd; }
.review-text { color: var(--text-light); font-size: 0.9rem; font-style: italic; line-height: 1.7; }
.review-date { display: block; margin-top: 0.75rem; font-size: 0.8rem; color: #999; }

/* ─── Contact ─── */
.contact-section { background: var(--primary); }
.contact-section .section-title { color: #fff; }
.contact-section .section-label { color: var(--gold); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: rgba(255,255,255,0.9);
}
.contact-icon {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--accent);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: #fff;
}
.contact-item h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 0.1rem; }
.contact-item a:hover { color: var(--gold); }

/* Contact Form */
.contact-form-wrapper {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 2rem;
}
.contact-form .form-group { margin-bottom: 1.25rem; }
.contact-form label { display: block; margin-bottom: 0.4rem; font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.contact-form input,
.contact-form textarea {
    width: 100%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: border-color var(--transition);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.35); }
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--gold); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.form-error { display: block; color: #fca5a5; font-size: 0.8rem; margin-top: 0.3rem; }

/* ─── Footer ─── */
.site-footer { background: #000; color: rgba(255,255,255,0.75); padding: 4rem 0 0; }
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
}
.footer-logo { width: auto; height: 60px; border-radius: 0; object-fit: contain; margin-bottom: 0.75rem; }
.footer-tagline { color: var(--gold); font-style: italic; font-size: 0.9rem; margin-bottom: 1rem; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a { color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-social a:hover { color: var(--gold); }
.footer-links h4, .footer-contact h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer-links ul, .footer-contact ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; }
.footer-contact svg { flex-shrink: 0; margin-top: 3px; opacity: 0.6; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.25rem 1.5rem;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

/* ─── Scroll animations ─── */
.animate-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: none; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .social-grid { grid-template-columns: repeat(3, 1fr); }
    .reviews-track { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-menu {
        position: fixed;
        top: var(--header-h); left: 0; right: 0;
        background: var(--primary);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        z-index: 999;
    }
    .nav-menu.open { transform: none; opacity: 1; pointer-events: all; }
    .nav-menu li { border-bottom: 1px solid rgba(255,255,255,0.08); }
    .nav-link { display: block; padding: 0.85rem 1.5rem; }

    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .social-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-track { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-container { grid-template-columns: 1fr; gap: 2rem; }
    .gallery-slider { height: 350px; }
}

@media (max-width: 480px) {
    .section { padding: 3.5rem 0; }
    .social-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   PACKAGES PAGE
   ============================================================ */
.page-hero {
    padding: 9rem 0 3rem;
    text-align: center;
    background: linear-gradient(180deg, #faf7f3 0%, #fff 100%);
}
.page-hero .section-title { margin: 0.5rem 0 1rem; }
.page-hero-subtitle {
    max-width: 620px;
    margin: 0 auto;
    color: #6b6b6b;
    font-size: 1.05rem;
    line-height: 1.7;
}

.packages-section { padding-top: 2.5rem; }

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 2rem;
    align-items: start;
}

.package-card {
    background: #fff;
    border: 1px solid #efe9e1;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 26px rgba(44, 62, 80, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.package-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(44, 62, 80, 0.12);
}

.package-card-image {
    height: 210px;
    background-size: cover;
    background-position: center;
}

.package-card-body {
    padding: 1.75rem 1.6rem 1.9rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.package-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    line-height: 1.25;
    color: #2c3e50;
    margin: 0 0 0.35rem;
}
.package-subtitle {
    color: #e74c3c;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    margin: 0 0 0.9rem;
}
.package-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.1rem;
}
.package-meta:empty { margin-bottom: 0; }
.package-duration {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #faf7f3;
    border: 1px solid #efe2d0;
    color: #b07d2b;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
}
.package-duration svg { flex-shrink: 0; }
.package-price {
    display: inline-flex;
    align-items: center;
    background: #2c3e50;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
}
.package-description {
    color: #5a5a5a;
    line-height: 1.7;
    margin: 0 0 1rem;
}
.package-details {
    color: #444;
    font-size: 0.96rem;
    margin-bottom: 1.1rem;
}
.package-list-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #2c3e50;
    margin: 1.1rem 0 0.6rem;
}
.package-list-heading:first-child { margin-top: 0; }
.package-list {
    list-style: none;
    margin: 0 0 0.4rem;
    padding: 0;
}
.package-list li {
    position: relative;
    padding-left: 1.6rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    color: #4a4a4a;
}
.package-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.18em;
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 50%;
    background-color: rgba(231, 76, 60, 0.1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e74c3c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.66rem 0.66rem;
}
.package-para {
    color: #5a5a5a;
    line-height: 1.7;
    margin: 0 0 0.8rem;
}
.package-note {
    background: #faf7f3;
    border-left: 3px solid #f39c12;
    padding: 0.7rem 0.9rem;
    border-radius: 0 6px 6px 0;
    color: #6b6b6b;
    font-size: 0.86rem;
    font-style: italic;
    line-height: 1.6;
    margin: 0 0 1.4rem;
}
.package-cta { margin-top: auto; text-align: center; }

.packages-footer-cta {
    text-align: center;
    margin-top: 3.5rem;
    padding: 2.5rem 1.5rem;
    background: #faf7f3;
    border-radius: 14px;
}
.packages-footer-cta p {
    color: #5a5a5a;
    font-size: 1.05rem;
    margin-bottom: 1.4rem;
}
.packages-footer-cta .btn { margin: 0 0.4rem 0.5rem; }

@media (max-width: 600px) {
    .packages-grid { grid-template-columns: 1fr; }
    .page-hero { padding-top: 7.5rem; }
}
