/* ================================
   CSS Variables & Reset
================================ */
:root {
    --font-main: 'Montserrat', sans-serif;
    --font-title: 'Playfair Display', serif;
    --font-logo: 'Meow Script', cursive;
    
    --color-nav-links: #2A292A;
    --color-white: #ffffff;
    --color-background: #ffffff;
    --color-nav-bg: #2A292A;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-background);
    color: var(--color-nav-links);
}

/* ================================
   Navigation Bar
================================ */
.navbar {
    background-color: var(--color-nav-bg);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.5rem 2rem;
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Column 1: Empty Spacer */
.nav-spacer {
    display: block;
}

/* Column 2: Logo */
.nav-logo {
    text-align: center;
}

.nav-logo a {
    font-family: var(--font-logo);
    font-size: 3.5rem;
    text-decoration: none;
    display: inline-block;
}

.logo-eloise {
    color: var(--color-white);
}

.logo-laine {
    color: var(--color-white);
}

/* Column 3: Navigation Links */
.nav-links {
    display: flex;
    justify-content: flex-end;
}

.nav-links ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Navigation Menu */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-nav-bg);
    padding: 1rem 2rem 2rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.mobile-nav.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-nav ul {
    list-style: none;
    text-align: center;
}

.mobile-nav li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav li:last-child {
    border-bottom: none;
}

.mobile-nav a {
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.mobile-nav a:hover {
    opacity: 0.7;
}

/* Hamburger Animation when Active */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ================================
   Hero Section
================================ */
.hero {
    padding-top: 80px; /* Account for fixed navbar */
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 80px);
}

.hero-image {
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom-right-radius: 25px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem;
}

.hero-content h1 {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--color-nav-links);
}

.hero-content p {
    font-family: var(--font-main);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 500px;
    color: var(--color-nav-links);
    text-align: justify;
}

.btn-primary {
    display: inline-block;
    background-color: #FEB1BB;
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    padding: 1rem 2rem;
    margin-top: 2rem;
    border-radius: 5px;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    opacity: 0.85;
}

/* ================================
   About Section
================================ */
.about {
    padding: 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: calc(100vh - 80px);
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
}

.about-content h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--color-nav-links);
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-content p {
    font-family: var(--font-main);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-nav-links);
    text-align: justify;
}

.about-image {
    overflow: hidden;
    height: 100%;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
}

/* ================================
   Tagline Section
================================ */
.tagline {
    padding: 1rem 2rem 2rem;
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.tagline h1 {
    font-family: var(--font-logo);
    font-size: 8rem;
    font-weight: 400;
    color: var(--color-nav-links);
}

/* ================================
   Gallery Section
================================ */
.gallery {
    padding: 1rem 0;
    overflow: hidden;
    width: 100%;
}

.gallery-container {
    display: flex;
    width: 100%;
    min-height: 680px;
}

/* Gallery Item (Tab + Panel wrapper) */
.gallery-item {
    display: flex;
    flex-shrink: 0;
    transition: all 0.5s ease;
}

/* Category Tabs */
.gallery-tab {
    width: 80px;
    min-height: 680px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.gallery-tab span {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.gallery-tab:hover {
    opacity: 0.9;
}

/* Tab & Panel Colors by Category */
.gallery-item[data-category="weddings"] .gallery-tab,
.gallery-item[data-category="weddings"] .gallery-panel {
    background-color: #2A292A;
}

.gallery-item[data-category="babyshowers"] .gallery-tab,
.gallery-item[data-category="babyshowers"] .gallery-panel {
    background-color: #4A9B8C;
}

.gallery-item[data-category="birthdays"] .gallery-tab,
.gallery-item[data-category="birthdays"] .gallery-panel {
    background-color: #E8CDB5;
}

.gallery-item[data-category="corporate"] .gallery-tab,
.gallery-item[data-category="corporate"] .gallery-panel {
    background-color: #FEB1BB;
}

/* Image Panels */
.gallery-panel {
    width: 0;
    min-height: 680px;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s ease;
    position: relative;
}

.gallery-item.active .gallery-panel {
    width: calc(100vw - 320px);
    padding: 1.5rem;
    padding-left: 4rem;
    padding-right: 4rem;
    opacity: 1;
}

/* Gallery Arrow Navigation */
.gallery-arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.gallery-arrow-left {
    left: 0;
}

.gallery-arrow-right {
    right: 0;
}

.gallery-arrow:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.gallery-arrow span {
    font-size: 2rem;
    color: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 300px 300px;
    gap: 1rem;
}

.gallery-placeholder {
    background-color: var(--color-white);
    border-radius: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 300px;
}

.gallery-placeholder.visible {
    display: flex;
}

.gallery-placeholder span {
    font-size: 3rem;
    opacity: 0.5;
}

.gallery-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}

body.lightbox-open {
    overflow: hidden;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem 2rem;
    background: rgba(0, 0, 0, 0.92);
}

.image-lightbox.open {
    display: flex;
}

.lightbox-image {
    display: block;
    max-width: 95vw;
    max-height: calc(100vh - 6rem);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    z-index: 1;
    border: 0;
    background: transparent;
    color: #fff;
    font: 300 3rem/1 Arial, sans-serif;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
    transform: scale(1.1);
    outline: 2px solid #fff;
    outline-offset: 4px;
}

/* ================================
   Approved Reviews Section
================================ */
.approved-reviews-section {
    display: none;
    padding: 3rem 2rem;
    background-color: var(--color-white);
}

.approved-reviews-section.has-approved-reviews,
.approved-reviews-section:has(.review-card) {
    display: block;
}

.approved-reviews {
    max-width: 1200px;
    margin: 0 auto;
}

.approved-reviews-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.approved-reviews-header h2 {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 500;
    color: var(--color-nav-links);
    margin-bottom: 1rem;
}

.approved-reviews-header p {
    font-family: var(--font-main);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-nav-links);
    max-width: 650px;
    margin: 0 auto;
}

.approved-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.reviews-empty-message {
    display: none;
    grid-column: 1 / -1;
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
    border: 1px dashed #FEB1BB;
    border-radius: 15px;
    background-color: #fff7f8;
    color: var(--color-nav-links);
    font-family: var(--font-main);
    font-size: 1rem;
    line-height: 1.7;
    text-align: center;
}

.review-card {
    background-color: #f9f9f9;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.review-stars {
    color: #FEB1BB;
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.review-card blockquote {
    margin: 0;
}

.review-card blockquote p {
    font-family: var(--font-main);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-nav-links);
    margin-bottom: 1.5rem;
}

.review-details {
    border-top: 1px solid #e0e0e0;
    padding-top: 1rem;
}

.review-author {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-nav-links);
    margin-bottom: 0.25rem;
}

.review-event {
    font-family: var(--font-main);
    font-size: 0.9rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ================================
   Packages Section
================================ */
.packages {
    padding: 3rem 2rem;
    background-color: var(--color-background);
}

.packages-container {
    max-width: 1400px;
    margin: 0 auto;
}

.packages-title {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 500;
    color: var(--color-nav-links);
    text-align: center;
    margin-bottom: 2.5rem;
}

.packages-group {
    margin-bottom: 3rem;
}

.packages-group:last-child {
    margin-bottom: 0;
}

.packages-subtitle {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--color-nav-links);
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #FEB1BB;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.package-card {
    background-color: #f9f9f9;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(42, 41, 42, 0.25);
}

.package-name {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-nav-links);
    margin-bottom: 0.75rem;
    text-align: center;
}

.package-price {
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 600;
    color: #FEB1BB;
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 1rem;
    flex-grow: 1;
}

.package-features li {
    font-family: var(--font-main);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-nav-links);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.package-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4A9B8C;
    font-weight: 600;
}

/* ================================
   Reviews Section
================================ */
.reviews {
    padding: 3rem 2rem;
    background-color: #f9f9f9;
}

.reviews-container {
    max-width: 900px;
    margin: 0 auto;
}

.reviews-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.reviews-intro h2 {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 500;
    color: var(--color-nav-links);
    margin-bottom: 1rem;
}

.reviews-intro p {
    font-family: var(--font-main);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-nav-links);
    max-width: 650px;
    margin: 0 auto;
}

.review-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group:nth-of-type(4) {
    grid-column: 1 / -1;
}

.form-group:nth-of-type(5) {
    grid-column: 1 / -1;
}

.form-group label {
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-nav-links);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #dedede;
    border-radius: 8px;
    padding: 0.9rem 1rem;
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--color-nav-links);
    background-color: var(--color-white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FEB1BB;
    box-shadow: 0 0 0 3px rgba(254, 177, 187, 0.25);
}

.review-submit {
    grid-column: 1 / -1;
    justify-self: center;
    border: none;
    background-color: #FEB1BB;
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.review-submit:hover,
.review-submit:focus-visible {
    opacity: 0.85;
    transform: translateY(-2px);
}

.review-website-field {
    display: none;
}

/* ================================
   Thank You Page
================================ */
.thank-you-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: #f9f9f9;
}

.thank-you-card {
    max-width: 650px;
    padding: 3rem;
    background-color: var(--color-white);
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.thank-you-card h1 {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 500;
    color: var(--color-nav-links);
    margin-bottom: 1rem;
}

.thank-you-card p {
    font-family: var(--font-main);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-nav-links);
}

/* ================================
   Placeholder Sections
================================ */
.section {
    background-color: var(--color-nav-bg);
    color: var(--color-white);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem;
}

.section h1,
.section h2 {
    font-family: var(--font-title);
    font-weight: 500;
}

.section h1 {
    font-size: 3rem;
}

.section h2 {
    font-size: 2.5rem;
}

.contact-text {
    margin-top: 1rem;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.contact-phone {
    margin-top: 1rem;
    color: var(--color-white);
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-phone:hover,
.contact-phone:focus-visible {
    opacity: 0.7;
}

/* ================================
   Mobile Responsive Styles
================================ */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 0.5rem 1.5rem;
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-spacer {
        display: none;
    }

    .nav-logo a {
        font-size: 2.75rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-nav {
        display: block;
    }

    .section h1 {
        font-size: 2rem;
        text-align: center;
    }

    .section h2 {
        font-size: 1.75rem;
    }

    /* Hero Mobile Styles */
    .hero {
        padding-top: 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-image {
        height: 50vh;
    }

    .hero-image img {
        border-bottom-right-radius: 25px;
    }

    .hero-content {
        padding: 2rem 1.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* About Mobile Styles */
    .about {
        padding: 0;
    }

    .about-container {
        grid-template-columns: 1fr;
        min-height: auto;
        height: auto;
    }

    .about-content {
        order: 1;
        padding: 2rem 1.5rem;
    }

    .about-image {
        order: 2;
        height: 50vh;
    }

    .about-content h2 {
        font-size: 2rem;
        text-align: center;
    }

    .about-content p {
        font-size: 1rem;
    }

    /* Tagline Mobile Styles */
    .tagline {
        display: none;
    }

    /* Gallery Mobile Styles */
    .gallery {
        padding: 1rem 0;
    }

    .gallery-container {
        flex-direction: column;
        min-height: auto;
    }

    .gallery-item {
        flex-direction: column;
    }

    .gallery-tab {
        width: 100%;
        min-height: 60px;
        height: 60px;
    }

    .gallery-tab span {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 0.9rem;
        letter-spacing: 1px;
        text-align: center;
    }

    .gallery-panel {
        min-height: 0;
        width: 100%;
        height: 0;
        padding-right: 0;
    }

    .gallery-item.active .gallery-panel {
        width: 100%;
        height: 380px;
        min-height: 380px;
        padding: 1rem 3.25rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        height: 100%;
        overflow: hidden;
    }

    .gallery-grid .gallery-placeholder {
        display: none;
        height: 100%;
    }

    .gallery-grid .gallery-placeholder.active-slide {
        display: flex;
    }

    .gallery-arrow {
        width: 2.75rem;
        height: auto;
        top: 0;
        bottom: 0;
    }

    .gallery-arrow span {
        font-size: 1.5rem;
    }

    /* Approved Reviews Mobile Styles */
    .approved-reviews-section {
        padding: 2.5rem 1.5rem;
    }

    .approved-reviews-header h2 {
        font-size: 2.25rem;
    }

    .approved-reviews-header p {
        font-size: 1rem;
    }

    .approved-reviews-grid {
        grid-template-columns: 1fr;
    }

    .reviews-empty-message,
    .review-card {
        padding: 1.5rem;
    }

    /* Packages Mobile Styles */
    .packages {
        padding: 2.5rem 1.5rem;
    }

    .packages-title {
        font-size: 2.25rem;
        margin-bottom: 2rem;
    }

    .packages-subtitle {
        font-size: 1.4rem;
    }

    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .package-card {
        padding: 1.5rem;
    }

    .package-name {
        font-size: 1.25rem;
    }

    .package-price {
        font-size: 1.3rem;
    }

    .package-features li {
        font-size: 0.9rem;
    }

    /* Reviews Mobile Styles */
    .reviews {
        padding: 2.5rem 1.5rem;
    }

    .reviews-intro h2 {
        font-size: 2.25rem;
    }

    .reviews-intro p {
        font-size: 1rem;
    }

    .review-form {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .form-group:nth-of-type(4),
    .form-group:nth-of-type(5) {
        grid-column: auto;
    }

    .review-submit {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .nav-logo a {
        font-size: 2.25rem;
    }
}

/* Tablet Styles */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .approved-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .package-name {
        font-size: 1.25rem;
    }

    .package-features li {
        font-size: 0.9rem;
    }
}
