/* Base Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0891b2;
    --primary-dark: #0e7490;
    --secondary: #f59e0b;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header Styles */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container, .header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    font-size: 2rem;
    color: var(--primary);
    margin-right: 1rem;
}

.logo-text h1, .logo-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.logo-text p, .logo-subtitle {
    font-size: 0.8rem;
    color: var(--gray);
    margin: 0;
}

.nav-menu, .nav {
    display: flex;
    gap: 2rem;
}

.nav-menu a, .nav a {
    font-weight: 500;
    color: var(--dark);
    position: relative;
}

.nav-menu a:hover, .nav a:hover, .nav a.active {
    color: var(--primary);
}

.nav-menu a::after, .nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after, .nav a:hover::after, .nav a.active::after {
    width: 100%;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.language-selector select {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--dark);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    min-height: 600px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1524231757912-21f4fe3a7200?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1770&q=80') no-repeat center/cover;
    display: flex;
    align-items: center;
    margin-top: 0;
}

.hero-content {
    color: var(--white);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--secondary);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Category Intro Section */
.category-intro {
    padding: 3rem 0;
    background-color: var(--white);
    margin-bottom: 2rem;
}

.category-intro h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.category-intro p {
    color: var(--gray);
    max-width: 900px;
    margin-bottom: 1rem;
}

/* Tours Section */
.tours-section {
    padding: 2rem 0 4rem;
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.tour-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.tour-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.tour-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tour-card:hover .tour-img img {
    transform: scale(1.1);
}

.tour-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.tour-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tour-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: var(--dark);
}

.tour-desc {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.tour-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tour-feature {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: var(--gray);
}

.tour-feature i {
    color: var(--primary);
}

.tour-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
    margin-bottom: 1rem;
}

.tour-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.tour-rating i {
    color: var(--secondary);
}

.tour-price {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--primary);
}

.tour-price span {
    font-size: 0.8rem;
    font-weight: normal;
    color: var(--gray);
}

.tour-btn {
    width: 100%;
    text-align: center;
}

/* Tour Detail Page */
.tour-detail {
    padding: 3rem 0 5rem;
}

.tour-header {
    margin-bottom: 2rem;
}

.tour-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.tour-gallery {
    margin-bottom: 3rem;
}

.gallery-slider-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 500px;
}

.gallery-slider {
    height: 100%;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-slide.active {
    opacity: 1;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255,255,255,0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 5;
}

.gallery-prev {
    left: 1rem;
}

.gallery-next {
    right: 1rem;
}

.gallery-counter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background-color: rgba(0,0,0,0.7);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
}

.tour-info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.tour-description h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
    margin-top: 2.5rem;
}

.tour-description h2:first-child {
    margin-top: 0;
}

.tour-description p {
    color: var(--gray);
    margin-bottom: 1rem;
}

.highlights-list, .inclusion-list {
    margin-bottom: 2rem;
    list-style: none;
}

.highlight-item, .inclusion-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: var(--gray);
}

.highlight-item::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.inclusion-item::before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    color: var(--primary);
    font-weight: bold;
}

.tour-booking {
    position: sticky;
    top: 100px;
    align-self: start;
}

.booking-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.booking-price {
    text-align: center;
    margin-bottom: 1.5rem;
}

.price-from {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
}

.price-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.price-per {
    font-size: 0.9rem;
    color: var(--gray);
}

.booking-form {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.booking-input, .booking-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-family: inherit;
}

.time-select {
    margin-top: 0.5rem;
}

.guest-counter {
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}

.guest-btn {
    width: 40px;
    height: 40px;
    background-color: #f1f5f9;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

.guest-input {
    flex: 1;
    height: 40px;
    border: none;
    text-align: center;
    font-family: inherit;
}

.booking-btn {
    width: 100%;
    margin-bottom: 1.5rem;
}

.booking-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.booking-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray);
}

.booking-feature i {
    color: #10b981;
}

/* Package Options */
.package-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.package-option {
    background-color: #f8fafc;
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

.package-option h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.package-duration {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.package-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Related Tours Section */
.related-tours {
    margin-bottom: 4rem;
}

.related-tours h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 2rem;
}

/* Reviews Section */
.reviews-section {
    padding-top: 2rem;
    margin-bottom: 4rem;
}

.reviews-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 2rem;
}

.review-summary {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

.average-rating {
    text-align: center;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark);
}

.rating-stars {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.rating-count {
    color: var(--gray);
    font-size: 0.9rem;
}

.rating-bars {
    flex: 1;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.rating-label {
    width: 60px;
    font-size: 0.9rem;
    color: var(--gray);
}

.progress-container {
    flex: 1;
    height: 8px;
    background-color: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: var(--primary);
}

.rating-percent {
    width: 40px;
    text-align: right;
    font-size: 0.9rem;
    color: var(--gray);
}

.reviews-list {
    margin-bottom: 2rem;
}

.review-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-name {
    font-weight: 600;
    color: var(--dark);
}

.reviewer-location {
    font-size: 0.85rem;
    color: var(--gray);
}

.review-rating {
    text-align: right;
}

.review-stars {
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.review-date {
    font-size: 0.85rem;
    color: var(--gray);
}

.review-content {
    color: var(--gray);
    line-height: 1.7;
}

.reviews-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    background-color: var(--white);
    font-weight: 500;
    cursor: pointer;
}

.pagination-btn.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination-separator {
    color: var(--gray);
}

/* Hammam History Section */
.hammam-history {
    margin-bottom: 4rem;
}

.hammam-history h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 2rem;
}

.history-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
}

.history-image {
    width: 100%;
    border-radius: 10px;
}

.history-text {
    color: var(--gray);
}

.history-text p {
    margin-bottom: 1rem;
}

/* What to Expect Section */
.what-to-expect {
    margin-bottom: 4rem;
    padding: 3rem;
    background-color: #f8fafc;
    border-radius: 10px;
}

.what-to-expect h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 2rem;
    text-align: center;
}

.expectation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.expectation-item {
    text-align: center;
}

.expectation-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(8, 145, 178, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.expectation-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.expectation-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.expectation-item p {
    color: var(--gray);
}

/* FAQ Section */
.faq-section {
    padding: 3rem 0 5rem;
    background-color: #f8fafc;
    margin-bottom: 4rem;
}

.faq-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 2.5rem;
    text-align: center;
}

.faq-item {
    background-color: var(--white);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1.5rem;
    cursor: pointer;
    position: relative;
    color: var(--dark);
}

.faq-item h3::after {
    content: "+";
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.faq-item.active h3::after {
    content: "-";
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray);
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background-color: var(--white);
}

.testimonials h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 2.5rem;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: #f8fafc;
    border-radius: 10px;
    padding: 2rem;
    position: relative;
    box-shadow: var(--shadow);
}

.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    line-height: 1;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: rgba(8, 145, 178, 0.1);
    font-family: serif;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    color: var(--gray);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #e2e8f0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.author-info p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Search and Filter Section */
.filter-section {
    background-color: var(--white);
    padding: 1.5rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-width: 180px;
}

.filter-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
}

.filter-select {
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    background-color: white;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Common Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #d97706;
}

.btn-icon {
    margin-left: 0.5rem;
}

/* Footer */
.footer {
    background-color: #1e293b;
    color: #e2e8f0;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .nav-menu, .nav {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .tour-info-grid {
        grid-template-columns: 1fr;
    }
    
    .tour-booking {
        position: static;
    }
    
    .history-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .category-intro h1 {
        font-size: 2rem;
    }
    
    .gallery-slider-container {
        height: 300px;
    }
    
    .review-summary {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        height: auto;
        padding: 5rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
	.header-controls {
        display: none;
    }
    
    .package-options {
        grid-template-columns: 1fr;
    }
    
    .expectation-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile menu for responsive design */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--white);
    overflow: hidden;
    transition: height 0.3s ease;
    z-index: 999;
    box-shadow: var(--shadow);
}

.mobile-menu.active {
    height: auto;
    padding: 1rem 0;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1.5rem;
}

.mobile-menu-nav a {
    font-weight: 500;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.mobile-menu-nav a:last-child {
    border-bottom: none;
}

.mobile-menu-controls {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* JavaScript controlled classes */
.js-hidden {
    display: none;
}

.js-visible {
    display: block;
}