/* RESET & CORE */
:root {
    --primary-color: #0066cc;
    /* Professional Blue */
    --accent-color: #ff3366;
    /* Vibrant Pink for CTAs */
    --text-dark: #1d1d1f;
    /* Apple Black */
    --text-grey: #86868b;
    --bg-white: #ffffff;
    --bg-light: #f5f5f7;
    /* Off-white */
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* HEADER */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-inner {
    width: 90%;
    max-width: var(--max-width);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    display: block;
}

/* NAV */
nav ul {
    display: flex;
    gap: 30px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 0;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

/* DROPDOWN */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    min-width: 220px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px;
    /* Subtle slide */
}

/* HERO SLIDER */
/* HERO SLIDER */
.hero {
    position: relative;
    height: 550px;
    /* Fixed 550px height as requested */
    width: 100%;
    overflow: hidden;
    margin-top: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Light overlay for text contrast */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    /* Start from center, write to right */
    color: white;
    max-width: 600px;
    /* Limit width so it doesn't hit edge too hard */
    padding: 20px;
    margin-left: 50%;
    /* Start exactly at horizontal center */
}

.hero-content h2 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.btn-white {
    background: white;
    color: black;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: 0.3s;
    transition: all 0.3s ease;
}

.btn-white:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* SLIDER DOTS */
.dots-container {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* SECTIONS */
.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h3 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-grey);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* CARDS / PRODUCTS */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.clean-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    text-align: center;
    padding: 40px 20px;
    border: 1px solid #eee;
}

.clean-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.clean-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.clean-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.clean-card p {
    color: var(--text-grey);
    font-size: 0.9rem;
}

/* SUBPAGE HEADER (Simple) */
.page-header {
    height: 300px;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    /* Offset fixed header */
}

.page-header h1 {
    color: white;
    font-size: 3rem;
}


/* FOOTER */
footer {
    background: #111;
    color: white;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #999;
}

.footer-col ul li a:hover {
    color: white;
}

.copyright {
    text-align: center;
    color: #555;
    padding-top: 20px;
    border-top: 1px solid #222;
}

/* MOBILE */
.mobile-btn {
    display: none;
    font-size: 24px;
    color: var(--text-dark);
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 900px) {
    .mobile-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        display: none;
        flex-direction: column;
    }

    nav.active {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    header {
        justify-content: space-between;
        padding: 0 20px;
    }

    .header-inner {
        width: 100%;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero {
        height: 60vh;
        /* Balanced height for mobile */
        min-height: 300px;
    }

    .hero .slide {
        justify-content: center;
    }

    .hero-content {
        margin-left: 0;
        text-align: center;
        max-width: 100%;
    }
}

/* CATALOG MODAL */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    overflow: hidden;
    /* For zoom containment */
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 2001;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-img {
    width: 600px;
    /* Default View */
    max-width: 100%;
    height: auto;
    cursor: zoom-in;
    transition: transform 0.1s ease-out;
    /* Super fast transition for mouse follow */
    transform-origin: center center;
}

.catalog-img.zoomed {
    transform: scale(2.0);
    cursor: zoom-out;
    /* Will be moved via JS, so origin doesn't matter as much */
}

/* Floating Catalog Button - LARGER */
.catalog-float-btn {
    position: fixed;
    bottom: 30px;
    /* High enough */
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: var(--text-dark);
    padding: 16px 40px;
    /* Larger Padding */
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    /* Larger Font */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s;
    border: 1px solid #ddd;
}

.catalog-float-btn:hover {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Static Catalog Section */
.static-catalog-cta {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-top: 60px;
    border: 1px solid #ddd;
}