:root {
    --color-primary: #d71920;
    --color-dark: #111111;
    --color-gray: #4b5563;
    --color-light: #f5f5f5;
    --color-white: #ffffff;
}

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--color-dark);
    line-height: 1.6;
}

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

/* Header */
.site-header {
    background: var(--color-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
}

.logo img {
    height: 50px;
    width: auto;
    border-radius: 50%;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
}

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

.btn-primary:hover {
    background: #b5151b;
}

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

.btn-whatsapp {
    background: #25d366;
    color: var(--color-white);
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
}

/* Hero */
.hero-section {
    background: linear-gradient(135deg, var(--color-dark) 0%, #1a1a2e 100%);
    color: var(--color-white);
    padding: 4rem 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.hero-description {
    max-width: 700px;
    margin: 0 auto 1.5rem;
    opacity: 0.85;
}

/* Sections */
section {
    padding: 3rem 0;
}

section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.product-card {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}

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

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

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

.product-card-body h2 {
    font-size: 1.1rem;
    text-align: left;
    margin-bottom: 0.5rem;
}

.product-card-body h2 a {
    text-decoration: none;
    color: var(--color-dark);
}

.product-price {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.product-category {
    display: inline-block;
    background: var(--color-light);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin: 0.5rem 0;
}

.product-cta {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

/* Product Detail */
.product-detail {
    padding: 2rem 0;
}

.breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--color-gray);
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.product-detail-image img {
    width: 100%;
    border-radius: 8px;
}

/* Gallery */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
}

/* Slider */
.slider {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    scroll-snap-type: x mandatory;
}

.slider-item {
    flex: 0 0 80%;
    scroll-snap-align: start;
}

.slider-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

/* CTA */
.cta-section {
    background: var(--color-light);
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-card {
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.service-card.bordered {
    border: 1px solid #e5e7eb;
}

.service-card.shadow {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.service-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.service-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: var(--color-gray);
}

/* Text + Image */
.text-image-wrapper {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.text-image-wrapper .text-content {
    flex: 1;
}

.text-image-wrapper .text-content h2 {
    text-align: left;
}

.text-image-wrapper .image-content {
    flex: 1;
}

.text-image-wrapper .image-content img {
    width: 100%;
    height: auto;
}

/* Slider Arrows & Dots */
.slider-section {
    position: relative;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: 4px;
    z-index: 10;
}

.slider-prev { left: 1rem; }
.slider-next { right: 1rem; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.2s;
}

.dot.active {
    background: var(--color-primary);
}

/* Lightbox link */
.lightbox-link {
    display: block;
    cursor: zoom-in;
}

/* Logo text fallback */
.logo-text {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-primary);
}

/* Footer */
.site-footer {
    background: var(--color-dark);
    color: var(--color-white);
    text-align: center;
    padding: 2rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .hero-section h1 {
        font-size: 1.6rem;
    }

    .product-detail-content {
        grid-template-columns: 1fr;
    }

    .slider-item img {
        height: 250px !important;
    }

    .text-image-wrapper {
        flex-direction: column !important;
    }

    .services-grid {
        grid-template-columns: 1fr !important;
    }

    .product-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: -2rem;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}
