/* ========================================
   GLOBAL STYLES & VARIABLES
   ======================================== */

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

:root {
    --plum: #5A3D5C;
    --deep-plum: #3E2A3F;
    --light-plum: #8B6D8F;
    --cream: #F9F6F0;
    --dark-cream: #EBE4D8;
    --warm-gold: #D4AF37;
    --charcoal: #2D2D2D;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--cream);
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   NAVIGATION (SHARED BY ALL PAGES)
   ======================================== */

/* Standard Navigation Bar (About, Gallery, Packages, Contact) */
nav {
    background: var(--deep-plum);
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

nav .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

nav .logo img {
    height: 45px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav li {
    margin: 0;
}

nav a {
    color: var(--cream);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

nav a:hover, nav a.active {
    color: var(--warm-gold);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--cream);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hamburger Menu (Homepage) */
.hamburger-menu {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
}

.hamburger-icon {
    width: 40px;
    height: 40px;
    background: rgba(62, 42, 63, 0.9);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px;
}

.hamburger-icon:hover {
    background: var(--deep-plum);
    transform: scale(1.05);
}

.hamburger-icon span {
    width: 24px;
    height: 2px;
    background: var(--cream);
    margin: 3px 0;
    transition: all 0.3s ease;
}

.hamburger-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-icon.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.menu-dropdown {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--deep-plum);
    transition: right 0.4s ease;
    padding: 6rem 2rem 2rem;
    box-shadow: -5px 0 20px rgba(0,0,0,0.3);
    z-index: 999;
}

.menu-dropdown.active {
    right: 0;
}

.menu-dropdown ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
}

.menu-dropdown li {
    margin: 0;
    border-bottom: 1px solid rgba(249, 246, 240, 0.1);
}

.menu-dropdown a {
    color: var(--cream);
    text-decoration: none;
    font-size: 1.3rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    transition: color 0.3s ease;
    display: block;
    padding: 1.5rem 0;
}

.menu-dropdown a:hover {
    color: var(--warm-gold);
}

/* ========================================
   HOMEPAGE STYLES
   ======================================== */

.hero {
    position: relative;
    background: #462B41;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.logo-hero {
    position: relative;
    z-index: 2;
    padding-top: 4rem;
    padding-bottom: 2rem;
    width: 100%;
    text-align: center;
    padding-left: 2rem;
    padding-right: 2rem;
}

.logo-hero img {
    max-width: 450px;
    width: 80%;
    height: auto;
}

.services-section {
    position: relative;
    z-index: 2;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #462B41;
    background-image: url('images/blurred_fireworks.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 3rem 2rem;
}

.services-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    width: 100%;
    padding: 0 2rem;
}

.service-card {
    background: #462B41;
    backdrop-filter: blur(10px);
    padding: 2.5rem 1.5rem;
    text-align: center;
    clip-path: polygon(10% 0%, 90% 0%, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0% 90%, 0% 10%);
    transition: all 0.4s ease;
    cursor: pointer;
}

.service-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(70, 43, 65, 0.3);
    z-index: 1;
}

.service-card:hover {
    background: rgba(70, 43, 65, 0.95);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.why-section {
    padding: 6rem 2rem;
    background: var(--cream);
    text-align: center;
}

.why-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--deep-plum);
    margin-bottom: 2rem;
}

.why-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--charcoal);
    max-width: 900px;
    margin: 0 auto 4rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.value-item {
    text-align: center;
}

.value-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 300;
    color: var(--plum);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.value-item h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--deep-plum);
    margin-bottom: 1rem;
}

.value-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--charcoal);
    opacity: 0.85;
}

.cta-section {
    padding: 6rem 2rem;
    background: var(--cream);
    text-align: center;
}

.cta-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--deep-plum);
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.3rem;
    color: var(--plum);
    margin-bottom: 3rem;
    font-weight: 300;
}

.inquiry-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border: 1px solid rgba(58, 42, 63, 0.1);
    box-shadow: 0 10px 40px rgba(58, 42, 63, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--deep-plum);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(58, 42, 63, 0.2);
    background: var(--cream);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--plum);
    background: white;
}

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

.submit-btn {
    width: 100%;
    padding: 1.3rem;
    background: var(--deep-plum);
    color: var(--cream);
    border: 2px solid var(--deep-plum);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: transparent;
    color: var(--deep-plum);
    transform: translateY(-2px);
}

/* ========================================
   SHARED PAGE STYLES (About, Gallery, Packages, Contact)
   ======================================== */

.page-hero {
    background: linear-gradient(135deg, var(--deep-plum) 0%, var(--plum) 100%);
    padding: 8rem 2rem 6rem;
    text-align: center;
    color: var(--cream);
}

.page-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 400;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

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

section {
    padding: 5rem 2rem;
}

/* ========================================
   ABOUT PAGE
   ======================================== */

.story-section {
    background: white;
}

.story-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--deep-plum);
    margin-bottom: 2rem;
}

.story-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.values-section {
    background: var(--cream);
}

.values-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--deep-plum);
    text-align: center;
    margin-bottom: 4rem;
}

.values-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(58, 42, 63, 0.1);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(58, 42, 63, 0.1);
}

.value-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--plum);
    margin-bottom: 1rem;
}

.value-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--charcoal);
}

.philosophy-section {
    background: white;
    text-align: center;
}

.philosophy-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--deep-plum);
    margin-bottom: 2rem;
}

.philosophy-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--deep-plum);
    color: var(--cream);
    border: 2px solid var(--deep-plum);
}

.btn-primary:hover {
    background: transparent;
    color: var(--deep-plum);
}

.btn-secondary {
    background: transparent;
    color: var(--deep-plum);
    border: 2px solid var(--deep-plum);
}

.btn-secondary:hover {
    background: var(--deep-plum);
    color: var(--cream);
}

/* ========================================
   GALLERY PAGE
   ======================================== */

.gallery-controls {
    text-align: center;
    margin-bottom: 3rem;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--plum);
    color: var(--plum);
    padding: 0.8rem 1.5rem;
    margin: 0.5rem;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--plum);
    color: var(--cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--dark-cream);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(62, 42, 63, 0.9), transparent);
    padding: 2rem 1.5rem 1.5rem;
    color: var(--cream);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.gallery-item-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ========================================
   PACKAGES PAGE
   ======================================== */

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.package-card {
    background: white;
    border: 2px solid rgba(58, 42, 63, 0.1);
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.package-card.featured {
    border-color: var(--plum);
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(58, 42, 63, 0.15);
}

.package-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(58, 42, 63, 0.15);
}

.package-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--deep-plum);
    margin-bottom: 1rem;
}

.package-badge {
    display: inline-block;
    background: var(--plum);
    color: var(--cream);
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.package-description {
    font-size: 1rem;
    color: var(--charcoal);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.package-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.package-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(58, 42, 63, 0.1);
    font-size: 0.95rem;
}

.package-features li:before {
    content: '✓';
    color: var(--plum);
    font-weight: bold;
    margin-right: 0.8rem;
}

.amenities-section {
    background: var(--cream);
}

.amenities-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--deep-plum);
    text-align: center;
    margin-bottom: 3rem;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.amenity-item {
    text-align: center;
    padding: 2rem 1rem;
}

.amenity-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.amenity-item h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: var(--plum);
    margin-bottom: 0.5rem;
}

.faq-section {
    background: white;
}

.faq-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--deep-plum);
    text-align: center;
    margin-bottom: 3rem;
}

.faq-item {
    border-bottom: 1px solid rgba(58, 42, 63, 0.1);
    margin-bottom: 1.5rem;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: var(--deep-plum);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    color: var(--plum);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 0 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
}

.faq-answer.active {
    max-height: 500px;
}

/* ========================================
   CONTACT PAGE
   ======================================== */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--deep-plum);
    margin-bottom: 2rem;
}

.contact-methods {
    margin-bottom: 3rem;
}

.contact-method {
    margin-bottom: 1.5rem;
}

.contact-method h4 {
    font-weight: 600;
    color: var(--plum);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.contact-method p {
    font-size: 1.1rem;
    color: var(--charcoal);
}

.contact-method a {
    color: var(--charcoal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-method a:hover {
    color: var(--plum);
}

.office-hours h4 {
    font-weight: 600;
    color: var(--plum);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(58, 42, 63, 0.1);
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: var(--charcoal);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: var(--plum);
}

.tab-btn.active {
    color: var(--plum);
    border-bottom-color: var(--plum);
}

.form-content {
    display: none;
}

.form-content.active {
    display: block;
}

.location-section {
    background: var(--cream);
}

.location-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--deep-plum);
    text-align: center;
    margin-bottom: 2rem;
}

.location-section p {
    text-align: center;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   FOOTER (SHARED)
   ======================================== */

footer {
    padding: 3rem 2rem;
    background: var(--deep-plum);
    color: var(--cream);
    text-align: center;
}

footer p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ========================================
   ANIMATIONS & UTILITIES
   ======================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */

@media (max-width: 968px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .package-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--deep-plum);
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 1rem;
    }

    nav ul.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hamburger-menu {
        top: 1.5rem;
        right: 1.5rem;
    }

    .logo-hero img {
        max-width: 400px;
    }

    .service-card h3 {
        font-size: 1.6rem;
    }

    .inquiry-form {
        padding: 2rem 1.5rem;
    }

    .menu-dropdown {
        width: 100%;
    }

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

    .services-section {
        padding: 2rem 1rem;
    }

    .hero {
        min-height: 700px;
    }

    .logo-hero {
        margin-top: 6rem;
    }

    .tabs {
        flex-direction: column;
        gap: 0;
    }

    .tab-btn {
        border-bottom: 1px solid rgba(58, 42, 63, 0.1);
        border-left: 3px solid transparent;
    }

    .tab-btn.active {
        border-left-color: var(--plum);
        border-bottom-color: transparent;
    }
}
