/* Variables & Reset */
:root {
    --primary-color: #D4AF37;
    /* Gold */
    --secondary-color: #1b2631;
    /* Deep Navy/Black for text */
    --text-color: #4a4a4a;
    /* Softer Grey */
    --white: #FFFFFF;
    --bg-light: #FAFAFA;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-color);
    line-height: 1.7;
    font-weight: 300;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Offset for fixed navbar */
}

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

ul {
    list-style: none;
}

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

.section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 50px;
}

/* Base Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 40px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 0;
    border: none;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #bfa145;
    transform: translateY(-2px);
}

/* Navbar - Transparent & Elegant */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
    /* Gradient overlay for readability */
    padding: 30px 0;
    z-index: 1000;
    transition: background 0.4s, padding 0.4s;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.logo img {
    height: 50px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: logoEntrance 1.2s ease-out forwards;
    will-change: transform, opacity;
}

.logo:hover img {
    transform: scale(1.08);
    /* Subtle growth */
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
    /* Glow effect */
}

.logo:active img {
    transform: scale(0.95);
    /* Press effect */
    transition: transform 0.1s;
}

@keyframes logoEntrance {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

.navbar.scrolled .logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links li a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
    /* White on transparent */
    transition: color 0.3s;
}

.navbar.scrolled .nav-links li a {
    color: var(--secondary-color);
}

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

.lang-switch {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

/* Lang Switch & Contact - Elegant */
#lang-toggle {
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    padding: 6px 10px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-radius: 0;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s;
}

.navbar.scrolled #lang-toggle {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

#lang-toggle:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Specific Style for Contact "Button" in Nav */
.btn-nav {
    color: var(--white) !important;
    border: 1px solid var(--white);
    padding: 8px 25px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: transparent;
    border-radius: 0;
    font-family: var(--font-body);
    font-weight: 500;
}

.navbar.scrolled .btn-nav {
    color: var(--secondary-color) !important;
    border-color: var(--secondary-color);
}

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

.navbar.scrolled .btn-nav:hover {
    background: var(--secondary-color);
    color: var(--white) !important;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section - Editorial Style */
/* Hero Section - Editorial Style */
.hero {
    height: 100vh;
    /* Fallback */
    min-height: 100dvh;
    /* Mobile friendly */
    /* Calm/Elegant Couple on Beach - User Uploaded (Pettine) */
    background: url('../images/foto-pettine-IfjHaIoAoqE-unsplash.jpg') no-repeat center center/cover;
    background-attachment: scroll;
    /* Ensure scroll on mobile to avoid gaps */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--white);
    overflow: hidden;
    /* Prevent overflow issues */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 20px;
    font-style: italic;
    letter-spacing: -1px;
}

.hero-content p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 40px;
    font-weight: 300;
}

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

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

.about-image {
    height: 400px;
    background-color: #ddd;
    /* Placeholder color */
    background: url('https://images.unsplash.com/photo-1515934751635-c81c6bc9a2d8?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover;
    position: relative;
}

/* Particles Background */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--white);
    /* Fallback or base color */
    pointer-events: none;
}

/* Services Section */
.services {
    background-color: transparent;
    /* Show particles */
    padding-top: 50px;
    position: relative;
}

.services .section-title {
    font-size: 3.5rem;
    /* Larger like the image */
    margin-bottom: 60px;
    font-weight: 400;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Columns */
    gap: 40px;
}

.service-card {
    text-align: left;
    /* Image alignment */
    background: transparent;
    padding: 0;
    box-shadow: none;
    transition: none;
}

.service-card:hover {
    transform: none;
}

.service-image {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    margin-bottom: 30px;
}

.service-content {
    padding: 0 10px;
}

.service-divider {
    width: 50px;
    border: none;
    border-top: 1px solid #333;
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 500;
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
}

/* Venues Section */
.venues-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.venue-item {
    height: 300px;
    background-color: #ccc;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.venue-item:nth-child(1) {
    background: url('https://images.unsplash.com/photo-1590523277543-a94d2e4eb00b?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover;
}

.venue-item:nth-child(2) {
    background: url('https://images.unsplash.com/photo-1566073771259-6a8506099945?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover;
}

.venue-item:nth-child(3) {
    background: url('https://images.unsplash.com/photo-1564501049412-61c2a3083791?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover;
}


.venue-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.3s;
}

.venue-item:hover .venue-info {
    transform: translateY(0);
}

/* About Section - Dynamic Overlap */
.about {
    background: transparent;
    padding: 0 0 100px 0;
    position: relative;
    z-index: 10;
}

.about .container {
    max-width: 1000px;
    /* Focus reading width */
}

/* New Wrapper for Glass Effect */
.about-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 80px 60px;
    margin-top: -150px;
    /* The Overlap */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.about-card.active-reveal {
    opacity: 1;
    transform: translateY(0);
}

.about-grid {
    display: flex;
    /* Changed from grid to flex for this layout */
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 2;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Section - Premium High Conversion */
.contact {
    background-color: transparent;
    padding: 100px 0;
}

.contact .section-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 40px;
    position: relative;
}

/* Editorial Form Style */
.editorial-group label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 500;
}

.editorial-group input,
.editorial-group textarea {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #ccc;
    font-family: var(--font-heading);
    /* Serif font for input feels very premium */
    font-size: 1.2rem;
    color: var(--text-color);
    background: transparent;
    border-radius: 0;
    transition: all 0.3s;
}

.editorial-group input:focus,
.editorial-group textarea:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
}

.editorial-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact .btn-primary {
    width: auto;
    min-width: 250px;
    font-size: 1rem;
    padding: 20px 40px;
    letter-spacing: 2px;
    transition: all 0.4s;
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
    float: left;
}

.contact .btn-primary:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Footer Premium */
.footer {
    background-color: #1a1a1a;
    /* Dark Luxury Background */
    color: #e0e0e0;
    padding: 80px 0 30px;
    font-family: var(--font-body);
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-family: var(--font-heading);
    color: #cca43b;
    /* More vibrant gold */
    font-size: 1.8rem;
    /* Larger heading */
    margin-bottom: 25px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #cca43b;
    transition: width 0.3s;
}

.footer-col:hover h3::after {
    width: 100%;
}

.footer-logo {
    height: 80px;
    /* Increased slightly for footer visibility */
    margin-bottom: 20px;
    opacity: 1;
    /* Ensure full visibility */
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s;
    cursor: pointer;
    will-change: transform;
}

.footer-logo:hover {
    transform: scale(1.08) translateY(-2px);
    filter: drop-shadow(0 5px 15px rgba(204, 164, 59, 0.4));
    /* Elegant Gold Glow */
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #aaa;
    max-width: 300px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ccc;
    transition: color 0.3s, padding-left 0.3s;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
    /* Subtle movement */
}

.contact-col p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
}

.contact-link {
    color: inherit;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #cca43b;
    /* Gold Hover */
}

.contact-col i {
    color: var(--primary-color);
    width: 20px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    /* Larger targets */
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    margin-right: 15px;
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */
    background: rgba(255, 255, 255, 0.02);
}

.social-links a:hover {
    background-color: #cca43b;
    border-color: #cca43b;
    transform: translateY(-5px) scale(1.1);
    /* Pop effect */
    color: #000;
    /* Contrast on gold */
    box-shadow: 0 10px 20px rgba(204, 164, 59, 0.3);
    /* Gold glow */
}

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

/* Mobile Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .footer-desc {
        margin: 0 auto;
    }

    .contact-col p {
        justify-content: center;
    }

    .social-links {
        display: flex;
        justify-content: center;
        margin-top: 20px;
        flex-wrap: wrap;
        gap: 20px;
    }
}

/* Responsive Design */

/* Tablet & Smaller Laptops */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

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

    .services-grid {
        grid-template-columns: 1fr 1fr;
        /* 2 columns on tablet */
    }

    .about-grid,
    .venues-grid {
        gap: 30px;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 0;
        background: transparent;
        /* Start transparent like desktop */
    }

    .navbar.scrolled {
        background: rgba(255, 255, 255, 0.98);
        /* White on scroll */
    }

    .navbar .logo img {
        height: 40px;
    }

    .nav-links {
        display: none;
        /* JS will toggle this */
    }

    .menu-toggle {
        display: block;
        color: var(--white);
        /* White icon on transparent bg */
        transition: color 0.3s;
    }

    .navbar.scrolled .menu-toggle {
        color: var(--secondary-color);
        /* Dark icon on white bg */
    }

    /* Mobile Menu Styles when active */
    .about-card {
        margin-top: -50px;
        /* Smaller overlap on mobile */
        padding: 40px 20px;
    }

    .nav-links.active {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        /* Changed from absolute to fixed */
        top: 70px;
        /* Adjust based on navbar height */
        left: 0;
        width: 100%;
        height: 100vh;
        /* Full screen height */
        background-color: #ffffff !important;
        z-index: 9999;
        padding: 40px 0;
        box-shadow: none;
        /* Full screen doesn't need shadow */
        align-items: center;
        gap: 30px;
        overflow-y: auto;
        /* Allow scrolling within menu if needed */
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links.active li a {
        color: var(--secondary-color);
        font-size: 1.1rem;
    }

    .nav-links.active .btn-nav {
        color: var(--secondary-color) !important;
        border-color: var(--secondary-color);
    }

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

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

    .about-grid,
    .services-grid,
    .venues-grid,
    .footer-content {
        grid-template-columns: 1fr;
        /* Stack columns */
        gap: 30px;
    }

    .footer-content {
        text-align: center;
    }

    .footer-col {
        margin-bottom: 20px;
    }

    .contact-col p {
        justify-content: center;
        /* Center align contact icons */
    }

    .service-image {
        height: 250px;
    }

    .section {
        padding: 50px 0;
    }

    .contact {
        padding-bottom: 40px;
    }

    .contact .btn-primary {
        float: none;
        width: 100%;
        display: block;
        margin-top: 20px;
        margin-bottom: 60px;
        /* Force space below button */
    }

    .footer {
        padding: 40px 0 30px;
    }
}

/* Ultra Wide Screens (16:9 Large Monitors) */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
        /* Expand container for wide screens */
    }

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