/* Base Styles & Variables */
:root {
    --primary-color: #d97706; 
    --primary-dark: #b45309;
    --secondary-color: #1e3a8a; 
    --text-dark: #000000; /* Pure black for headings/text */
    --text-light: #475569;
    --bg-light: #ffffff; /* White background */
    --bg-soft-blue: #f8fafc;
    --white: #ffffff;
    --wa-color: #25D366;
    --transition: all 0.3s ease;
}

/* Dark Mode Variables */
body.dark-mode {
    --bg-light: #0f172a;
    --bg-soft-blue: #1e293b;
    --text-dark: #f8fafc;
    --text-light: #94a3b8;
    --white: #1e293b;
    --secondary-color: #60a5fa;
}

body.dark-mode h1, 
body.dark-mode h2, 
body.dark-mode h3, 
body.dark-mode h4,
body.dark-mode .section-title {
    color: #ffffff !important;
}

body.dark-mode .hero-content {
    background: rgba(30, 41, 59, 0.8) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-mode .hero-content p {
    color: #cbd5e1 !important;
}

body.dark-mode .service-card,
body.dark-mode .testimonial-card {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode header.scrolled {
    background-color: rgba(15, 23, 42, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--bg-light);
}

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

.section-title {
    font-size: 2.8rem;
    color: #000000;
    margin-bottom: 40px;
    font-weight: 800; /* Extra bold */
}

/* Typography */
h1, h2, h3, h4 {
    color: #000000; /* Bold Black */
    line-height: 1.2;
    font-weight: 800; /* Extra bold */
}

p {
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(2, 132, 199, 0.2);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
    transform: translateY(-3px);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
    margin-top: 20px;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-whatsapp {
    background-color: var(--wa-color);
    color: var(--white);
}
.btn-whatsapp:hover {
    background-color: #1ebe57;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
    background-color: transparent;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

header.scrolled .logo,
header.scrolled .nav-links a,
header.scrolled .menu-toggle i {
    color: var(--text-dark);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.nav-links a:hover {
    color: var(--primary-color);
}
header.scrolled .nav-links a:hover {
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.eye-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

header.scrolled .eye-toggle {
    color: var(--text-dark);
    border-color: rgba(0,0,0,0.1);
    background: rgba(0,0,0,0.05);
}

.eye-toggle i {
    font-size: 1rem;
}

.eye-toggle:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.eye-toggle.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

/* Eye Comfort Mode Effect */
body.eye-comfort-mode {
    filter: sepia(0.35) contrast(0.95);
    background-color: #fdf6e3;
}

body.eye-comfort-mode img {
    filter: sepia(0) contrast(1.05); /* keep images slightly clearer */
}

.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: backgroundFade 15s infinite;
}

.hero-slider .slide:nth-child(2) {
    animation-delay: 5s;
}

.hero-slider .slide:nth-child(3) {
    animation-delay: 10s;
}

@keyframes backgroundFade {
    0% { opacity: 0; transform: scale(1); }
    15% { opacity: 1; }
    33% { opacity: 1; }
    48% { opacity: 0; transform: scale(1.1); }
    100% { opacity: 0; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    color: #000000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-weight: 500;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.features-list {
    margin-top: 30px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.features-list i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.about-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.service-card .icon {
    width: 70px;
    height: 70px;
    background: var(--bg-soft-blue);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-card:hover .icon {
    background: var(--primary-color);
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 15px;
}

/* Products Section */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.product-img {
    height: 250px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-card h3 {
    padding: 20px 0 10px;
}

.product-card p {
    padding: 0 20px 20px;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stars {
    color: #fbbf24;
    margin-bottom: 20px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-card h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.testimonial-card .role {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.info-item .icon {
    width: 50px;
    height: 50px;
    background: var(--bg-soft-blue);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-item h4 {
    margin-bottom: 5px;
}

.info-item p {
    margin-bottom: 0;
}

.contact-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.contact-map {
    border-radius: 20px;
    overflow: hidden;
    min-height: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background: #0f172a;
    padding: 30px 0;
    color: var(--white);
}

footer p {
    margin: 0;
    color: #94a3b8;
}

/* Floating WA */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--wa-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.floating-wa:hover {
    transform: scale(1.1);
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.slide-right {
    transform: translateX(50px);
}

.animate-on-scroll.slide-up {
    transform: translateY(50px);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0);
}

/* Responsive */
@media (max-width: 900px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        display: none;
    }

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

    .nav-links a {
        color: var(--text-dark);
        display: block;
    }
    
    .nav-links a::after {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
    
    header {
        padding: 15px 0;
        background: var(--white);
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    }
    header .logo, header .menu-toggle i {
        color: var(--text-dark);
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .contact-actions {
        flex-direction: column;
    }
}
