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

:root {
    --ivory: #FDFBF7;
    --pearl: #F8F6F2;
    --sand: #E8E4DD;
    --taupe: #B8B2A8;
    --gold: #C9A24D;
    --bronze: #9D7E3D;
    --charcoal: #2C2826;
    --slate: #4A4644;
    
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--slate);
    line-height: 1.7;
    background: var(--ivory);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--charcoal);
    font-weight: 500;
    line-height: 1.2;
}

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

a {
    text-decoration: none;
    color: inherit;
}

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

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--bronze));
    width: 0%;
    z-index: 10000;
    transition: width 0.08s linear;
    will-change: width;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(253, 251, 247, 0.96);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(184, 178, 168, 0.15);
    z-index: 1000;
    transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
    background: rgba(253, 251, 247, 0.98);
    box-shadow: 0 4px 32px rgba(44, 40, 38, 0.08);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
}

.logo-img {
    height: 75px;
    width: auto;
    object-fit: contain;
    transition: all 0.4s var(--ease-out);
    filter: drop-shadow(0 2px 8px rgba(44, 40, 38, 0.05));
}

.logo:hover .logo-img {
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 12px rgba(201, 162, 77, 0.2));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    color: var(--slate);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s var(--ease-out);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transform: translateX(-50%);
    transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--gold), var(--bronze));
    color: white;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 4px 16px rgba(201, 162, 77, 0.25);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 162, 77, 0.35);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
}

.hamburger span {
    width: 26px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    will-change: transform;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, rgba(253, 251, 247, 0.95) 0%, rgba(232, 228, 221, 0.9) 100%),
        url('https://images.unsplash.com/photo-1519741497674-611481863552?w=1600') center/cover;
    background-attachment: fixed;
    filter: brightness(1.05) contrast(1.05);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(201, 162, 77, 0.08) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
    animation: heroFadeIn 1.2s var(--ease-out);
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(201, 162, 77, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    border: 1px solid rgba(201, 162, 77, 0.2);
    animation: heroFadeIn 1.2s 0.2s var(--ease-out) backwards;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    line-height: 1.1;
    animation: heroFadeIn 1.2s 0.3s var(--ease-out) backwards;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--taupe);
    margin-bottom: 3rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    animation: heroFadeIn 1.2s 0.4s var(--ease-out) backwards;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--gold), var(--bronze));
    color: white;
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.4s var(--ease-out);
    box-shadow: 0 8px 32px rgba(201, 162, 77, 0.3);
    animation: heroFadeIn 1.2s 0.5s var(--ease-out) backwards;
}

.btn-primary svg {
    transition: transform 0.4s var(--ease-out);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(201, 162, 77, 0.4);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 48px;
    border: 2px solid var(--gold);
    border-radius: 24px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    opacity: 0.7;
    animation: heroFadeIn 1.2s 0.8s var(--ease-out) backwards;
}

.scroll-indicator span {
    width: 3px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    animation: scrollDot 2s infinite;
}

@keyframes scrollDot {
    0%, 100% { 
        transform: translateY(0); 
        opacity: 0;
    }
    50% { 
        transform: translateY(16px); 
        opacity: 1;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    color: var(--charcoal);
    letter-spacing: -1px;
}

/* ===== About Section ===== */
.about-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--ivory) 0%, var(--pearl) 100%);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sand), transparent);
}

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

.about-content {
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-text {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.8s var(--ease-out) 0.2s forwards;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--slate);
    margin-bottom: 1.5rem;
}

.about-text p:first-of-type {
    font-weight: 500;
    color: var(--charcoal);
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--sand);
}

.highlight {
    text-align: center;
}

.highlight-number {
    display: block;
    font-size: 2.5rem;
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.highlight-label {
    display: block;
    font-size: 0.95rem;
    color: var(--taupe);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(44, 40, 38, 0.06);
    transition: all 0.5s var(--ease-out);
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
}

.feature-card:nth-child(1) {
    animation: slideInUp 0.8s var(--ease-out) 0.3s forwards;
}

.feature-card:nth-child(2) {
    animation: slideInUp 0.8s var(--ease-out) 0.4s forwards;
}

.feature-card:nth-child(3) {
    animation: slideInUp 0.8s var(--ease-out) 0.5s forwards;
}

.feature-card:nth-child(4) {
    animation: slideInUp 0.8s var(--ease-out) 0.6s forwards;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(44, 40, 38, 0.12);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 162, 77, 0.1), rgba(157, 126, 61, 0.05));
    border-radius: 12px;
    color: var(--gold);
    transition: all 0.3s var(--ease-out);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--charcoal);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--taupe);
    line-height: 1.6;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Gallery Section ===== */
.gallery-section {
    padding: 8rem 0;
    background: var(--pearl);
    position: relative;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sand), transparent);
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(44, 40, 38, 0.1);
    border: 1px solid rgba(184, 178, 168, 0.15);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.gallery-item:hover {
    box-shadow: 0 16px 40px rgba(44, 40, 38, 0.15);
    transform: translateY(-4px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease-out);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.dot.active,
.dot[style*="opacity: 1"] {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.15);
    box-shadow: 0 0 12px rgba(201, 162, 77, 0.6);
}

.contact-section {
    padding: 8rem 0;
    background: 
        linear-gradient(135deg, rgba(253, 251, 247, 0.98), rgba(232, 228, 221, 0.95)),
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(184, 178, 168, 0.03) 2px, rgba(184, 178, 168, 0.03) 4px);
}

.contact-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 4rem;
    border-radius: 12px;
    box-shadow: 0 16px 64px rgba(44, 40, 38, 0.06);
    border: 1px solid rgba(184, 178, 168, 0.15);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
}

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

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

.form-group-full {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 500;
    color: var(--charcoal);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem 1.25rem;
    border: 1.5px solid var(--sand);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--slate);
    transition: all 0.3s var(--ease-out);
    background: var(--ivory);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: white;
    box-shadow: 0 0 0 4px rgba(201, 162, 77, 0.08);
}

.form-group input:disabled,
.form-group select:disabled,
.form-group textarea:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.7;
}

.error-message {
    color: #D32F2F;
    font-size: 0.8rem;
    display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #D32F2F;
}

.form-group.error .error-message {
    display: block;
}

#customEventTypeGroup {
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
}

#customEventTypeGroup.show {
    opacity: 1;
    height: auto;
}

.btn-submit {
    background: linear-gradient(135deg, var(--gold), var(--bronze));
    color: white;
    border: none;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    box-shadow: 0 8px 32px rgba(201, 162, 77, 0.3);
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(201, 162, 77, 0.4);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    display: none;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loader {
    display: block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.success-message {
    display: block;
    text-align: center;
    padding: 3rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.6s var(--ease-out);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(30px);
    width: 90%;
    max-width: 500px;
    z-index: 10000;
    background: white;
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(44, 40, 38, 0.15);
    border: 1px solid rgba(184, 178, 168, 0.15);
}

.success-message.show {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
    pointer-events: auto;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4CAF50, #45A049);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
    animation: scaleIn 0.5s var(--ease-out);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.success-message h3 {
    color: var(--gold);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.success-message p {
    color: var(--taupe);
    line-height: 1.7;
}

.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.9);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-weight: 400;
    font-size: 1.25rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.85;
    font-size: 0.95rem;
}

.social-link {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: rgba(201, 162, 77, 0.15);
    border-radius: 50px;
    transition: all 0.3s var(--ease-out);
    font-size: 0.9rem;
}

.social-link:hover {
    background: var(--gold);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .logo-img {
        height: 60px;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 85px;
        flex-direction: column;
        background: rgba(253, 251, 247, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: left 0.4s var(--ease-out);
        box-shadow: 0 8px 32px rgba(44, 40, 38, 0.08);
        padding: 2rem 0;
        gap: 2rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    .hero {
        background-attachment: scroll;
    }
    
    .hero-bg {
        background-attachment: scroll;
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2.75rem;
        letter-spacing: -1px;
    }
    
    .gallery-section,
    .contact-section {
        padding: 5rem 0;
    }
    
    .about-section {
        padding: 5rem 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-highlights {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-wrapper {
        padding: 2.5rem 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
    }
    
    .btn-submit {
        width: 100%;
    }
    
    .success-icon {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }
    
    .success-message h3 {
        font-size: 1.75rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .gallery-grid {
        gap: 1rem;
    }
    
    .about-highlights {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .highlight-number {
        font-size: 2rem;
    }
    
    .contact-wrapper {
        padding: 2rem 1.25rem;
    }
    
    .form-grid {
        gap: 1.25rem;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--slate) 100%);
    color: var(--ivory);
    padding: 3rem 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(201, 162, 77, 0.2);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-content p {
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    color: var(--sand);
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--sand);
    font-size: 0.95rem;
    transition: all 0.3s var(--ease-in-out);
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--gold);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 1.5rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-links {
        justify-content: center;
        gap: 1.5rem;
    }

    .footer-content p {
        font-size: 0.9rem;
    }
}