﻿/* =========================
   RESET
========================= */

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f5f7fa;
    color: #1f2937;
}

/* =========================
   NAVBAR
========================= */

.navbar {
    height: 56px;
    position: relative;
    z-index: 1100;
}

    .navbar .ms-auto a {
        margin-right: 10px;
    }

/* =========================
   PUBLIC SIDEBAR
========================= */

.sidebar {
    width: 240px;
    background: #1e293b;
    position: fixed;
    top: 56px;
    left: -240px;
    bottom: 0;
    padding-top: 20px;
    transition: all 0.3s ease;
    z-index: 1050;
    overflow-y: auto;
}

    .sidebar.active {
        left: 0;
    }

    .sidebar a {
        display: block;
        color: #cbd5f5;
        padding: 12px 20px;
        text-decoration: none;
        font-size: 15px;
    }

        .sidebar a:hover {
            background: #334155;
            color: #ffffff;
        }

/* =========================
   MAIN CONTENT
========================= */

.main-content {
    padding: 20px;
    transition: all 0.3s ease;
    min-height: calc(100vh - 56px);
}

    .main-content.shifted {
        margin-left: 240px;
    }

/* =========================
   HERO SECTION
========================= */

.hero-section {
    background: linear-gradient(135deg, #111, #2c2c2c);
    border-radius: 15px;
    color: white;
}

.hero-img {
    max-width: 200px;
    transition: transform 0.3s ease;
}

    .hero-img:hover {
        transform: scale(1.05);
    }

/* =========================
   CATEGORY CARDS
========================= */

.category-card {
    cursor: pointer;
    transition: 0.3s;
    border-radius: 12px;
}

    .category-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

/* =========================
   PRODUCT CARDS
========================= */

.product-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    transition: 0.3s;
}

    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

.product-img {
    height: 180px;
    width: 100%;
    object-fit: cover;
    transition: 0.3s;
}

    .product-img:hover {
        transform: scale(1.08);
    }

/* =========================
   PROMO
========================= */

.promo-banner {
    background: linear-gradient(90deg, #ff6a00, #ff0000);
    font-weight: bold;
    animation: pulse 2s infinite;
    border-radius: 10px;
}

.promo-badge {
    position: absolute;
    top: 20px;
    right: 40px;
    background: red;
    color: white;
    padding: 10px 16px;
    font-weight: bold;
    border-radius: 20px;
    animation: pulseScale 1s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        opacity: 1;
    }
}

@keyframes pulseScale {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

/* =========================
   BUTTONS
========================= */

.btn {
    border-radius: 8px;
}

.btn-warning:hover {
    transform: translateY(-3px);
}

.btn-dark {
    border-radius: 8px;
    font-weight: 600;
}

/* =========================
   GLOBAL CARDS
========================= */

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* =========================
   BADGES
========================= */

.badge {
    font-size: 10px;
    padding: 5px 7px;
}

/* =========================
   VIDEO + IFRAMES
========================= */

video,
iframe {
    border-radius: 10px;
}

video {
    max-height: 120px;
    object-fit: cover;
}

/* =========================
   FOOTER
========================= */

.footer-modern {
    background: #111;
    font-size: 15px;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 18px;
}

.footer-modern p {
    color: #d1d1d1;
}

/* =========================
   FOOTER ICONS
========================= */

.footer-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

    .footer-icon:hover {
        transform: translateY(-5px);
        color: white;
    }

    .footer-icon.facebook:hover {
        background: #1877f2;
    }

    .footer-icon.youtube:hover {
        background: #ff0000;
    }

    .footer-icon.whatsapp:hover {
        background: #25d366;
    }

/* =========================
   MAP
========================= */

.map-container {
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    overflow: hidden;
}

    .map-container iframe {
        display: block;
    }

/* =========================
   FORMS
========================= */

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.form-control,
.form-select {
    border-radius: 8px;
    padding: 10px;
}

    .form-control:focus {
        box-shadow: none;
        border-color: #000;
    }

/* =========================
   RECAPTCHA
========================= */

.g-recaptcha {
    display: inline-block;
    position: relative;
    z-index: 1;
}

.captcha-wrapper {
    overflow: hidden;
    max-width: 100%;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .main-content.shifted {
        margin-left: 0;
    }

    .hero-section {
        text-align: center;
    }

    .hero-img {
        width: 100% !important;
        height: auto;
    }
}
