/* Base Styles & Reset */
:root {
    --primary: #2D9B63;
    --secondary: #FF7B00;
    --dark: #333333;
    --light: #F8F9FA;
    --gray: #6c757d;
    --accent: #E74C3C;
    --transition: all 0.3s ease-in-out;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
    background-color: var(--light);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary);
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0.8rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.98);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    margin-right: 15px;
}

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}

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

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    padding: 0.5rem 0;
}

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

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

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

.hamburger {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/images/hero-background.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: fadeIn 1.5s ease-out;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeIn 2s ease-out;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary);
    cursor: pointer;
    animation: fadeIn 2.5s ease-out;
}

.btn:hover {
    background-color: transparent;
    color: white;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid white;
    margin-left: 1rem;
}

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

/* About Section */
.about {
    padding: 6rem 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    display: inline-block;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 4px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 50px;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding-right: 2rem;
}

.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

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

.about-image img:hover {
    transform: scale(1.03);
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.feature {
    flex: 1;
    min-width: 200px;
    margin: 1rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    opacity: 0.1;
    transition: var(--transition);
    z-index: -1;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature:hover::before {
    height: 100%;
}

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

/* Products Section */
.products {
    padding: 6rem 0;
    background-color: var(--light);
}

.product-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.product-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(45, 155, 99, 0.8), rgba(255, 123, 0, 0.8));
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-image::before {
    opacity: 0.2;
}

.product-details {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.product-description {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-meta span {
    display: flex;
    align-items: center;
    color: var(--gray);
    font-size: 0.9rem;
}

.product-meta i {
    margin-right: 0.5rem;
    color: var(--primary);
}

/* Brands Section */
.brands {
    padding: 4rem 0;
    background-color: white;
    text-align: center;
}

.brand-slider {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.brand-item {
    flex: 1;
    min-width: 150px;
    padding: 1rem;
    text-align: center;
    opacity: 0.7;
    transition: var(--transition);
}

.brand-item:hover {
    opacity: 1;
    transform: scale(1.1);
}

.brand-item img {
    max-width: 100%;
    max-height: 60px;
}

/* Guarantee Section */
.guarantee {
    padding: 6rem 0;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
}

.guarantee h2 {
    color: white;
}

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

.guarantee p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.guarantee-badge {
    display: inline-block;
    background-color: white;
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.guarantee-badge:hover {
    transform: scale(1.05);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: var(--light);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    background-color: var(--secondary);
    transform: rotateY(180deg);
}

.contact-text h4 {
    margin-bottom: 0.2rem;
}

.contact-text p, .contact-text a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

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

.contact-form {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 155, 99, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.btn-form {
    background-color: var(--primary);
    border: none;
    width: 100%;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 4rem 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    margin-top: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary);
    transform: translateY(-5px);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px;
    z-index: 1001;
    transition: top 0.2s;
}

.skip-to-content:focus {
    top: 0;
}

/* Form feedback */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: rgba(45, 155, 99, 0.2);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.alert-error {
    background-color: rgba(231, 76, 60, 0.2);
    color: var(--accent);
    border: 1px solid var(--accent);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animated-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animated-card.show {
    opacity: 1;
    transform: translateY(0);
}

/* Counter Section */
.counter-section {
    padding: 6rem 0;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    position: relative;
    color: white;
    text-align: center;
}

.counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(45, 155, 99, 0.9);
}

.counter-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.counter-item {
    flex: 1;
    min-width: 200px;
    padding: 2rem;
    margin: 1rem;
}

.counter {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.counter-title {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1.5rem;
    z-index: 9999;
    display: none;
}

.cookie-consent.active {
    display: block;
    animation: slideUp 0.5s forwards;
}

.cookie-text {
    margin-bottom: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

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

.cookie-btn-settings {
    background-color: transparent;
    border: 1px solid white;
    color: white;
}

/* 404 Page */
.error-page {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--light);
}

.error-content {
    max-width: 500px;
    padding: 2rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.error-code {
    font-size: 8rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.error-message {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    width: 100%;
}

.error-description {
    margin-bottom: 2rem;
    width: 100%;
}

.error-page .btn {
    min-width: 200px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .about-text {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .product-card {
        min-width: 250px;
    }
    
    .error-code {
        font-size: 6rem;
    }
    
    .error-message {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        height: 100vh;
        width: 300px;
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }
    
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 25px;
        height: 20px;
        z-index: 1001;
    }
    
    .hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--dark);
        transition: var(--transition);
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin: 1rem 0;
    }
    
    .btn-secondary {
        margin-left: 0;
    }
    
    .product-card {
        min-width: 100%;
    }
    
    .counter-item {
        min-width: 100%;
        margin: 0.5rem 0;
    }
    
    .contact-form {
        margin-top: 2rem;
    }
    
    .error-code {
        font-size: 5rem;
    }
    
    .error-message {
        font-size: 1.2rem;
    }
    
    .error-description {
        font-size: 0.9rem;
    }
    
    .error-content {
        padding: 1rem;
        width: 90%;
    }
}

/* Print Styles */
@media print {
    .navbar, .hero, .counter-section, .contact-form, .footer {
        display: none;
    }
    
    body {
        background-color: white;
        color: black;
    }
    
    .container {
        width: 100%;
        max-width: none;
    }
    
    a {
        text-decoration: none;
        color: black;
    }
    
    .about, .products, .brands, .guarantee {
        padding: 2rem 0;
        page-break-inside: avoid;
    }
    
    .about-image, .product-image {
        max-width: 300px;
    }
    
    .footer-content {
        display: none;
    }
    
    .footer-bottom {
        display: block;
        background: none;
        color: black;
        border-top: 1px solid #ccc;
    }
}