@media (max-width: 600px) {
    .navbar-logo {
        display: none !important;
    }
}
@media (min-width: 992px) {
    .nav {
        margin-top: 8px !important;
    }
    .about-mobile-sidebar .sidebar-nav {
    margin-top: -50vw !important;
    padding-top: 0 !important;
}
}


@media (min-width: 992px) {

	.d-none.d-lg-flex.w-100 {
		display: flex !important;
		flex: 1 1 0 !important;
		align-items: center !important;
		justify-content: space-between !important;
		width: 100%;
		gap: 0;
	}
    .about-mobile-sidebar .sidebar-nav {
    margin-top: -50vw !important;
    padding-top: 0 !important;
}
	
	
	
}
med

/* Fix: Prevent white box in sidebar overlay on gallery/tours pages */
.about-mobile-sidebar-overlay, .about-mobile-sidebar-overlay *:not(.about-mobile-sidebar) {
    background: transparent !important;
   
}

/* === Sidebar Mobile Styles (pour mobile uniquement) === */
/* === Fin styles sidebar mobile === */
@media (min-width: 300px) {
    .about-mobile-sidebar .sidebar-nav {
    margin-top: -10vw !important;
    padding-top: 0 !important;
}
}
@media (max-width: 600px) {
    header {
        /* Slightly reduced header height for Tours mobile */
        height: 30px !important;
        min-height: 30px !important;
        max-height: 30px !important;
        padding: 0 !important;
    }
    /* Slightly larger SympaTour logo on mobile for better visibility */
    .navbar-logo,
    header .header-mobile-title img,
    .about-mobile-navbar img {
        height: 28px !important;
        max-height: 42px !important;
        margin-left: 60vw !important;
        margin-top: -2vw !important;
        width: auto !important;
    }
    .about-mobile-sidebar .sidebar-nav {
    margin-top: -60vw !important;
    padding-top: 0 !important;
}
    header .header-mobile-title {
        font-size: 20px !important;
        font-weight: 700 !important;
        color: #222 !important;
        margin-right: 12px !important;
        /* make title fit inside the reduced header */
        height: 6px !important;
        display: flex !important;
        align-items: center !important;
    }
    header .mobile-menu-btn {
        margin-top: 0px !important;
        margin-left: -5vw !important;
        font-size: 20px !important;
        /* match the slightly smaller header */
        height: 56px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    body {
        /* reduce page top padding to match the smaller header */
        padding-top: 8px !important;
    }
    .best-seller-img {
        width: 140px !important;
        max-width: 140px !important;
        min-width: 140px !important;
        height: auto;
        display: block;
    }
}
@media (max-width: 600px) {
    .best-seller-img {
        width: 240px !important;
    }
}
    /* Best Seller section: réduire taille du contenu sur mobile */
    .tours-best-seller-title {
        font-size: 1.85rem !important;
        margin-bottom: 4px !important;
    }
    .tours-best-seller-subtitle {
        font-size: 1.75rem !important;
        margin-bottom: 8px !important;
    }
    .tours-best-seller-desc {
        font-size: 1.45rem !important;
        margin-bottom: 10px !important;
    }
    .tours-learn-more-btn {
        font-size: 1.2rem !important;
        padding: 16px 14px !important;
        margin-bottom: 8px !important;
    }
    .best-seller-img {
        height: 15vw !important;
        max-width: 35vw !important;
        margin-bottom: 8px !important;
    }
    .best-seller-avatar {
        width: 28px !important;
        height: 28px !important;
        margin-top: 0 !important;
    }
    .best-seller-name {
        font-size: 0.8rem !important;
    }
    .best-seller-text {
        font-size: 0.7rem !important;
        margin: 0 !important;
    }
    
@media (max-width: 600px) {
    .tour-card-travelers {
        font-size: 0.58rem !important;
    }
}
@media (max-width: 600px) {
        .tours-cards-section {
            max-width: 100vw !important;
            padding: 0 0.5vw !important;
        }
        .tours-cards-grid {
            grid-template-columns: repeat(3, 1fr) !important;
            gap: 18px 10px !important;
        }
    .tour-card {
        margin-left: 5px !important; 
        margin-right: 0px  !important;
        min-width: 0 !important;
        gap: 18px !important;
        max-width: 100% !important;
        padding: 0 0 10px 0 !important;
        min-height: 135px !important;
        border-radius: 10px !important;
    }
    .tour-card-img {
        height: 144px !important;
        border-radius: 5px 5px 0 0 !important;
    }
    .tour-card-content {
        padding: 6px 2px 0 2px !important;
        gap: 3px !important;
    }
    .tour-card-content h3 {
        font-size: 0.62rem !important;
        margin-bottom: 0 !important;
    }
    .tour-card-content p,
    .tour-card-rating,
    .tour-card-price {
        font-size: 0.68rem !important;
        margin-bottom: 0 !important;
    }
    .tour-card-btn {
        font-size: 0.55rem !important;
        padding: 3px 6px !important;
        margin-top: 3px !important;
        border-radius: 5px !important;
    }
    .tour-card-rating .stars {
        font-size: 0.55rem !important;
        letter-spacing: 0.7px !important;
    }
}
@media (max-width: 600px) {
    .tours-search-form {
        padding: 14px 4px 8px 4px;
        min-width: 0;
        max-width: 98vw;
    }
    .tours-search-row {
        flex-direction: column;
        gap: 10px;
    }
    .tours-search-col {
        min-width: 0;
        width: 100%;
    }
    .tours-search-btn-col {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }
    .tours-search-btn {
        width: 100%;
        padding: 10px 0;
        font-size: 1rem;
    }
    .tours-search-col.input-price label {
        font-size: 0.98rem;
    }
    .tours-search-col input[type="range"] {
        width: 100%;
        min-width: 120px;
        max-width: 100%;
    }
            .best-seller-container {
                flex-direction: row !important;
                gap: 8px !important;
                align-items: stretch !important;
                width: 100% !important;
                box-sizing: border-box !important;
            }
            .best-seller-left, .best-seller-right {
                width: 50% !important;
                max-width: 50vw !important;
                min-width: 0 !important;
                box-sizing: border-box !important;
                overflow: hidden !important;
            }
            .best-seller-right {
                align-items: flex-start !important;
                margin-left: 0 !important;
            }
    .best-seller-left, .best-seller-right {
        max-width: 100%;
        min-width: 0;
        width: 50%;
    }
    .best-seller-left {
        text-align: left;
        margin-bottom: 0;
    }
    .best-seller-right {
        align-items: center;
        margin-left: 0;
    }
    .best-seller-img {
        width: 100%;
        max-width: 320px;
        height: 120px;
        margin: 0 auto 12px auto;
        display: block;
    }
    .best-seller-testimonial {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        width: 100%;
    }
    .best-seller-avatar {
        margin: 0 auto;
    }
    .best-seller-testimonial-content {
        align-items: center;
        text-align: center;
    }
    .best-seller-name {
        margin-bottom: 0;
    }
    .best-seller-text {
        font-size: 0.95rem;
    }
}
body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: #fff;
    margin: 0;
    padding: 0;
}
.mobile-menu-btn {
    display: none;
    background: none !important;
    border: none !important;
    font-size: 48px !important;
    color: #333 !important;
    order: 2;
    margin-top: 0 !important;
}
.nav, .nav-item, .nav-link, .nav-custom {
	font-family: 'Montserrat', Arial, sans-serif !important;
}
.nav-link.nav-custom {
		border-bottom: none !important;
		text-decoration: none !important;
		font-family: 'Montserrat', Arial, sans-serif;
}
.nav-link.nav-custom:hover,
.nav-link.nav-custom:focus {
	border-bottom: none !important;
	text-decoration: none !important;
}
/* Soulignement orange uniquement sous le lien actif */
.nav-link.nav-custom.active {
	position: relative;
}
.nav-link.nav-custom.active::after {
	margin-top: -10px;
	content: "";
	display: block;
	position: absolute;
		left: 50%;
			bottom: -5px;
		width: 150%;
		height: 2px;
		transform: translateX(-50%);
	background: #ff9800;
	border-radius: 2px;
	box-shadow: none;
}
/* Navbar styles for navbar.html selectors */
header {
	background: #fff;
	border: none;
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100vw !important;
	z-index: 3000 !important;
	background: #fff !important;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
	margin: 0 !important;
	border-radius: 0 !important;
	padding: 0 !important;
	min-width: 100vw !important;
	max-width: 100vw !important;
}

.nav {
	display: flex;
	font-family: 'Montserrat', Arial, sans-serif;
	flex-direction: row;
	align-items: center;
	gap: 32px;
	list-style: none;
	margin-top: 0px;
		padding: 0 0 0 8px;
}
.nav-custom {
    color: #ff9800 !important;
    font-weight: 300;
	font-size: 13px;
		border-bottom: none !important;
    padding-bottom: 0.25rem;
    transition: color 0.2s;
}
.nav-custom.active {
    color: #222 !important;
		border-bottom: none !important;
}
.nav-custom:hover {
    color: #e67e22 !important;
}
.footer-content {
    max-width: 90vw;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    font-size: 13px;
}
.footer-section {
    flex: 1;
}
.footer-section h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 6px;
}
.footer-bottom {
    text-align: center;
    font-size: 11px;
    color: #aaa;
    margin-top: 18px;
}
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}
.footer-social a {
    width: 24px;
    height: 24px;
    display: inline-block;
}
.footer-social img {
    width: 100%;
    height: 100%;
}
.footer-custom {
    background: white;
    margin: 48px 20px 20px 20px;
    padding: 40px 50px 20px;
    border-radius: 16px;
}

.footer-container {
    max-width: 90vw;
    padding: 0;
}

.footer-section-content {
    margin-bottom: 25px;
}

.footer-label {
    font-weight: bold;
    margin-bottom: 8px;
}

.footer-value {
    color: #666;
    font-size: 14px;
}

/* Classes pour les listes du footer */
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list-title {
    font-weight: bold;
    margin-bottom: 15px;
}

/* Classes pour les éléments de liste du footer */
.footer-list-item {
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
}

/* Classes pour les liens du footer */
.footer-link {
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
}

/* Section footer bottom */
.footer-bottom-section {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

/* Classes pour les liens du footer */
.footer-link-title {
    font-weight: bold;
    margin-bottom: 15px;
}

/* Classes pour les divs du footer */
.footer-div-title {
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-div-item {
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
}

/* Footer social icons */
.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-social-link {
    color: #666;
}

/* Footer copyright and bottom text */
.footer-copyright {
    color: #888;
    font-size: 12px;
}
.header-mobile-title {
	display: none;
}

.footer-right-section {
    display: flex;
    justify-content: flex-end;
    padding-right: 0;
}

.footer-links-container {
    color: #888;
    font-size: 12px;
    display: flex;
    gap: 40px;
    margin-right: 0;
}

.footer-policy-link {
    color: #888;
    text-decoration: none;
}
header {
    border-bottom: none !important;
	padding: 2px 0 0 0;
    width: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px; /* Increased from 64px */
    
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 32px;
}

/* Navbar styles for pixel-perfect match */
nav {
	width: 100%;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: none;
	box-shadow: none;
}
.user-avatar {
	width: 32px;
	height: 32px;
	object-fit: cover;
	margin-top: -12px;
	margin-right: 8px;
}

.tours-hero {
    width: 100vw;
    max-width: 100vw;
    margin: 0 auto 0 auto;
}
.tours-hero-bg {
    background: url('../image/johannes-plenio-qkfxBc2NQ18-unsplash.jpg') center/cover no-repeat;
    border-radius: 6px;
    margin: 32px auto 0 auto;
    max-width: 96vw;
    min-height: 340px;
    height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    position: relative;
}
.tours-hero-bg h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
}
.tours-hero-bg p {
    font-size: 1.15rem;
    font-weight: 400;
    margin-bottom: 60px;
}
.tours-search-section {
    display: flex;
    justify-content: center;
    margin-top: -60px;
    margin-bottom: 40px;
    z-index: 2;
    position: relative;
}
.tours-search-form {
    background: #fff5ea;
    border-radius: 24px;
    box-shadow: 0 8px 32px #00000018;
    padding: 28px 24px 18px 24px;
    min-width: 320px;
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.tours-search-row {
    display: flex;
    gap: 24px;
    align-items: flex-end;
}
.tours-search-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 120px;
    flex: 1 1 0;
}
.tours-search-col label {
    font-weight: 600;
    color: #181818;
    margin-bottom: 2px;
}
.tours-search-col select,
.tours-search-col input[type="range"] {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1.5px solid #e2d2c2;
    font-size: 1rem;
    background: #fff;
    font-family: inherit;
    outline: none;
    transition: border 0.2s;
}
.tours-search-col input[type="range"] {
    width: 180px;
    accent-color: #a04c43;
}
.tours-search-btn-col {
    flex: none;
    display: flex;
    align-items: flex-end;
}
.tours-search-btn {
    background: #a04c43;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.tours-search-btn:hover {
    background: #7d3a32;
}
.tours-cards-section {
    margin: 0 auto 40px auto;
    max-width: 1200px;
}
.tours-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 32px;
}
.tour-card {
    background: #fff5ea;
    border-radius: 14px;
    box-shadow: 0 2px 10px #00000010;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 38px 0;
    min-height: 420px;
}
.tour-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px 5px 0 0;
}
.tour-card-content {
    padding: 28px 28px 0 58px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}
.tour-card-content h3 {
    font-size: 1.2rem;
    font-weight: 550;
    margin: 0 0 2px 0;
    color: #181818;
}
.tour-card-content p {
    font-size: 1.05rem;
    color: #555;
    margin: 0 0 4px 0;
}
.tour-card-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    margin-bottom: 2px;
}
.tour-card-rating .stars {
    color: #ffb23f;
    font-size: 1.1rem;
    letter-spacing: 2px;
}
.tour-card-travelers {
    color: #888;
    font-size: 0.98rem;
}
.tour-card-price {
    font-size: 1.05rem;
    color: black;
    font-weight: 500;
    margin-bottom: 8px;
}
.tour-card-btn {
    background: #a04c43;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s;
}
.tour-card-btn:hover {
    background: #7d3a32;
}
/* Best Seller Section (custom layout) */
.tours-best-seller-section {
    margin: 60px auto 0 auto;
    max-width: 90vw;
    padding: 0 16px;
}
.best-seller-container {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    justify-content: space-between;
}
.best-seller-left {
    flex: 2 1 0;
    min-width: 30vw;
    max-width: 50vw;
}
.tours-best-seller-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #181818;
}
.tours-best-seller-subtitle {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #181818;
}
.tours-best-seller-desc {
    font-size: 1.65rem;
    color: #555;
    margin-bottom: 22px;
    line-height: 1.6;
}
.tours-learn-more-btn {
    background: #a04c43;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 0;
    transition: background 0.2s;
    box-shadow: 0 2px 8px #00000010;
}
.tours-learn-more-btn:hover {
    background: #7d3a32;
}
.best-seller-right {
    flex: 1 1 0;
    min-width: 30vw;
    max-width: 50vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-left: auto;
}
.best-seller-img {
    width: 100vw;
    height: 50px;
    max-width: 120vw;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 18px;
}
.best-seller-testimonial {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 0;
}
.best-seller-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 2px;
}
.best-seller-testimonial-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.best-seller-name {
    color: #181818;
    font-size: 1.05rem;
    margin-bottom: 2px;
}
.best-seller-text {
    font-size: 1.01rem;
    color: #444;
    margin: 0;
    line-height: 1.5;
}
@media (max-width: 900px) {
    .best-seller-container {
        flex-direction: column;
        gap: 24px;
    }
    .best-seller-right {
        align-items: flex-start;
    }
}
@media (max-width: 900px) {
    .tours-testimonial {
        flex-direction: column;
        align-items: flex-start;
    }
    .tours-hero-bg {
        min-height: 180px;
        height: 380px;
        padding: 0 2vw;
    }
    .tours-search-row {
        flex-direction: column;
        gap: 12px;
    }
}
/* Footer positioning fixes */
.footer-custom {
    background: white !important;
    margin: 48px 20px 20px 20px !important;
    padding: 40px 50px 20px !important;
    border-radius: 16px !important;
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

.footer-container {
    max-width: 90vw !important;
    margin: 0 auto !important;
    padding: 0 !important;
    width: 100% !important;
}

.footer-content {
    max-width: none !important;
    margin: 0 !important;
    display: flex !important;
    gap: 30px !important;
    font-size: 13px !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
}

.footer-section {
    flex: 1 !important;
    min-width: 0 !important;
}

.footer-bottom-section {
    margin-top: 40px !important;
    padding-top: 20px !important;
    border-top: 1px solid #ddd !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

.footer-right-section {
    display: flex !important;
    justify-content: flex-end !important;
    padding-right: 0 !important;
}

.footer-links-container {
    color: #888 !important;
    font-size: 12px !important;
    display: flex !important;
    gap: 40px !important;
    margin-right: 0 !important;
}

.footer-policy-link {
    color: #888 !important;
    text-decoration: none !important;
}

.footer-policy-link:hover {
    color: #a04c43 !important;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
    .footer-custom {
        margin: 20px 10px 10px 10px !important;
        padding: 20px 15px 10px !important;
    }
    
    .footer-content {
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    .footer-section {
        width: 100% !important;
    }
    
    .footer-bottom-section {
        flex-direction: column !important;
        gap: 15px !important;
        text-align: center !important;
    }
    
    .footer-links-container {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: center !important;
    }
}

/* Ensure footer stays at bottom */
body {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding-top: 80px !important;
}

/* Company Stats Styling */
.company-stats {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 0;
    justify-content: space-between;
    width: 35vw;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #a04c43;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Mobile responsive for company stats */
@media (max-width: 600px) {
    .company-stats {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        margin-top: 10px;
    }
    
    .stat-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        width: 100%;
        text-align: left;
    }
    
    .stat-number {
        font-size: 1.4rem;
        margin-bottom: 0;
        min-width: 60px;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .tours-best-seller-title {
        font-size: 0.9rem !important;
    }
    
    .tours-best-seller-subtitle {
        font-size: 1.1rem !important;
    }
    
    .tours-best-seller-desc {
        font-size: 0.8rem !important;
    }
    
    .tours-learn-more-btn {
        font-size: 0.85rem !important;
        padding: 8px 16px !important;
    }
}

/* Update button text for consistency */
.tours-learn-more-btn:hover {
    background: #7d3a32;
    transform: translateY(-2px);
}

/* Fix for short viewports: reduce hero height and soften sidebar negative margin */
@media (max-height: 670px) {
    .tours-hero-bg {
        min-height: 420px !important;
        height: 420px !important;
        margin-top: 20px !important;
    }
    /* On short screens, reduce the negative offset used by the mobile sidebar */
    .about-mobile-sidebar .sidebar-nav {
        margin-top: -0vw !important;
        padding-top: 0 !important;
    }
}
