/* ========================================
   WANDER TRAVEL & EVENT - DARK LUXURY THEME
   ======================================== */

/* CSS Variables */
:root {
    --bg: #0b0c10;
    --panel: #15171d;
    --text: #f5f7fa;
    --muted: #c7cbd1;
    --line: rgba(255, 255, 255, 0.1);
    --accent: #e6c04d;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    
    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 20px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Respect reduced motion */
@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;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: var(--space-md);
    color: var(--muted);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--text);
}

/* Layout Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Topbar */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(11, 12, 16, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    z-index: 1000;
    padding: var(--space-sm) 0;
}

.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
}

.brand img {
    width: 32px;
    height: 32px;
}

/* Navigation */
.nav ul {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.nav a {
    color: var(--text);
    font-weight: 500;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav a:hover {
    color: var(--accent);
    background: rgba(230, 192, 77, 0.1);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    flex-direction: column;
    gap: 4px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(11, 12, 16, 0.7), rgba(11, 12, 16, 0.8)), 
                url('/assets/img/hero.jpg') center/cover;
    position: relative;
    margin-top: 80px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.pill {
    display: inline-block;
    background: var(--accent);
    color: var(--bg);
    padding: var(--space-xs) var(--space-md);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-lg);
}

.hero-desc {
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
    color: var(--muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    min-height: 48px;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg);
}

.btn-primary:hover {
    background: #d4a73a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line);
}

.btn-ghost:hover {
    background: var(--panel);
    border-color: var(--accent);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header h2 {
    margin-bottom: var(--space-sm);
}

.section-header p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Grid */
.services {
    padding: var(--space-2xl) 0;
}

.grid {
    display: grid;
    gap: var(--space-2xl);
}

/* Cards */
.card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    background: var(--panel);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(230, 192, 77, 0.3);
}

.card.reverse {
    direction: rtl;
}

.card.reverse > * {
    direction: ltr;
}

.media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: var(--transition);
}

.card:hover .bg {
    transform: scale(1.05);
}

.text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.title {
    color: var(--text);
    margin-bottom: var(--space-sm);
}

.desc {
    color: var(--muted);
    line-height: 1.7;
}

/* Lists */
.list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dot {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: var(--muted);
}

.dot::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

/* About Section */
.about {
    padding: var(--space-2xl) 0;
    background: var(--panel);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    margin-bottom: var(--space-lg);
}

.about-content p {
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Contact Section */
.contact {
    padding: var(--space-2xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
}

.contact-info h2 {
    margin-bottom: var(--space-sm);
}

.contact-info > p {
    margin-bottom: var(--space-xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.contact-item a {
    color: var(--text);
}

.contact-item a:hover {
    color: var(--accent);
}

.contact-item address {
    font-style: normal;
    color: var(--muted);
}

.icon {
    color: var(--accent);
}

/* Contact Form */
.contact-form {
    background: var(--panel);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    color: var(--text);
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(230, 192, 77, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    margin-top: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 500;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Footer */
.footer {
    background: var(--panel);
    border-top: 1px solid var(--line);
    padding: var(--space-xl) 0;
    margin-top: var(--space-2xl);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-links a {
    color: var(--muted);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-note {
    font-size: 0.875rem;
    color: var(--muted);
    margin: 0;
}

/* Floating WhatsApp CTA */
.floating-cta {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 1000;
}

.floating-cta:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
}

/* Utility Classes */
.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;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.border { border: 1px solid var(--line); }
.rounded-xl { border-radius: var(--radius-xl); }

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 var(--space-lg);
    }
}

@media (max-width: 900px) {
    .nav {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--panel);
        border-top: 1px solid var(--line);
        padding: var(--space-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav.nav-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav ul {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .nav a {
        display: block;
        padding: var(--space-md);
        border-radius: var(--radius-md);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .card {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .card.reverse {
        direction: ltr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .grid {
        gap: var(--space-xl);
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero {
        margin-top: 70px;
        min-height: 80vh;
    }
    
    .card {
        padding: var(--space-lg);
    }
    
    .contact-form {
        padding: var(--space-lg);
    }
    
    .floating-cta {
        bottom: var(--space-md);
        right: var(--space-md);
        width: 50px;
        height: 50px;
    }
    
    .floating-cta img {
        width: 20px;
        height: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .hero {
        background: none !important;
    }
    
    .floating-cta,
    .menu-toggle {
        display: none !important;
    }
    
    .topbar {
        position: static;
        background: white;
        border-bottom: 1px solid #ccc;
    }
    
    .card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
} 