/* Marrakech Tours Custom CSS */

:root {
    --primary-color: #F97A00;
    --secondary-color: #386641;
    --accent-color: #F4A261;
    --text-dark: #2D3436;
    --text-light: #636E72;
    --background-light: #F8F9FA;
    --white: #FFFFFF;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
}



.marrakech-tours-section .section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    position: relative;
    padding: 0;
}

.marrakech-tours-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.marrakech-tours-section .section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Navbar 
.marrakech-navbar {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.marrakech-navbar .navbar-brand .logo-container {
    display: flex;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
}

.marrakech-navbar .logo-container i {
    font-size: 2rem;
    margin-right: 10px;
    color: var(--accent-color);
}

.marrakech-navbar .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.marrakech-navbar .nav-link:hover {
    color: var(--accent-color) !important;
    transform: translateY(-2px);
}

.marrakech-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.marrakech-navbar .nav-link:hover::after {
    width: 80%;
}*/

/* Hero Section 
.marrakech-hero {
    height: 100vh;
    background: linear-gradient(135deg, 
        rgba(56, 102, 65, 0.9) 0%, 
        rgba(249, 122, 0, 0.8) 50%, 
        rgba(244, 162, 97, 0.7) 100%), 
        url('https://images.unsplash.com/photo-1544551763-46a013bb70d5?w=1920&h=1080&fit=crop') center/cover;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.hero-shape svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.hero-shape .shape-fill {
    fill: var(--white);
}*/

/* Tours Section */
.marrakech-tours-section {
    background: linear-gradient(135deg, var(--background-light) 0%, rgba(249, 122, 0, 0.02) 50%, rgba(56, 102, 65, 0.02) 100%);
    padding: 5rem 0;
    position: relative;
}

.marrakech-tours-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23F97A00" opacity="0.03"/><circle cx="75" cy="75" r="1" fill="%23386641" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

/* New Tour Cards */
.tour-card-new {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 2rem;
    position: relative;
    border: 1px solid rgba(249, 122, 0, 0.1);
    height: 100%;
}

.tour-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(249, 122, 0, 0.15);
    border-color: rgba(249, 122, 0, 0.3);
}

/* Card Image */
.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tour-card-new:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(249, 122, 0, 0.8), rgba(56, 102, 65, 0.6));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1rem;
}

.tour-card-new:hover .card-overlay {
    opacity: 1;
}

.departure-badge {
    background: rgba(255, 255, 255, 0.9);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.departure-badge i {
    color: var(--primary-color);
}

/* Card Content */
.card-content {
    padding: 1.2rem;
}

.duration-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.duration-badge i {
    font-size: 1rem;
}

.card-title {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
    font-weight: 700;
    line-height: 1.3;
    height: 3.2rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
    height: 4rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Card Actions */
.card-actions {
    display: flex;
    gap: 0.8rem;
    justify-content: space-between;
}

.read-more-btn {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    flex: 1;
}

/*.read-more-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}*/

.book-now-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    flex: 1;
}

/*.book-now-btn:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 122, 0, 0.3);
}*/

/* Tour Cards - Old Style (Keep for reference) */
.tour-card {
    background: var(--white);
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 3rem;
    position: relative;
    border: 1px solid rgba(249, 122, 0, 0.1);
    backdrop-filter: blur(10px);
}

.tour-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(249, 122, 0, 0.02), rgba(56, 102, 65, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.tour-card:hover::before {
    opacity: 1;
}

.tour-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(249, 122, 0, 0.15);
    border-color: rgba(249, 122, 0, 0.3);
}

.tour-card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    z-index: 3;
}

.tour-card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.tour-card:hover .tour-card-header::before {
    left: 100%;
}

.tour-badge {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
}

.tour-badge i {
    margin-right: 0.8rem;
    font-size: 1.3rem;
    color: var(--white);
}

.tour-price {
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.tour-price .price {
    font-size: 2.2rem;
    color: var(--white);
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.tour-card-body {
    padding: 2.5rem;
    position: relative;
    z-index: 3;
}

.tour-title {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 800;
    position: relative;
}

.tour-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.tour-description {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.9;
    font-weight: 400;
}

.tour-itinerary h5 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.itinerary-days {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.day-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--background-light), rgba(249, 122, 0, 0.02));
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.day-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(249, 122, 0, 0.1), transparent);
    transition: left 0.5s;
}

.day-item:hover {
    background: linear-gradient(135deg, rgba(249, 122, 0, 0.08), rgba(56, 102, 65, 0.05));
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 8px 25px rgba(249, 122, 0, 0.15);
    border-left-color: var(--accent-color);
}

.day-item:hover::before {
    left: 100%;
}

.day-number {
    font-weight: 800;
    color: var(--primary-color);
    min-width: 90px;
    margin-right: 1.2rem;
    font-size: 1rem;
    background: rgba(249, 122, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-align: center;
    border: 2px solid rgba(249, 122, 0, 0.2);
    position: relative;
    z-index: 2;
}

.day-content {
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.tour-card-footer {
    padding: 2rem;
    background: linear-gradient(135deg, var(--background-light), rgba(56, 102, 65, 0.02));
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    border-top: 1px solid rgba(249, 122, 0, 0.1);
    z-index: 3;
    position: relative;
}

.tour-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.feature-tag {
    background: linear-gradient(135deg, var(--white), rgba(249, 122, 0, 0.05));
    color: var(--secondary-color);
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid var(--secondary-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56, 102, 65, 0.1), transparent);
    transition: left 0.5s;
}

.feature-tag:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(56, 102, 65, 0.3);
    border-color: var(--accent-color);
}

.feature-tag:hover::before {
    left: 100%;
}

.feature-tag i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* Buttons */
.marrakech-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/*.marrakech-btn:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(249, 122, 0, 0.3);
    color: var(--white);
}*/

.marrakech-btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.marrakech-btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Contact Section */
.marrakech-contact {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
}

.marrakech-contact .section-title {
    color: var(--white);
}

.marrakech-contact .section-title::after {
    background: linear-gradient(90deg, var(--white), var(--accent-color));
}

.marrakech-contact .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.contact-buttons {
    margin-top: 2rem;
}

/* Footer */
.marrakech-footer {
    background: var(--text-dark);
    color: var(--white);
}

.marrakech-footer h5 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.marrakech-footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    width: 20px;
}

.social-links h6 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* New Cards Responsive */
    .card-image {
        height: 200px;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1.1rem;
        height: auto;
        margin-bottom: 0.6rem;
    }
    
    .card-description {
        font-size: 0.85rem;
        height: auto;
        margin-bottom: 1rem;
    }
    
    .card-actions {
        flex-direction: column;
        gap: 0.6rem;
    }
    
    .read-more-btn,
    .book-now-btn {
        width: 100%;
        padding: 0.7rem 1rem;
    }
    
    /* Old Cards Responsive */
    .tour-card {
        margin-bottom: 2rem;
        border-radius: 20px;
    }
    
    .tour-card-header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 1.5rem;
    }
    
    .tour-badge {
        padding: 0.6rem 1.2rem;
        font-size: 1.1rem;
    }
    
    .tour-price .price {
        font-size: 1.8rem;
    }
    
    .tour-card-body {
        padding: 2rem;
    }
    
    .tour-title {
        font-size: 1.8rem;
    }
    
    .tour-card-footer {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .tour-features {
        justify-content: center;
        gap: 0.6rem;
    }
    
    .feature-tag {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .day-item {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .day-number {
        min-width: auto;
        margin-right: 0;
        margin-bottom: 0.8rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .contact-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    /* New Cards Small Mobile */
    .card-image {
        height: 180px;
    }
    
    .card-content {
        padding: 0.8rem;
    }
    
    .card-title {
        font-size: 1rem;
        line-height: 1.2;
    }
    
    .card-description {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .duration-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .departure-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .read-more-btn,
    .book-now-btn {
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem;
    }
    
    /* Old Cards Small Mobile */
    .tour-card-body {
        padding: 1.5rem;
    }
    
    .tour-title {
        font-size: 1.5rem;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Loading Animation */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}
