::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #125c6d;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0d4350;
}

html {
    scroll-behavior: smooth;
    background: var(--hero-top-surface, #121e20);
}

nav {
    padding-top: env(safe-area-inset-top);
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
}

@supports (padding: env(safe-area-inset-top)) {
    html::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: env(safe-area-inset-top);
        background: var(--hero-top-surface, #121e20);
        z-index: 60;
        pointer-events: none;
    }
}

body.has-hero {
    background: var(--hero-top-surface, #121e20);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.glass-card-dark {
    background: rgba(18, 30, 32, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.radial-dots {
    background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 0);
    background-size: 40px 40px;
}

.form-accent-bar {
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 6px;
    background: linear-gradient(90deg, rgba(18, 92, 109, 0.95) 0%, rgba(18, 92, 109, 0.7) 55%, rgba(211, 159, 76, 0.95) 100%);
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    z-index: 1;
}

.fleet-hero-photo {
    background-position: center 75%;
    background-color: #121e20;
    transform: none;
}

.hero-image {
    transform: scale(1.06);
    transform-origin: center;
    background-position: center;
}

.bg-hero-default {
    background-image: url('/assets/hero.webp');
}

.bg-destinations-hero {
    background-image: url('/assets/destinations-hero.webp');
}

.bg-fleet-hero {
    background-image: url('/assets/fleet-hero.webp');
}

.bg-athens {
    background-image: url('/assets/athens.webp');
}

.bg-pylos {
    background-image: url('/assets/pylos.webp');
}

.bg-ancient-messene {
    background-image: url('/assets/messini.webp');
}

.bg-v-class {
    background-image: url('/assets/mercedes-black.webp');
}

.bg-s-class {
    background-image: url('/assets/mercedes-white.webp');
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out both;
}

.fade-in {
    animation: fadeIn 0.9s ease-out both;
}

.float-slow {
    animation: floatSlow 12s ease-in-out infinite;
}

.anim-delay-1500 {
    animation-delay: 1.5s;
}

.anim-delay-100 {
    animation-delay: 0.1s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes floatSlow {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(14px);
    }
}

.hero-home {
    transform: none;
    background-position: center 35%;
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.05) 100%);
}

.hero-overlay-destinations {
    background: linear-gradient(90deg, rgba(6, 12, 14, 0.85) 0%, rgba(6, 12, 14, 0.55) 50%, rgba(6, 12, 14, 0.2) 100%);
}


@media (max-width: 1024px) {
    .hero-image {
        transform: scale(1.03);
        background-position: center top;
    }

    .hero-home {
        transform: none;
        background-position: center 30%;
    }

    .fleet-hero-photo {
        transform: none;
        background-position: center 68%;
    }
}

@media (max-width: 640px) {
    .hero-image {
        transform: scale(1.015);
        background-position: center top;
    }

    .hero-home {
        transform: none;
        background-position: 65% 24%;
    }

    .fleet-hero-photo {
        transform: none;
        background-position: 65% 62%;
    }
}

.cards-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.cards-scroll::-webkit-scrollbar {
    display: none;
}

.cards-scroll > * {
    scroll-snap-stop: always;
}


html[lang="el"] .font-display {
    font-family: "Noto Serif", serif;
}

html[lang="el"] .font-body {
    font-family: "Noto Sans", sans-serif;
}

h1.font-display,
h2.font-display,
h3.font-display,
h4.font-display,
h5.font-display,
h6.font-display {
    font-weight: 700;
}

html[lang="el"] h1.font-display,
html[lang="el"] h2.font-display,
html[lang="el"] h5.font-display,
html[lang="el"] h6.font-display {
    font-weight: 700;
}

html[lang="el"] h3.font-display,
html[lang="el"] h4.font-display {
    font-weight: 800;
}

.newsletter-input:focus,
.newsletter-input:focus-visible {
    outline: none !important;
    border-color: rgba(211, 159, 76, 0.9) !important;
    box-shadow: 0 0 0 2px rgba(211, 159, 76, 0.75) !important;
}

.modal-open {
    overflow: hidden;
}

.lux-modal-backdrop {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(14, 24, 26, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 60;
}

.lux-modal-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.lux-modal {
    position: relative;
    width: 100%;
    max-width: 460px;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 30px 80px rgba(14, 24, 26, 0.45);
    padding: 30px 28px 24px;
    text-align: center;
    color: #0e181a;
    overflow: hidden;
}

.lux-modal::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    background: linear-gradient(90deg, rgba(18, 92, 109, 0.95) 0%, rgba(18, 92, 109, 0.7) 55%, rgba(211, 159, 76, 0.95) 100%);
    border-radius: 1.5rem 1.5rem 0 0;
}

.lux-modal-icon {
    width: 64px;
    height: 64px;
    margin: 6px auto 16px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(211, 159, 76, 0.2);
    color: #D39F4C;
    box-shadow: 0 18px 36px rgba(211, 159, 76, 0.25);
}

.lux-modal-icon span {
    font-size: 32px;
}

.lux-modal-icon--error {
    background: rgba(217, 83, 79, 0.18);
    color: #d9534f;
    box-shadow: 0 18px 36px rgba(217, 83, 79, 0.2);
}

.lux-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.lux-modal-text {
    font-size: 0.98rem;
    line-height: 1.6;
    color: #4b5a60;
}

.lux-modal-button {
    width: 100%;
    margin-top: 22px;
    border: 0;
    border-radius: 14px;
    background: #125c6d;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 14px 16px;
    box-shadow: 0 14px 30px rgba(18, 92, 109, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    outline: none;
}

.lux-modal-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(18, 92, 109, 0.35);
}

.lux-modal-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(18, 92, 109, 0.35);
}

.lux-modal-button:hover {
    background: #0d4350;
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(18, 92, 109, 0.32);
}

.lux-modal-button--error {
    background: #d9534f;
    box-shadow: 0 14px 30px rgba(217, 83, 79, 0.28);
}

.lux-modal-button--error:hover {
    background: #c84642;
    box-shadow: 0 16px 32px rgba(217, 83, 79, 0.32);
}
