/* ========================================================================
   MODERN MINIMAL DESIGN ENHANCEMENTS FOR TREK VENTO
   ======================================================================== */

/* ==========================================================================
   MODERN CARD STYLES
   ========================================================================== */

.service-item,
.package-card,
.testimonial-item,
.blog-item,
.feature-item {
    background: var(--white-color);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--divider-color);
}

.service-item:hover,
.package-card:hover,
.testimonial-item:hover,
.blog-item:hover,
.feature-item:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
    border-color: var(--accent-light);
}

/* ==========================================================================
   MODERN SPACING & LAYOUT
   ========================================================================== */

.our-services,
.about-us,
.why-choose-us,
.our-testimonials,
.our-blog {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-color);
}

.our-services:nth-of-type(even),
.about-us:nth-of-type(even) {
    background: var(--bg-secondary);
}

/* ==========================================================================
   MODERN HEADER STYLES
   ========================================================================== */

header.main-header {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--divider-color);
    box-shadow: var(--shadow-sm);
}

@media screen {
    header.main-header {
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
        border-bottom: none;
    }
}

header.main-header .header-sticky.active {
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   MODERN NAVIGATION
   ========================================================================== */

.main-menu ul li a {
    font-weight: 500;
    font-size: 15px;
    letter-spacing: -0.01em;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.main-menu ul li a:hover {
    color: var(--accent-color);
}

.main-menu ul ul {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--divider-color);
    background: var(--white-color);
}

/* ==========================================================================
   MODERN FORMS & INPUTS
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
textarea,
select {
    border: 1.5px solid var(--divider-color);
    border-radius: var(--border-radius-md);
    padding: 12px 16px;
    font-size: 15px;
    font-family: var(--default-font);
    color: var(--text-dark);
    background: var(--white-color);
    transition: all 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--accent-light);
}

/* ==========================================================================
   MODERN BADGES & TAGS
   ========================================================================== */

.badge,
.tag,
.label {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: var(--border-radius-full);
    font-size: 13px;
    font-weight: 600;
    background: var(--bg-secondary);
    color: var(--text-dark);
    border: 1px solid var(--divider-color);
}

.badge-accent {
    background: var(--accent-light);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

/* ==========================================================================
   MODERN HERO SECTION
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    padding: var(--spacing-2xl) 0;
}

.hero-content h1,
.hero-content h2,
.hero-content h3 {
    color: var(--white-color);
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
    font-size: 1.125rem;
    line-height: 1.7;
}

.hero-btn {
    margin-top: var(--spacing-lg);
}

/* Hero responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        background-attachment: scroll;
    }
    
    .hero-content {
        padding: var(--spacing-lg) 0;
    }
}

/* ==========================================================================
   MODERN ANIMATIONS
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

/* ==========================================================================
   MODERN IMAGE STYLES
   ========================================================================== */

img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

figure img {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-anime:hover figure img {
    transform: scale(1.05);
}

/* ==========================================================================
   MODERN LOADING STATES
   ========================================================================== */

.skeleton {
    background: linear-gradient(
        90deg,
        var(--bg-secondary) 0%,
        var(--bg-tertiary) 50%,
        var(--bg-secondary) 100%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: var(--border-radius-md);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ==========================================================================
   MODERN RESPONSIVE UTILITIES
   ========================================================================== */

@media (max-width: 768px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-2xl: 3rem;
    }
    
    .section-row {
        padding: var(--spacing-lg) 0;
    }
    
    h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    h2 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
}

/* ==========================================================================
   MODERN FOCUS STATES (ACCESSIBILITY)
   ========================================================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* ==========================================================================
   SMOOTH SCROLLING
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   MODERN GRADIENT BACKGROUNDS
   ========================================================================== */

.gradient-bg-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
}

.gradient-bg-subtle {
    background: linear-gradient(180deg, var(--white-color) 0%, var(--bg-secondary) 100%);
}

/* ==========================================================================
   MODERN DIVIDERS
   ========================================================================== */

.divider {
    height: 1px;
    background: var(--divider-color);
    margin: var(--spacing-lg) 0;
}

.divider-gradient {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-color) 50%, transparent 100%);
    margin: var(--spacing-xl) 0;
}

/* ==========================================================================
   MODERN CONTAINER ADJUSTMENTS
   ========================================================================== */

.container {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
}

/* ==========================================================================
   MODERN DARK SECTIONS
   ========================================================================== */

.dark-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: var(--white-color);
}

.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section h4,
.dark-section h5,
.dark-section h6 {
    color: var(--white-color);
}

.dark-section p {
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   MODERN FOOTER
   ========================================================================== */

footer {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
}

footer h3,
footer h4 {
    color: var(--white-color);
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

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