/* ==========================================================================
   HOME PAGE STYLES
   ========================================================================== */

/* Hero Section */
.home-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.home-hero::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 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 2.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.hero-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.hero-badges {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #2c3e50;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    animation: float 3s ease-in-out infinite;
}

.badge-1 {
    top: 20%;
    left: -20px;
    animation-delay: 0s;
}

.badge-2 {
    top: 50%;
    right: -20px;
    animation-delay: 1s;
}

.badge-3 {
    bottom: 30%;
    left: -10px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Section Styles */
.section-padding {
    padding: 80px 0;
}

.bg-light {
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 1.5rem;
}

.section-link {
    color: #3498db;
    font-weight: 600;
    text-decoration: none;
}

.section-link:hover {
    text-decoration: underline;
}

/* Tours Grid */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.tour-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.tour-card__image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.tour-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tour-card:hover .tour-card__image img {
    transform: scale(1.05);
}

.tour-card__badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tour-badge {
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.tour-badge--featured {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

.tour-badge--category {
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    backdrop-filter: blur(10px);
}

.tour-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.tour-card:hover .tour-card__overlay {
    opacity: 1;
}

.tour-card__content {
    padding: 24px;
}

.tour-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.tour-card__title a {
    color: #2c3e50;
    text-decoration: none;
}

.tour-card__title a:hover {
    color: #3498db;
}

.tour-card__excerpt {
    color: #5d6d7e;
    margin-bottom: 16px;
    line-height: 1.5;
}

.tour-card__meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #5d6d7e;
}

.meta-icon {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.tour-card__rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.rating-stars {
    color: #f39c12;
}

.rating-value {
    font-weight: 700;
    color: #2c3e50;
}

.rating-count {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.tour-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tour-price {
    display: flex;
    flex-direction: column;
}

.price-from {
    font-size: 0.8rem;
    color: #7f8c8d;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #27ae60;
}

.price-person {
    font-size: 0.8rem;
    color: #7f8c8d;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #3498db;
}

.category-card__icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.category-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2c3e50;
}

.category-card__description {
    color: #5d6d7e;
    margin-bottom: 16px;
    line-height: 1.5;
}

.category-card__count {
    display: block;
    color: #3498db;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.category-card__btn {
    background: none;
    border: 2px solid #3498db;
    color: #3498db;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.category-card__btn:hover {
    background: #3498db;
    color: white;
    transform: translateX(4px);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #3498db;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    color: #5d6d7e;
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 4px;
}

.author-tour {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.testimonial-rating {
    color: #f39c12;
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.blog-card__image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.05);
}

.blog-card__date {
    position: absolute;
    top: 16px;
    left: 16px;
    background: white;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.date-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #3498db;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #2c3e50;
    text-transform: uppercase;
}

.blog-card__content {
    padding: 24px;
}

.blog-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.blog-card__title a {
    color: #2c3e50;
    text-decoration: none;
}

.blog-card__title a:hover {
    color: #3498db;
}

.blog-card__excerpt {
    color: #5d6d7e;
    margin-bottom: 16px;
    line-height: 1.5;
}

.blog-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 0.8rem;
    color: #7f8c8d;
}

.blog-card__link {
    color: #3498db;
    font-weight: 600;
    text-decoration: none;
}

.blog-card__link:hover {
    text-decoration: underline;
}

/* No Content States */
.no-tours,
.no-posts {
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
}

/* Responsive */
@media (max-width: 768px) {
    .home-hero {
        padding: 60px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .floating-badge {
        display: none;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .tours-grid,
    .categories-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}