/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #d32f2f;
    --primary-hover: #b71c1c;
    --secondary: #1a1a2e;
    --accent: #25D366;
    --accent-hover: #1da851;
    --muted: #f7f7f7;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
    --yellow-400: #facc15;
    --yellow-500: #eab308;
    --radius: 0.75rem;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--white);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Header Styles */
header {
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo img {
    height: 5rem;
}

@media (min-width: 768px) {
    .logo img {
        height: 6rem;
    }
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
}

.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

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

.products-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    min-width: 14rem;
    border: 1px solid var(--gray-100);
    display: none;
}

.products-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--gray-700);
    text-decoration: none;
    transition: all 0.3s;
}

.dropdown-item:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.btn-call {
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s;
    font-weight: 600;
}

.btn-call:hover {
    background: var(--primary-hover);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu {
    display: none;
    padding: 1rem 0;
    border-top: 1px solid var(--gray-200);
}

.mobile-menu.active {
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-products-dropdown .mobile-dropdown-toggle {
    background: none;
    border: none;
    color: var(--gray-700);
    text-decoration: none;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    padding: 0;
}

.mobile-dropdown-menu {
    display: none;
    margin-top: 0.5rem;
    margin-left: 1rem;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-dropdown-menu.active {
    display: flex;
}

.mobile-dropdown-item {
    color: var(--gray-600);
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.3s;
}

.mobile-dropdown-item:hover {
    color: var(--primary);
}

.chevron-icon {
    transition: transform 0.3s;
}

.chevron-icon.rotated {
    transform: rotate(180deg);
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-section {
        padding: 6rem 0;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.hero-content {
    text-align: left;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.btn {
    padding: 1rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    text-align: center;
    transition: all 0.3s;
    display: inline-block;
}

.btn-yellow {
    background: var(--yellow-400);
    color: var(--gray-900);
}

.btn-yellow:hover {
    background: var(--yellow-500);
}

.btn-outline-white {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-image {
    display: flex;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-image {
        justify-content: flex-end;
    }
}

.product-image {
    width: 100%;
    max-width: 32rem;
    height: auto;
    object-fit: contain;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(to right, #d32f2f 0%, #ef5350 50%, #ffcdd2 100%);
    padding: 4rem 0;
    text-align: center;
}

@media (min-width: 768px) {
    .page-hero {
        padding: 6rem 0;
    }
}

.page-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .page-hero-title {
        font-size: 3.5rem;
    }
}

.page-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
    .page-hero-subtitle {
        font-size: 1.5rem;
    }
}

/* Sections */
.section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 5rem 0;
    }
}

.bg-white {
    background: var(--white);
}

.bg-muted {
    background: var(--muted);
}

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

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 42rem;
    margin: 0 auto;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Product Card */
.product-card,
.product-detail-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.product-card:hover,
.product-detail-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.product-card-image,
.product-detail-image {
    height: 12rem;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card-image img,
.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-content,
.product-detail-content {
    padding: 1.5rem;
}

.product-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-card-description {
    color: var(--gray-600);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.product-card-link:hover {
    color: var(--primary-hover);
}

.icon-arrow {
    width: 1rem;
    height: 1rem;
}

/* Product Detail Card */
.product-detail-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s;
}

.product-detail-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.product-detail-image {
    height: 14rem;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.product-detail-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-detail-content {
    padding: 1.5rem;
}

.product-brand {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.product-model {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.btn-whatsapp {
    width: 100%;
    background: var(--accent);
    color: var(--white);
    padding: 0.75rem;
    border-radius: var(--radius);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-whatsapp:hover {
    background: var(--accent-hover);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
    background: var(--white);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: rgba(211, 47, 47, 0.1);
    border-radius: 50%;
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: var(--gray-600);
}

/* CTA Section */
.cta-section {
    background: var(--primary);
    padding: 4rem 0;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .cta-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

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

@media (min-width: 1024px) {
    .cta-content {
        text-align: left;
    }
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 2.5rem;
    }
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .cta-buttons {
        justify-content: flex-start;
    }
}

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

.btn-white:hover {
    background: var(--gray-100);
}

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

.btn-green:hover {
    background: var(--accent-hover);
}

.cta-image {
    display: none;
}

@media (min-width: 1024px) {
    .cta-image {
        display: block;
    }
}

.cta-image img {
    border-radius: var(--radius);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Contact Cards */
.contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .contact-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-card {
    background: var(--muted);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    border-radius: 50%;
    margin-bottom: 1rem;
    color: var(--white);
}

.contact-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-card a,
.contact-card p {
    color: var(--gray-600);
    text-decoration: none;
    display: block;
    transition: color 0.3s;
}

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

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.form-textarea {
    resize: none;
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: var(--primary-hover);
}

/* Address Card */
.address-card {
    background: var(--muted);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.address-header {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.address-icon {
    flex-shrink: 0;
    margin-top: 0.25rem;
    color: var(--primary);
}

.address-content h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.address-content p {
    color: var(--gray-600);
}

.address-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.address-details p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    height: 16rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.25rem;
    color: var(--gray-600);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #d1d5db;
    margin-bottom: 1rem;
}

.brand-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.brand-item {
    font-size: 0.875rem;
    color: #d1d5db;
}

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

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

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

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

.footer-contact li {
    display: flex;
    align-items: start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.footer-contact a {
    color: #d1d5db;
    text-decoration: none;
    display: block;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    background: var(--accent);
    color: var(--white);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.whatsapp-button:hover {
    background: var(--accent-hover);
    transform: scale(1.1);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}
