:root {
    --primary-color: #00a8e8;
    --secondary-color: #003459;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Navigation */
nav {
    background: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.logo:hover {
    color: var(--secondary-color);
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: var(--text-color);
    margin: 1px 0;
    transition: 0.3s;
}

.hamburger-text {
    font-size: 0.7rem;
    margin-top: 2px;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    height: 60vh;
    background:url('/images/hero-desktop.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
    margin-top: 60px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.cta-button:hover {
    background: var(--secondary-color);
}

/* Sections */
section {
    padding: 4rem 5%;
}

.about-preview, .why-water-purification {
    background: var(--light-bg);
    text-align: center;
}

h2 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.reason {
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.reason i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Products */
.featured-products {
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3 {
    padding: 1rem;
}

.product-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    margin-bottom: 1rem;
    border-radius: 5px;
}

/* Products Page */
.products-page {
    padding: 6rem 5% 4rem;
}

.products-page h1 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.products-page .description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product-image {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.product-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-image:hover img {
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
}

.product-info h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.product-info ul {
    list-style: none;
    margin-top: 1rem;
}

.product-info ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.product-info ul li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* About Page */
.about-page {
    padding: 6rem 5% 4rem;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-content > h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.about-content > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-section {
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.about-section h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.services-section {
    background: var(--light-bg);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
}

.services-section h2 {
    margin-bottom: 1rem;
}

/* Contact Page */
.contact-page {
    padding: 6rem 5% 4rem;
    text-align: center;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contact-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-card a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-card a:hover {
    color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Modal for Product Images */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.modal img {
    max-width: 90%;
    max-height: 90vh;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 1rem;
        text-align: center;
    }

    .nav-links.active {
        display: block;
    }

    .nav-links a {
        display: block;
        margin: 1rem 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero {
        background-image: url('/images/hero-mobile.jpg');
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .social-links {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(0, 52, 89, 0.9);
        padding: 1rem;
        margin: 0;
        z-index: 1000;
        justify-content: space-around;
    }

    .social-links a {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 1.2rem;
        text-decoration: none;
        color: var(--white);
    }

    .social-links a i {
        font-size: 2rem;
        margin-bottom: 0.3rem;
    }

    .social-links a span {
        font-size: 0.8rem;
    }

    .social-links a.facebook {
        display: none;
    }
}

@media (min-width: 769px) {
    .social-links a span {
        display: none;
    }
}