/* ==========================================================================
   MUROS JIMEAMEL - Custom Stylesheet (Vanilla CSS)
   ========================================================================== */

/* --- CSS Variables & Design System --- */
:root {
    --color-bg-light: #F9F8F6;
    --color-bg-dark: #141414;
    --color-bg-card-dark: #1E1E1E;
    --color-bg-card-light: #FFFFFF;
    
    --color-text-dark: #222222;
    --color-text-light: #F5F5F5;
    --color-text-muted-dark: #6E6D6A;
    --color-text-muted-light: #A5A4A0;
    
    --color-accent-olive: #5F6F52;
    --color-accent-olive-light: #A9B388;
    --color-accent-terracotta: #A0522D; /* Sienna/Terracotta */
    --color-whatsapp: #0c6f3d; /* Green passing contrast ratio >= 4.5:1 with white text */
    --color-whatsapp-dark: #09522c;
    
    --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-sans: 'Outfit', 'Inter', system-ui, sans-serif;
    
    --header-height: 80px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s ease;
    
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.04);
    --shadow-premium-hover: 0 30px 60px rgba(0, 0, 0, 0.08);
    --border-radius: 12px;
}

/* --- Base & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-type: border-box;
    box-sizing: border-box;
}

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

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

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

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

li {
    list-style: none;
}

/* --- Layout Elements --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 800px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.py-large {
    padding: 8rem 0;
}

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

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

.mb-medium {
    margin-bottom: 3.5rem;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent-terracotta);
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-dark .section-tag {
    color: var(--color-accent-olive-light);
}

.section-title {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted-dark);
    max-width: 650px;
    margin: 0 auto;
    font-weight: 300;
}

.section-dark .section-subtitle {
    color: var(--color-text-muted-light);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 1rem 2rem;
    border-radius: 50px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-whatsapp);
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: var(--color-whatsapp-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: #FFFFFF;
    color: var(--color-bg-dark);
    border-color: #FFFFFF;
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* --- Header & Navigation --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 100;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.main-header.scrolled {
    background-color: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(20px);
    height: 70px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    height: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
    color: #FFFFFF;
}

.logo-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: 0.1em;
}

.logo-subtitle {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    color: var(--color-accent-olive-light);
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-link:hover, .nav-link.active {
    color: #FFFFFF;
}

.nav-link.active {
    font-weight: 600;
}

.nav-btn-whatsapp-header {
    background-color: var(--color-whatsapp);
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-btn-whatsapp-header:hover {
    background-color: var(--color-whatsapp-dark);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Mobile Toggle Hamburger */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: #FFFFFF;
    transition: var(--transition-smooth);
}

/* Toggle Animation */
.mobile-nav-toggle.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
}
.mobile-nav-toggle.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Drawer Overlay Menu */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 355px;
    height: 100vh;
    background-color: #141414;
    z-index: 95;
    transition: var(--transition-smooth);
    padding: 7rem 2rem 2rem 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.mobile-drawer.open {
    right: 0;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-link {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.25rem;
    font-family: var(--font-serif);
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
}

.mobile-btn-whatsapp {
    background-color: var(--color-whatsapp);
    color: #FFFFFF;
    text-align: center;
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-bottom: none;
    margin-top: 1rem;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    overflow: hidden;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    transition: transform 12s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-section:hover .hero-bg-img {
    transform: scale(1.0);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(20,20,20,0.7) 0%, rgba(20,20,20,0.5) 60%, rgba(20,20,20,0.85) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 850px;
    margin-top: calc(var(--header-height) / 2);
}

.hero-tag {
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent-olive-light);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.75rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.7;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background-color: #FFFFFF;
    animation: scroll-anim 2s infinite ease-in-out;
}

@keyframes scroll-anim {
    0% {
        top: -30%;
    }
    100% {
        top: 100%;
    }
}

/* --- About Section --- */
.about-image-wrapper {
    position: relative;
}

.about-img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-premium);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-left: 4px solid var(--color-accent-terracotta);
}

.badge-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-accent-terracotta);
}

.badge-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.3;
}

.about-lead {
    font-size: 1.25rem;
    color: var(--color-accent-olive);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-text-content p {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted-dark);
    font-weight: 300;
}

.about-features {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: rgba(95, 111, 82, 0.1);
    color: var(--color-accent-olive);
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.feature-item h3 {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: var(--color-bg-card-dark);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.service-img-wrapper {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.service-card:hover .service-img {
    transform: scale(1.08);
}

.service-card-body {
    padding: 2.25rem;
}

.service-card-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.service-card-text {
    color: var(--color-text-muted-light);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
}

/* --- Projects / Gallery Section --- */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-quick);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--color-text-dark);
    color: #FFFFFF;
    border-color: var(--color-text-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2rem;
    transition: opacity 0.5s ease;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: var(--transition-smooth);
}

.gallery-item.hidden {
    display: none;
}

.gallery-item-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(20, 20, 20, 0.9) 0%, rgba(20, 20, 20, 0.4) 60%, transparent 100%);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: translateY(10px);
    z-index: 2;
}

.gallery-info-overlay h3 {
    color: #FFFFFF;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.gallery-info-overlay p {
    color: var(--color-text-muted-light);
    font-size: 0.9rem;
    font-weight: 300;
}

.zoom-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    color: #FFFFFF;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition-smooth);
}

/* Hover States for Gallery Items */
.gallery-item:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-info-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item:hover .zoom-icon {
    opacity: 1;
    transform: scale(1);
}

/* --- Materials & Textures Section --- */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.material-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.material-card:hover {
    background-color: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
}

.material-img-wrapper {
    height: 180px;
    border-radius: calc(var(--border-radius) - 4px);
    overflow: hidden;
}

.material-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(10%) contrast(1.05);
    transition: transform 1.5s ease;
}

.material-card:hover .material-img {
    transform: scale(1.1);
}

.material-body h3 {
    color: #FFFFFF;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.material-body p {
    color: var(--color-text-muted-light);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
}

/* --- Work Process Section --- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
    position: relative;
}

.process-step {
    position: relative;
    padding-top: 2rem;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-accent-terracotta);
}

.step-number {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(160, 82, 45, 0.15);
    line-height: 1;
    margin-bottom: 1rem;
}

.step-title {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.step-text {
    color: var(--color-text-muted-dark);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.55;
}

/* --- Why Choose Us Section --- */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.why-card {
    background-color: var(--color-bg-card-dark);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.08);
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.why-card h3 {
    color: #FFFFFF;
    font-family: var(--font-sans);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.why-card p {
    color: var(--color-text-muted-light);
    font-size: 0.95rem;
    font-weight: 300;
}

/* --- Contact & CTA Section --- */
.contact-section {
    background-color: var(--color-bg-light);
    position: relative;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.contact-lead {
    font-size: 1.2rem;
    color: var(--color-text-muted-dark);
}

.contact-card {
    background-color: #FFFFFF;
    border-radius: var(--border-radius);
    padding: 4rem 3rem;
    box-shadow: var(--shadow-premium);
    max-width: 680px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.phone-display {
    font-family: var(--font-serif);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.whatsapp-hint {
    color: var(--color-text-muted-dark);
    font-size: 0.95rem;
    margin-bottom: 2.25rem;
    font-weight: 300;
}

/* --- Footer --- */
.main-footer {
    background-color: #0E0E0E;
    color: var(--color-text-light);
    padding: 5rem 0 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 5rem;
    margin-bottom: 4rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: var(--color-text-muted-light);
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-links h3, .footer-contact h3 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--color-text-muted-light);
    font-size: 0.95rem;
    font-weight: 300;
}

.footer-links a:hover {
    color: #FFFFFF;
    padding-left: 5px;
}

.footer-contact p {
    color: var(--color-text-muted-light);
    font-size: 0.95rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.footer-whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
}

.footer-whatsapp-link:hover {
    background-color: var(--color-whatsapp);
    border-color: var(--color-whatsapp);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.2);
}

.whatsapp-badge {
    color: #25D366; /* Light green passes on black background */
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: bold;
    animation: pulse-online 2s infinite;
}

.footer-whatsapp-link:hover .whatsapp-badge {
    color: #FFFFFF;
}

@keyframes pulse-online {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: var(--color-text-muted-light);
    font-weight: 300;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal a {
    color: var(--color-text-muted-light);
    margin: 0 0.5rem;
}

.footer-legal a:hover {
    color: #FFFFFF;
}

/* --- Floating Mobile WhatsApp Button --- */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--color-whatsapp);
    color: #FFFFFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    z-index: 90;
    transition: var(--transition-smooth);
    animation: float-pulse 2.5s infinite;
}

.whatsapp-floating-btn:hover {
    background-color: var(--color-whatsapp-dark);
    transform: scale(1.1);
}

@keyframes float-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- Lightbox / Modal for Gallery --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 150;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    overflow: auto;
    align-items: center;
    justify-content: center;
}

.lightbox.open {
    display: flex;
    animation: fadeIn 0.4s ease forwards;
}

.lightbox-content-container {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    object-fit: contain;
    transform: scale(0.95);
    animation: zoomIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.lightbox-caption {
    margin-top: 1.5rem;
    color: #FFFFFF;
    font-size: 1.1rem;
    font-family: var(--font-serif);
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    color: #A5A4A0;
    font-size: 3rem;
    font-weight: 200;
    transition: var(--transition-quick);
    cursor: pointer;
    z-index: 160;
}

.lightbox-close:hover {
    color: #FFFFFF;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.95); }
    to { transform: scale(1); }
}

/* --- Legal Modals --- */
.legal-modal {
    display: none;
    position: fixed;
    z-index: 140;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.legal-modal.open {
    display: flex;
}

.legal-modal-content {
    background-color: #FFFFFF;
    color: var(--color-text-dark);
    max-width: 800px;
    max-height: 80vh;
    width: 100%;
    border-radius: var(--border-radius);
    padding: 3rem;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.legal-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    color: var(--color-text-muted-dark);
}

.legal-modal-close:hover {
    color: var(--color-text-dark);
}

.legal-modal-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 0.5rem;
}

.legal-modal-content h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-sans);
}

.legal-modal-content p {
    font-size: 0.95rem;
    color: var(--color-text-muted-dark);
    margin-bottom: 1rem;
    font-weight: 300;
}

/* --- Scroll Animations (Reveals) --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active,
.scroll-reveal-left.active,
.scroll-reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* --- Responsive Media Queries --- */

@media (max-width: 1024px) {
    .grid-2 {
        gap: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 3.25rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-info {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .py-large {
        padding: 5rem 0;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image-wrapper {
        order: 2;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-badge {
        right: 0px;
        bottom: -10px;
        padding: 1rem;
    }
    
    .badge-number {
        font-size: 2rem;
    }
    
    /* Toggle Mobile Navigation Elements */
    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none; /* Hide standard menu on mobile */
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .gallery-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .phone-display {
        font-size: 2.2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-info {
        grid-column: span 1;
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .whatsapp-floating-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 54px;
        height: 54px;
    }
}
