/* =========================================
   RESET & BAZA
========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    color: #002540;
    line-height: 1.5;
}


/* =========================================
   HEADER
========================================= */

.header {
    background: #002540;
    color: #ffffff;
    padding: 30px 20px;
}

.header-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;

    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;

    gap: 35px;
}


/* =========================================
   LOGO HEADER
========================================= */

.header-logo-column {
    flex: 0 0 260px;
    width: 260px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo {
    display: block;
}

.header-logo img {
    display: block;
    width: 100%;
    max-width: 220px;
    height: auto;
}


/* =========================================
   CONTINUT HEADER
========================================= */

.header-content {
    flex: 1 1 auto;
    min-width: 0;

    padding-left: 35px;
    border-left: 1px solid rgba(255, 255, 255, 0.25);

    text-align: left;
}

.header-content h1 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 34px;
    line-height: 1.2;
}

.header-content p {
    margin: 0;
    max-width: 700px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}


/* =========================================
   CONTAINER
========================================= */

.container {
    width: 100%;
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}


/* =========================================
   FILTRE
========================================= */

.filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 25px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    color: #002540;
    font-size: 14px;
    font-weight: 700;
}

.filter-group select {
    min-width: 230px;
    padding: 12px 18px;

    border: 1px solid #d9e0e5;
    border-radius: 6px;

    background: #ffffff;
    color: #002540;

    font-size: 15px;
    cursor: pointer;
}


/* =========================================
   TABEL
========================================= */

.table-wrapper {
    width: 100%;
    overflow-x: auto;

    background: #ffffff;
    border-radius: 12px;

    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

table {
    width: 100%;
    min-width: 1400px;
    border-collapse: collapse;
}

thead {
    background: #002540;
    color: #ffffff;
}

th {
    padding: 17px 15px;

    text-align: left;

    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;

    letter-spacing: 0.5px;
    white-space: nowrap;
}

td {
    padding: 14px 15px;

    border-bottom: 1px solid #e8ecef;

    vertical-align: middle;
}

tbody tr {
    transition: background 0.2s ease;
}

tbody tr:hover {
    background: #f8fbfc;
}

tbody tr:last-child td {
    border-bottom: none;
}


/* =========================================
   IMAGINE CIRCUIT
========================================= */

.thumb {
    display: block;

    width: 115px;
    height: 72px;

    object-fit: cover;
    border-radius: 6px;
}


/* =========================================
   NUME CIRCUIT
========================================= */

.tour-name {
    min-width: 220px;

    color: #002540;

    font-size: 15px;
    font-weight: 700;
}


/* =========================================
   DESTINATIE
========================================= */

.destination {
    min-width: 130px;

    font-size: 14px;
    white-space: nowrap;
}


/* =========================================
   PERIOADA CIRCUIT
========================================= */

.tour-period {
    min-width: 220px;

    color: #002540;

    font-weight: 600;
    white-space: nowrap;
}


/* =========================================
   TARIF
========================================= */

.price {
    min-width: 140px;
    white-space: nowrap;
}

.price strong {
    color: #002540;
    font-size: 16px;
}


/* =========================================
   COMISION
========================================= */

.commission {
    min-width: 140px;
    white-space: nowrap;
}

.commission strong {
    display: inline-block;

    padding: 7px 12px;

    border-radius: 20px;

    background: #e8f7f7;
    color: #002540;

    font-size: 14px;
}


/* =========================================
   BUTOANE
========================================= */

.btn {
    display: inline-block;

    padding: 10px 14px;

    border-radius: 5px;

    color: #ffffff !important;
    text-decoration: none;

    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;

    white-space: nowrap;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-image {
    background: #39BFC6;
}

.btn-program {
    background: linear-gradient(
        90deg,
        #F9612E,
        #FDB841
    );
}


/* =========================================
   FARA REZULTATE
========================================= */

.no-results {
    display: none;

    padding: 35px 20px;

    background: #ffffff;

    text-align: center;

    color: #002540;
    font-weight: 600;
}


/* =========================================
   INFORMATII COMERCIALE
========================================= */

.info-section {
    margin-top: 45px;
    padding: 40px;

    background: #ffffff;

    border-radius: 12px;

    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.info-section h2 {
    margin: 0 0 15px;

    color: #002540;

    font-size: 27px;
}

.info-section h3 {
    margin: 35px 0 15px;

    color: #002540;

    font-size: 20px;
}

.info-section p {
    margin: 0 0 15px;
    line-height: 1.7;
}


/* =========================================
   ALERTA INFORMATIVA
========================================= */

.info-alert {
    margin: 20px 0;
    padding: 18px 20px;

    border-left: 4px solid #F9612E;

    background: #fff8f4;

    line-height: 1.6;
}


/* =========================================
   BONUSURI
========================================= */

.bonus-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 20px;

    margin-top: 20px;
}

.bonus-card {
    padding: 25px;

    border-radius: 10px;

    background: #002540;
    color: #ffffff;
}

.bonus-card h4 {
    margin: 0 0 12px;

    color: #FDB841;

    font-size: 19px;
}

.bonus-card p {
    margin: 0;

    color: #ffffff;

    line-height: 1.6;
}


/* =========================================
   BONUS BUN VENIT
========================================= */

.welcome-bonus {
    margin-top: 30px;
    padding: 25px;

    border-radius: 10px;

    background: linear-gradient(
        90deg,
        #F9612E,
        #FDB841
    );

    color: #ffffff;
}

.welcome-bonus h3 {
    margin: 0 0 10px;

    color: #ffffff;
}

.welcome-bonus p {
    margin: 0;

    font-size: 16px;
    line-height: 1.6;
}


/* =========================================
   CONTACT
========================================= */

.contact-section {
    margin-top: 45px;
    padding: 40px;

    background: #002540;

    border-radius: 12px;

    color: #ffffff;
}

.contact-section h2 {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: 27px;
}

.contact-section > p {
    margin: 0 0 25px;

    color: rgba(255, 255, 255, 0.85);

    line-height: 1.6;
}


/* GRID CONTACT */

.contact-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 20px;
}


/* CARD CONTACT */

.contact-item {
    padding: 22px;

    border-radius: 8px;

    background: rgba(255, 255, 255, 0.08);
}


/* ICON */

.contact-icon {
    margin-bottom: 10px;

    font-size: 25px;
}


/* ETICHETA */

.contact-label {
    margin-bottom: 8px;

    color: #39BFC6;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* VALORI CONTACT */

.contact-value {
    color: #ffffff;

    font-size: 16px;
    font-weight: 700;
}


/* LINKURI CONTACT */

.contact-links {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.contact-links a {
    display: inline-block;

    color: #ffffff;

    text-decoration: none;

    transition: color 0.2s ease;
}

.contact-links a:hover {
    color: #FDB841;
}


/* FOOTER CONTACT */

.contact-footer {
    margin-top: 30px;
    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.15);

    text-align: center;

    line-height: 1.7;

    color: rgba(255, 255, 255, 0.9);
}


/* =========================================
   RESPONSIVE TABLET
========================================= */

@media (max-width: 900px) {

    .header-inner {
        gap: 25px;
    }

    .header-logo-column {
        flex-basis: 220px;
        width: 220px;
    }

    .header-content {
        padding-left: 25px;
    }

    .header-content h1 {
        font-size: 30px;
    }

}


/* =========================================
   RESPONSIVE MOBIL
========================================= */

@media (max-width: 768px) {

    /* HEADER */

    .header {
        padding: 25px 20px;
    }

    .header-inner {
        flex-direction: column !important;

        gap: 20px;

        text-align: center;
    }

    .header-logo-column {
        flex: none;
        width: 100%;
    }

    .header-logo img {
        max-width: 180px;
    }

    .header-content {
        width: 100%;

        padding-left: 0;
        padding-top: 20px;

        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.25);

        text-align: center;
    }

    .header-content h1 {
        font-size: 27px;
    }

    .header-content p {
        margin: 0 auto;
    }


    /* CONTAINER */

    .container {
        margin: 25px auto;

        padding: 0 12px;
    }


    /* FILTRE */

    .filters {
        flex-direction: column;

        align-items: stretch;
    }

    .filter-group {
        width: 100%;
    }

    .filter-group select {
        width: 100%;
        min-width: 0;
    }


    /* TABEL */

    .table-wrapper {
        border-radius: 8px;
    }


    /* SECTIUNI */

    .info-section,
    .contact-section {
        margin-top: 30px;
        padding: 25px 20px;
    }

    .info-section h2,
    .contact-section h2 {
        font-size: 23px;
    }


    /* BONUSURI */

    .bonus-grid {
        grid-template-columns: 1fr;
    }


    /* CONTACT */

    .contact-grid {
        grid-template-columns: 1fr;
    }

}

/* =========================================
   ECRAN PAROLA
========================================= */

#protected-content {
    display: none;
}

#password-screen {
    position: fixed;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: #002540;

    z-index: 99999;
}

.password-box {
    width: 100%;
    max-width: 440px;

    padding: 40px;

    background: #ffffff;

    border-radius: 12px;

    text-align: center;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.password-logo {
    display: block;

    width: 100%;
    max-width: 200px;
    height: auto;

    margin: 0 auto 25px;
}

.password-box h1 {
    margin: 0 0 10px;

    color: #002540;

    font-size: 27px;
}

.password-box p {
    margin: 0 0 25px;

    color: #53636d;

    line-height: 1.6;
}

#password-input {
    width: 100%;

    padding: 14px 16px;

    border: 1px solid #d9e0e5;
    border-radius: 6px;

    font-size: 16px;
}

.password-box button {
    width: 100%;

    margin-top: 15px;
    padding: 14px;

    border: none;
    border-radius: 6px;

    background: #F9612E;
    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
}

.password-box button:hover {
    opacity: 0.9;
}

#password-error {
    display: none;

    margin-top: 15px !important;

    color: #d63637 !important;

    font-size: 14px;
}


/* =========================================
   RESPONSIVE TELEFOANE MICI
========================================= */

@media (max-width: 480px) {

    .header-content h1 {
        font-size: 24px;
    }

    .header-content p {
        font-size: 14px;
    }

    .header-logo img {
        max-width: 160px;
    }

    .info-section,
    .contact-section {
        padding: 22px 16px;
    }

    .bonus-card,
    .welcome-bonus,
    .contact-item {
        padding: 20px;
    }

}