/* ========================================
   GetMyBooking.co.uk - Main Stylesheet
   Light Travel Theme - Fully Responsive
   ======================================== */

/* CSS Variables */
:root {
    --primary-color: #1a5fb4;
    --primary-dark: #154a8c;
    --secondary-color: #ff6b35;
    --accent-color: #26c6da;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --danger-color: #f44336;
    
    --text-dark: #1a1a2e;
    --text-medium: #4a4a68;
    --text-light: #6b6b8a;
    --text-muted: #9a9ab0;
    
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-cream: #fdf8f3;
    --bg-blue-light: #e8f4fc;
    --bg-sand: #f5f0e8;
    
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --header-height: 70px;
    --container-max: 1400px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   BLINKING TOP BANNER
   ======================================== */
.top-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 12px 0;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
}

.blink-banner {
    animation: bannerBlink 5s ease-in-out;
}

@keyframes bannerBlink {
    0%, 100% { background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%); }
    25% { background: linear-gradient(135deg, var(--secondary-color) 0%, #e55a2b 100%); }
    50% { background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%); }
    75% { background: linear-gradient(135deg, var(--secondary-color) 0%, #e55a2b 100%); }
}

.top-banner p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.top-banner i {
    color: #ffd700;
    animation: firePulse 1s infinite;
}

@keyframes firePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.btn-explore {
    background: var(--secondary-color);
    color: white;
    padding: 8px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    animation: pulseBtn 2s infinite;
}

@keyframes pulseBtn {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 107, 53, 0); }
}

.btn-explore:hover {
    background: #e55a2b;
}

/* ========================================
   HEADER
   ======================================== */
.main-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-get {
    color: var(--primary-color);
}

.logo-booking {
    color: var(--secondary-color);
}

.logo-uk {
    color: var(--text-medium);
    font-size: 0.9rem;
    font-weight: 500;
}

.main-nav ul {
    display: flex;
    gap: 8px;
}

.main-nav a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    color: var(--text-medium);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
    background: var(--bg-blue-light);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-info {
    text-align: right;
}

.call-text {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.phone-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-number:hover {
    color: var(--primary-color);
}

.phone-number i {
    font-size: 1rem;
}

.btn-login {
    background: var(--primary-color);
    color: white;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-login:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    padding: 8px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 95, 180, 0.7) 0%, rgba(21, 74, 140, 0.5) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    padding: 60px 0 40px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 2px;
}

.hero-title .highlight {
    color: var(--secondary-color);
}

.btn-view-offers {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--secondary-color);
    color: white;
    padding: 16px 40px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: var(--shadow-lg);
}

.btn-view-offers:hover {
    background: #e55a2b;
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   SEARCH WIDGET
   ======================================== */
.search-widget {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    margin-top: 40px;
}

.search-tabs {
    display: flex;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
}

.tab-btn {
    flex: 1;
    padding: 16px 24px;
    background: transparent;
    color: var(--text-medium);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-bottom: 3px solid transparent;
    transition: var(--transition-normal);
}

.tab-btn:hover {
    color: var(--primary-color);
    background: var(--bg-blue-light);
}

.tab-btn.active {
    color: var(--primary-color);
    background: var(--bg-white);
    border-bottom-color: var(--primary-color);
}

.tab-btn i {
    font-size: 1.1rem;
}

.search-form-container {
    padding: 25px;
}

/* Trip Type Tabs */
.trip-type-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.trip-type-btn {
    padding: 10px 20px;
    background: var(--bg-light);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-weight: 500;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-normal);
}

.trip-type-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.trip-type-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Flight Legs */
.flight-legs-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.flight-leg {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 2px solid var(--border-light);
}

.leg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.leg-label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.leg-remove {
    background: none;
    color: var(--danger-color);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-form .form-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    align-items: end;
}

.search-form .form-row.bottom-row {
    grid-template-columns: 1.5fr 1fr 1.5fr;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.form-group {
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-medium);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group label i {
    color: var(--primary-color);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--bg-white);
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 95, 180, 0.1);
}

.location-group {
    position: relative;
}

.location-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-height: 250px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    margin-top: 5px;
}

.location-dropdown.active {
    display: block;
}

.location-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-fast);
}

.location-item:hover {
    background: var(--bg-blue-light);
}

.location-item .airport-code {
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 10px;
}

.location-item .airport-name {
    color: var(--text-medium);
    font-size: 0.9rem;
}

.passenger-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    cursor: pointer;
    background: var(--bg-white);
    transition: var(--transition-normal);
}

.passenger-selector:hover {
    border-color: var(--primary-color);
}

.passenger-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 16px;
    z-index: 100;
    display: none;
    margin-top: 5px;
}

.passenger-dropdown.active {
    display: block;
}

.passenger-type {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}

.passenger-type:last-child {
    border-bottom: none;
}

.counter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.counter-btn {
    width: 32px;
    height: 32px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.counter-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.counter-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.count {
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.btn-search {
    background: var(--secondary-color);
    color: white;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: fit-content;
    transition: var(--transition-normal);
}

.btn-search:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Multi City Controls */
.multicity-controls {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.btn-add-leg,
.btn-remove-leg {
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-add-leg {
    background: var(--success-color);
    color: white;
}

.btn-add-leg:hover {
    background: #43a047;
}

.btn-remove-leg {
    background: var(--danger-color);
    color: white;
}

.btn-remove-leg:hover {
    background: #d32f2f;
}

/* Hide return date for one-way */
.return-date-group.hidden {
    display: none;
}

/* ========================================
   TRUST BADGES
   ======================================== */
.trust-badges-section {
    background: var(--bg-cream);
    padding: 30px 0;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.trust-badge i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.trust-badge span {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.trust-badge strong {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* ========================================
   WELCOME SECTION
   ======================================== */
.welcome-section {
    padding: 80px 0;
    text-align: center;
    background: var(--bg-white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.section-title .highlight {
    color: var(--primary-color);
}

.welcome-text {
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--text-medium);
    font-size: 1.1rem;
    line-height: 1.8;
}

.rating-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.rating-label {
    font-size: 0.95rem;
    color: var(--text-medium);
}

.stars {
    display: flex;
    gap: 4px;
}

.stars i {
    color: #ffc107;
    font-size: 1.1rem;
}

.rating-value {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* ========================================
   FLIGHT RESULTS SECTION
   ======================================== */
.flight-results-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.results-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.results-header h3 i {
    color: var(--primary-color);
}

.results-summary {
    display: flex;
    align-items: center;
    gap: 20px;
}

#resultsCount {
    color: var(--text-medium);
    font-weight: 500;
}

.btn-new-search {
    background: var(--primary-color);
    color: white;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-new-search:hover {
    background: var(--primary-dark);
}

.results-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

.filters-sidebar {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-group {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-light);
}

.filter-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-group h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group h4 i {
    color: var(--primary-color);
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    cursor: pointer;
}

.filter-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.filter-checkbox span {
    color: var(--text-medium);
    font-size: 0.9rem;
}

.time-slider {
    margin-top: 10px;
}

.time-slider input[type="range"] {
    width: 100%;
    accent-color: var(--primary-color);
}

#departureTimeValue {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.flight-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-normal);
}

.flight-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.flight-card-header {
    background: var(--bg-blue-light);
    padding: 12px 20px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.flight-card-body {
    padding: 20px;
}

.flight-segment {
    display: grid;
    grid-template-columns: 120px 1fr 180px;
    gap: 20px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px dashed var(--border-light);
}

.flight-segment:last-child {
    border-bottom: none;
}

.airline-info {
    text-align: center;
}

.airline-logo-small {
    width: 60px;
    height: 40px;
    object-fit: contain;
    margin: 0 auto 8px;
}

.airline-name {
    font-size: 0.8rem;
    color: var(--text-medium);
    font-weight: 600;
}

.cabin-class {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.flight-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.departure-info,
.arrival-info {
    text-align: center;
}

.time {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
}

.airport {
    font-size: 0.85rem;
    color: var(--text-medium);
}

.date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.flight-duration {
    text-align: center;
    flex: 1;
}

.duration-line {
    position: relative;
    height: 2px;
    background: var(--border-light);
    margin: 10px 0;
}

.duration-line::before,
.duration-line::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--border-light);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.duration-line::before {
    left: 0;
}

.duration-line::after {
    right: 0;
}

.duration-text {
    font-size: 0.85rem;
    color: var(--text-medium);
}

.stops-text {
    font-size: 0.75rem;
    color: var(--success-color);
}

.flight-action {
    text-align: center;
    padding: 15px;
    background: var(--bg-cream);
    border-left: 1px solid var(--border-light);
}

.call-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.call-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 12px;
}

.btn-call-now {
    background: var(--secondary-color);
    color: white;
    padding: 12px 25px;
    border-radius: var(--radius-md);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.btn-call-now:hover {
    background: #e55a2b;
}

/* ========================================
   AIRLINES SECTION
   ======================================== */
.airlines-section {
    padding: 50px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 30px;
    font-weight: 500;
}

.airlines-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.airline-logo {
    width: 100px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: var(--transition-normal);
    filter: grayscale(100%);
}

.airline-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.airline-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ========================================
   DEALS SECTION
   ======================================== */
.deals-section {
    padding: 80px 0;
    background: var(--bg-cream);
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.deal-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    cursor: pointer;
}

.deal-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.deal-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.deal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.deal-card:hover .deal-image img {
    transform: scale(1.1);
}

.deal-content {
    padding: 20px;
}

.deal-content h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.deal-routes {
    margin-bottom: 15px;
}

.deal-route {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 0.85rem;
    border-bottom: 1px dashed var(--border-light);
}

.deal-route:last-child {
    border-bottom: none;
}

.deal-route .destination {
    color: var(--text-medium);
}

.deal-route .price {
    color: var(--secondary-color);
    font-weight: 700;
}

.deal-airline-logo {
    height: 30px;
    display: flex;
    align-items: center;
}

.deal-airline-logo img {
    max-height: 100%;
    width: auto;
}

/* ========================================
   OFFERS SECTION
   ======================================== */
.offers-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.offer-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 280px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.offer-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.offer-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 30px 20px 20px;
    color: white;
}

.offer-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.offer-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.offer-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: white;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
}

/* ========================================
   WHY CHOOSE SECTION
   ======================================== */
.why-choose-section {
    padding: 80px 0;
    background: var(--bg-sand);
    text-align: center;
}

.section-desc {
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--text-medium);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.feature-card {
    background: var(--bg-white);
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 1.8rem;
    color: white;
}

.feature-card h4 {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.awards-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.award-badge {
    background: var(--primary-color);
    color: white;
    padding: 20px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    min-width: 150px;
}

.award-badge i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.award-badge span {
    font-size: 0.85rem;
    font-weight: 600;
}

.award-badge small {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 0;
    background: var(--primary-color);
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 40px 0;
}

.cta-agent {
    width: 200px;
    margin-bottom: -40px;
}

.cta-agent img {
    width: 100%;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.cta-text {
    color: white;
    text-align: center;
}

.cta-text h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.cta-phone {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    display: block;
}

.cta-phone:hover {
    color: var(--accent-color);
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.rating-header {
    text-align: center;
    margin-bottom: 50px;
}

.rating-header .stars {
    justify-content: center;
    margin: 15px 0;
}

.reviews-count {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 10px;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.testimonial-card .stars {
    justify-content: center;
    margin-bottom: 15px;
}

.testimonial-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-author {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ========================================
   FOOTER
   ======================================== */
.main-footer {
    background: var(--text-dark);
    color: white;
}

.footer-top {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.footer-col h4 i {
    color: var(--secondary-color);
}

.footer-desc {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 5px;
}

.footer-phone:hover {
    color: var(--accent-color);
}

.footer-note {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

.footer-link {
    color: var(--accent-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-link:hover {
    color: var(--secondary-color);
}

.footer-social {
    padding: 40px 0;
    background: rgba(0,0,0,0.2);
    text-align: center;
}

.footer-social h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-social h4 i {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-newsletter {
    padding: 40px 0;
    background: rgba(0,0,0,0.1);
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.newsletter-text h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.newsletter-text h4 i {
    color: var(--secondary-color);
}

.newsletter-text p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
}

.btn-subscribe {
    background: var(--secondary-color);
    color: white;
    padding: 14px 30px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
}

.btn-subscribe:hover {
    background: #e55a2b;
}

.footer-middle {
    padding: 30px 0;
    background: rgba(0,0,0,0.2);
}

.trust-logos {
    text-align: center;
}

.trust-logos > p {
    margin-bottom: 20px;
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
}

.trust-logos > p i {
    color: var(--success-color);
    margin-right: 8px;
}

.certification-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cert-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

.cert-logo i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.footer-bottom {
    padding: 30px 0;
    background: rgba(0,0,0,0.3);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

.copyright i {
    margin-right: 5px;
}

/* ========================================
   AUTH MODAL
   ======================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    padding: 20px;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 450px;
    padding: 40px;
    position: relative;
    transform: translateY(-30px);
    transition: var(--transition-normal);
    max-height: 90vh;
    overflow-y: auto;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-medium);
    font-size: 1rem;
}

.modal-close:hover {
    background: var(--danger-color);
    color: white;
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.auth-tab {
    flex: 1;
    padding: 14px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--text-medium);
}

.auth-tab.active {
    background: var(--primary-color);
    color: white;
}

.auth-form h3 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.auth-form label i {
    color: var(--primary-color);
}

.auth-form input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.auth-form input:focus {
    border-color: var(--primary-color);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.forgot-password {
    color: var(--primary-color);
    font-size: 0.85rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-auth {
    width: 100%;
    background: var(--primary-color);
    color: white;
    padding: 16px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 20px;
}

.btn-auth:hover {
    background: var(--primary-dark);
}

.social-login {
    text-align: center;
}

.social-login p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
    position: relative;
}

.social-login p::before,
.social-login p::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 80px;
    height: 1px;
    background: var(--border-light);
}

.social-login p::before {
    left: 0;
}

.social-login p::after {
    right: 0;
}

.btn-google {
    width: 100%;
    background: var(--bg-white);
    border: 2px solid var(--border-light);
    color: var(--text-dark);
    padding: 14px;
    border-radius: var(--radius-md);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-google:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
}

.btn-google i {
    color: #db4437;
    font-size: 1.2rem;
}

.terms a {
    color: var(--primary-color);
}

/* ========================================
   LOADING OVERLAY
   ======================================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    text-align: center;
}

.loading-spinner i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.loading-spinner p {
    color: var(--text-medium);
    font-size: 1.1rem;
}

/* ========================================
   TOAST NOTIFICATIONS
   ======================================== */
.toast-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 4000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
}

.toast {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.success {
    border-left: 4px solid var(--success-color);
}

.toast.error {
    border-left: 4px solid var(--danger-color);
}

.toast.warning {
    border-left: 4px solid var(--warning-color);
}

.toast i {
    font-size: 1.2rem;
}

.toast.success i {
    color: var(--success-color);
}

.toast.error i {
    color: var(--danger-color);
}

.toast.warning i {
    color: var(--warning-color);
}

/* ========================================
   MOBILE RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1200px) {
    .deals-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: calc(100vh - var(--header-height));
        background: var(--bg-white);
        box-shadow: var(--shadow-lg);
        transition: var(--transition-normal);
        z-index: 999;
        overflow-y: auto;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 5px;
    }
    
    .main-nav a {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .contact-info {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .search-form .form-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .search-form .form-row.bottom-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .btn-search {
        grid-column: span 2;
    }
    
    .results-layout {
        grid-template-columns: 1fr;
    }
    
    .filters-sidebar {
        position: static;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }
    
    .hero-section {
        min-height: auto;
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .hero-content {
        padding: 30px 0 20px;
    }
    
    .btn-view-offers {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .search-widget {
        margin-top: 20px;
        margin-left: -10px;
        margin-right: -10px;
        border-radius: var(--radius-md);
    }
    
    .search-form-container {
        padding: 15px;
    }
    
    .search-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1 1 33%;
        padding: 12px 8px;
        font-size: 0.8rem;
    }
    
    .tab-btn i {
        display: block;
        margin-bottom: 4px;
        font-size: 1rem;
    }
    
    .trip-type-tabs {
        justify-content: center;
    }
    
    .trip-type-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .search-form .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .search-form .form-row.bottom-row {
        grid-template-columns: 1fr;
    }
    
    .btn-search {
        grid-column: span 1;
        padding: 14px 20px;
    }
    
    .flight-leg {
        padding: 15px;
    }
    
    .multicity-controls {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .trust-badges {
        gap: 15px;
    }
    
    .trust-badge {
        padding: 12px 18px;
        flex: 1 1 45%;
    }
    
    .trust-badge i {
        font-size: 1.4rem;
    }
    
    .trust-badge span {
        font-size: 0.8rem;
    }
    
    .trust-badge strong {
        font-size: 1rem;
    }
    
    .deals-grid,
    .offers-grid,
    .features-grid,
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .offer-card {
        height: 220px;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
        padding: 30px 0;
    }
    
    .cta-agent {
        width: 150px;
        margin-bottom: 0;
    }
    
    .cta-text h3 {
        font-size: 1.4rem;
    }
    
    .cta-phone {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .certification-logos {
        gap: 20px;
    }
    
    .cert-logo {
        font-size: 0.85rem;
    }
    
    .footer-links {
        gap: 15px;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .modal-content {
        padding: 25px;
        margin: 10px;
    }
    
    .auth-tabs {
        flex-direction: column;
    }
    
    .toast-container {
        left: 10px;
        right: 10px;
        max-width: none;
    }
    
    .toast {
        width: 100%;
    }
    
    .flight-segment {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .flight-action {
        border-left: none;
        border-top: 1px solid var(--border-light);
    }
    
    .airlines-strip {
        gap: 20px;
    }
    
    .airline-logo {
        width: 70px;
        height: 35px;
    }
    
    .awards-section {
        gap: 10px;
    }
    
    .award-badge {
        padding: 15px 20px;
        min-width: auto;
        flex: 1 1 45%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .top-banner {
        padding: 10px 0;
        font-size: 0.8rem;
    }
    
    .top-banner p {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-explore {
        padding: 6px 16px;
        font-size: 0.75rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .welcome-section,
    .deals-section,
    .offers-section,
    .why-choose-section,
    .testimonials-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .welcome-text {
        font-size: 0.95rem;
    }
    
    .deal-image {
        height: 150px;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .feature-icon {
        width: 55px;
        height: 55px;
    }
    
    .feature-icon i {
        font-size: 1.4rem;
    }
    
    .feature-card h4 {
        font-size: 0.85rem;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .footer-top {
        padding: 40px 0;
    }
    
    .footer-phone {
        font-size: 1.2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .btn-subscribe {
        width: 100%;
    }
    
    .copyright {
        font-size: 0.75rem;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Screen reader only */
.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;
}
