
:root {
    --primary: #e23744;
    --primary-dark: #c41e2b;
    --secondary: #008cff;
    --dark: #0b1220;
    --dark-gray: #374151;
    --gray: #6b7280;
    --light-gray: #e5e7eb;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--bg-light);
    color: var(--dark);
    line-height: 1.5;
}

/* Header */
header {
    background: var(--white);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
}

    .logo span:nth-child(1) {
        color: var(--primary);
    }

    .logo span:nth-child(2) {
        color: var(--secondary);
    }

    .logo span:nth-child(3) {
        color: var(--primary);
    }

.user-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

    .user-actions button {
        background: none;
        border: none;
        padding: 8px 16px;
        border-radius: var(--radius-md);
        cursor: pointer;
        font-weight: 600;
        font-size: 14px;
    }

    .user-actions .login-btn {
        color: var(--primary);
    }

    .user-actions .signup-btn {
        background: var(--primary);
        color: var(--white);
    }

/* Navigation */
.main-nav {
    display: flex;
    gap: 4px;
    margin-left: 40px;
    flex: 1;
    max-width: 500px;
}

    .main-nav button {
        background: none;
        border: none;
        padding: 12px 20px;
        border-radius: var(--radius-md);
        cursor: pointer;
        font-weight: 600;
        font-size: 15px;
        color: var(--dark-gray);
        display: flex;
        align-items: center;
        gap: 8px;
        transition: all 0.2s;
    }

        .main-nav button:hover {
            background: rgba(226, 55, 68, 0.05);
            color: var(--primary);
        }

        .main-nav button.active {
            background: rgba(226, 55, 68, 0.1);
            color: var(--primary);
        }

    .main-nav i {
        font-size: 18px;
    }

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin: 24px 0;
    height: 380px;
}

    .hero img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
    display: flex;
    align-items: center;
    padding: 0 60px;
}

.hero-content {
    color: var(--white);
    max-width: 500px;
}

    .hero-content h1 {
        font-size: 40px;
        margin-bottom: 12px;
    }

    .hero-content p {
        font-size: 18px;
        opacity: 0.9;
        margin-bottom: 30px;
    }

/* Search Card */
.search-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-top: -60px;
      position: relative;
    z-index: 10;
    box-shadow: var(--shadow-lg);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.search-tabs {
    display: flex;
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: 20px;
}

.search-tab {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    color: var(--gray);
    transition: all 0.2s;
}

    .search-tab.active {
        color: var(--primary);
        border-bottom-color: var(--primary);
    }

.search-form {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 16px;
    align-items: end;
}

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group label {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 6px;
        color: var(--dark-gray);
    }

.form-control {
    padding: 14px 16px;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-family: inherit;
    transition: border 0.2s;
}

    .form-control:focus {
        outline: none;
        border-color: var(--primary);
    }

.search-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    padding: 14px 28px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}

    .search-btn:hover {
        background: var(--primary-dark);
    }

/* Features Grid */
.features-section {
    margin: 40px 0;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.features {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.feature {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .feature:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
    }

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(226, 55, 68, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

    .feature-icon i {
        font-size: 24px;
        color: var(--primary);
    }

.feature span {
    display: block;
    font-weight: 600;
    font-size: 14px;
}

/* Hotel/Listing Cards */
.hotel-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
    transition: transform 0.2s;
    display: flex;
}

    .hotel-card:hover {
        transform: translateY(-4px);
    }

.hotel-image {
    width: 280px;
    height: 220px;
    object-fit: cover;
}

.hotel-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hotel-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.hotel-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.hotel-location {
    color: var(--gray);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hotel-rating {
    background: var(--primary);
    color: var(--white);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.hotel-amenities {
    display: flex;
    gap: 16px;
    margin: 12px 0;
    flex-wrap: wrap;
}

.amenity {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--dark-gray);
}

.hotel-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
}

    .price span {
        font-size: 14px;
        font-weight: 400;
        color: var(--gray);
    }

.book-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    padding: 10px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

    .book-btn:hover {
        background: var(--primary-dark);
    }

/* Flight Cards */
.flight-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flight-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.airline-logo {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .airline-logo i {
        font-size: 24px;
        color: var(--primary);
    }

.flight-details {
    display: flex;
    align-items: center;
    gap: 30px;
}

.flight-route {
    text-align: center;
}

.flight-time {
    font-weight: 700;
    font-size: 18px;
}

.flight-city {
    font-size: 14px;
    color: var(--gray);
}

.flight-duration {
    text-align: center;
    color: var(--gray);
    font-size: 14px;
}

.flight-price {
    text-align: right;
}

    .flight-price .amount {
        font-size: 24px;
        font-weight: 800;
        color: var(--dark);
    }

    .flight-price .per-person {
        font-size: 12px;
        color: var(--gray);
    }

/* Filters Sidebar */
.filters-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.filter-group {
    margin-bottom: 24px;
}

.filter-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--dark);
}

.filter-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

    .filter-option label {
        cursor: pointer;
        font-size: 14px;
    }

.price-range {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-inputs {
    display: flex;
    gap: 10px;
}

    .price-inputs input {
        flex: 1;
        padding: 8px 12px;
        border: 1px solid var(--light-gray);
        border-radius: var(--radius-sm);
    }

/* Responsive Design */
@media (max-width: 1100px) {
    .features {
        grid-template-columns: repeat(3, 1fr);
    }

    .search-form {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-btn {
        grid-column: span 2;
    }
}

@media (max-width: 900px) {
    .main-nav {
        display: none;
    }

    .hero {
        height: 300px;
    }

    .hero-overlay {
        padding: 0 30px;
    }

    .hotel-card {
        flex-direction: column;
    }

    .hotel-image {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-form {
        grid-template-columns: 1fr;
    }

    .search-btn {
        grid-column: span 1;
    }

    .flight-card {
        flex-direction: column;
        gap: 20px;
    }

    .flight-info {
        width: 100%;
        justify-content: space-between;
    }

    .flight-price {
        width: 100%;
        text-align: center;
    }

    header {
        padding: 16px;
    }

    .user-actions {
        gap: 8px;
    }

        .user-actions button {
            padding: 8px 12px;
            font-size: 13px;
        }
}

@media (max-width: 480px) {
    .features {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }
}


