/* =====================================================
   ADAKAR Petrol — Ahiboz TotalEnergies
   Premium Frontend Stylesheet
   ===================================================== */

/* CSS Custom Properties */
:root {
    --primary: #1a2744;
    --primary-light: #2d4a7a;
    --primary-dark: #0f1a2e;
    --secondary: #0066b3;
    --secondary-light: #3399cc;
    --accent: #e63312;
    --accent-orange: #ff6b35;
    --accent-gradient: linear-gradient(135deg, #e63312, #ff6b35);
    --bg-light: #f4f6f9;
    --bg-white: #ffffff;
    --text-dark: #1a1a2e;
    --text-muted: #6c757d;
    --text-light: #a0aec0;
    --card-shadow: 0 4px 24px rgba(26,39,68,0.08);
    --card-shadow-hover: 0 12px 40px rgba(26,39,68,0.16);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Outfit', 'Inter', sans-serif;
}

/* Base Reset & Typography */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
::selection { background: var(--accent); color: #fff; }

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--bg-light);
    overflow-x: hidden;
}

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

a { color: var(--secondary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }

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

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ===================== NAVBAR ===================== */
.navbar-main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    padding: 15px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar-main.scrolled {
    background: rgba(26, 39, 68, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.navbar-main .navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: #fff !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-main .navbar-brand img {
    height: 62px;
    max-width: 240px;
    width: auto;
    object-fit: contain;
    background: transparent !important;
    mix-blend-mode: normal;
}

.navbar-main .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 8px 14px !important;
    position: relative;
    transition: var(--transition);
}

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

.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
    color: #fff !important;
}

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

.navbar-toggler {
    border: none;
    color: #fff;
    font-size: 1.5rem;
    padding: 4px 8px;
}

.navbar-toggler:focus { box-shadow: none; }

/* ===================== HERO SLIDER ===================== */
.hero-section {
    position: relative;
    height: clamp(460px, 85vh, 780px);
    min-height: 460px;
    overflow: hidden;
    background: var(--primary);
}

.hero-slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

.hero-slide.active { opacity: 1; z-index: 2; }

.hero-slide .hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--primary-dark);
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-slide .hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(26,39,68,0.88) 0%, rgba(26,39,68,0.5) 50%, rgba(0,102,179,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.hero-indicator {
    width: 40px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    padding: 0;
}

.hero-indicator.active {
    background: var(--accent);
    width: 60px;
}

/* ===================== CINEMATIC IMAGE HERO ===================== */
.video-intro-stage { height: 200vh; position: relative; background: var(--primary-dark); perspective: 1100px; }
.video-intro-stage--static { height: 100vh; }
.video-intro { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; background: var(--primary-dark); transform-style: preserve-3d; }
.video-intro__media, .video-intro__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-intro__media { background-size: cover; background-position: center; transform: scale(var(--intro-scale, 1)); will-change: transform; }
.video-intro__video { object-fit: cover; }
.video-intro__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7,13,27,.82), rgba(7,13,27,.25)), #050914; opacity: var(--intro-current-overlay, var(--intro-overlay, .35)); will-change: opacity; }
.video-intro .container { position: relative; z-index: 2; }
.video-intro__content { max-width: 760px; padding: 0 2rem; color: #fff; opacity: var(--intro-content-opacity, 1); transform: translate3d(0, var(--intro-content-y, 0), 55px); will-change: transform, opacity; }
.video-intro__content h1 { color: #fff; font-size: clamp(2.35rem, 5.2vw, 4.9rem); line-height: 1.04; text-shadow: 0 12px 34px rgba(0,0,0,.42); }
.video-intro__content p { max-width: 650px; color: rgba(255,255,255,.9); font-size: clamp(1rem, 1.7vw, 1.28rem); margin: 1rem 0 2rem; }
.video-intro__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.video-intro__scroll {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: max(28px, env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    min-width: 150px;
    padding: 10px 18px 7px;
    color: rgba(255,255,255,.92);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .17em;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0,0,0,.45);
    opacity: var(--intro-cue-opacity, 1);
    transform: translate3d(-50%, var(--intro-cue-y, 0), 0);
    transition: color .25s ease, opacity .18s linear;
    will-change: transform, opacity;
}
.video-intro__scroll:hover,
.video-intro__scroll:focus-visible { color: #fff; }
.video-intro__scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 12px; }
.video-intro__scroll-label { white-space: nowrap; }
.video-intro__scroll-mouse {
    position: relative;
    width: 23px;
    height: 36px;
    border: 1.5px solid rgba(255,255,255,.8);
    border-radius: 999px;
    background: rgba(5,9,20,.12);
    box-shadow: 0 5px 20px rgba(0,0,0,.18);
    backdrop-filter: blur(3px);
}
.video-intro__scroll-mouse span {
    position: absolute;
    top: 7px;
    left: 50%;
    width: 3px;
    height: 7px;
    border-radius: 999px;
    background: var(--accent);
    transform: translateX(-50%);
    animation: introScrollWheel 1.8s cubic-bezier(.45,0,.2,1) infinite;
}
.video-intro__scroll > i { margin-top: -4px; font-size: .78rem; animation: introScrollArrow 1.8s ease-in-out infinite; }
.home-content--after-intro { opacity: var(--home-content-opacity, .25); transform: translate3d(0, var(--home-content-y, 55px), 0); transition: opacity .1s linear; }
@keyframes introScrollWheel { 0% { opacity: 0; transform: translate(-50%, 0); } 25% { opacity: 1; } 70%, 100% { opacity: 0; transform: translate(-50%, 12px); } }
@keyframes introScrollArrow { 0%, 100% { opacity: .35; transform: translateY(-2px); } 50% { opacity: 1; transform: translateY(2px); } }
@media (max-width: 767px) {
    .video-intro-stage { height: 160svh; }
    .video-intro__content { padding: 0 1rem 5rem; }
    .video-intro__media { transform: scale(var(--intro-scale, 1)); }
    .video-intro__scroll { bottom: max(14px, env(safe-area-inset-bottom)); min-width: 130px; padding: 8px 12px 5px; font-size: .59rem; letter-spacing: .13em; gap: 5px; }
    .video-intro__scroll-mouse { width: 21px; height: 32px; }
    .video-intro__scroll > i { font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
    .video-intro-stage { height: 100svh; }
    .video-intro__media, .video-intro__content, .home-content--after-intro { transform: none !important; opacity: 1 !important; animation: none !important; }
    .video-intro__scroll-mouse span, .video-intro__scroll > i { animation: none !important; }
}

.cinematic-hero {
    position: relative;
    min-height: clamp(520px, 88vh, 820px);
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--primary-dark);
}

.cinematic-hero__image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    animation: cinematicHeroZoom 9s ease-out forwards;
    will-change: transform;
}

.cinematic-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8,14,28,0.88) 0%, rgba(13,24,45,0.62) 44%, rgba(13,24,45,0.28) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.12) 42%, rgba(0,0,0,0.62) 100%);
    z-index: 1;
}

.cinematic-hero .container {
    position: relative;
    z-index: 2;
}

.cinematic-hero__content {
    max-width: 760px;
    padding: 0 2rem;
    color: #fff;
    animation: cinematicHeroFadeUp 900ms ease-out 220ms both;
}

.cinematic-hero__content h1 {
    font-size: clamp(2.35rem, 5.2vw, 4.9rem);
    line-height: 1.04;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 12px 34px rgba(0,0,0,0.42);
}

.cinematic-hero__content p {
    max-width: 650px;
    font-size: clamp(1rem, 1.7vw, 1.28rem);
    line-height: 1.75;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.cinematic-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

@keyframes cinematicHeroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.18); }
}

@keyframes cinematicHeroFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================== BUTTONS ===================== */
.btn-accent {
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230,51,18,0.35);
    color: #fff;
    filter: brightness(1.1);
}

.btn-accent::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-accent:hover::before { left: 100%; }

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
}

.btn-primary-custom {
    background: var(--secondary);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary-custom:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 4px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0;
}

/* ===================== FUEL PRICE CARDS ===================== */
.fuel-prices-section { background: var(--bg-white); }

.fuel-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--card-shadow);
    border-top: 4px solid transparent;
    border-image: var(--accent-gradient) 1;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.fuel-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(230,51,18,0.03) 0%, transparent 50%);
    pointer-events: none;
}

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

.fuel-card .fuel-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #fff;
    font-size: 1.4rem;
}

.fuel-card h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.fuel-card .fuel-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-heading);
}

.fuel-card .fuel-unit {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.live-fuel-card {
    animation: fuelCardEnter 0.65s ease both;
    animation-delay: var(--fuel-delay, 0ms);
}

.live-fuel-card::after {
    content: '';
    position: absolute;
    inset: -30% auto -30% -55%;
    width: 42%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
    transform: skewX(-18deg);
    animation: fuelCardShine 3.4s ease-in-out infinite;
    animation-delay: calc(var(--fuel-delay, 0ms) + 0.8s);
    pointer-events: none;
}

.live-fuel-card .fuel-icon {
    animation: fuelIconGlow 2.8s ease-in-out infinite;
}

.live-fuel-card .fuel-price {
    position: relative;
    display: inline-block;
    animation: fuelPricePulse 2.6s ease-in-out infinite;
}

.live-fuel-card .fuel-price::after {
    content: '';
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: -4px;
    height: 2px;
    border-radius: 999px;
    background: var(--accent-gradient);
    opacity: 0.5;
    animation: fuelPriceLine 2.6s ease-in-out infinite;
}

@keyframes fuelCardEnter {
    from { opacity: 0; transform: translateY(18px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fuelCardShine {
    0%, 42% { left: -55%; opacity: 0; }
    52% { opacity: 1; }
    70%, 100% { left: 120%; opacity: 0; }
}

@keyframes fuelIconGlow {
    0%, 100% { box-shadow: 0 0 0 rgba(230,51,18,0); transform: translateY(0); }
    50% { box-shadow: 0 10px 26px rgba(230,51,18,0.26); transform: translateY(-2px); }
}

@keyframes fuelPricePulse {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.045); filter: brightness(1.12); }
}

@keyframes fuelPriceLine {
    0%, 100% { transform: scaleX(0.55); opacity: 0.35; }
    50% { transform: scaleX(1); opacity: 0.75; }
}

@media (prefers-reduced-motion: reduce) {
    .live-fuel-card,
    .live-fuel-card::after,
    .live-fuel-card .fuel-icon,
    .live-fuel-card .fuel-price,
    .live-fuel-card .fuel-price::after {
        animation: none !important;
    }
}

.fuel-update-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,102,179,0.08);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    color: var(--secondary);
    margin-top: 20px;
}

.fuel-update-badge .pulse-dot {
    width: 8px; height: 8px;
    background: #28a745;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.fuel-note {
    background: rgba(0,102,179,0.06);
    border-left: 4px solid var(--secondary);
    padding: 16px 20px;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 30px;
}

/* ===================== SERVICE CARDS ===================== */
.service-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    height: 100%;
}

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

.service-card .service-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 1.8rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--accent-gradient);
}

.service-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 0;
}

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

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

.campaign-card .campaign-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    height: auto;
    background: var(--bg-light);
}

.campaign-card .campaign-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.campaign-card:hover .campaign-img img { transform: none; }

.campaign-card .campaign-img .campaign-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent-gradient);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

.campaign-card .campaign-body {
    padding: 24px;
}

.campaign-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

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

.campaign-card .campaign-dates {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-light);
    margin-top: 12px;
}

/* ===================== GALLERY ===================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.home-gallery-scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding: 4px;
    padding: 4px 2px 16px;
    margin: 0 -2px;
    -webkit-overflow-scrolling: touch;
}

.home-gallery-scroll .gallery-item {
    flex: 0 0 min(340px, 82vw);
    scroll-snap-align: start;
}

.home-gallery-scroll::-webkit-scrollbar {
    height: 8px;
}

.home-gallery-scroll::-webkit-scrollbar-track {
    background: rgba(26,39,68,0.08);
    border-radius: 999px;
}

.home-gallery-scroll::-webkit-scrollbar-thumb {
    background: var(--accent-gradient);
    border-radius: 999px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--card-shadow);
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--bg-light);
    transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: none; }

.gallery-item .gallery-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(26,39,68,0.85) 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

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

.gallery-overlay h6 { color: #fff; font-weight: 600; margin-bottom: 4px; }
.gallery-overlay p { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin: 0; }

.gallery-overlay .zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
}

.gallery-filter-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 35px;
}

.gallery-filter-btn {
    padding: 8px 22px;
    border-radius: 30px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--primary);
    color: #fff;
}

/* ===================== LIGHTBOX ===================== */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    background: rgba(10,15,30,0.95);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}

.lightbox.active { display: flex; }

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--accent); }

/* ===================== LOCATION SECTION ===================== */
.location-section { background: var(--bg-white); }

.location-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 36px;
    box-shadow: var(--card-shadow);
    height: 100%;
}

.location-card h4 { margin-bottom: 24px; font-weight: 700; }

.location-section .row.g-4 {
    align-items: stretch;
}

.location-section .row.g-4 > [class*="col-"] {
    display: flex;
}

.location-section .map-wrapper {
    flex: 1;
    height: 100% !important;
    min-height: 360px !important;
}

.location-section .map-wrapper iframe,
.location-section .map-lazy-placeholder {
    height: 100% !important;
    min-height: 360px !important;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.contact-info-item .info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}

.contact-info-item .info-text h6 { font-weight: 600; margin-bottom: 2px; font-size: 0.9rem; }
.contact-info-item .info-text p { margin: 0; color: var(--text-muted); font-size: 0.9rem; }

.map-wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    height: 240px !important;
    min-height: 0 !important;
}

.map-wrapper iframe {
    width: 100%;
    height: 240px !important;
    min-height: 0 !important;
    border: 0 !important;
    display: block;
}

.map-lazy-placeholder {
    height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(0,102,179,0.12), rgba(26,39,68,0.12));
    color: var(--primary);
    text-align: center;
}

.map-lazy-placeholder i {
    font-size: 2rem;
    color: var(--accent);
}

.map-load-btn {
    border: 0;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    font-weight: 600;
}

.lazy-map-frame {
    display: none !important;
}

.map-wrapper.map-loaded .map-lazy-placeholder {
    display: none;
}

.map-wrapper.map-loaded .lazy-map-frame {
    display: block !important;
}

/* ===================== FOOTER ===================== */
.footer-section {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer-section h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-section h5 img {
    height: 54px !important;
    width: auto;
    object-fit: contain;
    background: transparent !important;
}

.footer-links { list-style: none; padding: 0; margin: 0; }

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

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.92rem;
    transition: var(--transition);
}

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

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

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

.footer-social a:hover {
    background: var(--accent-gradient);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230,51,18,0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    margin-top: 40px;
    font-size: 0.85rem;
}

.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: #fff; }

/* ===================== PAGE HEADER ===================== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--secondary) 100%);
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header.page-header-about {
    padding-top: 72px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header h1 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.page-header .breadcrumb {
    justify-content: center;
    margin-bottom: 0;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.page-header .breadcrumb-item.active { color: rgba(255,255,255,0.9); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ===================== CONTACT FORM ===================== */
.contact-form .form-control {
    border: 2px solid #e8ecf1;
    border-radius: var(--border-radius-sm);
    padding: 14px 18px;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--bg-white);
}

.contact-form .form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0,102,179,0.12);
}

.contact-form label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.contact-form textarea { min-height: 140px; resize: vertical; }

/* ===================== WHATSAPP FLOAT ===================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1040;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37,211,102,0.5);
    color: #fff;
}

/* ===================== BACK TO TOP ===================== */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1040;
    border: none;
    box-shadow: 0 4px 15px rgba(230,51,18,0.3);
}

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

.back-to-top:hover {
    transform: translateY(-3px);
}

/* ===================== COOKIE CONSENT ===================== */
.cookie-consent {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--primary);
    color: rgba(255,255,255,0.9);
    padding: 18px 24px;
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 0.9rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.cookie-consent.show { display: flex; }
.cookie-consent a { color: var(--accent-orange); }

.cookie-consent .btn-cookie {
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    padding: 8px 24px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

/* ===================== ANIMATIONS ===================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* ===================== PRODUCT & DETAIL PAGES ===================== */
.product-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    height: 100%;
}

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

.product-card .product-img {
    aspect-ratio: 4 / 3;
    height: auto;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img { transform: none; }

.product-card .product-img .no-image {
    font-size: 3rem;
    color: var(--text-light);
}

.product-card .product-body { padding: 24px; }
.product-card h5 { font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }
.product-card .category-badge {
    display: inline-block;
    background: rgba(0,102,179,0.1);
    color: var(--secondary);
    padding: 3px 12px;
    border-radius: 15px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.detail-content {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--card-shadow);
}

.detail-content img {
    display: block;
    width: 100%;
    max-height: 480px;
    object-fit: contain;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    margin-bottom: 24px;
}

.campaign-card .campaign-img img,
.gallery-item img,
.product-card .product-img img,
.detail-content img {
    object-position: center;
}

/* ===================== MARKET SECTION ===================== */
.market-feature {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    height: 100%;
}

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

.market-feature .feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent), var(--accent-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #fff;
    font-size: 1.5rem;
}

/* ===================== FUEL PRICE TABLE ===================== */
.fuel-price-table {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.fuel-price-table table { margin-bottom: 0; }

.fuel-price-table thead {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
}

.fuel-price-table th { font-weight: 600; padding: 16px 20px !important; border: none !important; }
.fuel-price-table td { padding: 16px 20px !important; vertical-align: middle; border-color: #f0f2f5 !important; }

.fuel-price-table .price-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-heading);
}

/* ===================== FLASH MESSAGES ===================== */
.flash-message {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 9999;
    min-width: 320px;
    animation: fadeInUp 0.4s ease-out;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 991px) {
    .hero-content h1 { font-size: 2.2rem; }
    .hero-section { height: 70vh; min-height: 420px; }
    .cinematic-hero { min-height: 70vh; }
    .cinematic-hero__image { animation-name: cinematicHeroZoomMobile; }
    .cinematic-hero__content { padding: 0 1rem; }
    .section-padding { padding: 50px 0; }
    .section-title h2 { font-size: 1.8rem; }
    .navbar-collapse { background: rgba(26,39,68,0.98); border-radius: var(--border-radius); padding: 15px; margin-top: 10px; }
}

@media (max-width: 767px) {
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content p { font-size: 1rem; }
    .hero-section { height: 60vh; min-height: 360px; }
    .cinematic-hero { min-height: 64vh; }
    .cinematic-hero__actions { gap: 10px; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
    .home-gallery-scroll {
        display: flex;
        grid-template-columns: none;
    }
    .detail-content { padding: 24px; }
    .page-header { padding: 120px 0 40px; }
    .page-header.page-header-about { padding-top: 68px; }
    .page-header h1 { font-size: 1.8rem; }
    .map-wrapper,
    .map-wrapper iframe,
    .map-lazy-placeholder { height: 220px !important; }
    .location-section .map-wrapper,
    .location-section .map-wrapper iframe,
    .location-section .map-lazy-placeholder {
        height: 220px !important;
        min-height: 220px !important;
    }
    .cookie-consent { flex-direction: column; text-align: center; }
    .footer-section { text-align: center; }
    .footer-social { justify-content: center; }
}

@keyframes cinematicHeroZoomMobile {
    from { transform: scale(1.03); }
    to { transform: scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
    .cinematic-hero__image,
    .cinematic-hero__content {
        animation: none;
    }
    .cinematic-hero__image {
        transform: scale(1.05);
    }
}

@media (max-width: 480px) {
    .fuel-card { padding: 20px 16px; }
    .fuel-card .fuel-price { font-size: 1.6rem; }
    .hero-content h1 { font-size: 1.5rem; }
}
