/* ==========================================================================
   CUSTOM.CSS - Per-Company Customization
   ==========================================================================
   This file is loaded AFTER style.css and overrides the default theme.
   Each company gets their own copy of this file.

   PALETTE:  Red #dd2828  |  Dark #191820  |  White #ffffff
     - Header / Footer      -> WHITE  (dark text #191820, red hover)
     - Top bar              -> DARK   #191820 (white text, red hover)
     - Buttons (Book Now, submit, CTA) -> RED #dd2828 (white text)
     - Accents (links hover, icons, footer accents, selected) -> RED / DARK
     - Prices               -> DARK #191820
     - Borders              -> neutral light gray, dark/red on hover-focus
     - Flatpickr: dark header, light hover, red selected

   INSTRUCTIONS:
   - Change ONLY the :root variables below to customize colors
   - Add company-specific overrides in Section 2
   - DO NOT edit style.css - it is shared across all installations
   ========================================================================== */


/* ==========================================================================
   1. COLOR VARIABLES
   ========================================================================== */
:root {

    /* === PRESET: Red #dd2828 / Dark #191820 === */
    --accent-color: #dd2828;
    --accent-color-dark: #b91f1f;
    --accent-color-light: #f05a5a;
    --accent-color-mid: #cf2424;

    /* -----------------------------------------------------------------
       DARK / INK
       ----------------------------------------------------------------- */
    --ink: #191820;
    --ink-soft: #2a2933;
    --ink-muted: #5c5b66;

    /* -----------------------------------------------------------------
       CTA COLOR  ->  RED
       ----------------------------------------------------------------- */
    --cta-color: #dd2828;
    --cta-color-dark: #b91f1f;
    --cta-color-light: #f05a5a;
    --cta-text: #ffffff;

    /* -----------------------------------------------------------------
       HIGHLIGHT COLOR  ->  RED
       ----------------------------------------------------------------- */
    --highlight-color: #dd2828;
    --highlight-color-dark: #b91f1f;
    --highlight-color-light: #f05a5a;

    /* -----------------------------------------------------------------
       HEADER / FOOTER  ->  WHITE   |   TOP BAR  ->  DARK
       ----------------------------------------------------------------- */
    --header-bg: #ffffff;
    --footer-bg: #ffffff;
    --header-text: #191820;
    --topbar-bg: #191820;
    --topbar-text: #ffffff;

    /* -----------------------------------------------------------------
       ACCENT TRANSPARENT VARIANTS  (RED)
       ----------------------------------------------------------------- */
    --accent-glow-strong: rgba(221, 40, 40, 1);
    --accent-glow: rgba(221, 40, 40, 0.7);
    --accent-glow-soft: rgba(221, 40, 40, 0.45);
    --accent-glow-dim: rgba(221, 40, 40, 0.35);
    --accent-glow-faint: rgba(221, 40, 40, 0.08);
    --accent-bg-subtle: rgba(221, 40, 40, 0.06);
    --accent-bg-glass: rgba(221, 40, 40, 0.08);
    --accent-bg-radial: rgba(221, 40, 40, 0.10);
    --accent-border-subtle: rgba(221, 40, 40, 0.22);
    --accent-border-medium: rgba(221, 40, 40, 0.30);
    --accent-text-85: rgba(221, 40, 40, 0.85);
    --accent-text-70: rgba(221, 40, 40, 0.70);

    /* -----------------------------------------------------------------
       CTA TRANSPARENT VARIANTS  (RED)
       ----------------------------------------------------------------- */
    --cta-glow: rgba(221, 40, 40, 0.45);
    --cta-glow-soft: rgba(221, 40, 40, 0.30);
    --cta-bg-subtle: rgba(221, 40, 40, 0.06);
    --cta-border-medium: rgba(221, 40, 40, 0.30);

    /* -----------------------------------------------------------------
       ACTION BUTTONS  (no green anywhere)
       ----------------------------------------------------------------- */
    --warning: #dd2828;
    --error: #dd2828;
    --success: #191820;
    --success-dark: #000000;

    /* -----------------------------------------------------------------
       TEXT COLORS
       ----------------------------------------------------------------- */
    --text-color: #191820;
    --text-muted: #6c6b75;

    /* -----------------------------------------------------------------
       BACKGROUNDS
       ----------------------------------------------------------------- */
    --light-bg: #f7f7f8;
    --white: #ffffff;
    --dark-bg: #191820;

    /* -----------------------------------------------------------------
       BORDERS  ->  neutral light gray
       ----------------------------------------------------------------- */
    --border-color: #e3e3e6;

    /* -----------------------------------------------------------------
       FLATPICKR DATE PICKER
       ----------------------------------------------------------------- */
    --flatpickr-hover-bg: #f1f1f3;
    --flatpickr-hover-text: #191820;
}


/* ==========================================================================
   QUICK REFERENCE
   ==========================================================================
   RED      #dd2828  -> Buttons, CTA, link/footer hover, selected, focus
   RED-D    #b91f1f  -> Button hover
   DARK     #191820  -> Top bar bg, header/footer text, prices, icons
   WHITE    #ffffff  -> Header & Footer bg, text on red/dark
   GRAY-L   #e3e3e6  -> Borders (cards, inputs)
   ========================================================================== */


/* 1. Labels */
.ez-sf-field label {
    font-weight: 600 !important;
    font-size: 0.73rem !important;
    color: #191820;
}


/* ==========================================================================
   2. TOP NAV BAR (DARK)  --  WHITE TEXT, RED HOVER
   ========================================================================== */
.topbar,
.top-bar,
.ez-topbar,
.ez-top-bar {
    background-color: #191820 !important;
    color: #ffffff !important;
}
.topbar a,
.top-bar a,
.ez-topbar a,
.ez-top-bar a,
.topbar i,
.top-bar i,
.ez-topbar i,
.ez-top-bar i {
    color: #ffffff !important;
}
.topbar a:hover,
.top-bar a:hover,
.ez-topbar a:hover,
.ez-top-bar a:hover {
    color: #f05a5a !important;
}


/* ==========================================================================
   3. HEADER (WHITE)  &  FOOTER (WHITE)  --  DARK TEXT, RED HOVER
   ========================================================================== */

/* --- Header --- */
header.bg-gray-950.text-gray-300.shadow-sm.sticky.top-0.z-50 {
    background-color: #ffffff;
    box-shadow: 0 1px 8px rgba(25, 24, 32, 0.10);
}

/* --- Nav links --- */
.ez-nav-link {
    color: #191820 !important;
    font-weight: 600;
}
.ez-nav-link:hover {
    color: #dd2828 !important;
}

button#nav-toggle {
    color: #191820;
}

/* --- Mobile nav --- */
@media (max-width: 1024px) {
    #nav-menu.nav-menu--open {
        background-color: #ffffff;
        box-shadow: 0 8px 20px rgba(25, 24, 32, 0.12);
    }
}


/* --- Footer --- */
footer.bg-gray-950.text-gray-300.py-12.relative.overflow-hidden.font-sans {
    background-color: #ffffff;
    border-top: 1px solid #e3e3e6;
}
footer .text-custom-accent {
    color: #dd2828;
}
footer .border-custom-accent\/30 {
    border-color: rgba(221, 40, 40, 0.30);
}

/* --- Footer texts --- DARK --- */
footer .footer-link-item {
    color: #191820;
}
footer .footer-link-item:hover {
    color: #dd2828;
}
footer .footer-link-item::before {
    background-color: #dd2828;
}
p.flex.items-center.text-gray-400.hover\:text-custom-accent.transition {
    color: #191820;
}
p.flex.items-center.text-gray-400.hover\:text-custom-accent.transition:hover {
    color: #dd2828;
}
p.text-gray-400.text-base.max-w-sm.leading-relaxed.hover\:text-custom-accent {
    color: #191820;
}
.text-center.md\:text-center.space-y-0\.5.w-full.mt-4 {
    color: #191820;
}
footer .hover\:text-custom-accent {
    color: #191820;
}
footer .hover\:text-custom-accent:hover {
    color: #dd2828;
}
footer .text-gray-400,
footer .text-gray-300,
footer .text-gray-500 {
    color: #191820;
}

/* --- Footer headings --- DARK, red underline --- */
h5.font-bold.text-white.mb-4.uppercase.tracking-widest.text-sm.border-b.border-custom-accent\/30.pb-2,
h5.font-bold.text-white.mb-5.uppercase.tracking-widest.text-sm.border-b.border-custom-accent\/30.pb-2 {
    color: #191820;
    border-color: rgba(221, 40, 40, 0.35);
}
footer .text-white {
    color: #191820;
}


/* ==========================================================================
   4. BUTTONS  ->  RED (white text)   |   PRICES  ->  DARK
   ========================================================================== */
.btn-primary,
.btn-cta,
.ez-btn-primary,
button[type="submit"] {
    background-color: #dd2828;
    border-color: #dd2828;
    color: #ffffff;
    font-weight: 600;
}
.btn-primary:hover,
.btn-cta:hover,
.ez-btn-primary:hover,
button[type="submit"]:hover {
    background-color: #b91f1f;
    border-color: #b91f1f;
    color: #ffffff !important;
}

/* --- Book Now / fleet CTA --- */
a[href*="book"].btn,
a[href*="booking"].btn,
.ez-book-btn,
.ez-btn-book-now,
.card .btn-primary,
.model-card .btn-primary,
.ez-fleet-card a,
.fleet .btn,
.fleet a.btn,
.fleet button,
.fleet-card .btn,
.ez-fleet-card .btn,
.model-card .btn,
.book-now,
.btn-book,
.btn-book-now,
.ez-book-now,
.ez-btn-book,
a.book-now {
    background-color: #dd2828 !important;
    border-color: #dd2828 !important;
    color: #ffffff !important;
}
.fleet .btn i,
.fleet-card .btn i,
.ez-fleet-card .btn i,
.model-card .btn i,
.book-now i,
.btn-book i,
.btn-book-now i,
.ez-book-now i,
.ez-btn-book i {
    color: #ffffff !important;
}
.fleet .btn:hover,
.fleet a.btn:hover,
.fleet button:hover,
.fleet-card .btn:hover,
.ez-fleet-card .btn:hover,
.model-card .btn:hover,
.book-now:hover,
.btn-book:hover,
.btn-book-now:hover,
.ez-book-now:hover,
.ez-btn-book:hover,
a.book-now:hover {
    background-color: #b91f1f !important;
    border-color: #b91f1f !important;
    color: #ffffff !important;
}

/* --- Prices --- DARK --- */
.price,
.model-price,
.ez-price,
.ez-fleet-price-value,
.ez-price-value--large {
    color: #191820 !important;
    font-weight: 700;
}


/* ==========================================================================
   5. FLEET / BOOK NOW BUTTONS  --  WHITE TEXT ON HOVER
   ========================================================================== */
.fleet .btn:hover,
.fleet a.btn:hover,
.fleet button:hover,
.fleet-card .btn:hover,
.ez-fleet-card .btn:hover,
.model-card .btn:hover,
.model-card a:hover,
.book-now:hover,
.btn-book:hover,
.btn-book-now:hover,
.ez-book-now:hover,
.ez-btn-book:hover,
a.book-now:hover,
.fleet .btn:hover i,
.fleet-card .btn:hover i,
.ez-fleet-card .btn:hover i,
.model-card .btn:hover i,
.book-now:hover i,
.btn-book:hover i,
.btn-book-now:hover i,
.ez-book-now:hover i,
.ez-btn-book:hover i {
    color: #ffffff !important;
}


/* ==========================================================================
   6. MISC ACCENTS
   ========================================================================== */
.model-spec-item {
    border-color: #e3e3e6;
    background-color: #f7f7f8;
}
.model-spec-item:hover {
    border-color: #dd2828;
}
.model-includes-title i {
    color: #dd2828;
}

/* --- Form borders --- */
.form-group input[type="text"], .form-group input[type="date"],
.form-group input[type="time"], .form-group select {
    border: 1px solid #e3e3e6;
}

/* --- Form focus --- RED --- */
.form-group input[type="text"]:focus, .form-group input[type="date"]:focus,
.form-group input[type="time"]:focus, .form-group select:focus {
    border-color: #dd2828;
    outline: none;
}

/* --- Form field icons --- */
.mf-field label i {
    color: #dd2828 !important;
}
.model-spec-icon {
    color: #5c5b66;
}


/* ==========================================================================
   7. NO-GREEN HOVER OVERRIDES
   ========================================================================== */

/* --- Generic link hover --- RED --- */
a:hover {
    color: #dd2828;
}

/* --- Success / secondary buttons --- DARK --- */
.btn-success,
.ez-btn-success,
.btn-secondary {
    background-color: #191820;
    border-color: #191820;
    color: #ffffff;
}
.btn-success:hover,
.ez-btn-success:hover,
.btn-secondary:hover {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
}

/* --- Outline / ghost buttons --- DARK border, red fill on hover --- */
.btn-outline,
.ez-btn-outline {
    border-color: #191820;
    color: #191820;
    background: transparent;
}
.btn-outline:hover,
.ez-btn-outline:hover {
    background-color: #dd2828;
    border-color: #dd2828;
    color: #ffffff;
}

/* --- Cards / list items --- RED border on hover --- */
.card:hover,
.model-card:hover,
.ez-card:hover {
    border-color: #dd2828;
}

/* --- Icons --- */
a:hover i,
.icon:hover,
.ez-icon:hover {
    color: #dd2828;
}

/* --- Badges / tags --- DARK bg --- */
.badge-success,
.tag-success {
    background-color: #191820;
    color: #ffffff;
}

/* --- Flatpickr selected/hover --- light hover, RED selected --- */
.flatpickr-day:hover {
    background: #f1f1f3;
    border-color: #f1f1f3;
    color: #191820;
}
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: #dd2828;
    border-color: #dd2828;
    color: #ffffff;
}

/* --- Dropdown / select option hover --- */
option:checked,
option:hover,
.select-option:hover {
    background-color: #191820;
    color: #ffffff;
}


/* ==========================================================================
   8. BOX-SHADOW
   ========================================================================== */
.btn:hover,
.btn-secondary:hover,
.btn-success:hover,
.btn-outline:hover,
.ez-btn-success:hover,
.ez-btn-outline:hover {
    box-shadow: 0 4px 14px rgba(25, 24, 32, 0.18);
}

/* --- Red buttons keep a SOFT RED glow --- */
.btn-cta:hover,
.btn-primary:hover,
.ez-btn-primary:hover,
button[type="submit"]:hover {
    box-shadow: 0 4px 14px rgba(221, 40, 40, 0.35);
}

/* --- Focus rings on inputs --- SOFT RED --- */
.form-group input[type="text"]:focus,
.form-group input[type="date"]:focus,
.form-group input[type="time"]:focus,
.form-group select:focus,
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(221, 40, 40, 0.18);
}

/* --- Cards / panels --- */
.card,
.model-card,
.ez-card,
.panel {
    box-shadow: 0 2px 8px rgba(25, 24, 32, 0.06);
}
.card:hover,
.model-card:hover,
.ez-card:hover,
.panel:hover {
    box-shadow: 0 8px 20px rgba(25, 24, 32, 0.14);
}

.selected,
.is-active,
.active {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0) !important;
}

.badge,
.badge-success,
.tag,
.tag-success {
    box-shadow: none;
}

.flatpickr-day.selected,
.flatpickr-day:hover {
    box-shadow: none;
}
.flatpickr-calendar {
    box-shadow: 0 6px 20px rgba(25, 24, 32, 0.16);
}


/* ==========================================================================
   9. BOOKING FORM BUTTON  --  RED
   ========================================================================== */
.booking-form button {
    background-color: #dd2828 !important;
    border-color: #dd2828 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(221, 40, 40, 0.30) !important;
}
.booking-form button:hover {
    background-color: #b91f1f !important;
    border-color: #b91f1f !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(221, 40, 40, 0.40) !important;
}
.booking-form button:focus,
.booking-form button:focus-visible {
    box-shadow: 0 0 0 3px rgba(221, 40, 40, 0.30) !important;
    outline: none !important;
}
.booking-form button:active {
    background-color: #a11a1a !important;
    box-shadow: 0 1px 4px rgba(221, 40, 40, 0.30) !important;
}


/* ==========================================================================
   10. INSURANCE / PRICE CARDS
   ========================================================================== */
.ez-ins-card {
    border-color: #e3e3e6 !important;
}
.ez-ins-card:hover {
    border-color: #dd2828 !important;
    box-shadow: 0 8px 20px rgba(25, 24, 32, 0.14) !important;
}
.ez-ins-card:hover i,
.ez-ins-card:hover .ez-ins-title,
.ez-ins-card:hover a {
    color: #dd2828 !important;
}
.ez-price-card--selected {
    background-color: #fdf0f0 !important;
    border-color: #dd2828 !important;
}
.border-green-500 {
    border-color: #dd2828 !important;
}
.affiliateNextBtn {
    box-shadow: 0 6px 15px rgba(221, 40, 40, 0.20);
}
.affiliateNextBtn:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0) !important;
}
.ez-accent-link:hover {
    color: #dd2828;
}


/* ==========================================================================
   11. FLEET PAGE (car.fleet.php)  --  BOOK NOW  ->  RED
   ========================================================================== */
.ez-fleet-book-btn {
    background: #dd2828 !important;
    background-color: #dd2828 !important;
    background-image: linear-gradient(135deg, #dd2828 0%, #b91f1f 100%) !important;
    border-color: #dd2828 !important;
}
.ez-fleet-book-btn,
.ez-fleet-book-btn *,
.ez-fleet-book-btn i,
.ez-fleet-book-btn span,
.ez-fleet-book-btn:visited,
.ez-fleet-book-btn:focus,
.ez-fleet-book-btn:active {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
.ez-fleet-book-btn:hover {
    background: #b91f1f !important;
    background-color: #b91f1f !important;
    background-image: linear-gradient(135deg, #b91f1f 0%, #a11a1a 100%) !important;
    border-color: #b91f1f !important;
}
.ez-fleet-book-btn:hover,
.ez-fleet-book-btn:hover *,
.ez-fleet-book-btn:hover i,
.ez-fleet-book-btn:hover span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}


/* ==========================================================================
   12. POLISH  --  smooth, consistent, uniform
   ========================================================================== */
a, button, .btn, .card, .model-card, .ez-card, .ez-ins-card,
.ez-fleet-book-btn, input, select, textarea, .badge, .tag {
    transition: background-color .22s ease, border-color .22s ease,
                color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.btn-primary:hover,
.btn-cta:hover,
.ez-btn-primary:hover,
.ez-fleet-book-btn:hover,
.booking-form button:hover,
button[type="submit"]:hover {
    transform: translateY(-2px);
}
.btn-primary:active,
.btn-cta:active,
.ez-fleet-book-btn:active,
.booking-form button:active {
    transform: translateY(0);
}

/* --- Animated nav underline (red, ορατό πάνω στο άσπρο header) --- */
.ez-nav-link {
    position: relative;
}
.ez-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: #dd2828;
    transition: width .25s ease;
}
.ez-nav-link:hover::after {
    width: 100%;
}

/* --- Cards --- */
.card,
.model-card,
.ez-card,
.ez-ins-card {
    border: 1px solid #e3e3e6;
    border-radius: 10px;
}

/* --- Pill badges --- */
.badge,
.tag,
.badge-success,
.tag-success {
    border-radius: 999px;
    padding: .25em .75em;
    font-weight: 600;
}

/* --- Inputs --- */
.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group select,
input, textarea, select {
    border: 1px solid #e3e3e6;
    border-radius: 8px;
}

/* --- Buttons: consistent radius --- */
.btn, button, .ez-fleet-book-btn, .booking-form button {
    border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
    a, button, .btn, .card, .model-card, .ez-card, .ez-ins-card,
    .ez-fleet-book-btn, input, select, textarea, .badge, .tag,
    .ez-nav-link::after {
        transition: none !important;
    }
    .btn-primary:hover,
    .btn-cta:hover,
    .ez-btn-primary:hover,
    .ez-fleet-book-btn:hover,
    .booking-form button:hover,
    button[type="submit"]:hover {
        transform: none !important;
    }
}


/* ==========================================================================
   13. GREEN / BLUE KILLER  --  ό,τι έρχεται από το style.css μπαίνει στην παλέτα
   ========================================================================== */

/* --- Tailwind red utilities -> BRAND RED --- */
.bg-red-400, .bg-red-500, .bg-red-600, .bg-red-700,
.hover\:bg-red-500:hover, .hover\:bg-red-600:hover, .hover\:bg-red-700:hover {
    background-color: #dd2828 !important;
}
.text-red-400, .text-red-500, .text-red-600, .text-red-700,
.hover\:text-red-500:hover, .hover\:text-red-600:hover {
    color: #dd2828 !important;
}
.border-red-400, .border-red-500, .border-red-600, .border-red-700 {
    border-color: #dd2828 !important;
}
.from-red-500, .from-red-600 { --tw-gradient-from: #dd2828 !important; }
.to-red-500, .to-red-600, .to-red-700 { --tw-gradient-to: #b91f1f !important; }

/* --- Tailwind green utilities -> DARK --- */
.bg-green-400, .bg-green-500, .bg-green-600, .bg-green-700,
.hover\:bg-green-500:hover, .hover\:bg-green-600:hover, .hover\:bg-green-700:hover {
    background-color: #191820 !important;
}
.text-green-400, .text-green-500, .text-green-600, .text-green-700,
.hover\:text-green-500:hover, .hover\:text-green-600:hover {
    color: #191820 !important;
}
.border-green-400, .border-green-600, .border-green-700 {
    border-color: #191820 !important;
}

/* --- Θεματικές μεταβλητές που ίσως ορίζει το style.css --- */
:root {
    --red: #dd2828;
    --danger: #dd2828;
    --danger-dark: #b91f1f;
    --secondary-color: #191820;
    --secondary-color-dark: #000000;
    --custom-cta: #dd2828;
    --brand-red: #dd2828;
}

/* --- Ό,τι έχει inline/theme κόκκινο σε ΚΟΥΜΠΙ/CTA -> brand red --- */
[class*="btn"][style*="rgb(237"],
[class*="btn"][style*="#ed2426"],
[class*="cta"] {
    background-color: #dd2828 !important;
    border-color: #dd2828 !important;
    color: #ffffff !important;
}
[class*="btn"][style*="rgb(237"]:hover,
[class*="btn"][style*="#ed2426"]:hover,
[class*="cta"]:hover {
    background-color: #b91f1f !important;
    border-color: #b91f1f !important;
    color: #ffffff !important;
}

/* --- Flatpickr header --- DARK --- */
.flatpickr-months {
    background-color: #191820;
}
.flatpickr-months .flatpickr-month,
.flatpickr-current-month,
.flatpickr-current-month input.cur-year,
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month,
.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
    color: #ffffff !important;
    fill: #ffffff !important;
}
.flatpickr-weekdays,
span.flatpickr-weekday {
    background-color: transparent;
    color: #5c5b66;
}
.flatpickr-day:hover {
    background: #f1f1f3;
    border-color: #f1f1f3;
}
.flatpickr-day.selected, .flatpickr-day.selected:hover {
    background: #dd2828;
    border-color: #dd2828;
}