/*
Theme Name: EgoTrip
Description: Curated travel experiences
Version: 1.0
Author: Your Name
*/

/* ============================================
   CSS RESET & BASE STYLES
============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

/* ============================================
   COLOR VARIABLES & CLASSES
============================================ */
:root {
    /* 👇 KEEP ALL OF THESE (Your existing variables) */
    --color-primary: #000000;
    --color-accent: #8B0000;
    --color-white: #ffffff;
    --color-gray-light: #f5f5f5;
    --color-gray: #666666;
    --color-gray-dark: #333333;
    --color-border: #e0e0e0;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
    
    /* Container */
    --container-max: 1200px;
    --container-wide: 1400px;
    
    /* 👇 ADD THESE NEW ONES BELOW 👇 */
    
    /* Accent Variations */
    --color-accent-dark: #6d0000;
    --color-accent-shadow: rgba(139, 0, 0, 0.3);
    
    /* UI Colors for Homepage */
    --color-purple: #6366f1;
    --color-purple-light: #ede9fe;
    --color-purple-lighter: #f8f7ff;
    --color-gold: #fbbc04;
    --color-blue: #1a73e8;
    --color-blue-dark: #1557b0;
    
    /* Background Colors */
    --bg-gray-lightest: #f8f9fa;
    --bg-red-light: #fff5f5;
    
    /* Border Radius System */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-pill: 50px;
    
    /* Box Shadows */
    --shadow-xs: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-2xl: 0 15px 50px rgba(0, 0, 0, 0.3);
    --shadow-accent: 0 10px 40px rgba(139, 0, 0, 0.3);
    --shadow-accent-lg: 0 15px 50px rgba(139, 0, 0, 0.4);
    --shadow-accent-sm: 0 4px 12px rgba(139, 0, 0, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Section Padding */
    --section-padding: 4rem 0;
    --section-padding-lg: 6rem 0;
}

/* Color Classes */
.primary-color { color: var(--color-primary); }
.accent-color { color: var(--color-accent); }
.white-color { color: var(--color-white); }
.gray-color { color: var(--color-gray); }

.bg-primary { background-color: var(--color-primary); }
.bg-accent { background-color: var(--color-accent); }
.bg-white { background-color: var(--color-white); }
.bg-gray-light { background-color: var(--color-gray-light); }

/* ============================================
   TYPOGRAPHY
============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
}

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

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.text-large {
    font-size: 1.25rem;
}

.text-small {
    font-size: 0.875rem;
}

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

.text-bold {
    font-weight: 700;
}

/* ============================================
   HEADER
============================================ */
.site-header {
    background-color: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Remove scrolled shadow for homepage */
body.home .site-header.scrolled {
    box-shadow: none;
}

.header-container {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

/* Left Navigation */
.header-nav-left {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: flex-start;
}

.header-nav-left a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-primary);
    position: relative;
    white-space: nowrap;
}

.header-nav-left a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.header-nav-left a:hover::after,
.header-nav-left a.active::after {
    width: 100%;
}

/* Centered Logo */
.site-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-logo a {
    display: block;
    line-height: 1;
}

.site-logo img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.site-logo:hover img {
    transform: scale(1.05);
}

/* Header Actions - Right Side */
.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: flex-end;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    transition: all 0.3s ease;
}

/* ============================================
   BUTTONS
============================================ */
.btn {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    letter-spacing: 0.3px;
}

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

.btn-primary:hover {
    background-color: #6d0000;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(139, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

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

/* Slim Button Styles - Elegant & Minimal */
.btn-slim {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 6px;
}

.btn-outline-slim {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-border);
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 400;
    border-radius: 6px;
}

.btn-outline-slim:hover {
    border-color: var(--color-primary);
    background-color: rgba(0, 0, 0, 0.02);
    transform: translateY(-1px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ============================================
   LINKS
============================================ */
.link {
    color: var(--color-primary);
    position: relative;
}

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

.link-underline {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.link-arrow::after {
    content: ' →';
    transition: transform 0.3s ease;
    display: inline-block;
}

.link-arrow:hover::after {
    transform: translateX(5px);
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
    background-color: var(--color-gray-light);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    margin-top: var(--spacing-xxl);
}

.footer-container {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--spacing-md);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo img {
    height: 35px;
    width: auto;
    opacity: 0.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-gray);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-3px);
}

.footer-insurance {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/* Destinations Grid - Extended Full Width */
.footer-destinations {
    width: 100%;
}

.footer-destinations h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2.5rem;
}

.destination-group h5 {
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-gray-dark);
}

.destination-group ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.destination-group a {
    color: var(--color-gray);
    font-size: 0.875rem;
}

.destination-group a:hover {
    color: var(--color-accent);
}

/* Footer Bottom - Single Line */
.footer-bottom {
    padding-top: var(--spacing-md);
}

.footer-bottom-links {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-menu-inline {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-menu-inline h5 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

.footer-menu-inline a {
    color: var(--color-gray);
    font-size: 0.875rem;
}

.footer-menu-inline a:hover {
    color: var(--color-accent);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .destinations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Keep 2 columns for destinations on mobile */
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-menu-inline {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    /* Keep 2 columns even on small mobile */
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* ============================================
   LISTS
============================================ */
.list-styled {
    list-style: none;
}

.list-styled li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.list-styled li::before {
    content: '•';
    color: var(--color-accent);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.list-check li::before {
    content: '✓';
    color: var(--color-accent);
}

/* ============================================
   CONTAINER & LAYOUT
============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-large {
    padding: var(--spacing-xxl) 0;
}

/* ============================================
   UTILITY CLASSES
============================================ */
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

.pt-1 { padding-top: var(--spacing-xs); }
.pt-2 { padding-top: var(--spacing-sm); }
.pt-3 { padding-top: var(--spacing-md); }
.pt-4 { padding-top: var(--spacing-lg); }

.pb-1 { padding-bottom: var(--spacing-xs); }
.pb-2 { padding-bottom: var(--spacing-sm); }
.pb-3 { padding-bottom: var(--spacing-md); }
.pb-4 { padding-bottom: var(--spacing-lg); }

/* ============================================
   RESPONSIVE DESIGN
============================================ */
@media (max-width: 768px) {
    .header-container {
        grid-template-columns: 1fr auto;
        padding: 1rem;
    }
    
    .header-nav-left {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .header-nav-left.active {
        display: flex;
    }
    
    .header-actions {
        display: none;
    }
    
    .site-logo {
        order: -1;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 1;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .container,
    .container-wide {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .site-logo img {
        height: 32px;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .destinations-grid {
        grid-template-columns: 1fr;
    }
}
