/* style.css – Thème NEVO (nevo-abv.com) */

:root {
    --primary-color: #265a59;     /* Deep Teal Green */
    --accent-color: #f5d755;      /* Gold Yellow */
    --accent-hover: #e0be30;
    --peach: #f2c8b3;             /* Peach/Soft icon */
    --bg-color: #ebefef;          /* Soft background */
    --bg-dark: #265a59;           
    --card-bg: rgba(255, 255, 255, 0.88);
    --text-main: #1f4a49;
    --text-muted: #5e7e7d;
    --border-color: rgba(38, 90, 89, 0.15);
    --error-color: #ce4242;
    --success-color: #5ba9cb;     /* Secondary Cyan/Blue for success */
    --radius-pill: 50px;
    --radius-card: 14px;
    --shadow: 0 6px 30px rgba(26, 62, 76, 0.1);

    font-family: 'Heebo', 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
    position: relative;
}

/* =====================
   Background decorative
   ===================== */
.background-animations {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: url('https://www.nevo-abv.com/wp-content/uploads/2026/02/shoootin-photo-28-scaled.jpg') center/cover no-repeat fixed;
    overflow: hidden;
}
.background-animations::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(38, 90, 89, 0.45);
    z-index: 0;
}
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.35;
    animation: floatBg 18s infinite ease-in-out alternate;
}
.orb-1 { width: 450px; height: 450px; background: #E8C84A; top: -120px; left: -120px; animation-delay: 0s; }
.orb-2 { width: 500px; height: 500px; background: #1A3E4C; bottom: -200px; right: -100px; animation-delay: -6s; opacity: 0.12; }
.orb-3 { width: 300px; height: 300px; background: #E5B299; top: 50%; left: 55%; animation-delay: -12s; opacity: 0.25; }

@keyframes floatBg {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(80px, 50px) scale(1.08); }
}

/* =====================
   App & Progress
   ===================== */
.app-container {
    width: 100%;
    max-width: 620px;
    position: relative;
    z-index: 1;
}

/* NEVO Top Bar style */
.app-top-bar {
    background: rgba(245, 215, 85, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-align: center;
    padding: 16px 20px;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    margin-bottom: 0;
}
.header-logo {
    height: 40px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.notification-banner {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid rgba(38, 90, 89, 0.1);
}

.progress-container {
    background: var(--accent-color);
    height: 6px;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 0;
    transition: opacity 0.3s ease, height 0.3s ease;
}
.progress-container.hidden {
    opacity: 0;
    height: 0;
}
.progress-bar {
    height: 100%;
    width: 0%;
    background: var(--primary-color);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================
   Step Cards
   ===================== */
.step-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 40px;
    display: none;
    flex-direction: column;
    border-radius: 0 0 var(--radius-card) var(--radius-card);
    box-shadow: var(--shadow);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.step-card.active {
    display: flex;
}

.step-header {
    margin-bottom: 28px;
    text-align: center;
}

.main-logo {
    display: block;
    max-width: 140px;
    height: auto;
    margin: 0 auto 20px auto;
}

.brand-title {
    font-family: 'Heebo', 'Inter', sans-serif;
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

h2 {
    font-family: 'Heebo', 'Inter', sans-serif;
    font-size: 1.6rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 4px;
}

h3 {
    font-family: 'Heebo', 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.subtitle {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* =====================
   Forms
   ===================== */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
}

label {
    display: block;
    margin-bottom: 7px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 13px 18px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-pill);
    font-family: 'Heebo', 'Inter', sans-serif;
    font-size: 0.97rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-main);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231A3E4C' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    padding-left: 44px;
}

textarea {
    border-radius: 12px;
    resize: vertical;
    min-height: 80px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(38, 90, 89, 0.12);
}

.mb-xl {
    margin-bottom: 26px;
}

/* =====================
   Selection Grid
   ===================== */
.selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 14px;
    margin-top: 10px;
}
.selection-card {
    cursor: pointer;
    position: relative;
    display: block;
}
.selection-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.selection-card .card-content {
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid var(--border-color);
    border-radius: 14px;
    padding: 16px 10px;
    text-align: center;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    height: 100%;
}
.selection-card .card-content svg {
    color: var(--primary-color);
    transition: all 0.25s ease;
}
.selection-card .card-content span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.2;
}
.selection-card:hover .card-content {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.85);
}
.selection-card input[type="radio"]:checked + .card-content {
    border-color: var(--accent-color);
    background: #fff;
    box-shadow: 0 6px 20px rgba(245, 215, 85, 0.25);
    transform: translateY(-2px);
}
.selection-card input[type="radio"]:checked + .card-content svg {
    color: var(--accent-color);
    filter: drop-shadow(0 2px 4px rgba(245, 215, 85, 0.4));
}

.error-msg {
    color: var(--error-color);
    font-size: 0.82rem;
    margin-top: 6px;
    display: none;
    animation: slideUpIn 0.25s ease;
}

@keyframes slideUpIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =====================
   Buttons
   ===================== */
button {
    cursor: pointer;
    font-family: 'Heebo', 'Inter', sans-serif;
    font-weight: 600;
    transition: all 0.25s ease;
    border: none;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Primary – Teal pill */
.btn-primary {
    background: var(--primary-color);
    color: #fff;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-size: 0.97rem;
    width: 100%;
    letter-spacing: 0.2px;
}
.btn-primary:hover:not(:disabled) {
    background: #14303c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 62, 76, 0.2);
}
.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Secondary – ghost text */
.btn-secondary {
    background: transparent;
    color: var(--text-muted);
    padding: 14px 20px;
    font-size: 0.95rem;
    border-radius: var(--radius-pill);
}
.btn-secondary:hover {
    color: var(--primary-color);
    background: rgba(26, 62, 76, 0.05);
}

/* Outline – dashed gold, add passenger */
.btn-outline {
    background: transparent;
    border: 2px dashed var(--accent-color);
    color: var(--primary-color);
    padding: 12px 22px;
    border-radius: var(--radius-pill);
    width: 100%;
    margin-top: 8px;
    font-weight: 600;
}
.btn-outline:hover {
    background: rgba(232, 200, 74, 0.1);
    border-color: var(--accent-hover);
}

/* Icon button – remove passenger */
.btn-icon {
    background: transparent;
    color: var(--error-color);
    padding: 6px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
}
.btn-icon:hover {
    background: rgba(206, 66, 66, 0.1);
}

/* Step Actions row */
.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}
.step-actions .btn-primary {
    width: auto;
    min-width: 130px;
}

/* =====================
   Passenger / Dietary Cards
   ===================== */
.passengers-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.passenger-card,
.dietary-card {
    background: #f8fafb;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.passenger-card:hover,
.dietary-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 14px rgba(26, 62, 76, 0.07);
}

.passenger-header,
.dietary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 4px;
}

.passenger-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.passenger-chip {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* =====================
   Passport Style Cards
   ===================== */
.passport-body {
    display: flex;
    gap: 16px;
    margin-top: 10px;
    position: relative;
    background: url('https://www.nevo-abv.com/wp-content/uploads/2022/03/logo.svg') no-repeat center center;
    background-size: 80% auto;
}
.passport-body::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.94);
    z-index: 0;
}
.passport-photo-area {
    width: 90px;
    height: 120px;
    background: rgba(38, 90, 89, 0.04);
    border: 2px dashed var(--accent-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.passport-fields {
    flex-grow: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    position: relative;
    z-index: 1;
}
.passport-fields .form-group {
    margin-bottom: 0;
}
.passport-fields label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 2px;
    text-transform: uppercase;
}
.passport-fields input {
    background: transparent;
    border: none;
    border-bottom: 1.5px solid var(--border-color);
    border-radius: 0;
    padding: 6px 4px;
    font-family: monospace;
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: bold;
    letter-spacing: 0.5px;
    width: 100%;
}
.passport-fields input:focus {
    box-shadow: none;
    border-color: var(--accent-color);
    background: rgba(245, 215, 85, 0.08);
}
.mrz-line {
    font-family: monospace;
    font-size: 0.8rem;
    letter-spacing: 2.2px;
    color: var(--text-muted);
    margin-top: 15px;
    text-align: center;
    border-top: 1px dashed var(--border-color);
    padding-top: 12px;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0.8;
}

.contact-chip {
    background: var(--accent-color);
    color: var(--primary-color);
    font-size: 0.68rem;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* =====================
   Select Premium
   ===================== */
.select-premium {
    /* inherits from select above */
}

.textarea-premium {
    /* inherits from textarea above */
}

/* =====================
   Success Screen
   ===================== */
.success-icon {
    width: 88px;
    height: 88px;
    background: rgba(46, 139, 87, 0.1);
    color: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.animate-success {
    animation: scaleIn 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

/* Pulsing confirm button */
.pulse-btn {
    animation: pulseTeal 2s infinite;
}
@keyframes pulseTeal {
    0%   { box-shadow: 0 0 0 0 rgba(26, 62, 76, 0.45); }
    70%  { box-shadow: 0 0 0 10px rgba(26, 62, 76, 0); }
    100% { box-shadow: 0 0 0 0 rgba(26, 62, 76, 0); }
}

/* =====================
   Utilities
   ===================== */
.hidden       { display: none !important; }
.mt-sm        { margin-top: 10px; }
.mt-md        { margin-top: 20px; }
.mt-lg        { margin-top: 32px; }
.text-center  { text-align: center; }

.fade-in {
    animation: fadeUp 0.35s ease forwards;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =====================
   Responsive (Mobile)
   ===================== */
@media (max-width: 600px) {
    body { padding: 0; }
    .app-container::before { border-radius: 0; }
    .step-card { padding: 28px 18px; border-radius: 0; }
    .form-grid { grid-template-columns: 1fr; gap: 0; }
    .step-actions { flex-direction: column-reverse; gap: 10px; }
    .step-actions .btn-primary,
    .step-actions .btn-secondary { width: 100%; justify-content: center; }
}
