/* ========================================
   GK AUTO MOTORS - COMPLETE STYLESHEET
   ======================================== */

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

/* -------- ROOT VARIABLES -------- */
:root {
    --primary: #B71C1C;
    --primary-light: #E53935;
    --primary-dark: #7F0000;
    --gold: #C9A84C;
    --gold-light: #E8D5A3;
    --dark: #1A1A2E;
    --dark-light: #2D2D44;
    --gray: #6B7280;
    --gray-light: #F3F4F6;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-hover: 0 8px 40px rgba(0,0,0,0.10);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* -------- TOP BAR -------- */
.top-bar {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 2px solid var(--gold);
}

.top-bar a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 13px;
}

.top-bar a:hover {
    color: var(--gold);
}

.top-bar .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    transition: var(--transition);
    margin-left: 8px;
}

.top-bar .social-icons a:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

/* -------- NAVBAR -------- */
.navbar {
    background: var(--white) !important;
    padding: 16px 0;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
}

.navbar-brand img {
    height: 45px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text .name {
    font-weight: 800;
    font-size: 22px;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.brand-text .name span {
    color: var(--primary);
}

.brand-text .tagline {
    font-size: 10px;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-link {
    font-weight: 500;
    font-size: 14px;
    color: var(--dark) !important;
    padding: 8px 18px !important;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
    background: rgba(183, 28, 28, 0.05);
}

.nav-link.btn-book {
    background: var(--primary) !important;
    color: var(--white) !important;
    padding: 10px 28px !important;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(183, 28, 28, 0.25);
}

.nav-link.btn-book:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(183, 28, 28, 0.35);
}

/* -------- SECTION HEADERS -------- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-label::before,
.section-label::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 1px;
    background: var(--gold);
    vertical-align: middle;
    margin: 0 12px;
}

.section-header h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
}

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

.section-header p {
    font-size: 16px;
    color: var(--gray);
    margin-top: 12px;
}

/* -------- SLIDER -------- */
.hero-slider {
    height: 80vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.hero-slider .carousel-item {
    height: 80vh;
    min-height: 500px;
}

.hero-slider .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: brightness(0.45);
}

.carousel-caption {
    bottom: 30%;
    text-align: left;
    max-width: 600px;
    padding: 40px;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.08);
}

.carousel-caption h2 {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.carousel-caption h2 span {
    color: var(--gold);
}

.carousel-caption p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
    line-height: 1.6;
}

.carousel-caption .btn {
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

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

.btn-primary-custom:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(183, 28, 28, 0.35);
    color: var(--white);
}

.btn-outline-custom {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline-custom:hover {
    background: var(--white);
    color: var(--dark);
    transform: translateY(-2px);
}

/* -------- SECTIONS -------- */
section {
    padding: 80px 0;
}

/* -------- WELCOME SECTION -------- */
.welcome-section {
    background: var(--gray-light);
}

.welcome-image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.welcome-image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition);
}

.welcome-image-wrapper:hover img {
    transform: scale(1.02);
}

.welcome-content h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.welcome-content h2 span {
    color: var(--primary);
}

.welcome-content .lead {
    font-size: 18px;
    color: var(--gray);
    margin-top: 12px;
}

.welcome-info {
    margin-top: 24px;
}

.welcome-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.welcome-info .info-item:last-child {
    border-bottom: none;
}

.welcome-info .info-item i {
    width: 40px;
    height: 40px;
    background: rgba(183, 28, 28, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
}

.welcome-info .info-item div {
    flex: 1;
}

.welcome-info .info-item strong {
    display: block;
    font-size: 14px;
    color: var(--dark);
}

.welcome-info .info-item span {
    font-size: 14px;
    color: var(--gray);
}

/* -------- BRANDS SECTION -------- */
.brands-section {
    background: var(--white);
}

.brand-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--gray-light);
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.brand-card:hover {
    transform: translateY(-6px);
    background: var(--white);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold);
}

.brand-card .brand-icon {
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    color: var(--primary);
    box-shadow: var(--shadow);
}

.brand-card h5 {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
}

.brand-card p {
    font-size: 13px;
    color: var(--gray);
    margin: 0;
}

/* -------- FEATURED PRODUCTS -------- */
.featured-section {
    background: var(--gray-light);
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

/* ---- IMAGE WRAPPER ---- */
.product-image-wrapper {
    position: relative;
    background: var(--gray-light);
    padding: 20px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.product-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

.product-card:hover .product-image-container img {
    transform: scale(1.05);
}

/* ---- BADGE ---- */
.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.product-badge.premium {
    background: var(--gold);
}

.product-badge.commercial {
    background: var(--dark);
}

.product-badge.new {
    background: #22c55e;
}

/* ---- BODY ---- */
.product-body {
    padding: 20px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-body .brand {
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-body h5 {
    font-weight: 700;
    font-size: 18px;
    margin: 4px 0 8px;
    color: var(--dark);
}

.product-body p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 16px;
    flex: 1;
}

/* ---- FOOTER ---- */
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.product-footer .spec {
    font-size: 13px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-footer .spec i {
    color: #22c55e;
}

.product-footer .btn {
    border-radius: 30px;
    padding: 6px 20px;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

/* -------- SERVICES -------- */
.services-section {
    background: var(--white);
}

.service-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid transparent;
    height: 100%;
}

.service-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-hover);
    transform: translateY(-6px);
}

.service-card .service-icon {
    width: 70px;
    height: 70px;
    background: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
}

.service-card h5 {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}

/* -------- WHY US -------- */
.whyus-section {
    background: var(--dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.whyus-section::before {
    content: '';
    position: absolute;
    right: -100px;
    top: -100px;
    width: 400px;
    height: 400px;
    background: rgba(201, 168, 76, 0.03);
    border-radius: 50%;
}

.whyus-section .section-header h2 {
    color: var(--white);
}

.whyus-section .section-header p {
    color: rgba(255,255,255,0.6);
}

.whyus-card {
    text-align: center;
    padding: 30px;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.06);
    transition: var(--transition);
    height: 100%;
}

.whyus-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-4px);
}

.whyus-card .number {
    font-size: 40px;
    font-weight: 800;
    color: var(--gold);
    opacity: 0.3;
}

.whyus-card h5 {
    font-weight: 700;
    margin: 12px 0 8px;
}

.whyus-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

/* -------- CONTACT -------- */
.contact-section {
    background: var(--white);
}

.contact-info {
    padding: 40px;
    background: var(--gray-light);
    border-radius: var(--radius-lg);
    height: 100%;
}

.contact-info h4 {
    font-weight: 700;
    font-size: 22px;
    color: var(--dark);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item .contact-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.contact-item .contact-text h6 {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
    color: var(--dark);
}

.contact-item .contact-text p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}

.contact-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.contact-actions .btn {
    padding: 10px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
}

.contact-form {
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    height: 100%;
}

.contact-form h4 {
    font-weight: 700;
    font-size: 22px;
    color: var(--dark);
}

.contact-form .form-label {
    font-weight: 500;
    font-size: 14px;
    color: var(--dark);
}

.contact-form .form-control,
.contact-form .form-select {
    border-radius: 10px;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    font-size: 14px;
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(183, 28, 28, 0.08);
}

.contact-form .btn {
    padding: 12px 40px;
    border-radius: 30px;
    font-weight: 600;
}

/* -------- FOOTER -------- */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer h5 {
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
}

.footer a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    display: block;
    padding: 6px 0;
    font-size: 14px;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--gold);
    padding-left: 8px;
}

.footer .social-links a {
    display: inline-block;
    margin-right: 12px;
    font-size: 18px;
    padding: 0;
    color: rgba(255,255,255,0.4);
}

.footer .social-links a:hover {
    color: var(--gold);
    padding-left: 0;
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    font-size: 14px;
}

.footer-bottom span {
    color: var(--gold);
}

/* -------- RESPONSIVE -------- */
@media (max-width: 992px) {
    .carousel-caption {
        max-width: 100%;
        bottom: 20%;
        padding: 30px;
    }
    
    .carousel-caption h2 {
        font-size: 36px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .welcome-content h2 {
        font-size: 32px;
        margin-top: 30px;
    }
    
    .welcome-image-wrapper img {
        height: 300px;
    }
    
    .product-image-wrapper {
        height: 200px;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .top-bar .contact-item span {
        display: none;
    }
    
    .top-bar .social-icons a {
        width: 28px;
        height: 28px;
        font-size: 12px;
        margin-left: 4px;
    }
    
    .hero-slider,
    .hero-slider .carousel-item {
        height: 60vh;
        min-height: 400px;
    }
    
    .carousel-caption {
        bottom: 15%;
        padding: 20px;
        backdrop-filter: blur(10px);
    }
    
    .carousel-caption h2 {
        font-size: 28px;
    }
    
    .carousel-caption p {
        font-size: 15px;
    }
    
    .carousel-caption .btn {
        padding: 10px 24px;
        font-size: 13px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 26px;
    }
    
    .brand-text .name {
        font-size: 18px;
    }
    
    .brand-text .tagline {
        font-size: 8px;
    }
    
    .navbar-brand img {
        height: 35px;
    }
    
    .contact-form,
    .contact-info {
        padding: 25px;
    }
    
    .welcome-image-wrapper img {
        height: 250px;
    }
    
    .product-image-wrapper {
        height: 180px;
        padding: 12px;
    }
    
    .product-body {
        padding: 16px 18px 20px;
    }
    
    .product-body h5 {
        font-size: 16px;
    }
    
    .product-footer {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .product-footer .btn {
        width: 100%;
        text-align: center;
    }
    
    .contact-item {
        margin-bottom: 16px;
    }
    
    .contact-actions {
        flex-direction: column;
    }
    
    .contact-actions .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-slider,
    .hero-slider .carousel-item {
        height: 50vh;
        min-height: 300px;
    }
    
    .carousel-caption h2 {
        font-size: 22px;
    }
    
    .carousel-caption p {
        font-size: 13px;
    }
    
    .carousel-caption {
        padding: 16px;
    }
    
    .carousel-caption .btn {
        padding: 8px 18px;
        font-size: 12px;
    }
    
    .section-header h2 {
        font-size: 22px;
    }
    
    .section-label::before,
    .section-label::after {
        width: 15px;
        margin: 0 8px;
    }
    
    .brand-text .name {
        font-size: 16px;
    }
    
    .navbar-brand img {
        height: 30px;
    }
    
    .product-image-wrapper {
        height: 160px;
        padding: 10px;
    }
    
    .welcome-image-wrapper img {
        height: 200px;
    }
    
    .welcome-content h2 {
        font-size: 26px;
    }
}

/* ===== MAP WRAPPER ===== */
.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 10px;
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 350px;
    border: none;
}

@media (max-width: 768px) {
    .map-wrapper iframe {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .map-wrapper iframe {
        height: 200px;
    }
}