/* --- Design Tokens & Variables --- */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #faf8f5;
    --bg-tertiary: #f5f0e9;
    --text-primary: #111111;
    --text-secondary: #555555;
    --text-muted: #8c8c8c;
    --accent: #8f7a66; /* Muted bronze/taupe */
    --accent-light: #bcaaa4;
    --accent-dark: #5d4037;
    --border-color: #eae5dd;
    --border-light: #f3efe9;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-quick: all 0.3s ease;
    --header-height: 90px;
    --container-width: 1280px;
    
    --header-bg: rgba(255, 255, 255, 0.95);
    --portfolio-overlay-bg: rgba(255, 255, 255, 0.95);
    --lightbox-bg: rgba(255, 255, 255, 0.98);
    --hero-overlay-bg: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0.2) 100%);
    --cta-bg: #c96f3b; /* Premium wood/earth orange */
    --cta-hover: #b05c2e;
}

body.dark-theme {
    --bg-primary: #121212;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #242424;
    --text-primary: #f5f5f5;
    --text-secondary: #b0b0b0;
    --text-muted: #757575;
    --border-color: #333333;
    --border-light: #2c2c2c;
    
    --header-bg: rgba(18, 18, 18, 0.95);
    --portfolio-overlay-bg: rgba(18, 18, 18, 0.95);
    --lightbox-bg: rgba(18, 18, 18, 0.98);
    --hero-overlay-bg: linear-gradient(90deg, rgba(18,18,18,0.95) 0%, rgba(18,18,18,0.7) 50%, rgba(18,18,18,0.2) 100%);
}

/* --- Theme & Language Switcher Buttons --- */
.btn-theme-toggle, .btn-lang-toggle {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition-quick);
}

.btn-theme-toggle .theme-icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    display: block;
    transition: transform 0.5s ease;
}

.btn-theme-toggle .sun-icon {
    display: none;
}
.btn-theme-toggle .moon-icon {
    display: block;
}

body.dark-theme .btn-theme-toggle .sun-icon {
    display: block;
}
body.dark-theme .btn-theme-toggle .moon-icon {
    display: none;
}

.btn-theme-toggle:hover, .btn-lang-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
    background-color: var(--bg-secondary);
}

.btn-lang-toggle {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.75rem;
}


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

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* --- Layout Containers --- */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Typography System --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dark);
}

/* --- Navigation Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--header-bg);
    border-bottom: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition-quick);
}

.header.scrolled {
    height: 75px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: 5px;
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-primary);
}

.sub-brand {
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--accent);
    letter-spacing: 0.2em;
    display: inline-block;
    margin-left: 2px;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
    color: var(--text-secondary);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent);
    transition: var(--transition-quick);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.btn-whatsapp-header {
    background-color: var(--accent);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp-header:hover {
    background-color: var(--text-primary);
    transform: translateY(-2px);
}

/* Mobile menu toggle button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-quick);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--header-height);
}

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

.hero-img,
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-img {
    transform: scale(1.05);
    animation: zoomOutEffect 15s forwards;
}

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

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 620px;
}

.hero-tagline {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent);
    display: block;
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-title {
    font-size: 4.2rem;
    font-weight: 300;
    margin-bottom: 25px;
    line-height: 1.15;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-actions-group {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background-color: var(--cta-bg);
    color: #ffffff !important;
    padding: 18px 40px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid var(--cta-bg);
    transition: var(--transition-quick);
}

body.dark-theme .btn-primary {
    color: #ffffff !important;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--cta-bg);
    border-color: var(--cta-bg);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    padding: 16px 36px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid var(--accent);
    transition: var(--transition-quick);
}

.btn-secondary:hover {
    background-color: var(--accent);
    color: #ffffff;
    transform: translateY(-3px);
}

/* Animations */
@keyframes zoomOutEffect {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}

.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpIn 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-primary);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--text-primary);
    border-radius: 2px;
    animation: scrollMouse 1.5s infinite;
}

@keyframes scrollMouse {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-subtitle {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent);
    margin-bottom: 12px;
    font-weight: 500;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 400;
}

.section-divider {
    width: 60px;
    height: 1px;
    background-color: var(--accent);
    margin-top: 20px;
}

/* --- Highlights Section --- */
.highlights-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

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

.highlight-item {
    text-align: center;
    padding: 20px;
}

.highlight-icon {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 25px;
}

.highlight-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.highlight-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
}

/* --- Collections Hero Showcase Section --- */
.collections-hero-section {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 640px;
    max-height: 860px;
    overflow: hidden;
    background-color: #0d0d0d;
    display: flex;
    align-items: center;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.coll-hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Slide Base & Crossfade Transitions */
.coll-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.1s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.coll-hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    pointer-events: auto;
}

/* Background Image & Ken Burns Zoom Effect */
.coll-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.coll-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.08);
    transition: transform 8s cubic-bezier(0.1, 0.5, 0.2, 1);
}

/* Custom Image Positioning to Highlight Woodwork */
.coll-img-reception {
    object-position: center 38%;
}

.coll-img-bathroom {
    object-position: center 82%; /* Perfectly brings the fluted wood vanity and shelf into view */
}

.coll-img-executive {
    object-position: center 52%;
}

.coll-img-openoffice {
    object-position: center 38%; /* Shows custom wood ceiling lattice, bar counter, and planter separators */
}

.coll-img-sculptural {
    object-position: center 50%; /* Accents the sculptural executive desk base, brass trims, and wood wall panels */
}

.coll-hero-slide.active .coll-hero-img {
    transform: scale(1);
}

/* Wood-First Overlay: Crystal Clear by Default, Subtle Gradient on Hover */
.coll-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.15) 0%, transparent 40%, rgba(8, 8, 8, 0.55) 100%);
    transition: background 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.collections-hero-section:hover .coll-hero-overlay {
    background: linear-gradient(90deg, rgba(8, 8, 8, 0.88) 0%, rgba(8, 8, 8, 0.52) 48%, rgba(8, 8, 8, 0.18) 100%),
                linear-gradient(180deg, rgba(8, 8, 8, 0.3) 0%, transparent 35%, rgba(8, 8, 8, 0.78) 100%);
}

/* Content Container - Revealed on Mouse Hover Only */
.coll-hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-bottom: 70px;
}

.coll-hero-content {
    max-width: 720px;
    color: #ffffff;
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

/* Text only appears when hovering over the section */
.collections-hero-section:hover .coll-hero-slide.active .coll-hero-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Badge Pill */
.coll-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 40px;
    backdrop-filter: blur(12px);
    margin-bottom: 22px;
    white-space: nowrap;
    flex-wrap: nowrap;
    max-width: 100%;
}

.coll-badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
    display: inline-block;
    flex-shrink: 0;
}

.coll-badge-title {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #ffffff;
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: none;
}

.coll-badge-sep {
    color: var(--accent);
    font-size: 0.75rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    opacity: 0.8;
}

.coll-badge-sub {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Title & Description */
.coll-slide-title {
    font-size: clamp(2.1rem, 3.8vw, 3.3rem);
    font-weight: 300;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.coll-slide-description {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 35px;
    font-weight: 300;
    max-width: 640px;
}

/* Action Button */
.coll-slide-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.coll-slide-actions .btn-primary {
    padding: 16px 36px;
    font-size: 0.9rem;
}

/* Controls Bar (Centered Indicators) */
.coll-controls-container {
    position: absolute;
    bottom: 35px;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    pointer-events: none;
}

.coll-indicators {
    pointer-events: auto;
    display: flex;
    gap: 24px;
    align-items: center;
}

.coll-indicator-btn {
    background: none;
    border: none;
    padding: 6px 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    opacity: 0.55;
    transition: opacity 0.3s ease;
    width: 140px;
}

.coll-indicator-btn:hover,
.coll-indicator-btn.active {
    opacity: 1;
}

.coll-indicator-num {
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

.coll-indicator-progress {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    margin-bottom: 6px;
}

.coll-indicator-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--accent);
    transition: width 0.1s linear;
}

.coll-indicator-btn.active .coll-indicator-bar {
    width: 100%;
    transition: width 5.5s linear;
}

.coll-indicator-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

@media (max-width: 992px) {
    .coll-indicators {
        gap: 14px;
    }
    .coll-indicator-btn {
        width: 110px;
    }
    .coll-indicator-label {
        font-size: 0.72rem;
        max-width: 110px;
    }
}

@media (max-width: 768px) {
    .coll-controls-container {
        bottom: 20px;
    }
    .coll-indicators {
        gap: 8px;
        width: 100%;
        justify-content: center;
    }
    .coll-indicator-btn {
        width: auto;
        flex: 1;
        max-width: 65px;
    }
    .coll-indicator-label {
        display: none;
    }
    .coll-indicator-num {
        font-size: 0.7rem;
    }
}

/* --- Craftsmanship Section --- */
.craftsmanship-section {
    padding: 120px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
}

.craftsmanship-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.craftsmanship-image-area {
    flex: 1;
    position: relative;
}

.craftsmanship-image {
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: 4px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--text-primary);
    color: #ffffff;
    padding: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 4px;
}

.experience-badge .years {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.experience-badge .text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-light);
    margin-top: 5px;
}

/* Dark theme overrides for experience badge */
body.dark-theme .experience-badge {
    color: #111111;
}
body.dark-theme .experience-badge .years {
    color: #111111;
}
body.dark-theme .experience-badge .text {
    color: #5d4037;
}

.craftsmanship-text-area {
    flex: 1.2;
}

.text-left {
    text-align: left;
    align-items: flex-start;
}

.craft-p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 300;
}

.craft-details-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.craft-details-list li {
    display: flex;
    gap: 25px;
}

.list-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--accent);
    font-weight: 300;
    line-height: 1;
}

.craft-details-list h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.craft-details-list p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* --- Quote Banner --- */
.quote-banner {
    padding: 100px 0;
    background-color: var(--bg-tertiary);
    text-align: center;
}

.quote-container {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 30px;
    opacity: 0.5;
}

.quote-banner blockquote {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.4;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 25px;
    font-weight: 300;
}

.quote-banner cite {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    font-style: normal;
}

/* --- Instagram Section --- */
.instagram-section {
    padding: 120px 0;
}

.instagram-subtext {
    color: var(--text-secondary);
    font-size: 1.05rem;
    font-weight: 300;
    margin-bottom: 20px;
    max-width: 600px;
}

.instagram-username {
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.instagram-username:hover {
    color: var(--text-primary);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.insta-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
}

.insta-item img {
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

.insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(143, 122, 102, 0.9);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: var(--transition-quick);
}

.insta-overlay i {
    font-size: 1.8rem;
}

.insta-overlay span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.insta-item:hover img {
    transform: scale(1.06);
}

.insta-item:hover .insta-overlay {
    opacity: 1;
}

/* --- Contact & Map Section --- */
.contact-section {
    padding: 120px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-info-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .contact-info-cards-row {
        grid-template-columns: 1fr;
    }
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card {
    background-color: var(--bg-primary);
    padding: 30px;
    border-radius: 4px;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-icon {
    font-size: 1.5rem;
    color: var(--accent);
}

.contact-card h3 {
    font-size: 1.3rem;
    font-weight: 500;
}

.contact-card p {
    color: var(--text-secondary);
    font-weight: 300;
}

.btn-whatsapp-large {
    background-color: #25d366;
    color: #ffffff;
    padding: 20px 30px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.15);
    margin-top: 15px;
}

.btn-whatsapp-large:hover {
    background-color: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.25);
}

.contact-map {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-light);
}

/* --- Reviews Slider Section --- */
.reviews-slider-section {
    padding: 80px 0 60px;
    background-color: var(--bg-primary);
    text-align: center;
    border-top: 1px solid var(--border-light);
}

.reviews-header {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.reviews-stars {
    color: #ffc107;
    font-size: 1.25rem;
    display: flex;
    gap: 6px;
}

.reviews-header h3 {
    font-size: 1.8rem;
    font-weight: 500;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.reviews-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    min-height: 140px;
}

.review-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.review-slide.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

.review-text {
    font-size: 1.35rem;
    font-style: italic;
    color: var(--text-primary);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 20px;
    letter-spacing: 0.01em;
}

.review-author {
    font-weight: 500;
    color: var(--accent);
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: block;
}

.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.reviews-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-light);
    cursor: pointer;
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease;
}

.reviews-dots .dot:hover {
    transform: scale(1.2);
}

.reviews-dots .dot.active {
    background-color: var(--accent);
    transform: scale(1.2);
}

/* --- Full Width Map Section --- */
.full-width-map {
    width: 100%;
    height: 450px;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    line-height: 0;
    overflow: hidden;
}

.full-width-map iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(8%) contrast(102%);
    transition: filter 0.3s ease;
}

.full-width-map iframe:hover {
    filter: none;
}

/* --- Footer --- */
.footer {
    background-color: #111111;
    color: #ffffff;
    padding: 80px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    padding-bottom: 50px;
    border-bottom: 1px solid #222222;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-brand-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #ffffff;
    align-self: flex-start;
}

.footer-sub-brand {
    font-size: 1.05rem;
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--accent);
    letter-spacing: 0.15em;
    display: inline-block;
    margin-left: 2px;
}

.footer-brand p {
    color: #aaaaaa;
    max-width: 350px;
    font-weight: 300;
    font-size: 0.95rem;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #222222;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    transition: var(--transition-quick);
}

.footer-socials a:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links h4, .footer-hours h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 500;
}

.footer-links a {
    color: #aaaaaa;
    font-size: 0.95rem;
    font-weight: 300;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-hours {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-hours p {
    color: #aaaaaa;
    font-size: 0.95rem;
    font-weight: 300;
}

.footer-address {
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-address a {
    color: #cccccc;
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.55;
    text-decoration: none;
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    transition: var(--transition-quick);
}

.footer-address a:hover {
    color: var(--accent);
}

.footer-address a i {
    color: var(--accent);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
    color: #666666;
    font-size: 0.85rem;
    font-weight: 300;
}

/* --- Lightbox / Modal --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: var(--lightbox-bg);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 70vh;
    animation: zoomIn 0.4s ease;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    border: 1px solid var(--border-light);
}

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

.lightbox-close {
    position: absolute;
    top: 40px;
    right: 40px;
    color: var(--text-primary);
    font-size: 40px;
    font-weight: 300;
    transition: var(--transition-quick);
    cursor: pointer;
}

.lightbox-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: var(--text-secondary);
    padding: 20px 0;
    font-family: var(--font-heading);
    font-size: 1.6rem;
}

/* --- Design Form Custom Styles --- */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-form-area {
    background-color: var(--bg-primary);
    padding: 40px;
    border-radius: 4px;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.02);
}

.form-header {
    margin-bottom: 30px;
}

.form-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
}

.design-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    outline: none;
    transition: var(--transition-quick);
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(143, 122, 102, 0.08);
}

/* File Upload Custom Design */
.file-upload-box {
    border: 2px dashed var(--border-color);
    padding: 30px 20px;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-quick);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.file-upload-box:hover {
    border-color: var(--accent);
    background-color: var(--bg-secondary);
}

.file-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 5px;
}

.file-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.file-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.file-name-display {
    font-size: 0.85rem;
    color: var(--accent);
    margin-top: 5px;
    font-weight: 500;
    text-align: center;
}

.form-submit-btn {
    align-self: flex-start;
    cursor: pointer;
    border: none;
}

.form-submit-btn:hover {
    background-color: var(--accent);
    color: #ffffff;
}

/* --- Blog Styles --- */
.blog-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.section-subtitle {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 10px;
    text-align: center;
    font-weight: 600;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.blog-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(143, 122, 102, 0.08);
    border-color: var(--border-color);
}

.blog-card-img-wrapper {
    position: relative;
    padding-top: 60%; /* 5:3 Aspect Ratio */
    overflow: hidden;
}

.blog-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.blog-card:hover .blog-card-img {
    transform: scale(1.06);
}

.blog-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--bg-primary);
    color: var(--accent-dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    gap: 15px;
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.blog-card-title a:hover {
    color: var(--accent);
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-card-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.blog-card-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-link i {
    transform: translateX(5px);
}

/* --- Single Post Detail Styles --- */
.post-layout {
    padding: 120px 0 100px 0;
    background-color: var(--bg-primary);
}

.post-breadcrumbs {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    display: flex;
    gap: 10px;
}

.post-breadcrumbs a:hover {
    color: var(--accent);
}

.post-header {
    margin-bottom: 40px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.post-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.post-meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.post-hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 50px;
}

.post-container {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 50px;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.post-content p {
    margin-bottom: 25px;
    font-weight: 300;
}

.post-content h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 400;
    margin: 40px 0 20px 0;
    color: var(--text-primary);
    line-height: 1.3;
}

.post-content h3 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 400;
    margin: 30px 0 15px 0;
    color: var(--text-primary);
}

.post-content ul, .post-content ol {
    margin-bottom: 30px;
    padding-left: 20px;
}

.post-content li {
    margin-bottom: 10px;
    font-weight: 300;
}

.post-content blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 25px;
    margin: 40px 0;
    font-style: italic;
    color: var(--accent-dark);
    font-size: 1.25rem;
}

/* Sidebar Call to Actions */
.post-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-widget {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 30px;
    margin-bottom: 30px;
}

.sidebar-widget h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.widget-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.widget-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25d366;
    color: white;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-quick);
}

.widget-whatsapp-btn:hover {
    background-color: #128c7e;
}

.widget-contact-btn {
    display: block;
    text-align: center;
    background-color: var(--accent);
    color: white;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-quick);
}

.widget-contact-btn:hover {
    background-color: var(--accent-dark);
}

.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-post-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.recent-post-thumb {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.recent-post-info h5 {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 5px;
}

.recent-post-info h5 a:hover {
    color: var(--accent);
}

.recent-post-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.2rem;
    }
    .craftsmanship-content {
        flex-direction: column;
        gap: 50px;
    }
    .craftsmanship-image-area {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    .experience-badge {
        right: -15px;
        bottom: -15px;
        padding: 25px;
    }
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
    .footer-brand {
        grid-column: span 2;
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .post-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .collections-hero-section {
        height: 75vh;
        min-height: 580px;
    }
    .coll-indicator-btn {
        width: 110px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 80px;
    }
    .full-width-map {
        height: 350px;
    }
    .reviews-slider-section {
        padding: 50px 0 40px;
    }
    .reviews-header h3 {
        font-size: 1.5rem;
    }
    .review-text {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    .hero-title {
        font-size: 2.6rem;
    }
    .hero-desc {
        font-size: 1rem;
    }
    .hero-actions-group {
        flex-direction: column;
        gap: 15px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .contact-form-area {
        padding: 25px 20px;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .filter-tabs {
        flex-wrap: wrap;
        gap: 15px;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .quote-banner blockquote {
        font-size: 1.6rem;
    }

    /* Collections Hero Mobile */
    .collections-hero-section {
        height: auto;
        min-height: 560px;
        padding-top: 50px;
        padding-bottom: 90px;
    }
    .coll-hero-container {
        padding-bottom: 25px;
    }
    .coll-hero-content {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    .coll-hero-badge {
        padding: 4px 12px;
        gap: 6px;
        margin-bottom: 16px;
    }
    .coll-badge-title {
        font-size: 0.72rem;
        letter-spacing: 0.04em;
    }
    .coll-badge-sep {
        font-size: 0.65rem;
    }
    .coll-badge-sub {
        font-size: 0.72rem;
        letter-spacing: 0.08em;
    }
    .coll-hero-overlay {
        background: linear-gradient(180deg, rgba(8, 8, 8, 0.25) 0%, transparent 20%, rgba(8, 8, 8, 0.85) 85%);
    }
    .coll-img-bathroom {
        object-position: center 85%;
    }
    .coll-slide-title {
        font-size: 1.85rem;
    }
    .coll-slide-description {
        font-size: 0.95rem;
        line-height: 1.65;
        margin-bottom: 25px;
    }
    .coll-controls-container {
        bottom: 20px;
        justify-content: center;
    }
    .coll-indicators {
        gap: 12px;
        width: 100%;
        justify-content: center;
    }
    .coll-indicator-btn {
        width: 65px;
    }
    .coll-indicator-label {
        display: none;
    }
    .coll-slide-actions {
        width: 100%;
    }
    .coll-slide-actions .btn-primary {
        width: 100%;
        text-align: center;
    }
    
    /* Mobile Menu Navigation */
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--border-light);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .header-actions .btn-whatsapp-header {
        display: none; /* Hide in header for mobile to make space */
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .post-title {
        font-size: 2.4rem;
    }
    .post-hero-image {
        height: 320px;
    }
}

/* --- Email Subscription Popup --- */
.email-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 17, 17, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.email-popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.email-popup-content {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    width: 90%;
    max-width: 500px;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 50px rgba(17, 17, 17, 0.15);
    transform: translateY(30px);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.email-popup-overlay.active .email-popup-content {
    transform: translateY(0);
}

.email-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-quick);
    line-height: 1;
}

.email-popup-close:hover {
    color: var(--text-primary);
}

.email-popup-body {
    text-align: center;
}

.email-popup-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.email-popup-body h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.2;
}

.email-popup-body p {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 30px;
    line-height: 1.6;
}

.email-popup-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.email-popup-form input[type="email"] {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--bg-secondary);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    outline: none;
    transition: var(--transition-quick);
}

.email-popup-form input[type="email"]:focus {
    border-color: var(--accent);
    background-color: var(--bg-primary);
}

.email-popup-form button {
    cursor: pointer;
    border: none;
    padding: 15px;
    font-size: 1rem;
}

.email-popup-success {
    display: none;
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 15px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 15px;
    text-align: center;
}

.email-popup-success i {
    margin-right: 8px;
}

/* --- Floating CTA Button --- */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--cta-bg);
    color: #ffffff !important;
    padding: 16px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(201, 111, 59, 0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-quick);
    animation: pulseCta 2s infinite;
}

.floating-cta:hover {
    background-color: var(--cta-hover);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(201, 111, 59, 0.4);
}

@keyframes pulseCta {
    0% {
        box-shadow: 0 0 0 0 rgba(201, 111, 59, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(201, 111, 59, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(201, 111, 59, 0);
    }
}

@media (max-width: 768px) {
    .floating-cta {
        bottom: 20px;
        right: 20px;
        left: 20px;
        justify-content: center;
    }
}

/* --- Preloader Style --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-primary);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 1.3s cubic-bezier(0.25, 1, 0.5, 1), visibility 1.3s;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Fingerprint Scanning Animation container */
.fingerprint-wrapper {
    position: relative;
    width: 90px;
    height: 100px;
    margin-bottom: 10px;
}

.fingerprint-bg {
    font-size: 5.5rem;
    color: var(--border-color);
    position: absolute;
    top: 0;
    left: 0;
}

.fingerprint-active-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    overflow: hidden;
    animation: fillFingerprint 1.5s ease-in-out infinite;
}

.fingerprint-active {
    font-size: 5.5rem;
    color: var(--accent);
    position: absolute;
    top: 0;
    left: 0;
}

.scan-line {
    position: absolute;
    left: -5%;
    width: 110%;
    height: 8px;
    background: linear-gradient(to bottom, rgba(201, 111, 59, 0) 0%, var(--accent) 50%, rgba(201, 111, 59, 0) 100%);
    filter: blur(1.5px);
    box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent);
    top: 0%;
    animation: scanLineMove 1.5s ease-in-out infinite;
}

.preloader-brand {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    letter-spacing: 0.25em;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.preloader-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 400;
}

@keyframes fillFingerprint {
    0%, 100% { height: 0%; }
    50% { height: 100%; }
}

@keyframes scanLineMove {
    0%, 100% { top: 0%; opacity: 0; }
    5%, 95% { opacity: 1; }
    50% { top: 100%; }
}

/* --- Floating Phone Button --- */
.floating-phone {
    position: fixed;
    bottom: 105px;
    right: 30px;
    width: 56px;
    height: 56px;
    background-color: var(--accent);
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transition: var(--transition-quick);
}

.floating-phone:hover {
    background-color: var(--cta-hover);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .floating-phone {
        bottom: 95px;
        right: 20px;
    }
}
