/* ========================================
   Design System & Variables
   ======================================== */
:root {
    /* Brand Colors */
    --primary-color: #333333;
    --secondary-color: #cdcdcd;
    --accent-color: #555555;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-white: #ffffff;
    --background-light: #f8f8f8;
    --background-white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #333333 0%, #555555 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(51, 51, 51, 0.9) 0%, rgba(85, 85, 85, 0.8) 100%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

/* ========================================
   Reset & Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--background-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

/* ========================================
   Utility Classes
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-base);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border-color: var(--text-white);
}

.btn-secondary:hover {
    background: var(--text-white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    background: var(--background-white);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.75rem;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.logo .tagline {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--primary-color);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition-base);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 50%, #333333 100%);
    background-image: url('https://images.unsplash.com/photo-1552321554-5fefe8c9ef14?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    overflow: hidden;
    margin-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(205, 205, 205, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(205, 205, 205, 0.1) 0%, transparent 50%);
    animation: pulseBackground 15s ease-in-out infinite;
}

@keyframes pulseBackground {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.7) 0%, rgba(85, 85, 85, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-white);
}

.hero-title {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--secondary-color);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--secondary-color);
    border-radius: 20px;
    position: relative;
    animation: scrollBounce 2s infinite;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: var(--spacing-xl) 0;
    background: var(--background-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    background: var(--background-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    color: var(--primary-color);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
}

/* ========================================
   Products Section
   ======================================== */
.products {
    padding: var(--spacing-xl) 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
}

.product-category {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.category-image {
    height: 500px;
    position: relative;
    background-size: cover;
    background-position: center;
    transition: var(--transition-slow);
}

.tiles-bg {
    background: linear-gradient(135deg, #4a4a4a 0%, #2c2c2c 100%),
        repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(205, 205, 205, 0.1) 20px, rgba(205, 205, 205, 0.1) 40px);
    background-image: url('https://images.unsplash.com/photo-1615971677499-5467cbab01c0?w=800&h=800&fit=crop');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.sanitary-bg {
    background: linear-gradient(135deg, #3a3a3a 0%, #1a1a1a 100%),
        radial-gradient(circle at center, rgba(205, 205, 205, 0.15) 0%, transparent 70%);
    background-image: url('https://images.unsplash.com/photo-1620626011761-996317b8d101?w=800&h=800&fit=crop');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    transition: var(--transition-base);
}

.product-category:hover .category-overlay {
    background: rgba(51, 51, 51, 0.7);
}

.product-category:hover .category-image {
    transform: scale(1.05);
}

.category-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-white);
    width: 90%;
    z-index: 2;
}

.category-content h3 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.category-content ul {
    margin-bottom: var(--spacing-lg);
}

.category-content li {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
    color: var(--secondary-color);
}

.category-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: var(--transition-base);
}

.category-btn:hover {
    background: var(--text-white);
    color: var(--primary-color);
}

/* ========================================
   Gallery Section
   ======================================== */
.gallery {
    padding: var(--spacing-xl) 0;
    background: var(--background-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.gallery-item {
    position: relative;
    height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    background-size: cover;
    background-position: center;
}

.gallery-item-1 {
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.3) 0%, rgba(51, 51, 51, 0.5) 100%);
    background-image: url('https://images.unsplash.com/photo-1600566753086-00f18fb6b3ea?w=600&h=400&fit=crop');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.gallery-item-2 {
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.3) 0%, rgba(51, 51, 51, 0.5) 100%);
    background-image: url('https://images.unsplash.com/photo-1507089947368-19c1da9775ae?w=600&h=400&fit=crop');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.gallery-item-3 {
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.3) 0%, rgba(51, 51, 51, 0.5) 100%);
    background-image: url('https://images.unsplash.com/photo-1564540579594-0930edb6de43?w=600&h=400&fit=crop');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.gallery-item-4 {
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.3) 0%, rgba(51, 51, 51, 0.5) 100%);
    background-image: url('https://images.unsplash.com/photo-1620626011761-996317b8d101?w=600&h=400&fit=crop');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.gallery-item-5 {
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.3) 0%, rgba(51, 51, 51, 0.5) 100%);
    background-image: url('https://images.unsplash.com/photo-1631889993959-41b4e9c6e3c5?w=600&h=400&fit=crop');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.gallery-item-6 {
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.3) 0%, rgba(51, 51, 51, 0.5) 100%);
    background-image: url('https://images.unsplash.com/photo-1604709177225-055f99402ea3?w=600&h=400&fit=crop');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(51, 51, 51, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: var(--text-white);
    font-size: 1.5rem;
    transform: translateY(20px);
    transition: var(--transition-base);
}

.gallery-item:hover .gallery-overlay h4 {
    transform: translateY(0);
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: var(--spacing-xl) 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-text p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.stat {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--background-light);
    border-radius: var(--radius-md);
}

.stat-number {
    font-size: 3rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.stat p {
    color: var(--text-light);
    font-size: 1rem;
}

.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #333333 0%, #555555 100%);
    background-image: url('https://images.unsplash.com/photo-1600607687644-c7171b42498b?w=800&h=600&fit=crop');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials {
    padding: var(--spacing-xl) 0;
    background: var(--background-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.testimonial-card {
    background: var(--background-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stars {
    color: #ffc107;
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.testimonial-author h4 {
    font-size: 1rem;
    color: var(--primary-color);
}

.testimonial-author p {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: var(--spacing-xl) 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.contact-details {
    margin-top: var(--spacing-lg);
}

.contact-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--background-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item h4 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-form-wrapper {
    background: var(--background-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
}

.contact-form h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--secondary-color);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-base);
    background: var(--background-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--primary-color);
    color: var(--text-white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: var(--spacing-md);
    color: var(--text-white);
}

.footer-section p {
    color: var(--secondary-color);
    line-height: 1.8;
}

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section ul li a {
    color: var(--secondary-color);
    transition: var(--transition-base);
}

.footer-section ul li a:hover {
    color: var(--text-white);
    padding-left: 5px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.social-link {
    color: var(--secondary-color);
    transition: var(--transition-base);
}

.social-link:hover {
    color: var(--text-white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--accent-color);
    color: var(--secondary-color);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--background-white);
        width: 100%;
        text-align: center;
        transition: var(--transition-base);
        box-shadow: var(--shadow-md);
        padding: var(--spacing-md) 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Animations
   ======================================== */
.animate-in {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}