/* Modern Landing Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary-color: #4d131d;
    /* Deep Burgundy from existing identity */
    --accent-color: #d4a5a5;
    /* Softer red/pink for backgrounds */
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --max-width: 1200px;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* --- Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: absolute;
    /* Overlap hero */
    width: 100%;
    top: 0;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
}

.logo {
    display: flex;
    align-items: center;
    color: var(--white);
}

.logo img {
    height: 50px;
    margin-right: 15px;
}

.logo-text h1 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links li a:hover {
    color: var(--accent-color);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero_bg_final.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
}

.hero-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 5px;
    text-transform: uppercase;
    border: 2px solid var(--primary-color);
}

.btn:hover {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    margin-left: 10px;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* --- Sections Common --- */
.section {
    padding: 80px 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* --- About --- */
.about {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: var(--max-width);
    margin: 0 auto;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* --- Services --- */
.services {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    /* Fallback if no image */
    margin-bottom: 20px;
    display: inline-block;
}

.service-card h3 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.brand-logos {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.brand-logos img {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid #eee;
    padding: 2px;
    transition: var(--transition);
    background: white;
    opacity: 1;
    /* Removed transparency/grayscale to match hygiene */
    filter: none;
}

.brand-logos img:hover {
    transform: scale(2.0);
    z-index: 101;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.hygiene-gallery {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.hygiene-gallery img {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid #eee;
    padding: 2px;
    transition: var(--transition);
    background: white;
}

.hygiene-gallery img:hover {
    transform: scale(2.5);
    z-index: 101;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

/* --- Features / Quality --- */
.quality {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.quality .section-title h2 {
    color: var(--white);
}

.quality .section-title p {
    color: rgba(255, 255, 255, 0.8);
}

.quality-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* --- Contact --- */
.contact {
    max-width: var(--max-width);
    margin: 0 auto;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: rgba(77, 19, 29, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.item-content h4 {
    font-family: var(--font-heading);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.item-content p {
    color: var(--text-light);
}

.contact-map {
    flex: 1;
    min-width: 300px;
    height: 300px;
    background-color: #ddd;
    border-radius: 10px;
    /* Placeholder for map */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}


/* --- References --- */
.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.ref-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    color: var(--text-light);
    border: 1px solid #eee;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ref-card:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.ref-card i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #ccc;
    transition: var(--transition);
}

.ref-card:hover i {
    color: var(--primary-color);
}

.ref-card h4 {
    font-family: var(--font-heading);
    font-weight: 600;
}

.ref-gallery {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.ref-gallery img {
    width: 90px;
    height: 65px;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
    background-color: #555;
    padding: 5px;
}

.ref-gallery img:hover {
    transform: scale(2.0);
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

/* --- Gallery --- */
.gallery {
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* --- Footer --- */
footer {
    background-color: #1a1a1a;
    color: #888;
    padding: 30px 5%;
    text-align: center;
    font-size: 0.9rem;
}

footer p {
    margin-top: 10px;
}

/* --- Lightbox --- */
.lightbox {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 2000;
    /* High z-index to sit on top of everything */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 20px;
        background: #1a1a1a;
        position: relative;
    }

    .nav-links {
        margin-top: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 10px;
        display: block;
        /* Stack buttons on mobile */
    }
}