/* =====================================================
   HAPPY MOBIL - COMPANY PROFILE
   Modern Automotive Showroom Website
   ===================================================== */

/* CSS Variables */
:root {
    --primary: #E30613;
    --primary-dark: #B00012;
    --black: #111111;
    --dark: #2B2B2B;
    --light: #F7F7F7;
    --silver: #D9D9D9;
    --white: #FFFFFF;
    --radius: 18px;
    --shadow: 0 15px 35px rgba(0, 0, 0, .12);
    --shadow-hover: 0 25px 50px rgba(0, 0, 0, .18);
    --transition: .3s ease;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: 0.3px;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--black);
    line-height: 1.3;
}

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

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

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* =====================================================
   LOADING SCREEN
   ===================================================== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
}

.loading-logo span {
    color: var(--black);
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: var(--light);
    border-radius: 2px;
    overflow: hidden;
}

.loading-bar-inner {
    width: 0;
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
    animation: loadingProgress 1.5s ease-in-out forwards;
}

@keyframes loadingProgress {
    0% { width: 0; }
    100% { width: 100%; }
}

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
    padding: 15px 0;
    transition: var(--transition);
    z-index: 1030;
}

.navbar.scrolled {
    background: var(--white) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
}

.navbar.scrolled .nav-link,
.navbar.scrolled .navbar-brand {
    color: var(--black) !important;
}

.navbar.scrolled .btn-nav {
    background: var(--primary);
    color: var(--white) !important;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white) !important;
}

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

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--white) !important;
    padding: 8px 16px !important;
    position: relative;
    transition: var(--transition);
}

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

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

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

.btn-nav {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    border: none;
}

.btn-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(227, 6, 19, 0.3);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.85) 0%, rgba(176, 0, 18, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 120px 20px 80px;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-custom {
    background: var(--primary);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(227, 6, 19, 0.35);
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(227, 6, 19, 0.45);
    color: var(--white);
}

.btn-outline-custom {
    background: transparent;
    color: var(--white);
    padding: 14px 32px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-custom:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* Hero curved accent */
.hero-curve {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
}

.hero-curve svg {
    display: block;
    width: 100%;
    height: auto;
}

/* =====================================================
   SECTION COMMON STYLES
   ===================================================== */
.section-padding {
    padding: 100px 0;
}

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

.section-bg-dark {
    background: var(--black);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--black);
    margin-bottom: 16px;
}

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

.section-subtitle {
    font-size: 1.05rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.section-subtitle-white {
    color: rgba(255, 255, 255, 0.7);
}

/* Curved red accent line */
.curve-accent {
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin: 0 auto 20px;
    position: relative;
}

.curve-accent::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 4px;
    background: var(--primary);
    border-radius: 0 2px 2px 0;
    clip-path: ellipse(100% 50% at 0% 50%);
}

/* =====================================================
   STATISTICS
   ===================================================== */
.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(227, 6, 19, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--primary);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about-image-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    transition: var(--transition);
}

.about-image-wrapper:hover img {
    transform: scale(1.03);
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    border: 4px solid var(--primary);
    border-radius: var(--radius);
    z-index: -1;
}

.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-content p {
    color: #555;
    margin-bottom: 20px;
}

.about-list {
    margin-bottom: 30px;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: #444;
}

.about-list li i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* =====================================================
   WHY CHOOSE US
   ===================================================== */
.why-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 28px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
    height: 100%;
}

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

.why-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.8rem;
    color: var(--white);
    transition: var(--transition);
}

.why-card:hover .why-icon {
    transform: rotateY(360deg);
}

.why-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.why-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
}

/* =====================================================
   CAR CATALOG
   ===================================================== */
.car-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

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

.car-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.car-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.car-card:hover .car-image-wrapper img {
    transform: scale(1.1);
}

.car-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.car-body {
    padding: 24px;
}

.car-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--black);
}

.car-price {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}

.car-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.car-spec {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #666;
}

.car-spec i {
    color: var(--primary);
    font-size: 0.9rem;
}

.car-actions {
    display: flex;
    gap: 10px;
}

.car-actions .btn {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-detail {
    background: var(--light);
    color: var(--black);
    border: none;
}

.btn-detail:hover {
    background: var(--dark);
    color: var(--white);
}

.btn-wa {
    background: #25D366;
    color: var(--white);
    border: none;
}

.btn-wa:hover {
    background: #128C7E;
    color: var(--white);
}

/* Filter & Search */
.filter-bar {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

/* =====================================================
   PROMO SECTION
   ===================================================== */
.promo-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

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

.promo-image {
    height: 200px;
    overflow: hidden;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.promo-card:hover .promo-image img {
    transform: scale(1.1);
}

.promo-body {
    padding: 28px;
    text-align: center;
}

.promo-icon {
    width: 60px;
    height: 60px;
    background: rgba(227, 6, 19, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -50px auto 20px;
    font-size: 1.5rem;
    color: var(--primary);
    border: 4px solid var(--white);
    position: relative;
    z-index: 2;
}

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

.promo-card p {
    font-size: 0.9rem;
    color: #666;
}

/* =====================================================
   SIMULASI KREDIT
   ===================================================== */
.simulasi-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    padding: 50px;
    box-shadow: var(--shadow);
}

.simulasi-form .form-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--black);
    margin-bottom: 8px;
}

.simulasi-form .form-control,
.simulasi-form .form-select {
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid var(--silver);
    font-size: 0.95rem;
    transition: var(--transition);
}

.simulasi-form .form-control:focus,
.simulasi-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.1);
}

.simulasi-result {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius);
    padding: 40px;
    color: var(--white);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.simulasi-result h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 8px;
    opacity: 0.9;
}

.simulasi-result .result-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.simulasi-detail {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.simulasi-detail span:first-child {
    font-size: 0.85rem;
    opacity: 0.85;
}

.simulasi-detail span:last-child {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
}

/* =====================================================
   TESTIMONI
   ===================================================== */
.testimoni-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

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

.testimoni-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid var(--primary);
}

.testimoni-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimoni-stars {
    color: #FFC107;
    margin-bottom: 16px;
    font-size: 1rem;
}

.testimoni-text {
    font-size: 0.95rem;
    color: #555;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimoni-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--black);
    margin-bottom: 4px;
}

.testimoni-role {
    font-size: 0.8rem;
    color: #888;
}

/* Swiper custom */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--silver);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--primary);
    width: 24px;
    border-radius: 5px;
}

/* =====================================================
   ARTIKEL
   ===================================================== */
.article-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

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

.article-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 14px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-body {
    padding: 24px;
}

.article-date {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--black);
    transition: var(--transition);
}

.article-card:hover .article-title {
    color: var(--primary);
}

.article-excerpt {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 16px;
    line-height: 1.7;
}

.btn-read-more {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-read-more:hover {
    gap: 10px;
    color: var(--primary-dark);
}

/* =====================================================
   GALERI
   ===================================================== */
.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(227, 6, 19, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
}

/* =====================================================
   PARTNER
   ===================================================== */
.partner-logo {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100px;
    filter: grayscale(100%);
    opacity: 0.7;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.partner-logo img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--white);
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    background: var(--white);
    color: var(--primary);
    padding: 16px 40px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: var(--black);
    color: var(--white);
}

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

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    display: inline-block;
}

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

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-hours li:last-child {
    border-bottom: none;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-newsletter .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 12px 16px;
    border-radius: 12px 0 0 12px;
    font-size: 0.9rem;
}

.footer-newsletter .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    box-shadow: none;
    color: var(--white);
}

.footer-newsletter .btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: 0 12px 12px 0;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: var(--transition);
}

.footer-newsletter .btn:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    margin-top: 60px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* =====================================================
   BACK TO TOP
   ===================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1020;
    border: none;
    box-shadow: 0 5px 20px rgba(227, 6, 19, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(227, 6, 19, 0.5);
}

/* =====================================================
   WHATSAPP FLOATING
   ===================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 1020;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: waPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128C7E;
}

@keyframes waPulse {
    0%, 100% { box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 5px 30px rgba(37, 211, 102, 0.6); }
}

/* =====================================================
   BREADCRUMB
   ===================================================== */
.breadcrumb-section {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark) 100%);
    padding: 120px 0 60px;
    text-align: center;
}

.breadcrumb-title {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 16px;
}

.breadcrumb-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-nav a:hover {
    color: var(--primary);
}

.breadcrumb-nav .active {
    color: var(--primary);
}

/* =====================================================
   PAGINATION
   ===================================================== */
.pagination .page-link {
    border: none;
    color: var(--dark);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 10px 18px;
    margin: 0 4px;
    border-radius: 10px;
    transition: var(--transition);
}

.pagination .page-link:hover,
.pagination .page-item.active .page-link {
    background: var(--primary);
    color: var(--white);
}

/* =====================================================
   GLASSMORPHISM
   ===================================================== */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* =====================================================
   AOS ANIMATION FIXES
   ===================================================== */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* =====================================================
   MAP
   ===================================================== */
.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* =====================================================
   CONTACT FORM
   ===================================================== */
.contact-form .form-control {
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid var(--silver);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--white);
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.1);
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

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

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: rgba(227, 6, 19, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-info-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.contact-info-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

/* =====================================================
   LIGHTBOX
   ===================================================== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

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

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: var(--primary);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

/* =====================================================
   SCROLLBAR
   ===================================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
