/* CSS Variables - Clean & Elegant Light Theme */
:root {
    --primary-color: #000000;
    /* Switched from Gold to Elegant Black */
    --secondary-color: #F8F5F0;
    --accent-color: #000000;
    --bg-light: #FFFFFF;
    /* Pure White */
    --bg-card: #FFFFFF;
    --text-main: #2D2D2D;
    --text-muted: #707070;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    /* Removes blue tap box on mobile */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--secondary-color);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Blurred Background Layer */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/section_background.png') no-repeat center center;
    background-size: cover;
    filter: blur(4px);
    /* "poco difuminado" */
    opacity: 0.12;
    /* Subtle presence */
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.btn-primary {
    display: inline-block;
    padding: 14px 40px;
    background: var(--accent-color);
    color: #fff;
    font-weight: 600;
    border-radius: 0;
    /* Square edges often feel more "Boutique" */
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title.title-left {
    text-align: left;
    margin-bottom: 25px;
}

.section-title h2,
.section-title h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    text-transform: capitalize;
}

.section-title h2::after,
.section-title h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--primary-color);
}

.section-title.title-left h2::after,
.section-title.title-left h1::after {
    left: 0;
    transform: none;
}

.welcome-title {
    font-size: 3.5rem;
    /* Slightly reduced for better fit on standard laptops */
    letter-spacing: 4px;
    line-height: 1.2;
    margin-bottom: 50px;
    text-align: center;
    margin-top: 20px;
}

.welcome-title span {
    font-size: 1.8rem;
    color: var(--primary-color);
    letter-spacing: 8px;
    display: block;
    margin-top: 10px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 30px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    z-index: 1000;
    transition: all 0.5s ease;
}

.navbar.sticky {
    padding: 15px 60px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.navbar.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centering the text within its container */
    text-align: center;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent-color);
    line-height: 1;
}

.logo-name span {
    color: var(--primary-color);
}

.logo-subtitle {
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 2.5px;
    margin-top: 3px;
    text-transform: uppercase;
    line-height: 1;
}

/* Hamburger Menu Styling */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.hamburger .bar {
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-color);
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: #fbf9f6;
    padding: 0 10%;
    position: relative;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 90%;
    height: auto;
    object-fit: cover;
    border: 1px solid #eee;
}

/* About Section / Main Section */
.about {
    background: transparent;
    padding: 180px 0 80px 0;
    /* Increased top padding to clear fixed navbar completely */
    position: relative;
    z-index: 1;
    /* Ensure content sits above background blur */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    /* Center vertically relative to text */
}

.about-img {
    width: 100%;
}

.about-img img {
    width: 100%;
    height: 500px;
    /* Fixed height for stability */
    object-fit: cover;
    border-radius: 10px;
    box-shadow: -20px 20px 0 var(--secondary-color);
    /* Restoring shadow for style */
    display: block;
}

.about-text h3 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.about-text p {
    margin-bottom: 25px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Services Grid */
.services {
    background: transparent;
    padding-top: 60px;
    padding-bottom: 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.gallery-item {
    background: rgba(255, 255, 255, 0.7);
    /* Semi-transparent white */
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 20px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.service-img img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    margin-bottom: 25px;
}

.service-info h4 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.service-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.service-info.info-accent {
    padding: 40px;
    background: var(--secondary-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Testimonials Section */
.testimonials-section {
    background: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.testimonial-img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    text-align: center;
}

.testimonial-quote {
    font-weight: 400;
    font-family: var(--font-heading);
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.testimonial-author {
    color: var(--primary-color);
    letter-spacing: 3px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0;
}

.contact-illustration {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 30px;
}

.contact-info {
    padding: 80px;
    background: var(--accent-color);
    color: #fff;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-item p {
    color: #ccc;
}

.contact-form {
    padding: 80px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
    color: var(--accent-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    background: transparent;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Floating Elements */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.whatsapp-float img {
    width: 32px;
}

/* Animations */
/* Animations - Progressive Enhancement */
/* Default state is VISIBLE so content shows if JS fails */
.animate-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Class added by JS to start animation */
.animate-up.initial-hidden {
    opacity: 0;
    transform: translateY(30px);
}

.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Adjustments - Simplified for Desktop Focus */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
}

/* Base Responsive support without breaking the Desktop look */
@media (max-width: 992px) {

    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-img img {
        height: 400px;
    }

    .welcome-title {
        font-size: 3rem;
    }

    .contact-info,
    .contact-form {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .welcome-title {
        font-size: 2.5rem;
    }

    .welcome-title span {
        font-size: 1.2rem;
        letter-spacing: 4px;
    }
}