/* =========================================================
   VARIABLES & BASE STYLES
   ========================================================= */
:root {
    --primary-color: #ea1a67;
    /* Maroon Red */
    --secondary-color: #7C0723;
    /* Deep Red */
    --bg-color: #FFFFFF;
    /* White */
    --light-bg: #F4F4F4;
    /* Light Section */
    --text-color: #111111;
    /* Dark Black */
    --text-muted: #555555;
    --transition: all 0.3s ease-in-out;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
    --radius-md: 12px;
    --radius-lg: 20px;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title span {
    color: var(--primary-color);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    margin-bottom: 40px;
}

.text-center .title-underline {
    margin-bottom: 40px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(158, 11, 46, 0.3);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    box-shadow: 0 6px 20px rgba(124, 7, 35, 0.4);
    transform: translateY(-2px);
    color: #fff;
}

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

.btn-outline:hover {
    background-color: var(--text-color);
    color: #fff;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* =========================================================
   TOP BAR & HEADER
   ========================================================= */
.top-bar {
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 0;
    font-size: 0.9rem;
}

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

.top-bar-branches span {
    margin: 0 10px;
}

.top-bar-branches span i {
    margin-right: 5px;
}

.top-bar-branches a:hover {
    text-decoration: underline;
}

.top-socials a {
    margin-left: 15px;
    font-size: 1.1rem;
}

.top-socials a:hover {
    color: #ccc;
}

.header {
    background-color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

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

.logo img {
    height: 50px;
    max-width: 250px;
}

.text-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.nav-list {
    display: flex;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    margin-left: 30px;
    position: relative;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    z-index: 999;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #1EBE5A;
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    background: url('hero.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.badge {
    background-color: rgba(158, 11, 46, 0.8);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

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

.hero-buttons .btn {
    margin-right: 15px;
    margin-bottom: 10px;
}

.hero-buttons .btn-outline {
    border-color: #fff;
    color: #fff;
}

.hero-buttons .btn-outline:hover {
    background-color: #fff;
    color: var(--text-color);
}

/* =========================================================
   ABOUT US SECTION
   ========================================================= */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-features {
    margin-top: 30px;
}

.about-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
}

.about-features i {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-right: 15px;
}

.about-image {
    position: relative;
}

.image-shadow {
    box-shadow: var(--shadow-lg);
}

.border-radius-lg {
    border-radius: var(--radius-lg);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.experience-badge .years {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================================
   CATEGORIES SECTION
   ========================================================= */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.cat-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 40px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.cat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.cat-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.cat-image img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: var(--transition);
}

.cat-card:hover .cat-image img {
    transform: scale(1.1) translateY(-5px);
}

.cat-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0;
}

/* =========================================================
   BRANDS SECTION
   ========================================================= */
.brands {
    background-color: #fff;
}

.brand-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
}

.brand-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #888;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-logo:hover {
    filter: none;
    opacity: 1;
    color: var(--text-color);
    transform: scale(1.1);
}

/* =========================================================
   WHY CHOOSE US SECTION
   ========================================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

.feature-card:hover {
    transform: translateY(-5px);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover .feature-icon,
.feature-card:hover h4,
.feature-card:hover p {
    color: #fff;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

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

/* =========================================================
   BRANCHES SECTION
   ========================================================= */
.branch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.branch-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.branch-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.branch-map {
    width: 100%;
    height: 200px;
    background: #EAEAEA;
}

.branch-info {
    padding: 25px;
}

.branch-info h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.branch-info p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
}

.branch-info p i {
    color: var(--primary-color);
    margin-top: 4px;
    margin-right: 10px;
}

.branch-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* =========================================================
   CONTACT SECTION
   ========================================================= */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 50px;
}

.contact-info h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-info p {
    opacity: 0.9;
    margin-bottom: 30px;
}

.contact-list li {
    display: flex;
    margin-bottom: 25px;
}

.contact-list i {
    font-size: 1.5rem;
    margin-right: 20px;
    margin-top: 5px;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-list h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-list p {
    margin-bottom: 5px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.contact-form-container {
    padding: 50px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: var(--radius-md);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

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

.contact-form button i {
    margin-left: 8px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    background-color: var(--secondary-color);
    color: #fff;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.footer h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #ffb8c6;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer-brand .social-links {
    margin-top: 20px;
}

.footer-brand .social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
}

.footer-brand .social-links a:hover {
    background: #fff;
    color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-locations ul li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
}

.footer-locations ul li i {
    font-size: 0.8rem;
    margin-right: 10px;
    color: #ffb8c6;
}

.footer-contact .footer-btn {
    margin-top: 15px;
    display: inline-block;
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.footer-contact .footer-btn:hover {
    background: #fff;
    color: var(--primary-color);
}

.footer-bottom {
    background-color: #5c051a;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.7;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.in-view {
    opacity: 1;
    transform: translate(0);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .branch-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px;
        transform: translateY(-200%);
        opacity: 0;
        transition: var(--transition);
        z-index: 999;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-link {
        margin: 15px 0;
        display: block;
    }

    .branch-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}