/* Main Content Styles for Tripado */

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    position: relative;
    text-align: center;
    background: none;
    margin-bottom: 70px;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 600px;
    background: radial-gradient(circle at center, #b2eaff 0%, #eaf8ff 40%, transparent 70%);
    opacity: 0.7;
    filter: blur(20px);
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
}

.hero-content h1, .subtitle, .hero-buttons {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    margin: 64px 0 0 0;
    line-height: 1.05;
    color: #111;
    letter-spacing: -2px;
}

.hero-content h1 .highlight {
    color: #34B0DC;
    font-style: italic;
    font-weight: 900;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(45,198,246,0.08);
}

.subtitle {
    color: #555;
    font-size: 1.25rem;
    margin: 48px 0 0 0;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
}

.or {
    color: #888;
    font-size: 1.1rem;
    margin: 0 12px;
}

.hero-decor .star {
    font-size: 2.2rem;
    color: #aeeaff;
    opacity: 0.7;
    position: absolute;
    pointer-events: none;
}

.star-left {
    left: 10%;
    top: 30%;
}

.star-right {
    right: 10%;
    top: 20%;
}

.star-bottom {
    left: 40%;
    bottom: 10%;
}

/* Morocco Tours Section */
.tours-section {
    margin: 70px auto;
    max-width: 1400px;
}

.tour-card {
    width: 100%;
    min-height: 280px;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.tour-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.tour-card:hover .tour-image {
    transform: scale(1.05);
}

.tour-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 28px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: #fff;
}

.tour-content h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.2;
    max-width: 80%;
}

.check-out-btn {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #000;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.check-out-btn svg {
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.check-out-btn:hover {
    background: #f2f2f2;
}

.check-out-btn:hover svg {
    transform: translateX(4px);
}

/* Trending Adventures Section */
.trending-section {
    margin: 70px auto;
}

.see-all-link {
    color: #34B0DC;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: #eaf9ff;
    padding: 8px 8px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.see-all-link:hover {
    background: #d5f1fa;
}

.tour-cards-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.trending-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trending-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff5757;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 1;
}

.trending-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.trending-content {
    padding: 15px;
}

.trending-content h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #333;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    width: 100%;
    text-overflow: ellipsis;
    white-space: normal;
}
.main-cards-column {
    max-width: 910px;
}
.tour-details {
    display: flex;
    /* justify-content: space-between; */
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.9rem;
    
}
.tour-details  .stars{
    color: #000;
}

.days {
    color: #666;
}

.rating {
    display: flex;
    align-items: center;
}




.reviews {
    color: #888;
    font-size: 0.8rem;
}

.price-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.85rem;
}

.current-price {
    font-weight: 700;
    color: #f05959;
    font-size: 1.1rem;
}

.price-from {
    color: #888;
    font-size: 0.85rem;
}

/* Adventure Categories Section */
.adventure-categories-section {
    margin: 90px auto 100px;
    position: relative;
    z-index: 1;
}

.categories-header {
    text-align: left;
    margin-bottom: 40px;
    position: relative;
}

.categories-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
}

.categories-layout {
    display: flex;
    gap: 35px;
    position: relative;
}

.main-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.category-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover .category-image {
    transform: scale(1.05);
}

.category-content {
    padding: 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.category-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #222;
    transition: color 0.3s ease;
}

.category-card:hover .category-content h3 {
    color: #34B0DC;
}

.category-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 8px 0 12px 0;
}

.daytrip-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 12px 0 16px 0;
    padding: 8px 0;
    border-top: 1px solid #eee;
}

.daytrip-details .duration {
    color: #666;
    font-size: 0.85rem;
    font-weight: 500;
}

.daytrip-details .price {
    color: #34B0DC;
    font-size: 0.9rem;
    font-weight: 600;
}

.category-link {
    color: #34B0DC;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: auto;
    padding: 6px 0;
    position: relative;
    transition: all 0.3s ease;
}

.category-link:hover {
    color: #2490b8;
}

.service-cards-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.service-icon {
    margin-right: 16px;
    background: rgba(52, 176, 220, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.service-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 6px 0;
    color: #333;
}

.service-link {
    color: #34B0DC;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
}

.service-link:hover {
    color: #2490b8;
    text-decoration: underline;
}

/* AI Travel Assistant Section */
.ai-assistant-section {
    margin: 80px auto;
}

.ai-assistant-container {
    background: #e8f6fc;
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: none;
}

.ai-logo {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.ai-logo img {
    width: 80%;
    height: auto;
}

.ai-content {
    flex-grow: 1;
}

.ai-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin: 0 0 24px 0;
}

.ai-btn {
    display: inline-block;
    background: #34B0DC;
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(52, 176, 220, 0.2);
}

.ai-btn:hover {
    background: #2490b8;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(52, 176, 220, 0.3);
}

/* Testimonials Section */
.testimonials-section {
    background: #fff;
    padding: 60px 0 40px 0;
    text-align: center;
}

.testimonials-cards-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px 18px 16px 18px;
    box-shadow: 0 2px 8px rgba(52, 176, 220, 0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 320px;
    height: 200px;
    min-width: 0;
    max-width: 100%;
    flex: 0 0 320px;
    transition: box-shadow 0.3s, transform 0.3s;
    border: 1px solid #eaf6fb;
    box-sizing: border-box;
}

.testimonial-card:hover {
    box-shadow: 0 4px 12px rgba(52, 176, 220, 0.10);
    transform: translateY(-3px) scale(1.01);
    border-color: #b2eaff;
}

.testimonial-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 8px;
    border: 2px solid #34B0DC;
    box-shadow: none;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-size: 0.98rem;
    color: #333;
    margin-bottom: 6px;
    font-style: italic;
    line-height: 1.4;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author {
    margin-top: auto;
}

.testimonial-author h4 {
    font-size: 1rem;
    color: #222;
    margin: 0 0 2px 0;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.testimonial-author p {
    font-size: 0.9rem;
    color: #34B0DC;
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.1px;
}

@media (max-width: 1100px) {
    .testimonials-cards-row {
        gap: 16px;
    }
    .testimonial-card {
        width: 95vw;
        max-width: 320px;
        height: 180px;
        padding: 14px 6px 10px 6px;
        flex: 0 0 300px;
    }
}

@media (max-width: 700px) {
    .testimonials-cards-row {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .testimonial-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: 150px;
        padding: 8px 0 6px 0;
        flex: 0 0 100%;
        box-sizing: border-box;
    }
    .testimonial-image {
        width: 36px;
        height: 36px;
        margin-bottom: 4px;
    }
    .testimonial-text {
        font-size: 0.92rem;
        margin-bottom: 4px;
    }
    .testimonial-author h4 {
        font-size: 0.92rem;
    }
    .testimonial-author p {
        font-size: 0.85rem;
    }
    .trending-image {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }
}

/* Responsive styles */
@media (max-width: 1200px) {
    .tour-cards-container {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .main-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .tour-cards-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .categories-layout {
        flex-direction: column;
    }
    
    .main-cards-column {
        flex: auto;
    }
    
    .service-cards-column {
        flex: auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    
    .ai-assistant-container {
        padding: 30px;
        gap: 30px;
    }
    
    .ai-logo {
        width: 140px;
        height: 140px;
    }
    .ai-assistant-section {
        margin: 50px auto;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
        margin-top: 20px;
    }
    
    .subtitle {
        font-size: 1.1rem;
        margin: 24px 0 0 0;
        padding: 0 20px;
    }
    
    .hero-buttons {
        gap: 15px;
        margin-top: 30px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .tour-content h2 {
        font-size: 1.8rem;
        max-width: 90%;
    }
    
    .tour-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .main-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .service-cards-column {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-subtitle {
        font-size: 1rem;
    }
    
    .ai-assistant-container {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .ai-logo {
        margin-bottom: 20px;
    }
    
    .ai-content p {
        font-size: 0.9rem;
    }
    
    .hero-content::before {
        width: 400px;
        height: 400px;
    }

    .testimonial-card {
        padding: 24px 10px 20px 10px;
    }

    .testimonial-image {
        width: 70px;
        height: 70px;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .testimonial-author h4 {
        font-size: 1rem;
    }

    .testimonial-author p {
        font-size: 0.9rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .hero {
        margin: 20px 0;
        min-height: initial;
    }
    .hero-content h1 {
        font-size: 2rem;
        padding: 0px;
        line-height: 42px;
        
    }
    
    .subtitle {
        font-size: 0.9rem;
        margin: 20px 0 0 0;
        padding: 0 15px;
    }
    
    .hero-buttons {
        gap: 10px;
        margin-top: 25px;
        flex-direction: column;
    }
    
    .or {
        font-size: 0.9rem;
        margin: 5px 0;
    }
    
    .tours-section {
        margin: 30px auto;
    }
    
    .tour-card {
        height: 230px;
    }
    
    .tour-content {
        padding: 20px;
    }
    
    .tour-content h2 {
        font-size: 1.1rem;
        margin-bottom: 15px;
        font-weight: 600;
    }
    
    .check-out-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .tour-cards-container {
        grid-template-columns: 1fr;
    }
    
    .service-cards-column {
        grid-template-columns: 1fr;
    }
    
    .category-content {
        padding: 16px;
    }
    
    .category-content h3 {
        font-size: 1.2rem;
    }
    
    .category-content p {
        font-size: 0.9rem;
    }
    
    .categories-header {
        text-align: center;
    }
    
    .service-card {
        padding: 16px;
    }
    
    .service-icon {
        width: 40px;
        height: 40px;
    }
    
    .hero-content::before {
        width: 300px;
        height: 300px;
    }

    .testimonial-card {
        padding: 12px 2px 10px 2px;
    }

    .testimonial-image {
        width: 54px;
        height: 54px;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .testimonial-author h4 {
        font-size: 1rem;
    }

    .testimonial-author p {
        font-size: 0.9rem;
    }

}

@media (max-width: 480px) {
    .testimonials-section {
        margin: 30px auto 0 auto;
        padding: 15px 0 10px 0;
    }

    .testimonial-card {
        padding: 12px 2px 10px 2px;
    }

    .testimonial-image {
        width: 54px;
        height: 54px;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .testimonial-author h4 {
        font-size: 1rem;
    }

    .testimonial-author p {
        font-size: 0.9rem;
    }
    .ai-assistant-section {
        margin:20px auto;
    }
} 