/**
 * RYBUS TRANSPORT - MODERN LIGHT DESIGN SYSTEM
 * -------------------------------------------------------------------
 * Master stylesheet for the V2 design update.
 */

:root {
    /* Color Tokens */
    --rybus-dark: #1e293b;     /* Slate 800 (Primary Text) */
    --rybus-blue: #075FE0;     /* Corporate Blue (Action Color) */
    --rybus-lavender: #6F71A6;  /* Accent Lavender */
    --rybus-detail: #f59e0b;    /* Detail Amber (Accents & Arrows) */
    --rybus-light: #f8fafc;     /* Slate 50 (Global Background) */
}

/* Base resets & behavior */
html {
    scrollbar-gutter: stable;
}

body {
    background-color: var(--rybus-light);
    color: var(--rybus-dark);
    overflow-x: hidden;
}

.v2-wrapper {
    font-family: 'Inter', system-ui, sans-serif;
}

/* HIDE DEFAULT STATIQ HEADER (Replaced by Custom Navbar) */
header { display: none !important; }

/* --- HERO SYSTEM --- */

/* Base class for all hero and parallax sections */
.hero-subpage-v2 {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

/* Page Specific Hero Assignments */
.hero-home {
    background-image: linear-gradient(rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.4)), url('assets/truck3.webp');
}
.hero-services {
    background-image: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('assets/truckSubPage.webp');
}
.hero-about {
    background-image: linear-gradient(rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.4)), url('assets/trucksub_background.webp');
}
.hero-offer {
    background-image: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.6)), url('assets/landingPageBackground.webp');
}
.hero-fleet {
    background-image: linear-gradient(rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.4)), url('assets/zdj-3.webp');
}
.hero-news {
    background-image: linear-gradient(rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.4)), url('assets/truckSubPage.webp');
}
.hero-privacy {
    background-image: linear-gradient(rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.4)), url('assets/truck2.webp');
}

/* Parallax Breakers & Specs backgrounds */
.breaker-about {
    background-image: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('assets/warehouse.webp');
}
.hero-geography {
    background-image: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('assets/truckSubPage.webp');
}
.breaker-offer {
    background-image: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('assets/zdj-4.webp');
}
.hero-specs {
    background-image: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)), url('assets/truckSubPage.webp');
}

/* --- COMPONENTS --- */

/* Primary Nav Buttons (Warm Hover Effect) */
.nav-btn-warm {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.05);
    color: #475569;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-btn-warm:hover {
    background: var(--rybus-detail);
    color: #ffffff !important;
    border-color: var(--rybus-detail);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(245, 158, 11, 0.3);
}

/* Mobile Menu Slide-out Animation */
#mobile-menu {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.hidden-menu {
    transform: translateX(100%);
}

/* Cookie Toast Slide-up Behavior */
#cookie-toast {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(150%);
}

#cookie-toast.show {
    transform: translateY(0);
}

/* --- BLOG & GALLERY STYLES --- */

/* Semantic Post Content layout */
.post-content p {
    margin-bottom: 2rem;
    line-height: 1.8;
    color: #475569;
    font-size: 1.125rem;
    font-weight: 500;
}

.post-content h2, .post-content h3 {
    color: #0f172a;
    font-weight: 900;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    text-transform: uppercase;
}

.post-content h2 { font-size: 2.25rem; }
.post-content h3 { font-size: 1.875rem; }

.post-content img {
    border-radius: 1.5rem;
    margin: 3rem 0;
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

/* Dynamic Gallery Grid */
.gallery-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-img-v2 {
    aspect-ratio: 4/3;
    width: 100%;
    object-fit: cover;
    border-radius: 1rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.gallery-img-v2:hover {
    transform: scale(1.05) translateY(-5px);
    border-color: var(--rybus-blue);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.2);
}

/* --- SECURITY OVERLAYS (Remove upon final payment) --- */

/* Main Diagonal Watermark */
.v2-wrapper::before {
    content: "PREVIEW ONLY! PUBLIC USE IS PROHIBITED!~";
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    z-index: 10000;
    pointer-events: none;
    font-size: 4vw;
    font-weight: 900;
    color: rgba(15, 23, 42, 0.04);
    white-space: nowrap;
    text-transform: uppercase;
    width: 200%;
    text-align: center;
}

/* Floating Preview Badge */
.v2-wrapper::after {
    content: "PREVIEW";
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 10001;
    background: rgba(245, 11, 11, 0.9);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 1rem;
    font-weight: 900;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
    pointer-events: none;
}
