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

:root {
  --primary: #003366; /* Theme Blue */
  --gold: #FFB800;    /* Oil Gold */
  --bg-light: #ffffff; /* White */
  --grey: #F3F4F6;
  --text-dark: #1f2937;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
}

/* Glassmorphism utilities - adjusted for light theme */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 51, 102, 0.1);
}

.glass-card {
    background: #ffffff;
    border: 1px solid rgba(0, 51, 102, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* ── About section product image float animation ── */
@keyframes aboutImgFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-14px); }
}

/* ── About buttons hover ── */
.about-btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 32px rgba(255,184,0,0.55) !important;
}
.about-btn-secondary:hover {
    background: rgba(255,255,255,0.1) !important;
    border-color: rgba(255,255,255,0.6) !important;
}

/* ── About stat items hover ── */
.about-stat-item {
    transition: transform 0.2s ease;
}
.about-stat-item:hover { transform: translateY(-2px); }

/* ── Seahorse top bar marquee scroll ── */
@keyframes seahorseScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Seahorse spotlight animations ── */
@keyframes seahorseFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-10px); }
}
@keyframes seahorseGlow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.15); }
}
@keyframes seahorseRing1 {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.06); }
}
@keyframes seahorseRing2 {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50%       { opacity: 0.7; transform: scale(0.95); }
}
@keyframes seahorseOrbit {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ── Product Categories auto-scroll ── */
@keyframes catScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.cat-scroll-track {
    padding: 0.5rem 0;
}


/* Slider Custom Styles */
.slider-container {
    /* Mobile: compact banner matching live site (~200px) */
    height: 200px;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-top: 80px; /* Offset for fixed header */
}

/* Tablet: ~310px matching the live site */
@media (min-width: 600px) {
    .slider-container {
        height: 310px;
        margin-top: 80px;
    }
}

/* Desktop slider: update heights per breakpoint */
@media (min-width: 1024px) {
    .slider-container {
        height: 430px;
        margin-top: 80px;
    }
}
@media (min-width: 1280px) {
    .slider-container {
        height: 100vh;
        margin-top: 0;
    }
}

/* ===== MOBILE SLIDER ===== */
#mobile-slider {
    height: 200px; /* matches live site mobile ~200px */
    width: 100%;
}
#mobile-slide-track {
    height: 100%;
}
.mobile-slide {
    height: 100%;
}

/* Mobile dots styling */
.m-dot {
    width: 22px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.4);
    transition: background 0.3s ease, width 0.3s ease;
}
.m-dot.m-dot-active {
    background: #FFB800;
    width: 32px;
}

@media (min-width: 600px) {
    #mobile-slider {
        height: 310px;
    }
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden; /* GSAP will control this */
    display: flex;
    align-items: center;
    z-index: 1;
    overflow: hidden; /* For swipe animations */
}

.slide.active {
    visibility: visible;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* All images fill the consistent container size equally */
    background-color: var(--primary);
    background-position: center;
    z-index: -1;
    transition: opacity 1s ease-in-out;
}

/* Enhancing text readability with premium text-shadow since filter is removed */
.text-shadow-premium, .slide-content h1, .slide-content p {
    text-shadow: 0px 4px 20px rgba(0, 0, 0, 0.5), 0px 1px 3px rgba(0,0,0,0.8);
}

/* Slide Content removed glassmorphic frame */

/* Progress bar for slider */
.slider-dots-wrapper {
    position: absolute;
    bottom: 2rem;
    left: 0;
    width: 100%;
    z-index: 10;
}

.slider-dot {
    width: 3rem;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.slider-dot-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--gold);
    width: 0%;
}

/* Navbar specific transition */
#navbar {
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Link underline hover effect */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* Lenis Smooth Scrolling Fixes */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* Animated shiny button */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: var(--primary);
    color: white;
}
.btn-gold {
    background-color: var(--gold);
    color: var(--primary);
}

.btn-primary::before, .btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: all 0.5s ease;
}
.btn-primary:hover::before, .btn-gold:hover::before {
    left: 200%;
}
