:root {
    /* Civitatis-like theme */
    --brand-pink: #dc3545;
    --brand-pink-600: #dc3545;
    --brand-pink-700: #dc3545;
    --brand-green: #1d553c;
    --brand-dark: #1f1f1f;
    --brand-gray: #f5f5f7;
    --brand-muted: #6c757d;
    --radius-lg: 14px;
}

html, body {
    height: 100%;
}

body {
    font-family: 'IRANSansWeb', system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
    background: #fff;
    color: #222;
}

a {
    text-decoration: none !important;
    color: #222!important;
}

/* Brand helpers */
.bg-brand {
    background-color: var(--brand-pink) !important;
}

.text-brand {
    color: var(--brand-pink) !important;
}

.text-green {
    color: var(--brand-green) !important;
}

.btn-brand {
    background-color: var(--brand-pink);
    border-color: var(--brand-pink);
    color: #fff!important;
}

    .btn-brand:hover {
        background-color: var(--brand-pink-600);
        border-color: var(--brand-pink-600);
    }

.btn-outline-brand {
    color: var(--brand-pink); 
    border-color: var(--brand-pink);
}

    .btn-outline-brand:hover {
        background-color: var(--brand-pink);
        color: #fff!important;
    }

.bg-brand-green {
    background-color: var(--brand-green) !important;
}

/* Header */
.navbar-brand {
    font-weight: 900;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    color: var(--brand-pink) !important;
}

.navbar {
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

/* Hero */
.hero {
    position: relative;
    background: linear-gradient(180deg, rgba(225,0,115,0.12), rgba(225,0,115,0.02)), url('../img/hero.jpg') center/cover no-repeat;
    min-height: 64vh;
    display: flex;
    align-items: center;
    color: #fff;
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
    overflow: hidden;
}

    .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(31,31,31,0.55) 0%, rgba(31,31,31,0.25) 40%, rgba(31,31,31,0.65) 100%);
    }

.hero-content {
    position: relative;
    z-index: 2;
}

.search-card {
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    padding: .25rem;
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
}

.search-form {
    display: flex;
    align-items: baseline;
    gap: .25rem;
}

    .search-form .input-wrap {
        flex: 1 1 auto;
        display: flex;
        align-items: center;
        gap: .5rem;
        padding: .25rem .75rem;
    }

        .search-form .input-wrap .icon {
            color: var(--brand-muted);
        }

    .search-form .form-control {
        border: none;
        box-shadow: none;
        padding: 0 .25rem;
        font-size: 0.9rem;
        height: 52px;
    }

    .search-form .btn {
        height: 52px;
        border-radius: 999px;
        padding-inline: 1.25rem;
    }

/* Category chips */
.cat-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #fff;
    color: #333;
    border-radius: 999px;
    padding: .5rem .9rem;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    border: 1px solid #eee;
}

    .cat-chip:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 22px rgba(0,0,0,0.10);
    }

/* Cards */
.deal-card, .dest-card {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

    .deal-card .badge, .dest-card .badge {
        font-weight: 600;
    }

.rating {
    color: #f59e0b;
}
/* Equalize card image heights and card heights */
.card-img-top {
    height: 220px;
    object-fit: cover;
}

.card.h-100 {
    display: flex;
    flex-direction: column;
}

.card-body {
    display: flex;
    flex-direction: column;
}

    .card-body .card-footer-row {
        margin-top: auto;
    }

.card-title {
    min-height: 2.5rem;
}

/* Sections */
.section-muted {
    background: var(--brand-gray);
}

/*Tours*/
.sub-hero {
    background: linear-gradient(180deg, rgba(225,0,115,0.06), rgba(225,0,115,0.02));
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
}


.filters-bar {
    position: sticky;
    top: 64px;
    z-index: 5;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: .5rem .75rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* Footer */
footer a{
    color:white!important;
}



.footer-top {
    background: #111;
    color: #ddd;
}

    .footer-top a {
        color: #ddd;
        text-decoration: none;
    }

        .footer-top a:hover {
            color: #fff;
        }

.footer-bottom {
    background: #0b0b0b;
    color: #aaa;
}

/* Utilities */
.max-w-3xl {
    max-width: 900px;
}

.max-w-5xl {
    max-width: 1200px;
}


/* Tour Deatils */
/* Hero Image */
.hero-image {
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease;
}

    .gallery-item:hover {
        transform: scale(1.05);
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Price Section */
.price-section {
    background: linear-gradient(135deg, var(--brand-pink), var(--brand-pink-600));
    color: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.price-original {
    text-decoration: line-through;
    opacity: 0.7;
    font-size: 0.9rem;
}

.price-current {
    font-size: 2rem;
    font-weight: 900;
}

.price-discount {
    background: var(--brand-green);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Info Cards */
.info-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

    .info-card .icon {
        width: 48px;
        height: 48px;
        background: var(--brand-gray);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--brand-pink);
        font-size: 1.5rem;
    }

/* Includes/Excludes */
.includes-list, .excludes-list {
    list-style: none;
    padding: 0;
}

    .includes-list li, .excludes-list li {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.5rem 0;
    }

        .includes-list li i {
            color: #10b981;
            font-size: 1.1rem;
        }

        .excludes-list li i {
            color: #ef4444;
            font-size: 1.1rem;
        }

/* Requirements */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.requirement-item {
    background: var(--brand-gray);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

/* Sticky Booking */
.sticky-booking {
    position: sticky;
    top: 80px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* Counter Buttons */
.counter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--brand-gray);
    border-radius: 8px;
    padding: 0.5rem;
}

.counter-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: var(--brand-pink);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .counter-btn:hover {
        background: var(--brand-pink-600);
    }

    .counter-btn:disabled {
        background: #ccc;
        cursor: not-allowed;
    }

.counter-display {
    min-width: 40px;
    text-align: center;
    font-weight: bold;
}

/* Mobile Sticky Button */
.mobile-sticky-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 1rem;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    transition: transform 0.3s ease;
}

    .mobile-sticky-btn.hidden {
        transform: translateY(100%);
    }

    /*Booking*/
/* Form Styling */
.passenger-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.passenger-header {
    background: var(--brand-gray);
    margin: -1.5rem -1.5rem 1.5rem -1.5rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    font-weight: bold;
    color: var(--brand-dark);
}

.form-control:focus, .form-select:focus {
    border-color: var(--brand-pink);
    box-shadow: 0 0 0 0.2rem rgba(225, 0, 115, 0.25);
}

/* Organization Section */
.organization-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid #dee2e6;
}

/* Invoice Summary */
.invoice-summary {
    background: linear-gradient(135deg, var(--brand-pink), var(--brand-pink-600));
    color: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: sticky;
    top: 80px;
}

.invoice-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

    .invoice-item:last-child {
        border-bottom: none;
        font-weight: bold;
        font-size: 1.1rem;
        margin-top: 0.5rem;
        padding-top: 1rem;
        border-top: 2px solid rgba(255,255,255,0.3);
    }