/* ==========================================================================
   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:  Green #039341  |  White #ffffff
     - Header                -> WHITE #ffffff  (black text on top)
     - Top nav bar           -> GREEN #039341  (white text, light hover)
     - Footer                -> WHITE #ffffff  (black text on top)
     - Main accents (links, icons, nav)          -> GREEN
     - CTA buttons / badges                       -> GREEN (white text)
     - Prices                                     -> GREEN

   NOTE: This palette IS green — the base stylesheet greens (#10B981 etc.)
   are remapped to the brand green #039341 so everything matches.

   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: Green #039341 === */
    --accent-color: #039341;
    --accent-color-dark: #027534;
    --accent-color-light: #3bb56a;
    --accent-color-mid: #03a449;

    /* -----------------------------------------------------------------
       SECONDARY / CTA COLOR  ->  GREEN
       ----------------------------------------------------------------- */
    --cta-color: #039341;
    --cta-color-dark: #027534;
    --cta-color-light: #3bb56a;

    /* -----------------------------------------------------------------
       HIGHLIGHT COLOR  ->  GREEN
       ----------------------------------------------------------------- */
    --highlight-color: #039341;
    --highlight-color-dark: #027534;
    --highlight-color-light: #3bb56a;

    /* -----------------------------------------------------------------
       ACCENT TRANSPARENT VARIANTS  (GREEN)
       ----------------------------------------------------------------- */
    --accent-glow-strong: rgba(3, 147, 65, 1);
    --accent-glow: rgba(3, 147, 65, 0.7);
    --accent-glow-soft: rgba(3, 147, 65, 0.45);
    --accent-glow-dim: rgba(3, 147, 65, 0.35);
    --accent-glow-faint: rgba(3, 147, 65, 0.08);
    --accent-bg-subtle: rgba(3, 147, 65, 0.12);
    --accent-bg-glass: rgba(2, 117, 52, 0.10);
    --accent-bg-radial: rgba(3, 147, 65, 0.15);
    --accent-border-subtle: rgba(3, 147, 65, 0.22);
    --accent-border-medium: rgba(3, 147, 65, 0.30);
    --accent-text-85: rgba(3, 147, 65, 0.85);
    --accent-text-70: rgba(3, 147, 65, 0.70);

    /* -----------------------------------------------------------------
       CTA TRANSPARENT VARIANTS  (GREEN)
       ----------------------------------------------------------------- */
    --cta-glow: rgba(3, 147, 65, 0.7);
    --cta-glow-soft: rgba(3, 147, 65, 0.45);
    --cta-bg-subtle: rgba(3, 147, 65, 0.12);
    --cta-border-medium: rgba(3, 147, 65, 0.30);

    /* -----------------------------------------------------------------
       ACTION BUTTONS
       NOTE: base greens (#10B981/#059669) remapped to BRAND green
       so all greens on the site are the same shade.
       ----------------------------------------------------------------- */
    --warning: #039341;
    --error: #039341;
    --success: #039341;
    --success-dark: #027534;

    /* -----------------------------------------------------------------
       TOP NAVIGATION BAR  ->  GREEN
       ----------------------------------------------------------------- */
    --topbar-bg: #039341;
    --topbar-text: #ffffff;

    /* -----------------------------------------------------------------
       TEXT COLORS
       ----------------------------------------------------------------- */
    --text-color: #333;
    --text-muted: #6c757d;

    /* -----------------------------------------------------------------
       BACKGROUNDS
       ----------------------------------------------------------------- */
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --dark-bg: #027534;

    /* -----------------------------------------------------------------
       BORDERS  ->  soft gray
       ----------------------------------------------------------------- */
    --border-color: #d9d9d9;

    /* -----------------------------------------------------------------
       FLATPICKR DATE PICKER
       ----------------------------------------------------------------- */
    --flatpickr-hover-bg: #039341;
    --flatpickr-hover-text: #ffffff;
}


/* ==========================================================================
   QUICK REFERENCE
   ==========================================================================
   GREEN   #039341  -> Top nav bar, links, icons, focus, cards,
                       CTA buttons (Book Now etc.), badges, prices
   D-GREEN #027534  -> Hover states on green elements
   L-GREEN #3bb56a  -> Light accents / gradients
   WHITE   #ffffff  -> Header & Footer background
   BLACK   #000000  -> Header & Footer text
   ========================================================================== */


/* 1. Labels */
.ez-sf-field label {
    font-weight: 600 !important;
    font-size: 0.73rem !important;
}


/* ==========================================================================
   2. TOP NAV BAR (GREEN)  --  WHITE TEXT, LIGHT HOVER
   ========================================================================== */
.topbar,
.top-bar,
.ez-topbar,
.ez-top-bar {
    background-color: #039341 !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: #a8e6c3 !important;
}


/* ==========================================================================
   3. HEADER (WHITE)  &  FOOTER (WHITE)  -- BLACK TEXT
   ========================================================================== */

/* --- Header --- WHITE background --- */
header.bg-gray-950.text-gray-300.shadow-sm.sticky.top-0.z-50 {
    background-color: #ffffff;
}

/* --- Nav links --- BLACK on white, hover GREEN --- */
.ez-nav-link {
    color: #000000 !important;
}
.ez-nav-link:hover {
    color: #039341 !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;
}
footer .text-custom-accent {
    color: #039341;
}
footer .border-custom-accent\/30 {
    border-color: rgba(3, 147, 65, 0.30);
}

/* --- Footer texts --- BLACK --- */
footer .footer-link-item {
    color: #000000;
}
footer .footer-link-item:hover {
    color: #039341;
}
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: #039341;
}
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: #039341;
}

/* --- 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;
}
h5.font-bold.text-white.mb-5.uppercase.tracking-widest.text-sm.border-b.border-custom-accent\/30.pb-2 {
    color: #000000;
}


/* ==========================================================================
   4. CTA BUTTONS  ->  GREEN   |   PRICES  ->  GREEN
   ========================================================================== */
.btn-primary,
.btn-cta,
.ez-btn-primary,
button[type="submit"] {
    background-color: #039341;
    border-color: #039341;
    color: #ffffff;
}
.btn-primary:hover,
.btn-cta:hover,
.ez-btn-primary:hover,
button[type="submit"]:hover {
    background-color: #027534;
    border-color: #027534;
    color: #ffffff !important;
}

/* --- Book Now / fleet CTA --- GREEN 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: #039341 !important;
    border-color: #039341 !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: #027534 !important;
    border-color: #027534 !important;
    color: #ffffff !important;
}

/* --- Prices --- GREEN --- */
.price,
.model-price,
.ez-price {
    color: #039341;
}


/* ==========================================================================
   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:hover {
    border-color: #039341;
}
.model-includes-title i {
    color: #039341;
}

/* --- Form borders --- soft gray --- */
.form-group input[type="text"], .form-group input[type="date"],
.form-group input[type="time"], .form-group select {
    border: 1px solid #d9d9d9;
}

/* --- Form focus --- GREEN --- */
.form-group input[type="text"]:focus, .form-group input[type="date"]:focus,
.form-group input[type="time"]:focus, .form-group select:focus {
    border-color: #039341;
    outline: none;
}

/* --- Form field icons --- */
.mf-field label i {
    color: #039341 !important;
}
.model-spec-icon {
    color: #9f9b9b;
}


/* ==========================================================================
   7. HOVER OVERRIDES  --  ALL GREENS UNIFIED TO BRAND GREEN
   ========================================================================== */

/* --- Generic link hover --- GREEN --- */
a:hover {
    color: #027534;
}

/* --- Success buttons --- BRAND GREEN --- */
.btn-success,
.ez-btn-success,
.btn-secondary {
    background-color: #039341;
    border-color: #039341;
    color: #ffffff;
}
.btn-success:hover,
.ez-btn-success:hover,
.btn-secondary:hover {
    background-color: #027534;
    border-color: #027534;
    color: #ffffff;
}

/* --- Outline / ghost buttons --- GREEN on hover --- */
.btn-outline:hover,
.ez-btn-outline:hover {
    background-color: #039341;
    border-color: #039341;
    color: #ffffff;
}

/* --- Cards / list items --- GREEN border on hover --- */
.card:hover,
.model-card:hover,
.ez-card:hover {
    border-color: #039341;
}

/* --- Icons --- GREEN on hover --- */
a:hover i,
.icon:hover,
.ez-icon:hover {
    color: #027534;
}

/* --- Badges / tags --- GREEN --- */
.badge-success,
.tag-success {
    background-color: #039341;
    color: #ffffff;
}

/* --- Flatpickr selected/hover --- GREEN --- */
.flatpickr-day:hover,
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: #039341;
    border-color: #039341;
    color: #ffffff;
}

/* --- Dropdown / select option hover --- GREEN --- */
option:checked,
option:hover,
.select-option:hover {
    background-color: #039341;
    color: #ffffff;
}


/* ==========================================================================
   8. BOX-SHADOW  --  UNIFIED GREEN GLOW
   ========================================================================== */

/* --- Buttons --- GREEN 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(3, 147, 65, 0.35);
}

/* --- CTA buttons keep a GREEN glow --- */
.btn-cta:hover,
.btn-primary:hover,
.ez-btn-primary:hover,
button[type="submit"]:hover {
    box-shadow: 0 4px 14px rgba(3, 147, 65, 0.35);
}

/* --- Focus rings on inputs --- GREEN --- */
.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(3, 147, 65, 0.20);
}

/* --- Cards / panels --- NEUTRAL gray shadow --- */
.card,
.model-card,
.ez-card,
.panel {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.card:hover,
.model-card:hover,
.ez-card:hover,
.panel:hover {
    box-shadow: 0 6px 18px rgba(3, 147, 65, 0.18);
}

/* --- Selected / active states --- no glow --- */
.selected,
.is-active,
.active {
    box-shadow: 0 0 0 2px rgba(3, 147, 65, 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  (GREEN CTA)
   ========================================================================== */

.booking-form button {
    background-color: #039341 !important;
    border-color: #039341 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(3, 147, 65, 0.30) !important;
}

.booking-form button:hover {
    background-color: #027534 !important;
    border-color: #027534 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(3, 147, 65, 0.40) !important;
}

.booking-form button:focus,
.booking-form button:focus-visible {
    box-shadow: 0 0 0 3px rgba(3, 147, 65, 0.30) !important;
    outline: none !important;
}

.booking-form button:active {
    background-color: #015a27 !important;
    box-shadow: 0 1px 4px rgba(3, 147, 65, 0.30) !important;
}


/* ==========================================================================
   10. INSURANCE / PRICE CARDS  --  BRAND GREEN
   ========================================================================== */

.ez-ins-card:hover {
    border-color: #039341 !important;
    box-shadow: 0 6px 18px rgba(3, 147, 65, 0.18) !important;
}

.ez-ins-card:hover i,
.ez-ins-card:hover .ez-ins-title,
.ez-ins-card:hover a {
    color: #027534 !important;
}

.ez-price-card--selected {
    background-color: rgba(3, 147, 65, 0.12) !important;
    border-color: #039341 !important;
}

.border-green-500 {
    border-color: #039341 !important;
}

.affiliateNextBtn {
    box-shadow: 0 6px 15px rgba(3, 147, 65, 0.14);
}
.affiliateNextBtn:hover {
    box-shadow: 0 10px 20px rgba(3, 147, 65, 0) !important;
}



.ez-accent-link:hover
 {
    color: #027534;
}


/* ==========================================================================
   11. FLEET PAGE (car.fleet.php)  --  BOOK NOW  ->  GREEN #039341
   ========================================================================== */

.ez-fleet-book-btn {
    background: #039341 !important;
    background-color: #039341 !important;
    background-image: linear-gradient(135deg, #039341 0%, #3bb56a 100%) !important;
    border-color: #039341 !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: #027534 !important;
    background-color: #027534 !important;
    background-image: linear-gradient(135deg, #027534 0%, #039341 100%) !important;
    border-color: #027534 !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 (green) --- */
.ez-nav-link {
    position: relative;
}
.ez-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: #039341;
    transition: width .25s ease;
}
.ez-nav-link:hover::after {
    width: 100%;
}

/* --- Cards: gray border, green lift --- */
.card,
.model-card,
.ez-card,
.ez-ins-card {
    border: 1px solid #d9d9d9;
    border-radius: 10px;
}

/* --- Pill badges --- */
.badge,
.tag,
.badge-success,
.tag-success {
    border-radius: 999px;
    padding: .25em .75em;
    font-weight: 600;
}

/* --- Inputs: gray border, green 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 #d9d9d9;
    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 KILLER  --  catch-all για ό,τι κόκκινο έρχεται από το style.css
   ========================================================================== */

/* --- Tailwind red utilities -> GREEN --- */
.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: #039341 !important;
}
.text-red-400, .text-red-500, .text-red-600, .text-red-700,
.hover\:text-red-500:hover, .hover\:text-red-600:hover {
    color: #039341 !important;
}
.border-red-400, .border-red-500, .border-red-600, .border-red-700 {
    border-color: #039341 !important;
}
.from-red-500, .from-red-600 { --tw-gradient-from: #039341 !important; }
.to-red-500, .to-red-600, .to-red-700 { --tw-gradient-to: #027534 !important; }

/* --- Θεματικές κόκκινες μεταβλητές που ίσως ορίζει το style.css --- */
:root {
    --red: #039341;
    --danger: #039341;
    --danger-dark: #027534;
    --secondary-color: #039341;
    --secondary-color-dark: #027534;
    --custom-cta: #039341;
    --brand-red: #039341;
}

/* --- Γενικός κανόνας: ό,τι έχει inline/theme κόκκινο σε CTA γίνεται green --- */
[class*="btn"][style*="rgb(237"],
[class*="btn"][style*="#ed2426"],
[class*="cta"] {
    background-color: #039341 !important;
    border-color: #039341 !important;
    color: #ffffff !important;
}

/* --- Base stylesheet greens (#10B981 κλπ.) unified to brand green --- */
.bg-green-400, .bg-green-500, .bg-green-600,
.hover\:bg-green-500:hover, .hover\:bg-green-600:hover {
    background-color: #039341 !important;
}
.text-green-400, .text-green-500, .text-green-600 {
    color: #039341 !important;
}

.flatpickr-months{
background-color: #039341;

}
.flatpickr-day:hover, .flatpickr-day.selected, .flatpickr-day.selected:hover {
    background: #039341;
    border-color: #039341;
}