:root {
    --navy: #071f4c;
    --navy-2: #0b2e67;
    --navy-3: #153d77;
    --teal: #d88700;
    --teal-dark: #a96100;
    --cream: #fbfaf7;
    --ink: #071f4c;
    --line: #e9e2d5;
    --shadow-sm: 0 4px 18px rgba(7, 31, 76, .07);
    --shadow-md: 0 18px 50px rgba(7, 31, 76, .14);
}

.matias-brand {
    display: inline-flex;
    align-items: center;
    color: var(--navy);
    min-width: max-content;
    line-height: 0;
}

.matias-brand:hover {
    color: var(--navy);
}

.matias-brand-logo {
    display: block;
    width: auto;
    height: 70px;
    max-width: 100%;
    object-fit: contain;
}

footer .matias-brand-logo {
    height: 104px;
    border-radius: 10px;
}

.auth-visual .matias-brand-logo {
    height: 92px;
    border-radius: 10px;
}

.auth-form .matias-brand-logo {
    height: 92px;
}

.hero {
    background-image:
        linear-gradient(180deg, rgba(7, 31, 76, .56) 0%, rgba(7, 31, 76, .28) 42%, rgba(7, 31, 76, .78) 100%),
        url('https://images.unsplash.com/photo-1708613425106-9223af36a327?auto=format&fit=crop&w=2200&q=88');
}

.hero .eyebrow {
    color: #ffd37e;
}

.btn-teal:hover {
    box-shadow: 0 12px 26px rgba(216, 135, 0, .3);
}

.matias-contact-link {
    color: inherit;
}

.matias-contact-link:hover {
    color: var(--teal-dark);
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1050;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #25d366;
    color: #fff;
    box-shadow: 0 12px 30px rgba(10, 70, 32, .28);
    transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(10, 70, 32, .36);
}

.whatsapp-float i {
    font-size: 1.8rem;
}

.sb-brand.matias-admin-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: #fff;
}

.matias-admin-logo {
    height: 58px;
    flex: 0 0 auto;
    border-radius: 8px;
}

.matias-admin-label {
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.team-section {
    background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.team-card {
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.team-photo {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #f4f1eb;
}

.team-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.team-card-body {
    padding: 1.35rem 1.25rem 1.5rem;
}

.team-card h3 {
    margin: 0 0 .5rem;
    color: var(--navy);
    font-size: 1.12rem;
    line-height: 1.35;
}

.team-role {
    min-height: 2.9em;
    margin: 0 0 1rem;
    color: var(--teal-dark);
    font-weight: 700;
    line-height: 1.45;
}

.team-languages {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    margin: 0;
    color: #617087;
    font-size: .9rem;
    line-height: 1.6;
}

.team-languages i {
    margin-top: .12rem;
    color: var(--teal-dark);
}

@media (max-width: 1199px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* İlk sürümde üyelik gerektiren ikincil özellikleri müşteriden gizliyoruz. */
.fav,
.write-box,
.ask-box {
    display: none !important;
}

@media (max-width: 575px) {
    .matias-brand-logo {
        height: 56px;
    }

    footer .matias-brand-logo {
        height: 90px;
    }

    .auth-visual .matias-brand-logo,
    .auth-form .matias-brand-logo {
        height: 78px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-card {
        max-width: 390px;
        margin: 0 auto;
    }
}

/* Responsive Matias Travel logo system */
.navbar .matias-brand-logo {
    height: 54px;
    max-width: 205px;
}

.matias-brand-logo--footer {
    height: 72px;
    max-width: 270px;
    border-radius: 0;
}

.auth-visual .matias-brand-logo--auth-dark,
.auth-form .matias-brand-logo--auth-light {
    height: 68px;
    max-width: 250px;
    border-radius: 0;
}

.sb-brand.matias-admin-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
}

.matias-admin-logo {
    height: 42px;
    max-width: 175px;
    border-radius: 0;
}

@media (max-width: 575px) {
    .navbar .matias-brand-logo {
        height: 45px;
        max-width: 170px;
    }

    .matias-brand-logo--footer {
        height: 62px;
        max-width: 235px;
    }

    .auth-visual .matias-brand-logo--auth-dark,
    .auth-form .matias-brand-logo--auth-light {
        height: 58px;
        max-width: 215px;
    }
}

/* About section */
.about-copy {
    max-width: 920px;
    margin-bottom: 3.5rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.85;
}

.about-copy p {
    margin-bottom: 1.15rem;
}

.about-copy p:last-child {
    margin-bottom: 0;
}

.about-reasons {
    padding-top: 2.25rem;
    border-top: 1px solid var(--line);
}

.about-reasons h3 {
    margin-top: .55rem;
    color: var(--navy);
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    font-weight: 700;
    letter-spacing: -.3px;
}



/* Licensed tour image attribution */
.tour-photo-credits {
    margin: -1.4rem 0 2.4rem;
    color: #6b7280;
    font-size: .76rem;
    line-height: 1.55;
}

.tour-photo-credits summary {
    width: fit-content;
    cursor: pointer;
    color: #7a8493;
    font-weight: 600;
}

.tour-photo-credits p {
    margin: .55rem 0 0;
}

.tour-photo-credits a {
    color: var(--teal-dark);
}


/* Keep existing booking and filter controls usable on narrow screens. */
#rezervasyon {
    scroll-margin-top: 90px;
}

@media (max-width: 991px) {
    .search-box .control,
    .filter-card input[type="text"],
    .book-card .form-control,
    .book-card .form-select,
    .sort-wrap select {
        min-width: 0;
        max-width: 100%;
        font-size: 16px;
    }

    .counter button {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        touch-action: manipulation;
    }

    .counter-row {
        gap: .75rem;
        flex-wrap: wrap;
    }

    .counter {
        flex-shrink: 0;
    }

    .trust {
        flex-wrap: wrap;
        gap: .5rem 1rem;
    }

    .date-opt {
        flex-wrap: wrap;
        gap: .4rem .75rem;
    }

    .summary .row-line {
        gap: .75rem;
    }

    .summary .row-line b {
        flex-shrink: 0;
    }

    #reservationModal .modal-body {
        overflow-wrap: anywhere;
    }
}

@media (max-width: 575px) {
    .toolbar > .d-flex {
        flex-wrap: wrap;
        max-width: 100%;
    }

    .sort-wrap,
    .sort-wrap select {
        min-width: 0;
        max-width: 100%;
    }

    .book-card {
        padding: 1.25rem 1rem;
    }

    .date-opt.daily-date-opt {
        grid-template-columns: minmax(0, 1fr);
    }

    .date-opt.daily-date-opt .left {
        grid-column: 1;
        grid-row: 3;
        text-align: left;
    }
}
