/* 
   GLOBAL BEST - Modern Travel Agency Style Sheet
   Design Style: Modern Minimalist, Sustainable, High-end
*/

:root {
    /* Color Palette */
    --primary-color: #2ECC71;
    --primary-hover: #27ae60;
    --secondary-color: #1A1A1A;
    --text-main: #1A1A1A;
    --text-muted: #666666;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-dark: #1A1A1A;
    --border-color: #EEEEEE;
    
    /* Typography */
    --font-main: 'Inter', 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    --fw-light: 300;
    --fw-regular: 400;
    --fw-bold: 700;
    --fw-extrabold: 800;
    
    /* Spacing & Sizing */
    --container-width: 1200px;
    --section-padding: 100px 0;
    --radius-lg: 30px;
    --radius-md: 20px;
    --radius-sm: 12px;
    --radius-pill: 50px;
    
    /* Shadows */
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 15px 50px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: all 0.3s ease;
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 1. Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

section {
    padding: var(--section-padding);
}

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

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

/* 2. Typography Styles */
h1, h2, h3, h4 {
    font-weight: var(--fw-extrabold);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* 3. Buttons & UI Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: var(--fw-bold);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.btn-dark {
    background-color: var(--secondary-color);
    color: white;
}

.btn-dark:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-ghost:hover {
    background: var(--bg-light);
    border-color: var(--text-main);
}

/* 4. Header Styles */
.header {
    height: 90px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: var(--fw-extrabold);
    color: var(--secondary-color);
}

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

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-weight: var(--fw-bold);
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary-color);
}

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

/* 5. Hero Section Styles */
.hero {
    padding-top: 40px;
    padding-bottom: 120px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 540px;
}

.hero-tagline {
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: block;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.floating-card {
    position: absolute;
    bottom: 40px;
    left: -40px;
    background: white;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 6. Search Bar Styles */
.search-container {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.search-bar {
    background: white;
    padding: 15px 15px 15px 40px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-color);
    padding: 0 20px;
}

.search-item:last-of-type {
    border-right: none;
}

.search-label {
    font-size: 0.8rem;
    font-weight: var(--fw-bold);
    color: var(--text-muted);
}

.search-input {
    border: none;
    outline: none;
    font-size: 1rem;
    font-weight: var(--fw-bold);
    padding: 5px 0;
}

.search-btn {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
}

/* 7. Card Grids & Destinations */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

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

.destination-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    transition: var(--transition-smooth);
}

.destination-card:hover {
    transform: translateY(-10px);
}

.destination-img {
    height: 400px;
    width: 100%;
    object-fit: cover;
}

.price-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-weight: var(--fw-bold);
    backdrop-filter: blur(5px);
}

/* 8. Value Proposition Cards */
.value-section {
    background-color: var(--bg-light);
}

.value-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-md);
    text-align: left;
    transition: var(--transition-fast);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary-color);
}

/* 9. Review Section */
.review-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-md);
    position: relative;
}

.review-card.featured {
    background: var(--bg-dark);
    color: white;
    transform: scale(1.05);
    z-index: 2;
}

.review-card.featured p {
    color: #ccc;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* 10. Footer Styles */
.footer {
    background: var(--bg-white);
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    background: var(--bg-light);
    padding: 8px;
    border-radius: var(--radius-pill);
}

.newsletter-form input {
    background: transparent;
    border: none;
    padding: 0 20px;
    flex: 1;
    outline: none;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* 11. Responsive Design */

/* Tablet (1024px) */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-grid {
        gap: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile (768px) */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .nav-menu, .header-actions .btn-ghost {
        display: none; /* In real project, would implement hamburger menu */
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-image {
        height: 400px;
    }

    .floating-card {
        left: 20px;
    }

    .search-bar {
        flex-direction: column;
        border-radius: var(--radius-md);
        padding: 20px;
    }

    .search-item {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 15px 0;
    }

    .search-btn {
        width: 100%;
        margin-top: 20px;
        border-radius: var(--radius-sm);
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .review-card.featured {
        transform: scale(1);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* 12. Utility Classes */
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.py-large { padding: 120px 0; }
.bg-grey { background-color: var(--bg-light); }
.text-center { text-align: center; }