/* ==== CSS Variables & Reset ==== */
:root {
    --primary-color: #2E432C; /* Dark Olive Green */
    --secondary-color: #D9B8A6; /* Rose Gold / Champagne */
    --text-dark: #1A1A1A;
    --text-light: #F9F9F9;
    --bg-light: #FAF9F8;
    --bg-dark: #1E2D1D; /* Slightly darker olive for contrast sections */
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: #FFFFFF;
}

.bg-dark {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

.section-header.center {
    text-align: center;
}

.section-header.text-light h2,
.section-header.text-light p {
    color: var(--text-light);
}

/* ==== Navigation ==== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: rgba(250, 249, 248, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-monogram {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--secondary-color);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--secondary-color);
    letter-spacing: 1px;
    padding-left: 1px; /* Optical alignment */
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    font-weight: 600;
    line-height: 1.2;
}

.logo-subtitle {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.footer-logo {
    margin-bottom: 10px;
}
.footer-logo .logo-title, 
.footer-logo .logo-subtitle {
    color: var(--bg-light);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.btn-nav {
    background-color: var(--primary-color);
    color: var(--text-light) !important;
    padding: 10px 20px;
    border-radius: 4px;
}

.btn-nav:hover {
    background-color: var(--secondary-color);
    color: var(--text-dark) !important;
}

/* ==== Buttons ==== */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--secondary-color);
    color: var(--primary-color);
    width: 100%;
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

/* ==== Hero Section ==== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image-placeholder {
    width: 100%;
    height: 600px;
    background-color: var(--secondary-color);
    border-radius: 8px 80px 8px 8px;
    background-image: url('assets/img/hero_bg.webp');
    background-size: cover;
    background-position: center;
}

/* ==== About Section ==== */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
}

.stat-item h3 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--secondary-color);
    line-height: 1;
}

/* ==== Packages Section ==== */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.package-card {
    background-color: var(--bg-light);
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 40px 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-color: var(--secondary-color);
}

.package-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.package-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.package-price {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.package-body {
    flex-grow: 1;
    margin-bottom: 30px;
}

.package-body ul {
    list-style: none;
}

.package-body ul li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.package-body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* ==== Certificate Section ==== */
.certificate {
    background-color: var(--bg-light);
}

.certificate-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.certificate-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.certificate-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.certificate-image img {
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 10px solid #fff;
}

/* ==== Fan Gallery (Carousel) ==== */
.gallery {
    overflow: hidden;
}

.fan-gallery {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.cards-container {
    position: relative;
    width: 300px;
    height: 400px;
    transform-style: preserve-3d;
}

.gallery-card {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1), opacity 0.5s;
    overflow: hidden;
    transform-origin: bottom center;
}

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

.gallery-controls {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}

.ctrl-btn {
    background: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.ctrl-btn:hover {
    background: var(--secondary-color);
    color: var(--text-dark);
}

/* ==== Footer ==== */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0 20px;
}

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

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.footer h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* ==== Responsive ==== */
@media (max-width: 992px) {
    .hero-container, .certificate-container, .about-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple mobile nav hide for now */
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 60px 0;
    }
}

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

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

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* ==== Mobile Menu ==== */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-light);
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 20px 0;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* ==== Modal Styles ==== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.close-btn:hover {
    color: var(--primary-color);
}

.modal-content h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 10px;
}

.modal-content p {
    color: #555;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

/* ==== Floating Action Button ==== */
.floating-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: pulse 2s infinite;
}

.floating-btn svg {
    margin-top: 2px;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(217, 184, 166, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(217, 184, 166, 0); }
    100% { box-shadow: 0 0 0 0 rgba(217, 184, 166, 0); }
}

@media (max-width: 768px) {
    .floating-btn {
        display: flex;
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .floating-btn svg {
        width: 24px;
        height: 24px;
    }
}
