/* ============================================================
   Anas Tour — Classic Travel Agency Theme
   Palette: Deep Royal Navy #0F2546 · Metallic Gold #C5A059 /
   #D4AF37 · Ivory #F9F9F6 · Charcoal #0A192F
   ============================================================ */

:root {
    --navy: #0f2546;
    --navy-deep: #0a192f;
    --navy-soft: #14315c;
    --gold: #c5a059;
    --gold-bright: #d4af37;
    --ivory: #f9f9f6;
    --white: #ffffff;
    --charcoal: #0a192f;
    --muted: #5b6472;
    --line: rgba(197, 160, 89, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    color: var(--charcoal);
    background-color: var(--ivory);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.display-serif {
    font-family: "Playfair Display", Georgia, serif;
    letter-spacing: 0.2px;
}

a {
    text-decoration: none;
}

.text-gold {
    color: var(--gold-bright);
}

.bg-navy {
    background-color: var(--navy);
}

/* -------- Section framing -------- */
.section {
    padding: 5.5rem 0;
}

.section-label {
    display: inline-block;
    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    color: var(--navy);
    margin-bottom: 1rem;
}

.gold-divider {
    width: 70px;
    height: 2px;
    background: var(--gold);
    position: relative;
    margin: 0.5rem 0 1.5rem;
}

.gold-divider.center {
    margin-left: auto;
    margin-right: auto;
}

.gold-divider::before,
.gold-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    transform: translateY(-50%);
}

.gold-divider::before {
    left: -14px;
}

.gold-divider::after {
    right: -14px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar-anas {
    background-color: var(--navy);
    border-bottom: 2px solid var(--gold);
    padding: 0.6rem 0;
    box-shadow: 0 4px 18px rgba(10, 25, 47, 0.18);
}

.navbar-anas .brand-logo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    object-fit: cover;
}

.navbar-anas .brand-name {
    font-family: "Playfair Display", serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
}

.navbar-anas .brand-name span {
    color: var(--gold-bright);
}

.navbar-anas .brand-sub {
    display: block;
    font-family: "Inter", sans-serif;
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
}

.navbar-anas .nav-link {
    color: rgba(255, 255, 255, 0.82) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.9rem !important;
    position: relative;
}

.navbar-anas .nav-link::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.35rem;
    height: 1.5px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.navbar-anas .nav-link:hover,
.navbar-anas .nav-link.active {
    color: var(--white) !important;
}

.navbar-anas .nav-link:hover::after,
.navbar-anas .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-anas .navbar-toggler {
    border-color: var(--gold);
}

.navbar-anas .navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem rgba(197, 160, 89, 0.4);
}

.lang-switch .btn {
    color: var(--gold-bright);
    border: 1px solid var(--line);
    background: transparent;
    font-size: 0.85rem;
    font-weight: 600;
}

.lang-switch .btn:hover {
    background: rgba(197, 160, 89, 0.12);
    color: var(--gold-bright);
}

.lang-switch .dropdown-menu {
    background: var(--navy-soft);
    border: 1px solid var(--line);
    min-width: 7rem;
}

.lang-switch .dropdown-item {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
}

.lang-switch .dropdown-item:hover,
.lang-switch .dropdown-item.active {
    background: rgba(197, 160, 89, 0.18);
    color: var(--gold-bright);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-gold {
    background-color: var(--gold);
    color: var(--navy-deep);
    font-weight: 600;
    border: 1px solid var(--gold);
    border-radius: 2px;
    padding: 0.7rem 1.6rem;
    letter-spacing: 0.4px;
    transition: all 0.25s ease;
}

.btn-gold:hover {
    background-color: var(--gold-bright);
    border-color: var(--gold-bright);
    color: var(--navy-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.35);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold-bright);
    border: 1px solid var(--gold);
    border-radius: 2px;
    padding: 0.7rem 1.6rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    transition: all 0.25s ease;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--navy-deep);
    transform: translateY(-2px);
}

.btn-outline-navy {
    background: transparent;
    color: var(--navy);
    border: 1px solid var(--navy);
    border-radius: 2px;
    padding: 0.6rem 1.4rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.btn-outline-navy:hover {
    background: var(--navy);
    color: var(--white);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    background-color: var(--navy-deep);
    color: var(--white);
    padding: 7rem 0 6rem;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(10, 25, 47, 0.92) 0%,
            rgba(10, 25, 47, 0.7) 55%,
            rgba(10, 25, 47, 0.4) 100%),
        url("../images/hero.png") center / cover no-repeat;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    color: var(--gold-bright);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
}

.hero h1 {
    font-size: clamp(2.3rem, 5.5vw, 4rem);
    line-height: 1.12;
    margin: 1rem 0;
}

.hero h1 .gold-word {
    color: var(--gold-bright);
}

.hero p.lead {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.15rem;
    max-width: 32rem;
}

.hero-frame {
    border: 1px solid var(--line);
    padding: 2.5rem;
    position: relative;
}

.hero-stats {
    border-top: 1px solid var(--line);
    margin-top: 3rem;
    padding-top: 1.8rem;
}

.hero-stats .num {
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    color: var(--gold-bright);
    font-weight: 700;
}

.hero-stats .lbl {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card {
    background: var(--white);
    border: 1px solid #ece7db;
    border-top: 3px solid var(--gold);
    padding: 2.4rem 1.8rem;
    height: 100%;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(10, 25, 47, 0.12);
    border-color: var(--gold);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--gold);
    margin-bottom: 1.4rem;
}

.service-icon svg {
    width: 30px;
    height: 30px;
}

.service-card h3 {
    font-size: 1.35rem;
    color: var(--navy);
    margin-bottom: 0.6rem;
}

.service-card p {
    color: var(--muted);
    margin: 0;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-img-wrap {
    position: relative;
    padding: 14px;
}

.about-img-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--gold);
    transform: translate(16px, 16px);
    z-index: 0;
}

.about-img-wrap img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trust-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.4rem;
}

.trust-item .t-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: var(--gold-bright);
    border-radius: 50%;
}

.trust-item h4 {
    font-size: 1.05rem;
    margin: 0 0 0.15rem;
    color: var(--navy);
}

.trust-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

/* ============================================================
   TOUR CARDS
   ============================================================ */
.tour-card {
    background: var(--white);
    border: 1px solid #ece7db;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tour-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(10, 25, 47, 0.15);
    border-color: var(--gold);
}

.tour-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.tour-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tour-card:hover .tour-media img {
    transform: scale(1.06);
}

.tour-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gold);
    color: var(--navy-deep);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 0.28rem 0.7rem;
}

.tour-badge.sale {
    background: var(--navy);
    color: var(--gold-bright);
    border: 1px solid var(--gold);
}

.tour-body {
    padding: 1.4rem 1.4rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tour-region {
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
}

.tour-body h3 {
    font-size: 1.3rem;
    color: var(--navy);
    margin: 0.35rem 0 0.6rem;
}

.tour-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--muted);
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

.tour-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #ece7db;
    padding-top: 1rem;
}

.tour-price {
    font-family: "Playfair Display", serif;
    font-size: 1.4rem;
    color: var(--navy);
    font-weight: 700;
}

.tour-price small {
    display: block;
    font-family: "Inter", sans-serif;
    font-size: 0.7rem;
    color: var(--muted);
    letter-spacing: 0.5px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-info-card {
    background: var(--navy);
    color: var(--white);
    padding: 2.6rem;
    height: 100%;
    border-top: 3px solid var(--gold);
}

.contact-info-card h3 {
    color: var(--white);
}

.contact-line {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-line .c-icon {
    color: var(--gold-bright);
    flex: 0 0 auto;
}

.contact-line .c-label {
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold);
}

.contact-line a,
.contact-line span {
    color: rgba(255, 255, 255, 0.9);
}

.contact-form-card {
    background: var(--white);
    border: 1px solid #ece7db;
    padding: 2.6rem;
    height: 100%;
}

.form-control,
.form-select {
    border-radius: 2px;
    border: 1px solid #d9d3c5;
    padding: 0.7rem 0.9rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.15rem rgba(197, 160, 89, 0.2);
}

.form-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.3px;
}

/* ============================================================
   TELEGRAM FLOAT + TOAST
   ============================================================ */
.tg-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy-deep);
    display: grid;
    place-items: center;
    z-index: 1000;
    box-shadow: 0 8px 22px rgba(10, 25, 47, 0.3);
    transition: transform 0.25s ease;
}

.tg-float:hover {
    transform: scale(1.08);
    color: var(--navy-deep);
}

/* ============================================================
   PAGE HEADER (tours.html)
   ============================================================ */
.page-header {
    background-color: var(--navy-deep);
    color: var(--white);
    padding: 6rem 0 4rem;
    position: relative;
    border-bottom: 2px solid var(--gold);
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(10, 25, 47, 0.82), rgba(10, 25, 47, 0.9)),
        url("../images/europe.png") center / cover no-repeat;
    opacity: 0.9;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    color: var(--white);
}

.page-header h1 span {
    color: var(--gold-bright);
}

.breadcrumb-anas {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.breadcrumb-anas a {
    color: var(--gold-bright);
}

/* -------- Filters -------- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 2.8rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid #d9d3c5;
    color: var(--navy);
    padding: 0.5rem 1.3rem;
    border-radius: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.filter-btn.active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--gold-bright);
}

/* -------- Pagination -------- */
.pagination-anas {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination-anas button {
    min-width: 44px;
    height: 44px;
    border: 1px solid #d9d3c5;
    background: var(--white);
    color: var(--navy);
    font-weight: 600;
    border-radius: 2px;
    transition: all 0.2s ease;
}

.pagination-anas button:hover:not(:disabled) {
    border-color: var(--gold);
    color: var(--gold);
}

.pagination-anas button.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy-deep);
}

.pagination-anas button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-anas {
    background-color: var(--navy-deep);
    color: rgba(255, 255, 255, 0.75);
    padding: 3.5rem 0 1.5rem;
    border-top: 2px solid var(--gold);
}

.footer-anas h5 {
    color: var(--white);
    font-family: "Playfair Display", serif;
    margin-bottom: 1.1rem;
}

.footer-anas a {
    color: rgba(255, 255, 255, 0.72);
    transition: color 0.2s ease;
}

.footer-anas a:hover {
    color: var(--gold-bright);
}

.footer-anas .footer-brand {
    font-family: "Playfair Display", serif;
    font-size: 1.4rem;
    color: var(--white);
}

.footer-anas .footer-brand span {
    color: var(--gold-bright);
}

.footer-social a {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    margin-right: 0.5rem;
    color: var(--gold-bright);
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--navy-deep);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2.5rem;
    padding-top: 1.4rem;
    font-size: 0.85rem;
}

/* -------- Reveal animation -------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 767px) {
    .section {
        padding: 3.5rem 0;
    }

    .hero {
        padding: 5rem 0 4rem;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 1.8rem;
    }
}