/* ==========================================================================
   FLEETRA HOME REDESIGN - Mobile First
   Usa l'header originale da style.css
   ========================================================================== */

/* CSS Variables for the redesign */
:root {
    --redesign-primary: #6366f1;
    --redesign-primary-dark: #4f46e5;
    --redesign-primary-light: #818cf8;
    --redesign-secondary: #f59e0b;
    --redesign-bg: #f8fafc;
    --redesign-white: #ffffff;
    --redesign-gray-50: #f9fafb;
    --redesign-gray-100: #f3f4f6;
    --redesign-gray-200: #e5e7eb;
    --redesign-gray-300: #d1d5db;
    --redesign-gray-400: #9ca3af;
    --redesign-gray-500: #6b7280;
    --redesign-gray-600: #4b5563;
    --redesign-gray-700: #374151;
    --redesign-gray-800: #1f2937;
    --redesign-gray-900: #111827;
    --redesign-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --redesign-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --redesign-shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --redesign-shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --redesign-radius: 12px;
    --redesign-radius-lg: 16px;
    --redesign-radius-xl: 24px;
}

/* ==========================================================================
   MAIN CONTENT AREA - Using Original Header
   ========================================================================== */

.home-redesign-main {
    margin-top: 90px;
    min-height: calc(100vh - 90px);
    background: var(--redesign-bg);
    padding-top: 0;
}

@media (max-width: 768px) {
    .home-redesign-main {
        margin-top: 118px;
        padding-top: 0;
        padding-bottom: 96px;
    }
}

/* ==========================================================================
   HERO SEO BANNER - Clean & Professional
   ========================================================================== */

.hero-seo-banner {
    background: linear-gradient(135deg, var(--redesign-primary) 0%, var(--redesign-primary-dark) 100%);
    padding: 24px 20px;
    text-align: center;
    color: var(--redesign-white);
}

.hero-seo-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 6px;
    letter-spacing: -0.5px;
}

.hero-seo-subtitle {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
    font-weight: 400;
}

@media (min-width: 768px) {
    .hero-seo-banner {
        padding: 28px 20px;
    }
    .hero-seo-title {
        font-size: 1.75rem;
    }
    .hero-seo-subtitle {
        font-size: 1rem;
    }
}

/* ==========================================================================
   TAB NAVIGATION - Clean Design
   ========================================================================== */

.tab-navigation {
    position: sticky;
    top: 70px;
    z-index: 100;
    background: var(--redesign-white);
    padding: 12px 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-bottom: 1px solid var(--redesign-gray-100);
}

@media (max-width: 768px) {
    .tab-navigation {
        top: 60px;
        position: relative;
        padding: 6px 12px;
        margin-top: -40px;
        margin-bottom: 0;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }
}

.tab-buttons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    max-width: 650px;
    margin: 0 auto;
}

.tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 10px 6px;
    border: 1px solid var(--redesign-gray-200);
    background: var(--redesign-white);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.tab-btn:hover {
    border-color: var(--redesign-primary-light);
    background: var(--redesign-gray-50);
}

.tab-btn.active {
    border-color: var(--redesign-primary);
    background: linear-gradient(135deg, var(--redesign-primary) 0%, var(--redesign-primary-dark) 100%);
    color: var(--redesign-white);
    box-shadow: var(--redesign-shadow-md);
}

.tab-btn .tab-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.tab-btn .tab-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tab-btn.active .tab-icon,
.tab-btn.active .tab-label {
    color: var(--redesign-white);
}

/* ==========================================================================
   TAB CONTENT PANELS
   ========================================================================== */

.tab-content {
    padding: 16px;
}

@media (max-width: 768px) {
    .tab-content {
        padding-top: 80px;
    }

    .tab-panel .widget-container {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .tab-panel {
        padding-bottom: 108px;
    }

    .widget-container {
        margin-top: 18px;
    }
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Widget containers */
.widget-container {
    background: var(--redesign-white);
    border-radius: var(--redesign-radius-lg);
    padding: 16px;
    box-shadow: var(--redesign-shadow);
    margin-bottom: 24px;
}

.widget-container iframe {
    border-radius: var(--redesign-radius);
}

/* Widget loading state */
.widget-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.widget-loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--redesign-gray-200);
    border-top-color: var(--redesign-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.widget-loading p {
    margin-top: 16px;
    color: var(--redesign-gray-600);
    font-weight: 500;
}

/* ==========================================================================
   OFFERS TAB - HERO SECTION
   ========================================================================== */

.offers-hero {
    background: linear-gradient(135deg, var(--redesign-primary) 0%, #7c3aed 50%, #ec4899 100%);
    border-radius: var(--redesign-radius-xl);
    padding: 32px 20px;
    text-align: center;
    color: var(--redesign-white);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.offers-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.offers-hero h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 12px;
    position: relative;
    z-index: 1;
}

.offers-hero p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
    position: relative;
    z-index: 1;
}

.offers-hero .offers-badge {
    display: inline-block;
    background: var(--redesign-secondary);
    color: var(--redesign-gray-900);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   OFFERS SECTIONS
   ========================================================================== */

.offers-section {
    margin-bottom: 32px;
}

.offers-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.offers-section-header h3 {
    font-size: 1.25rem;
    color: var(--redesign-gray-900);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.offers-section-header .view-all {
    font-size: 0.875rem;
    color: var(--redesign-primary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.offers-section-header .view-all:hover {
    text-decoration: underline;
}

/* ==========================================================================
   OFFER CARDS
   ========================================================================== */

.offers-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.offers-grid::-webkit-scrollbar {
    height: 6px;
}

.offers-grid::-webkit-scrollbar-track {
    background: var(--redesign-gray-100);
    border-radius: 3px;
}

.offers-grid::-webkit-scrollbar-thumb {
    background: var(--redesign-gray-300);
    border-radius: 3px;
}

.offer-card {
    flex: 0 0 280px;
    background: var(--redesign-white);
    border-radius: var(--redesign-radius-lg);
    overflow: hidden;
    box-shadow: var(--redesign-shadow);
    scroll-snap-align: start;
    transition: all 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--redesign-shadow-lg);
}

.offer-card-image {
    position: relative;
    height: 140px;
    overflow: hidden;
}

.offer-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.offer-card:hover .offer-card-image img {
    transform: scale(1.05);
}

.offer-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--redesign-secondary);
    color: var(--redesign-gray-900);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.offer-card-price {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: var(--redesign-primary);
    color: var(--redesign-white);
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
}

.offer-card-price span {
    font-size: 0.7rem;
    opacity: 0.8;
}

.offer-card-content {
    padding: 16px;
}

.offer-card-route {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--redesign-gray-900);
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.offer-card-route .route-arrow {
    color: var(--redesign-primary);
}

.offer-card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.offer-card-detail {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--redesign-gray-600);
}

.offer-card-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, var(--redesign-primary) 0%, var(--redesign-primary-dark) 100%);
    color: var(--redesign-white);
    text-align: center;
    text-decoration: none;
    border-radius: var(--redesign-radius);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.offer-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

/* ==========================================================================
   COMPACT OFFER CARDS (senza immagini - stile Voli in Evidenza)
   ========================================================================== */

.offer-card.offer-card-compact {
    flex: 0 0 220px;
    background: var(--redesign-white);
    border-radius: var(--redesign-radius);
    border: 1px solid var(--redesign-gray-200);
    overflow: hidden;
    box-shadow: var(--redesign-shadow-sm);
    scroll-snap-align: start;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.offer-card.offer-card-compact:hover {
    transform: translateY(-4px);
    box-shadow: var(--redesign-shadow-md);
    border-color: var(--redesign-primary-light);
}

.offer-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    background: linear-gradient(135deg, var(--redesign-primary) 0%, var(--redesign-primary-dark) 100%);
}

.offer-card-badge-compact {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--redesign-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.offer-card-price-compact {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--redesign-white);
}

.offer-card-body {
    padding: 14px;
    flex: 1;
}

.offer-card-route-compact {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--redesign-gray-900);
    margin: 0 0 10px;
    line-height: 1.3;
}

.offer-card-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.offer-card-airline,
.offer-card-date {
    font-size: 0.75rem;
    color: var(--redesign-gray-600);
    display: flex;
    align-items: center;
    gap: 4px;
}

.offer-card-btn-compact {
    display: block;
    padding: 12px 14px;
    background: var(--redesign-gray-100);
    color: var(--redesign-primary);
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border-top: 1px solid var(--redesign-gray-200);
}

.offer-card-btn-compact:hover {
    background: var(--redesign-primary);
    color: var(--redesign-white);
}

/* ==========================================================================
   GUIDES TAB STYLES
   ========================================================================== */

.guides-hero {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    border-radius: var(--redesign-radius-xl);
    padding: 32px 20px;
    text-align: center;
    color: var(--redesign-white);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.guides-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

.guides-hero h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 12px;
    position: relative;
    z-index: 1;
}

.guides-hero p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
    position: relative;
    z-index: 1;
}

.guides-hero .guides-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: var(--redesign-white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.guides-section {
    margin-bottom: 32px;
}

.guides-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.guides-section-header h3 {
    font-size: 1.25rem;
    color: var(--redesign-gray-900);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.guide-link-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--redesign-white);
    border-radius: var(--redesign-radius);
    border: 2px solid var(--redesign-gray-200);
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 60px;
    box-shadow: var(--redesign-shadow-sm);
}

.guide-link-card:hover {
    border-color: var(--redesign-primary);
    transform: translateY(-2px);
    box-shadow: var(--redesign-shadow-md);
}

.guide-link-card.budget {
    background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%);
    border-color: #f59e0b;
}

.guide-link-card.budget:hover {
    border-color: #d97706;
}

.guide-emoji {
    font-size: 1.75rem;
    min-width: 32px;
    text-align: center;
}

.guide-name {
    flex: 1;
    font-weight: 600;
    color: var(--redesign-gray-900);
    font-size: 0.95rem;
    line-height: 1.3;
}

.guide-budget {
    font-size: 0.8rem;
    color: var(--redesign-white);
    font-weight: 700;
    background: var(--redesign-primary);
    padding: 6px 10px;
    border-radius: 8px;
    white-space: nowrap;
}

.guide-link-card.budget .guide-budget {
    background: #fbbf24;
    color: #78350f;
}

/* Trav360 Grid */
.trav360-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.trav360-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    background: var(--redesign-white);
    border-radius: var(--redesign-radius-lg);
    border: 2px solid var(--redesign-gray-200);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--redesign-shadow-sm);
    min-height: 120px;
}

.trav360-card:hover {
    border-color: var(--redesign-primary);
    transform: translateY(-4px);
    box-shadow: var(--redesign-shadow-md);
}

.trav360-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.trav360-title {
    font-weight: 700;
    color: var(--redesign-gray-900);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.trav360-desc {
    font-size: 0.75rem;
    color: var(--redesign-gray-600);
}

/* ==========================================================================
   HOME CONTENT SECTION (sotto i widget)
   ========================================================================== */

.home-content-section {
    background: var(--redesign-white);
    border-radius: var(--redesign-radius-xl) var(--redesign-radius-xl) 0 0;
    padding: 32px 16px;
    margin-top: 24px;
}

.home-content-section .section-header {
    text-align: center;
    margin-bottom: 24px;
}

.home-content-section .section-header h2 {
    font-size: 1.5rem;
    color: var(--redesign-gray-900);
    margin: 0 0 8px;
}

.home-content-section .section-header p {
    color: var(--redesign-gray-600);
    margin: 0;
    font-size: 0.95rem;
}

/* Service cards grid for home content */
.services-grid-redesign {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.service-card-redesign {
    background: var(--redesign-gray-50);
    border-radius: var(--redesign-radius-lg);
    padding: 20px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card-redesign:hover {
    border-color: var(--redesign-primary);
    transform: translateY(-4px);
    box-shadow: var(--redesign-shadow-md);
}

.service-card-redesign .service-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.service-card-redesign .service-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--redesign-gray-900);
    margin: 0 0 4px;
}

.service-card-redesign .service-desc {
    font-size: 0.75rem;
    color: var(--redesign-gray-600);
    margin: 0;
}

/* ==========================================================================
   DESKTOP RESPONSIVE
   ========================================================================== */

@media (min-width: 768px) {
    .home-redesign-main {
        margin-top: 85px;
        padding-top: 10px;
    }

    .tab-navigation {
        top: 75px;
        padding: 16px 24px;
        position: sticky;
    }

    .tab-buttons {
        max-width: 800px;
        gap: 12px;
    }

    .tab-btn {
        flex-direction: row;
        gap: 8px;
        padding: 14px 20px;
    }

    .tab-btn .tab-icon {
        font-size: 1.25rem;
    }

    .tab-btn .tab-label {
        font-size: 0.875rem;
    }

    .tab-content {
        padding: 24px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .widget-container {
        padding: 24px;
    }

    .offers-hero,
    .guides-hero {
        padding: 48px 32px;
    }

    .offers-hero h2,
    .guides-hero h2 {
        font-size: 2.25rem;
    }

    .offers-hero p,
    .guides-hero p {
        font-size: 1.125rem;
    }

    .offers-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        overflow-x: visible;
    }

    .offer-card,
    .offer-card.offer-card-compact {
        flex: none;
    }

    .guides-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .trav360-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .services-grid-redesign {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .home-content-section {
        padding: 48px 24px;
    }

    .home-content-section .section-header h2 {
        font-size: 1.75rem;
    }

    /* Show desktop navigation in slide menu */
    .slide-menu {
        width: 350px;
        right: -350px;
    }
}

@media (min-width: 1024px) {
    .tab-buttons {
        max-width: 900px;
    }

    .tab-btn {
        padding: 16px 28px;
    }

    .tab-content {
        padding: 32px 40px;
    }

    .offers-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .guides-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    .services-grid-redesign {
        grid-template-columns: repeat(6, 1fr);
    }

    .service-card-redesign {
        padding: 24px;
    }
}

/* ==========================================================================
   HIDE OLD ELEMENTS WHEN REDESIGN IS ACTIVE
   ========================================================================== */

/* Header originale rimane visibile su desktop e mobile */

/* Fix footer on redesign pages */
body.home-redesign-active footer {
    margin-top: 0;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.text-gradient {
    background: linear-gradient(135deg, var(--redesign-primary) 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   ADDITIONAL MOBILE IMPROVEMENTS
   ========================================================================== */

@media (max-width: 480px) {
    .new-header .logo h1 {
        font-size: 1.35rem;
    }
    
    .tab-btn {
        padding: 10px 6px;
    }
    
    .tab-btn .tab-icon {
        font-size: 1.3rem;
    }
    
    .tab-btn .tab-label {
        font-size: 0.65rem;
    }
    
    .offers-hero {
        padding: 24px 16px;
    }
    
    .offers-hero h2 {
        font-size: 1.5rem;
    }
    
    .offers-hero p {
        font-size: 0.9rem;
    }
    
    .offer-card {
        flex: 0 0 250px;
    }
    
    .home-content-section .section-header h2 {
        font-size: 1.25rem;
    }
    
    .services-grid-redesign {
        gap: 12px;
    }
    
    .service-card-redesign {
        padding: 16px;
    }
    
    .service-card-redesign .service-icon {
        font-size: 1.75rem;
    }
    
    .service-card-redesign .service-title {
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   SMOOTH SCROLLING
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   FOCUS STATES FOR ACCESSIBILITY
   ========================================================================== */

.tab-btn:focus-visible,
.new-hamburger:focus-visible,
.slide-menu-close:focus-visible,
.slide-menu-nav a:focus-visible,
.service-card-redesign:focus-visible,
.offer-card-btn:focus-visible {
    outline: 3px solid var(--redesign-primary);
    outline-offset: 2px;
}

/* ==========================================================================
   LOADING STATES
   ========================================================================== */

.skeleton {
    background: linear-gradient(90deg, var(--redesign-gray-200) 25%, var(--redesign-gray-100) 50%, var(--redesign-gray-200) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
    .new-header,
    .tab-navigation,
    .slide-menu,
    .slide-menu-overlay {
        display: none !important;
    }
    
    .home-redesign-main {
        margin-top: 0;
    }
}

/* ==========================================================================
   HERO SERVICES SECTION - Clean Design
   ========================================================================== */

.hero-services-section {
    background: var(--redesign-white);
    padding: 2.5rem 1rem;
    margin: 1rem 0;
    border-radius: var(--redesign-radius-xl);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.hero-services-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.hero-services-section .section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--redesign-gray-900);
}

.hero-services-section .section-subtitle {
    font-size: 0.95rem;
    color: var(--redesign-gray-600);
    margin: 0;
}

.hero-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-service-card {
    background: var(--redesign-gray-50);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.2s ease;
    border: 1px solid var(--redesign-gray-100);
}

.hero-service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-color: var(--redesign-primary-light);
}

.hero-service-fallback {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.hero-service-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-service-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--redesign-gray-900);
    margin: 0;
}

.hero-service-title a {
    color: inherit;
    text-decoration: none;
}

.hero-service-description {
    font-size: 0.8rem;
    color: var(--redesign-gray-600);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-service-button {
    display: inline-block;
    padding: 0.6rem 1rem;
    background: var(--redesign-primary);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.hero-service-button:hover {
    background: var(--redesign-primary-dark);
}

/* ==========================================================================
   FEATURED FLIGHTS SECTION - Clean Design
   ========================================================================== */

.featured-flights,
.featured-destinations {
    background: var(--redesign-white);
    padding: 2rem 1rem;
    margin: 1rem 0;
    border-radius: var(--redesign-radius-lg);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.featured-flights .section-header,
.featured-destinations .section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.featured-flights .section-header h2,
.featured-destinations .section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--redesign-gray-900);
    margin: 0 0 0.5rem;
}

.featured-flights .section-subtitle,
.featured-destinations .section-subtitle {
    font-size: 0.95rem;
    color: var(--redesign-gray-600);
    margin: 0 0 1rem;
}

.featured-flights .section-link {
    color: var(--redesign-primary);
    font-weight: 600;
    text-decoration: none;
}

.featured-flights .section-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   DETAILED FLIGHT CARDS - Clean Design
   ========================================================================== */

.flight-cards-grid,
.flights-grid-4 {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.flight-cards-grid::-webkit-scrollbar,
.flights-grid-4::-webkit-scrollbar {
    height: 4px;
}

.flight-cards-grid::-webkit-scrollbar-thumb,
.flights-grid-4::-webkit-scrollbar-thumb {
    background: var(--redesign-gray-300);
    border-radius: 2px;
}

.flight-card-detailed {
    flex: 0 0 260px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--redesign-gray-200);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    scroll-snap-align: start;
    transition: all 0.2s ease;
}

.flight-card-detailed:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    border-color: var(--redesign-primary-light);
}

.flight-card-header {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--redesign-gray-100);
}

.flight-route {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--redesign-gray-900);
    margin: 0 0 0.4rem;
    line-height: 1.3;
}

.flight-type-badge {
    display: inline-block;
    background: var(--redesign-gray-100);
    color: var(--redesign-primary);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.flight-card-airline {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    color: var(--redesign-gray-600);
    font-weight: 500;
}

.flight-card-times {
    padding: 0 1rem;
}

.flight-time-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0;
    font-size: 0.8rem;
    color: var(--redesign-gray-700);
}

.flight-icon {
    font-size: 0.9rem;
}

.flight-label {
    font-weight: 600;
    color: var(--redesign-gray-800);
}

.flight-datetime {
    color: var(--redesign-gray-600);
}

.flight-card-details {
    padding: 0.6rem 1rem;
    border-top: 1px solid var(--redesign-gray-100);
    background: var(--redesign-gray-50);
}

.flight-duration {
    font-size: 0.75rem;
    color: var(--redesign-gray-600);
    margin-bottom: 0.3rem;
}

.flight-baggage {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--redesign-gray-600);
}

.baggage-indicator {
    font-size: 1.1rem;
}

.flight-card-footer {
    padding: 0.875rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
}

.flight-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #059669;
}

.flight-book-btn {
    padding: 0.6rem 1rem;
    background: var(--redesign-primary);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.flight-book-btn:hover {
    background: var(--redesign-primary-dark);
}

/* ==========================================================================
   GUIDE CARDS FULL - Clean Design
   ========================================================================== */

.guides-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.guide-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    border: 1px solid var(--redesign-gray-100);
}

.guide-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: var(--redesign-primary-light);
}

.guide-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.guide-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.guide-card .guide-content {
    padding: 1rem;
}

.guide-card .guide-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--redesign-gray-900);
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.guide-card .guide-content p {
    font-size: 0.85rem;
    color: var(--redesign-gray-600);
    line-height: 1.5;
    margin: 0 0 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.guide-card .guide-meta {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    color: var(--redesign-gray-600);
}

.guide-card .guide-duration,
.guide-card .guide-budget {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.guide-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.highlight-tag {
    background: var(--redesign-gray-100);
    color: var(--redesign-gray-700);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
}

.guide-card .read-more {
    color: var(--redesign-primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.85rem;
}

.guide-card .read-more:hover {
    text-decoration: underline;
}

/* ==========================================================================
   BUDGET CARDS - Clean Design
   ========================================================================== */

.budget-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.budget-card {
    display: block;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid var(--redesign-gray-100);
}

.budget-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: var(--redesign-primary-light);
}

.budget-card-flag {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flag-emoji {
    font-size: 3rem;
}

.budget-card-content {
    padding: 1rem;
}

.budget-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--redesign-gray-900);
    margin: 0 0 0.4rem;
}

.budget-card-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.budget-card-desc {
    font-size: 0.85rem;
    color: var(--redesign-gray-600);
    line-height: 1.5;
    margin: 0 0 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.budget-card-link {
    font-weight: 600;
    font-size: 0.85rem;
}

/* ==========================================================================
   TRAV360 TIP CARDS - Clean Design
   ========================================================================== */

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.tip-card {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--redesign-gray-100);
}

.tip-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: var(--redesign-secondary);
}

.tip-content {
    flex: 1;
}

.tip-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

.tip-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--redesign-gray-900);
    margin: 0 0 0.4rem;
}

.tip-card p {
    font-size: 0.85rem;
    color: var(--redesign-gray-600);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tip-button {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.6rem 1rem;
    background: var(--redesign-secondary);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    text-align: center;
    transition: all 0.2s ease;
}

.tip-button:hover {
    background: #d97706;
}

/* ==========================================================================
   PACKAGE CARDS - Clean Design
   ========================================================================== */

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}

.package-card {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid var(--redesign-gray-100);
    transition: all 0.2s ease;
}

.package-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: var(--redesign-primary-light);
}

.package-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.package-icon {
    font-size: 1.5rem;
}

.package-title-wrap {
    flex: 1;
}

.package-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--redesign-gray-900);
    margin: 0 0 0.35rem;
    line-height: 1.3;
}

.package-badge {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}

.package-details {
    margin-bottom: 0.75rem;
}

.package-row {
    display: flex;
    gap: 0.4rem;
    padding: 0.35rem 0;
    font-size: 0.8rem;
    border-bottom: 1px solid var(--redesign-gray-100);
}

.package-label {
    font-weight: 600;
    color: var(--redesign-gray-700);
    min-width: 90px;
}

.package-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--redesign-gray-200);
    margin-bottom: 0.75rem;
}

.package-price-label {
    font-size: 0.85rem;
    color: var(--redesign-gray-700);
}

.package-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: #059669;
}

.package-desc {
    font-size: 0.85rem;
    color: var(--redesign-gray-600);
    line-height: 1.5;
    margin: 0 0 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.package-features {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.75rem;
}

.package-feature {
    font-size: 0.8rem;
    color: #059669;
}

.package-btn {
    display: block;
    width: 100%;
    padding: 0.7rem;
    background: #10b981;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.package-btn:hover {
    background: #059669;
}

/* ==========================================================================
   FLIGHT DEALS BANNER - Clean Design
   ========================================================================== */

.flight-deals-banner {
    background: var(--redesign-primary);
    padding: 1.5rem 1rem;
    margin: 1rem 0;
    border-radius: var(--redesign-radius-lg);
}

.banner-content-simple {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.banner-text-simple h3 {
    font-size: 1.25rem;
    color: white;
    margin: 0 0 0.35rem;
}

.banner-text-simple p {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-size: 0.9rem;
}

.banner-btn-simple {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--redesign-primary);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.banner-btn-simple:hover {
    background: var(--redesign-gray-100);
}

/* CTA Button */
.cta-button.primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--redesign-primary);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.cta-button.primary:hover {
    background: var(--redesign-primary-dark);
}

/* ==========================================================================
   DESKTOP IMPROVEMENTS FOR NEW SECTIONS
   ========================================================================== */

@media (min-width: 768px) {
    .hero-services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .hero-service-card {
        padding: 2rem;
    }
    
    .hero-service-fallback {
        font-size: 3rem;
    }
    
    .flight-cards-grid,
    .flights-grid-4 {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        overflow-x: visible;
    }
    
    .flight-card-detailed {
        flex: none;
    }
    
    .guides-grid-home {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .banner-content-simple {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .hero-services-section {
        padding: 4rem 2rem;
    }
    
    .hero-services-section .section-header h2 {
        font-size: 2.25rem;
    }
    
    .flight-cards-grid,
    .flights-grid-4 {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .guides-grid-home {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .budget-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .tips-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .packages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
