/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #DC143C;
    --dark-red: #B01030;
    --light-red: #FF6B6B;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --gray: #666666;
    --dark-gray: #333333;
    --shadow: rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-svg {
    transition: transform 0.3s ease;
}

.logo:hover .logo-svg {
    transform: rotate(360deg);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-red);
    line-height: 1;
}

.logo-tagline {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--gray);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-red);
}

.nav-link:hover::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.social-links-header {
    display: flex;
    gap: 1rem;
}

.social-links-header a {
    width: 35px;
    height: 35px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-links-header a:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-red);
    font-weight: 600;
}

.contact-info i {
    font-size: 1.2rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-red);
    cursor: pointer;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    margin-top: 80px;
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Fallback gradients if images are not available */
.slide:not([style*="background-image"]):nth-child(1),
.slide[style*="slide1.jpg"]:not([style*="http"]) {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%) !important;
}

.slide:not([style*="background-image"]):nth-child(2),
.slide[style*="slide2.jpg"]:not([style*="http"]) {
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%) !important;
}

.slide:not([style*="background-image"]):nth-child(3),
.slide[style*="slide3.jpg"]:not([style*="http"]) {
    background: linear-gradient(135deg, var(--dark-red) 0%, var(--primary-red) 100%) !important;
}

.slide:nth-child(1) {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
}

.slide:nth-child(2) {
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
}

.slide:nth-child(3) {
    background: linear-gradient(135deg, var(--dark-red) 0%, var(--primary-red) 100%);
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    color: var(--white);
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: slideInLeft 1s ease;
}

.slide-text {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: slideInLeft 1s ease 0.2s backwards;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    animation: slideInLeft 1s ease 0.4s backwards;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-red);
}

.btn-primary:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary-red);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 6px;
}

/* ===== BRANDS SLIDER ===== */
.brands-slider-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.brands-slider-container {
    overflow: hidden;
    padding: 2rem 0;
}

.brands-slider-track {
    display: flex;
    gap: 3rem;
    transition: transform 0.5s ease;
}

.brand-slide {
    min-width: 200px;
    flex-shrink: 0;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
}

.brand-slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.2);
}

.brand-slide img {
    width: 100%;
    height: 100px;
    object-fit: contain;
    object-position: center;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    margin-bottom: 1rem;
}

.brand-slide:hover img {
    filter: grayscale(0%);
}

.brand-slide h4 {
    color: var(--dark-gray);
    font-size: 1.2rem;
    margin: 0;
}

.brands-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-red);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.3);
}

.brands-slider-btn:hover {
    background: var(--dark-red);
    transform: translateY(-50%) scale(1.1);
}

.brands-slider-btn.prev {
    left: -25px;
}

.brands-slider-btn.next {
    right: -25px;
}

/* ===== ANIMATIONS ===== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SECTIONS ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--primary-red);
    margin: 0 auto 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 6rem 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.about-title-with-icon {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.title-icon {
    width: 50px;
    height: 50px;
    animation: rotate 3s linear infinite;
    flex-shrink: 0;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--gray);
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature i {
    color: var(--primary-red);
    font-size: 1.2rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    height: 400px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* ===== BRANDS SECTION ===== */
.brands-section {
    padding: 6rem 0;
    background: var(--light-gray);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.brand-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow);
}

.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.2);
}

.brand-logo {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.brand-card:hover .brand-logo img {
    filter: grayscale(0%);
}

.brand-card h4 {
    color: var(--dark-gray);
    font-size: 1.2rem;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 6rem 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--light-gray);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-red);
}

.service-card:hover .service-icon {
    background: var(--dark-red);
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    line-height: 1.8;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 6rem 0;
    background: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info-box {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
}

.contact-info-box h3 {
    font-size: 1.8rem;
    color: var(--primary-red);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-top: 5px;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.info-item p {
    color: var(--gray);
}

.contact-form-box {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.contact-form .btn-primary {
    width: 100%;
    background: var(--primary-red);
    color: var(--white);
}

.contact-form .btn-primary:hover {
    background: var(--dark-red);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.footer-logo .logo-svg {
    transition: transform 0.3s ease;
}

.footer-logo:hover .logo-svg {
    transform: rotate(360deg);
}

.footer-logo .logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo .logo-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-red);
}

.footer-section p {
    margin-bottom: 1.5rem;
    color: #ccc;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--white);
    color: var(--primary-red);
    transform: translateY(-3px);
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-red);
}

.footer-section ul li i {
    color: var(--primary-red);
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 5px 30px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 968px) {
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        transition: left 0.3s ease;
        box-shadow: 0 5px 15px var(--shadow);
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        padding: 2rem;
        gap: 0;
    }

    .nav-list li {
        padding: 1rem 0;
        border-bottom: 1px solid var(--light-gray);
    }

    .menu-toggle {
        display: block;
    }

    .header-right {
        gap: 1rem;
    }

    .social-links-header {
        display: none;
    }

    .contact-info {
        display: none;
    }

    .slide-title {
        font-size: 2.5rem;
    }

    .slide-text {
        font-size: 1.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .brands-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .brands-slider-btn.prev {
        left: -15px;
    }

    .brands-slider-btn.next {
        right: -15px;
    }

    .brand-slide {
        min-width: 150px;
    }
}

@media (max-width: 576px) {
    .slide-title {
        font-size: 2rem;
    }

    .slide-text {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-slider {
        height: 500px;
    }

    .slide {
        background-size: cover;
        background-position: center;
    }

    /* Ensure images cover properly on mobile */
    .slide[style*="background-image"] {
        background-size: cover;
        background-position: center;
    }

    .slide-content {
        padding: 0 1rem;
    }

    .about-image {
        height: 300px;
    }

    .about-image i {
        font-size: 8rem;
        color: var(--primary-red);
        opacity: 0.3;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }

    .brands-slider-btn {
        display: none;
    }

    .brands-slider-wrapper {
        overflow: visible;
    }

    .brands-slider-container {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--primary-red) var(--light-gray);
    }

    .brands-slider-container::-webkit-scrollbar {
        height: 8px;
    }

    .brands-slider-container::-webkit-scrollbar-track {
        background: var(--light-gray);
        border-radius: 10px;
    }

    .brands-slider-container::-webkit-scrollbar-thumb {
        background: var(--primary-red);
        border-radius: 10px;
    }

    .brands-slider-track {
        gap: 1.5rem;
    }

    .brand-slide {
        min-width: 140px;
        padding: 1.5rem 1rem;
    }

    .brand-slide img {
        height: 80px;
        width: 100%;
        object-fit: contain;
    }

    .title-icon {
        width: 40px;
        height: 40px;
    }
}
