/* ===================================
   Güllich Expediciones - Main Styles
   New Color Scheme: Black, Orange, Gray
   =================================== */

/* CSS Variables - Color Palette based on Logo */
:root {
    /* Primary Colors - Black/Dark */
    --primary-black: #000000;
    --primary-dark: #0a0a0a;
    --primary-charcoal: #1a1a1a;

    /* Secondary Colors - Orange/Copper (from logo) */
    --accent-orange: #d97638;
    --accent-copper: #c56a2d;
    --accent-rust: #b85a1f;
    --accent-light: #e8945a;

    /* Grays */
    --gray-900: #111111;
    --gray-800: #1f1f1f;
    --gray-700: #2d2d2d;
    --gray-600: #3d3d3d;
    --gray-500: #555555;
    --gray-400: #777777;
    --gray-300: #999999;
    --gray-200: #cccccc;
    --gray-100: #e5e5e5;

    /* Neutrals */
    --white: #ffffff;
    --off-white: #f5f5f5;

    /* Gradients */
    --gradient-overlay: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(26, 26, 26, 0.75) 100%);
    --gradient-dark: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
    --gradient-orange: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-rust) 100%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Montserrat', 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 4px 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);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
    --shadow-orange: 0 4px 20px rgba(217, 118, 56, 0.3);
}

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

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-200);
    background-color: var(--primary-black);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

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

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

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

p {
    margin-bottom: var(--spacing-sm);
    color: var(--gray-300);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Section Spacing */
.section {
    padding: var(--spacing-xl) 0;
    background-color: var(--primary-black);
}

.section-dark {
    background-color: var(--gray-900);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-link {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-orange);
    color: var(--white);
    box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
    background-color: var(--accent-copper);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(217, 118, 56, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--accent-orange);
}

.btn-secondary:hover {
    background-color: var(--accent-orange);
    color: var(--white);
}

.btn-link {
    background: none;
    padding: 0;
    color: var(--accent-orange);
    font-weight: 600;
}

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

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition-normal);
}

.header.scrolled {
    background-color: rgba(0, 0, 0, 0.98);
    box-shadow: 0 2px 20px rgba(217, 118, 56, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    margin: 0 auto;
}

.nav-menu a {
    color: var(--gray-200);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--accent-orange);
}

.nav-menu a.active {
    color: var(--accent-orange);
}

.nav-cta .btn-primary {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--accent-orange);
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/hero/mountain-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(26, 26, 26, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 var(--spacing-md);
}

.hero-badge {
    display: inline-block;
    background: var(--gradient-orange);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: var(--shadow-orange);
}

.hero-title {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
    color: var(--gray-200);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent-orange);
    text-align: center;
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.arrow-down {
    width: 24px;
    height: 24px;
    border-left: 2px solid var(--accent-orange);
    border-bottom: 2px solid var(--accent-orange);
    transform: rotate(-45deg);
    margin: 0 auto;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* About Preview Section */
.about-preview {
    background-color: var(--gray-900);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    color: var(--gray-300);
}

/* Expeditions Grid */
.expeditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.expedition-card {
    background-color: var(--gray-800);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--gray-700);
}

.expedition-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-orange);
}

.expedition-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.difficulty-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.difficulty-badge.principiante {
    background-color: #22c55e;
    color: var(--white);
}

.difficulty-badge.intermedio {
    background-color: var(--accent-orange);
    color: var(--white);
}

.difficulty-badge.avanzado {
    background-color: #ef4444;
    color: var(--white);
}

.difficulty-badge.experto {
    background-color: #7c2d12;
    color: var(--white);
}

.expedition-content {
    padding: var(--spacing-md);
}

.expedition-content h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
    color: var(--white);
}

.expedition-meta {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--gray-400);
}

.expedition-content > p {
    color: var(--gray-400);
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
}

.expedition-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--gray-700);
}

.price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-orange);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--gray-800);
    border-radius: 8px;
    border: 1px solid var(--gray-700);
    transition: var(--transition-normal);
}

.feature-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: var(--gradient-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-orange);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--white);
}

.feature-card h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
    color: var(--white);
}

.feature-card p {
    color: var(--gray-400);
    line-height: 1.8;
}

/* Gallery Preview */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-normal);
}

.gallery-item:hover {
    border-color: var(--accent-orange);
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Testimonials */
.testimonials {
    background-color: var(--gray-900);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.testimonial-card {
    background-color: var(--gray-800);
    padding: var(--spacing-md);
    border-radius: 8px;
    border: 1px solid var(--gray-700);
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    border-color: var(--accent-orange);
}

.testimonial-content {
    margin-bottom: var(--spacing-md);
}

.testimonial-content p {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-300);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--white);
}

.testimonial-author span {
    font-size: 0.875rem;
    color: var(--accent-orange);
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: var(--spacing-xl) 0;
    background-image: url('../images/hero/mountain-cta.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(26, 26, 26, 0.85) 100%);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    color: var(--gray-300);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background-color: var(--primary-black);
    color: var(--gray-300);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    border-top: 1px solid var(--gray-800);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-col h3 {
    color: var(--accent-orange);
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
}

.footer-col p {
    color: var(--gray-400);
    line-height: 1.8;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-col a {
    color: var(--gray-400);
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--accent-orange);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--gray-800);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    border: 1px solid var(--gray-700);
}

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

.contact-info li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.newsletter-form input {
    padding: 0.75rem;
    border: 1px solid var(--gray-700);
    border-radius: 4px;
    font-size: 1rem;
    background-color: var(--gray-800);
    color: var(--white);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-orange);
}

.newsletter-form button {
    padding: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.footer-bottom p {
    color: var(--gray-500);
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-links a {
    color: var(--gray-500);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition-normal);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-orange {
    color: var(--accent-orange);
}

.bg-dark {
    background-color: var(--gray-900);
}

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

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

/* Language Selector */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 1rem;
}

.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition-fast);
    font-size: 1.1rem;
    opacity: 0.6;
    padding: 0;
}

.lang-btn:hover {
    opacity: 1;
    background: var(--gray-700);
}

.lang-btn.active {
    opacity: 1;
    background: var(--gray-700);
    box-shadow: 0 0 0 2px var(--accent-orange);
}

@media (max-width: 992px) {
    .lang-selector {
        position: absolute;
        top: 1rem;
        right: 4rem;
    }
}
