/* ==========================================================================
   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:  Orange #f39150  |  Navy #2d446f
     - Header                -> WHITE #ffffff  (black text, orange hover)
     - Top nav bar           -> NAVY #2d446f   (white text, orange hover)
     - Footer                -> WHITE #ffffff  (black text, orange hover)
     - Main accents (links, icons, focus)   -> ORANGE
     - CTA buttons (Book Now etc.)          -> ORANGE (white text)
     - Navy -> topbar, badges, outline hovers, nav underline,
               soft borders (35% navy)
     - Prices                               -> ORANGE
     - Flatpickr: unchanged (silver / black)

   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: Orange #f39150 / Navy #2d446f === */
    --accent-color: #f39150;
    --accent-color-dark: #e0793a;
    --accent-color-light: #f7ac7a;
    --accent-color-mid: #ea8445;

    /* -----------------------------------------------------------------
       CTA COLOR  ->  ORANGE
       ----------------------------------------------------------------- */
    --cta-color: #f39150;
    --cta-color-dark: #e0793a;
    --cta-color-light: #f7ac7a;

    /* -----------------------------------------------------------------
       HIGHLIGHT COLOR  ->  ORANGE
       ----------------------------------------------------------------- */
    --highlight-color: #f39150;
    --highlight-color-dark: #e0793a;
    --highlight-color-light: #2d446f;

    /* -----------------------------------------------------------------
       ACCENT TRANSPARENT VARIANTS  (ORANGE)
       ----------------------------------------------------------------- */
    --accent-glow-strong: rgba(243, 145, 80, 1);
    --accent-glow: rgba(243, 145, 80, 0.7);
    --accent-glow-soft: rgba(243, 145, 80, 0.45);
    --accent-glow-dim: rgba(243, 145, 80, 0.35);
    --accent-glow-faint: rgba(243, 145, 80, 0.08);
    --accent-bg-subtle: rgba(243, 145, 80, 0.06);
    --accent-bg-glass: rgba(243, 145, 80, 0.08);
    --accent-bg-radial: rgba(243, 145, 80, 0.10);
    --accent-border-subtle: rgba(243, 145, 80, 0.22);
    --accent-border-medium: rgba(243, 145, 80, 0.30);
    --accent-text-85: rgba(243, 145, 80, 0.85);
    --accent-text-70: rgba(243, 145, 80, 0.70);

    /* -----------------------------------------------------------------
       CTA TRANSPARENT VARIANTS  (ORANGE)
       ----------------------------------------------------------------- */
    --cta-glow: rgba(243, 145, 80, 0.5);
    --cta-glow-soft: rgba(243, 145, 80, 0.35);
    --cta-bg-subtle: rgba(243, 145, 80, 0.06);
    --cta-border-medium: rgba(243, 145, 80, 0.30);

    /* -----------------------------------------------------------------
       ACTION BUTTONS
       NOTE: --success/--success-dark were GREEN (#10B981/#059669).
       Remapped to the palette so no green appears on hover states.
       ----------------------------------------------------------------- */
    --warning: #f39150;
    --error: #f39150;
    --success: #f39150;
    --success-dark: #e0793a;

    /* -----------------------------------------------------------------
       TOP NAVIGATION BAR  ->  ORANGE
       ----------------------------------------------------------------- */
    --topbar-bg: #2d446f;
    --topbar-text: #ffffff;

    /* -----------------------------------------------------------------
       TEXT COLORS
       ----------------------------------------------------------------- */
    --text-color: #333;
    --text-muted: #6c757d;

    /* -----------------------------------------------------------------
       BACKGROUNDS
       ----------------------------------------------------------------- */
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --dark-bg: #c9662c;

    /* -----------------------------------------------------------------
       BORDERS  ->  red
       ----------------------------------------------------------------- */
    --border-color: rgba(45, 68, 111, 0.35);

    /* -----------------------------------------------------------------
       FLATPICKR DATE PICKER
       ----------------------------------------------------------------- */
    --flatpickr-hover-bg: #c1c1c1;
    --flatpickr-hover-text: #000000;
}


/* ==========================================================================
   QUICK REFERENCE
   ==========================================================================
   ORANGE   #f39150  -> links, icons, focus, CTA buttons, prices
   ORANGE-D #e0793a  -> Hover states on orange elements
   NAVY     #2d446f  -> Top nav bar, badges, outline hovers, underline
   WHITE    #ffffff  -> Header & Footer bg, text πάνω σε orange/navy
   BLACK    #000000  -> Header & Footer text
   ========================================================================== */


/* 1. Labels */
.ez-sf-field label {
    font-weight: 600 !important;
    font-size: 0.73rem !important;
}


/* ==========================================================================
   2. TOP NAV BAR (NAVY #2d446f)  --  WHITE TEXT, ORANGE HOVER
   ========================================================================== */
.topbar,
.top-bar,
.ez-topbar,
.ez-top-bar {
    background-color: #2d446f !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: #f39150 !important;
}


/* ==========================================================================
   3. HEADER (WHITE)  &  FOOTER (WHITE)  -- BLACK TEXT, ORANGE HOVER
   ========================================================================== */

/* --- Header --- WHITE background --- */
header.bg-gray-950.text-gray-300.shadow-sm.sticky.top-0.z-50 {
    background-color: #ffffff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

/* --- Nav links --- BLACK on white, hover ORANGE --- */
.ez-nav-link {
    color: #000000 !important;
}
.ez-nav-link:hover {
    color: #f39150 !important;
}

button#nav-toggle {
    color: #000000;
}

/* --- Mobile nav --- WHITE (matches header) --- */
@media (max-width: 1024px) {
    #nav-menu.nav-menu--open {
        background-color: #ffffff;
    }
}


/* --- Footer --- WHITE background --- */
footer.bg-gray-950.text-gray-300.py-12.relative.overflow-hidden.font-sans {
    background-color: #ffffff;
    border-top: 1px solid rgba(45, 68, 111, 0.35);
}
footer .text-custom-accent {
    color: #f39150;
}
footer .border-custom-accent\/30 {
    border-color: rgba(45, 68, 111, 0.35);
}

/* --- Footer texts --- BLACK --- */
footer .footer-link-item {
    color: #000000;
}
footer .footer-link-item:hover {
    color: #f39150;
}
p.flex.items-center.text-gray-400.hover\:text-custom-accent.transition {
    color: #000000;
}
p.flex.items-center.text-gray-400.hover\:text-custom-accent.transition:hover {
    color: #f39150;
}
p.text-gray-400.text-base.max-w-sm.leading-relaxed.hover\:text-custom-accent {
    color: #000000;
}
.text-center.md\:text-center.space-y-0\.5.w-full.mt-4 {
    color: #000000;
}
footer .hover\:text-custom-accent {
    color: #000000;
}
footer .hover\:text-custom-accent:hover {
    color: #f39150;
}
footer .text-gray-400,
footer .text-gray-300,
footer .text-gray-500 {
    color: #000000;
}

/* --- Footer headings --- BLACK --- */
h5.font-bold.text-white.mb-4.uppercase.tracking-widest.text-sm.border-b.border-custom-accent\/30.pb-2 {
    color: #000000;
    border-color: rgba(45, 68, 111, 0.35);
}
h5.font-bold.text-white.mb-5.uppercase.tracking-widest.text-sm.border-b.border-custom-accent\/30.pb-2 {
    color: #000000;
    border-color: rgba(45, 68, 111, 0.35);
}
footer .text-white {
    color: #000000;
}


/* ==========================================================================
   4. CTA BUTTONS  ->  ORANGE   |   PRICES  ->  ORANGE
   ========================================================================== */
.btn-primary,
.btn-cta,
.ez-btn-primary,
button[type="submit"] {
    background-color: #f39150;
    border-color: #f39150;
    color: #ffffff;
}
.btn-primary:hover,
.btn-cta:hover,
.ez-btn-primary:hover,
button[type="submit"]:hover {
    background-color: #e0793a;
    border-color: #e0793a;
    color: #ffffff !important;
}

/* --- Book Now / fleet CTA --- ORANGE bg, WHITE text --- */
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: #f39150 !important;
    border-color: #f39150 !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: #e0793a !important;
    border-color: #e0793a !important;
    color: #ffffff !important;
}

/* --- Prices --- ORANGE --- */
.price,
.model-price,
.ez-price {
    color: #f39150;
}


/* ==========================================================================
   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 {
    color: #ffffff !important;
}
.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: rgba(45, 68, 111, 0.35);
    background-color: #f0f2f6;
}
.model-spec-item:hover {
    border-color: #f39150;
}
.model-includes-title i {
    color: #f39150;
}

/* --- Form borders --- NAVY --- */
.form-group input[type="text"], .form-group input[type="date"],
.form-group input[type="time"], .form-group select {
    border: 1px solid rgba(45, 68, 111, 0.35);
}

/* --- Form focus --- ORANGE --- */
.form-group input[type="text"]:focus, .form-group input[type="date"]:focus,
.form-group input[type="time"]:focus, .form-group select:focus {
    border-color: #f39150;
    outline: none;
}

/* --- Form field icons --- */
.mf-field label i {
    color: #f39150 !important;
}
.model-spec-icon {
    color: #9f9b9b;
}


/* ==========================================================================
   7. NO-GREEN HOVER OVERRIDES
   ========================================================================== */

/* --- Generic link hover --- ORANGE --- */
a:hover {
    color: #e0793a;
}

/* --- Success / green-ish buttons --- ORANGE --- */
.btn-success,
.ez-btn-success,
.btn-secondary {
    background-color: #f39150;
    border-color: #f39150;
    color: #ffffff;
}
.btn-success:hover,
.ez-btn-success:hover,
.btn-secondary:hover {
    background-color: #e0793a;
    border-color: #e0793a;
    color: #ffffff;
}

/* --- Outline / ghost buttons --- NAVY bg, NAVY text on hover --- */
.btn-outline,
.ez-btn-outline {
    border-color: #2d446f;
    color: #f39150;
}
.btn-outline:hover,
.ez-btn-outline:hover {
    background-color: #2d446f;
    border-color: #2d446f;
    color: #ffffff;
}

/* --- Cards / list items --- ORANGE border on hover --- */
.card:hover,
.model-card:hover,
.ez-card:hover {
    border-color: #f39150;
}

/* --- Icons --- ORANGE on hover --- */
a:hover i,
.icon:hover,
.ez-icon:hover {
    color: #e0793a;
}

/* --- Badges / tags --- NAVY bg, BLACK text --- */
.badge-success,
.tag-success {
    background-color: #2d446f;
    color: #ffffff;
}

/* --- Flatpickr selected/hover --- SILVER hover, BLACK selected (unchanged) --- */
.flatpickr-day:hover {
    background: #c1c1c1;
    border-color: #c1c1c1;
    color: #000000;
}
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: #000000;
    border-color: #000000;
    color: #ffffff;
}

/* --- Dropdown / select option hover --- NAVY --- */
option:checked,
option:hover,
.select-option:hover {
    background-color: #2d446f;
    color: #ffffff;
}


/* ==========================================================================
   8. BOX-SHADOW  --  NO GREEN
   ========================================================================== */

/* --- Buttons --- SOFT ORANGE glow --- */
.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(243, 145, 80, 0.30);
}

/* --- CTA buttons keep a SOFT ORANGE glow --- */
.btn-cta:hover,
.btn-primary:hover,
.ez-btn-primary:hover,
button[type="submit"]:hover {
    box-shadow: 0 4px 14px rgba(243, 145, 80, 0.35);
}

/* --- Focus rings on inputs --- SOFT ORANGE --- */
.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(243, 145, 80, 0.20);
}

/* --- Cards / panels --- NEUTRAL gray shadow --- */
.card,
.model-card,
.ez-card,
.panel {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.card:hover,
.model-card:hover,
.ez-card:hover,
.panel:hover {
    box-shadow: 0 6px 18px rgba(243, 145, 80, 0.18);
}

/* --- Selected / active states --- no glow --- */
.selected,
.is-active,
.active {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0) !important;
}

/* --- Badges / tags --- no colored glow --- */
.badge,
.badge-success,
.tag,
.tag-success {
    box-shadow: none;
}

/* --- Flatpickr --- */
.flatpickr-day.selected,
.flatpickr-day:hover {
    box-shadow: none;
}
.flatpickr-calendar {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}


/* ==========================================================================
   9. BOOKING FORM BUTTON  --  TARGETED OVERRIDE  (ORANGE CTA)
   ========================================================================== */

.booking-form button {
    background-color: #f39150 !important;
    border-color: #f39150 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(243, 145, 80, 0.30) !important;
}

.booking-form button:hover {
    background-color: #e0793a !important;
    border-color: #e0793a !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(243, 145, 80, 0.40) !important;
}

.booking-form button:focus,
.booking-form button:focus-visible {
    box-shadow: 0 0 0 3px rgba(243, 145, 80, 0.30) !important;
    outline: none !important;
}

.booking-form button:active {
    background-color: #c9662c !important;
    box-shadow: 0 1px 4px rgba(243, 145, 80, 0.30) !important;
}


/* ==========================================================================
   10. INSURANCE / PRICE CARDS  --  NO GREEN
   ========================================================================== */

.ez-ins-card {
    border-color: rgba(45, 68, 111, 0.35) !important;
}
.ez-ins-card:hover {
    border-color: #f39150 !important;
    box-shadow: 0 6px 18px rgba(243, 145, 80, 0.18) !important;
}

.ez-ins-card:hover i,
.ez-ins-card:hover .ez-ins-title,
.ez-ins-card:hover a {
    color: #f39150 !important;
}

.ez-price-card--selected {
    background-color: #fdf3ec !important;
    border-color: #f39150 !important;
}

.border-green-500 {
    border-color: #f39150 !important;
}

.affiliateNextBtn {
    box-shadow: 0 6px 15px rgba(243, 145, 80, 0.20);
}
.affiliateNextBtn:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0) !important;
}

.ez-accent-link:hover {
    color: #e0793a;
}


/* ==========================================================================
   11. FLEET PAGE (car.fleet.php)  --  BOOK NOW  ->  ORANGE #f39150
   ========================================================================== */

.ez-fleet-book-btn {
    background: #f39150 !important;
    background-color: #f39150 !important;
    background-image: linear-gradient(135deg, #f39150 0%, #e0793a 100%) !important;
    border-color: #f39150 !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: #e0793a !important;
    background-color: #e0793a !important;
    background-image: linear-gradient(135deg, #e0793a 0%, #c9662c 100%) !important;
    border-color: #e0793a !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
   ========================================================================== */

/* --- One transition curve everywhere --- */
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;
}

/* --- CTA lift on hover --- */
.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: #2d446f;
    transition: width .25s ease;
}
.ez-nav-link:hover::after {
    width: 100%;
}

/* --- Cards: NAVY border, dark lift --- */
.card,
.model-card,
.ez-card,
.ez-ins-card {
    border: 1px solid rgba(45, 68, 111, 0.35);
    border-radius: 10px;
}

/* --- Pill badges --- */
.badge,
.tag,
.badge-success,
.tag-success {
    border-radius: 999px;
    padding: .25em .75em;
    font-weight: 600;
}

/* --- Inputs: NAVY border, dark focus glow --- */
.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group select,
input, textarea, select {
    border: 1px solid rgba(45, 68, 111, 0.35);
    border-radius: 8px;
}

/* --- Buttons: consistent radius --- */
.btn, button, .ez-fleet-book-btn, .booking-form button {
    border-radius: 8px;
}

/* --- Respect reduced motion --- */
@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. RED / GREEN KILLER  --  catch-all για ό,τι κόκκινο/πράσινο έρχεται από το style.css
   ========================================================================== */

/* --- Tailwind red utilities -> ORANGE --- */
.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: #f39150 !important;
}
.text-red-400, .text-red-500, .text-red-600, .text-red-700,
.hover\:text-red-500:hover, .hover\:text-red-600:hover {
    color: #f39150 !important;
}
.border-red-400, .border-red-500, .border-red-600, .border-red-700 {
    border-color: #f39150 !important;
}
.from-red-500, .from-red-600 { --tw-gradient-from: #f39150 !important; }
.to-red-500, .to-red-600, .to-red-700 { --tw-gradient-to: #e0793a !important; }

/* --- Tailwind green utilities -> ORANGE --- */
.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: #f39150 !important;
}
.text-green-400, .text-green-500, .text-green-600, .text-green-700,
.hover\:text-green-500:hover, .hover\:text-green-600:hover {
    color: #f39150 !important;
}
.border-green-400, .border-green-600, .border-green-700 {
    border-color: #f39150 !important;
}

/* --- Θεματικές κόκκινες μεταβλητές που ίσως ορίζει το style.css --- */
:root {
    --red: #f39150;
    --danger: #f39150;
    --danger-dark: #e0793a;
    --secondary-color: #2d446f;
    --secondary-color-dark: #1f314f;
    --custom-cta: #f39150;
    --brand-red: #f39150;
}

/* --- Γενικός κανόνας: ό,τι έχει inline/theme κόκκινο σε CTA γίνεταιorange --- */
[class*="btn"][style*="rgb(237"],
[class*="btn"][style*="#ed2426"],
[class*="cta"] {
    background-color: #f39150 !important;
    border-color: #f39150 !important;
    color: #ffffff !important;
}

/* --- Flatpickr header --- SILVER/BLACK (unchanged) --- */
.flatpickr-months {
    background-color: #c1c1c1;
}
.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: #000000 !important;
    fill: #000000 !important;
}
.flatpickr-weekdays,
span.flatpickr-weekday {
      background-color: #c1c1c100;
    color: #505050;
}
.flatpickr-day:hover {
    background:#f39150;
    border-color: #c1c1c1;
}

.flatpickr-months

 {
    background-color: #f39150;
}
.flatpickr-day.selected, .flatpickr-day.selected:hover {
    background: #f39150;
    border-color: #f39150;
}