@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Oswald:wght@500;600;700&display=swap');

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-card: #ffffff;
    --primary-color: #e63946;
    --primary-hover: #c1121f;
    --accent-color: #f4a261;
    --text-main: #1a1a1a;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --gradient-primary: linear-gradient(135deg, #e63946 0%, #f4a261 100%);
    --gradient-dark: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: 3px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 0.85rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.2);
}

.hero {
    display: flex;
    align-items: center;
    padding: 8rem 0;
    gap: 4rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 50%, rgba(230, 57, 70, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-image {
    flex: 1;
    position: relative;
    z-index: 1;
}

.main-hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

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

.badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--gradient-primary);
    color: white;
    padding: 1rem;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.4);
    font-family: 'Oswald', sans-serif;
}

.features {
    background: var(--bg-secondary);
    padding: 6rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3.5rem;
    color: var(--text-main);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 3rem 2rem;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(230, 57, 70, 0.15);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.products {
    padding: 6rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(230, 57, 70, 0.2);
}

.product-img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background: #f8f9fa;
    padding: 1.5rem;
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
}

.product-price {
    font-weight: 800;
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    font-family: 'Oswald', sans-serif;
}

.checkout {
    padding: 5rem 0;
}

.checkout-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.checkout-heading {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
}

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

.checkout-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background: #ffffff;
    color: var(--text-main);
    transition: all 0.3s;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.2);
}

.checkout-summary {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 1.25rem 0;
    font-weight: 800;
    font-size: 1.3rem;
    font-family: 'Oswald', sans-serif;
    color: var(--text-main);
}

.payment-method {
    margin-top: 1.5rem;
}

.payment-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
}

footer {
    background: var(--bg-secondary);
    color: var(--text-main);
    padding: 4rem 0 2rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-links {
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s;
    font-weight: 500;
}

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

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 4rem 0;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem !important;
        align-items: center;
    }
    
    .hero-buttons a {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .main-hero-img {
        height: 300px !important;
    }
    
    .nav-links {
        display: none;
    }
    
    .navbar {
        height: auto;
        padding: 1rem 0;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    footer .footer-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    width: 95%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s;
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-content .checkout {
    padding: 1rem 0;
}

.modal-content .checkout-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .modal-content .checkout-wrapper {
        grid-template-columns: 1fr;
    }
}

.order-block-inline {
    background: #fff5f5;
    border: 2px solid #e63946;
    border-radius: 8px;
    padding: 18px 20px;
    text-align: center;
    animation: blockSlideIn 0.4s ease forwards;
}

.order-block-inline .order-block-text {
    color: #b30000;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 14px 0;
    line-height: 1.5;
}

.order-block-inline .order-block-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.order-block-inline .order-block-call,
.order-block-inline .order-block-whatsapp {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    color: white !important;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    min-width: 110px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.order-block-inline .order-block-call {
    background: #e63946;
}

.order-block-inline .order-block-call:hover {
    background: #c1121f;
    transform: translateY(-2px);
}

.order-block-inline .order-block-whatsapp {
    background: #25D366;
}

.order-block-inline .order-block-whatsapp:hover {
    background: #1DA851;
    transform: translateY(-2px);
}

@keyframes blockSlideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .order-block-inline .order-block-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .order-block-inline .order-block-call,
    .order-block-inline .order-block-whatsapp {
        width: 100%;
        text-align: center;
    }
}

.order-block-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.order-block-popup {
    background: #fff5f5;
    border: 2px solid #e63946;
    padding: 30px 35px;
    border-radius: 8px;
    color: #b30000;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.2);
    animation: popupFadeIn 0.5s ease forwards;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.order-block-popup p {
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.order-block-popup .btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.order-block-popup .btn-call,
.order-block-popup .btn-whatsapp {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 4px;
    font-weight: 700;
    color: white !important;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    min-width: 130px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.order-block-popup .btn-call {
    background-color: #e63946;
}

.order-block-popup .btn-call:hover {
    background-color: #c1121f;
    transform: translateY(-2px);
}

.order-block-popup .btn-whatsapp {
    background-color: #25D366;
}

.order-block-popup .btn-whatsapp:hover {
    background-color: #1DA851;
    transform: translateY(-2px);
}

.btn-close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.btn-close-popup:hover {
    color: var(--text-main);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popupFadeIn {
    from { opacity: 0; transform: translateY(-20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 480px) {
    .order-block-popup {
        padding: 25px 20px;
    }
    .order-block-popup .btn-group {
        flex-direction: column;
        gap: 12px;
    }
    .order-block-popup .btn-call,
    .order-block-popup .btn-whatsapp {
        width: 100%;
    }
}
