:root {
    --primary-dark: #1a2f1a;
    --primary-main: #2d4a2d;
    --primary-light: #4a7c59;
    --accent-gold: #d4af37;
    --accent-light: #f4e19c;
    --text-light: #f8f9fa;
    --text-dark: #2c3e50;
    --overlay-dark: rgba(0, 0, 0, 0.4);
    --overlay-darker: rgba(0, 0, 0, 0.6);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    overflow-x: hidden;
}

h1, h2, h3, .navbar-brand {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
}

a {
    text-decoration: none !important;
}

/* Navigation */
.navbar {
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    will-change: backdrop-filter, transform;
    transform: translateZ(0);
}

.navbar .container {
    max-width: none;
    margin: 0 3rem;
}

.navbar-brand {
    padding: 0.5rem 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.navbar-brand:hover {
    color: var(--accent-gold) !important;
    transform: translateY(-2px);
}

.navbar-brand img {
    height: 50px;
    margin-right: 0.8rem;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.4));
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar-brand img:hover {
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
    transform: scale(1.08) rotate(2deg);
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 0.95rem;
    text-transform: uppercase;
    padding: 0.8rem 0.7rem !important;
    margin: 0 0.2rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-light));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--accent-gold) !important;
}

/* Animated Hamburger Menu */
.navbar-toggler {
    border: none;
    padding: 0;
    width: 30px;
    height: 20px;
    position: relative;
    transition: .5s ease-in-out;
    box-shadow: none;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.toggler-icon {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--accent-gold);
    border-radius: 1px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

/* Initial positions */
.top-bar {
    top: 0;
}

.middle-bar {
    top: 50%;
    transform: translateY(-50%);
}

.bottom-bar {
    bottom: 0;
}

/* State when navbar is opened (X) */
.navbar-toggler:not(.collapsed) .top-bar {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.navbar-toggler:not(.collapsed) .middle-bar {
    opacity: 0;
}

.navbar-toggler:not(.collapsed) .bottom-bar {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    background: linear-gradient(var(--overlay-dark), var(--overlay-darker)), url('assets-ferrata/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.floating-element {
    position: absolute;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 50%;
    filter: blur(1px);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    contain: layout style paint;
}

.floating-element:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 10%;
    animation: float1 8s ease-in-out infinite;
    contain: layout style paint;
}

.floating-element:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation: float2 6s ease-in-out infinite reverse;
    contain: layout style paint;
}

.floating-element:nth-child(3) {
    width: 80px;
    height: 80px;
    top: 40%;
    left: 80%;
    animation: float3 10s ease-in-out infinite;
    contain: layout style paint;
}

@keyframes float1 {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(0, -30px, 0) rotate(5deg); }
}

@keyframes float2 {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(-20px, 0, 0) rotate(-3deg); }
}

@keyframes float3 {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    33% { transform: translate3d(-15px, -20px, 0) rotate(2deg); }
    66% { transform: translate3d(10px, -10px, 0) rotate(-1deg); }
}

.hero-logo {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0) scale(0.85);
    width: 900px;
    height: auto;
    opacity: 0;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
    z-index: 10;
    max-width: 90vw;
    animation: logoSmoothEnter 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    will-change: transform, opacity;
}

.hero-subtitle {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translateX(-50%) translateY(40px);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    text-align: center;
    margin: 0;
    max-width: 800px;
    z-index: 10;
    opacity: 0;
    animation: subtitleEnter 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.2s forwards;
    will-change: transform, opacity, filter;
}

@keyframes logoSmoothEnter {
    0% {
        transform: translate3d(-50%, -50%, 0) scale(0.85) translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translate3d(-50%, -50%, 0) scale(1) translateY(0px);
        opacity: 0.9;
    }
}

@keyframes subtitleEnter {
    0% {
        opacity: 0;
        transform: translate3d(-50%, 40px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(-50%, 0, 0);
     }
}

.hero-cta {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    text-align: center;
    z-index: 15;
    opacity: 0;
    animation: ctaEnter 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.8s forwards;
    will-change: transform, opacity;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-light));
    border: none;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.btn-hero-primary:hover {
    background: linear-gradient(135deg, var(--accent-light), var(--accent-gold));
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5);
    color: var(--primary-dark);
}

.hero-cta-note {
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 300;
}

@keyframes ctaEnter {
    0% {
        opacity: 0;
        transform: translate3d(-50%, 30px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(-50%, 0, 0);
    }
}

/* Sections */
.section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-main));
    position: relative;
    z-index: 20;
}

#gallery {
    background: linear-gradient(var(--overlay-dark), var(--overlay-darker)), url('assets-ferrata/about-bg.jpg') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    transition: opacity 1s ease;
}

#about {
    margin-top: 0;
    padding-top: 150px;
    background: linear-gradient(var(--overlay-dark), var(--overlay-darker)), url('assets-ferrata/gallery-bg.jpg') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    transition: opacity 1s ease;
}

#contact {
    background: linear-gradient(var(--overlay-dark), var(--overlay-darker)), url('assets-ferrata/contact-bg.jpg') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    transition: opacity 1s ease;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    color: var(--text-light);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-light));
}

/* About Cards */
.feature-card {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    will-change: transform;
    transform: translateZ(0);
}

.feature-card:hover {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--accent-gold);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

/* Gallery Section Equal Heights */
#gallery .row {
    align-items: stretch;
    justify-content: center;
}

#gallery .col-lg-7,
#gallery .col-lg-5 {
    display: flex;
    max-width: 700px;
}

/* Gallery Carousel */
.gallery-carousel {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 1.5rem;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    height: 80vh;
    max-height: 560px;
    display: flex;
    flex-direction: column;
    width: 100%;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transform: translateZ(0);
}

.gallery-carousel:hover {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--accent-gold);
}

.carousel-main {
    position: relative;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    flex: 1;
    display: flex;
}

.carousel-main-image {
    flex: 1;
    overflow: hidden;
    border-radius: 15px;
    display: flex;
    min-height: 400px;
}

.carousel-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.carousel-main-image:hover img {
    transform: scale(1.02);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(212, 175, 55, 0.8);
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 1.5rem;
    padding: 10px;
}

.carousel-nav:hover {
    color: var(--accent-gold);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.carousel-thumbnails {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Update What to Expect and What to Bring cards to match ferrata-info styling */
.info-card.what-to-expect,
.info-card.what-to-bring {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url('assets-ferrata-test/what1.jpg') center/cover no-repeat !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 20px !important;
    padding: 2rem !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
}

.info-card.what-to-bring {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url('assets-ferrata-test/what2.jpg') center/cover no-repeat !important;
}

.info-card.what-to-expect:hover,
.info-card.what-to-bring:hover {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('assets-ferrata-test/what1.jpg') center/cover no-repeat !important;
    border-color: var(--accent-gold) !important;
}

.info-card.what-to-bring:hover {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('assets-ferrata-test/what2.jpg') center/cover no-repeat !important;
}

.info-card.what-to-expect h3,
.info-card.what-to-bring h3 {
    color: var(--accent-gold) !important;
    font-size: 1.8rem !important;
    text-align: center !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.thumbnails-container {
    flex: 1;
    overflow: hidden;
    border-radius: 10px;
}

.thumbnails-track {
    display: flex;
    gap: 10px;
    transition: transform 0.3s ease;
    padding: 3px 0;
}

.thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.thumbnail:hover {
    border-color: var(--accent-gold);
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: var(--accent-gold);
    box-shadow: inset 0 0 8px rgba(212, 175, 55, 0.4), 0 0 0 1px var(--accent-gold);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Via Ferrata Info Section */
.ferrata-info {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 1.8rem;
    height: 80vh;
    max-height: 560px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    width: 100%;
    transform: translateZ(0);
}

.ferrata-info:hover {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--accent-gold);
}

.ferrata-title {
    color: var(--accent-gold);
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    text-align: center;
}

.ferrata-details {
    margin-bottom: 2rem;
}

.detail-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.detail-item i {
    color: var(--accent-gold);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.detail-item div {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.8rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.detail-value {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

.ferrata-description {
    margin-bottom: 2rem;
}

.ferrata-description h4 {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.ferrata-description p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.ferrata-equipment {
    margin-bottom: 2rem;
}

.ferrata-equipment h4 {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.equipment-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.equipment-item:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.equipment-item i {
    color: var(--accent-gold);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.equipment-item span {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.ferrata-safety {
    margin-bottom: 2rem;
}

.ferrata-safety h4 {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.safety-list {
    list-style: none;
    padding: 0;
}

.safety-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Compact Content Styles */
.canyon-highlights {
    margin-bottom: 1.2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    padding: 0.7rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border-left: 4px solid var(--accent-gold);
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.highlight-item:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: translateX(5px);
}

.highlight-item i {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-bottom: 0.3rem;
}

.highlight-item strong {
    color: var(--accent-gold);
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.highlight-item span {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.3;
}

.essential-tips {
    margin-bottom: 1.5rem;
}

.essential-tips h4 {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.tips-compact {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.tip-compact {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.tip-compact:hover {
    background: rgba(0, 0, 0, 0.4);
}

.tip-compact i {
    color: var(--accent-gold);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.tip-compact span {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.3;
}

.tip-compact strong {
    color: var(--accent-gold);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    padding: 3rem 0 2rem;
    text-align: center;
}

.social-icons a {
    color: var(--text-light);
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-gold);
}

/* Responsive */
/* Info card height adjustments for specific screen ranges */
@media (min-width: 1200px) and (max-width: 1400px) {
    .ferrata-info,
    .gallery-carousel {
        height: 600px;
        max-height: 600px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .ferrata-info,
    .gallery-carousel {
        height: 700px;
        max-height: 700px;
    }

    /* Fix 3rd row height alignment - make row flex with equal height columns */
    .contact-form .row:nth-child(3) {
        display: flex;
        align-items: stretch;
    }
    
    .contact-form .row:nth-child(3) .col-md-6:last-child {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    /* Make cards stack vertically in tablet range */
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    /* Navbar mobile adjustments */
    .navbar {
        padding: 1.2rem 0;
        min-height: 70px;
    }
    
    .navbar .container {
        justify-content: flex-end;
        margin: 0 0.2rem;
    }
    
    .navbar-brand {
        display: none;
    }
    
    .navbar-toggler {
        margin-left: auto;
    }
    
    /* Mobile container padding - 20px side padding for entire page */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Mobile price card styling */
    .price-calculation-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
        border-radius: 12px;
    }

    .price-calculation-card .d-flex {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        align-items: center !important;
    }

    .price-amount {
        font-size: 2rem !important;
        display: block;
        margin-top: 0.5rem;
    }

    .price-label {
        font-size: 1.1rem;
        display: block;
    }

    .price-breakdown {
        margin-top: 0.25rem;
    }

    
    /* Hero Section Mobile Fix */
    .hero-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px;
        text-align: center;
        overflow-x: hidden;
        position: relative;
    }

    /* Hide floating elements on mobile to prevent overflow */
    .floating-elements {
        display: none;
    }

    .hero-logo {
        position: static !important;
        transform: none !important;
        width: 90vw;
        max-width: 450px;
        margin: 0 auto 1.5rem auto;
        display: block;
    }

    .hero-subtitle {
        position: static !important;
        transform: none !important;
        font-size: 1.1rem;
        width: 100%;
        max-width: 90vw;
        padding: 0 10px;
        margin: 0 auto 2rem auto;
        line-height: 1.4;
    }
    
    .section-title {
        font-size: 2.2rem;
    }

    /* Fix hero section overlapping on mobile */
    .hero-cta {
        position: static !important;
        transform: none !important;
        margin: 1rem auto 0 auto;
        padding: 0;
        width: 100%;
        max-width: 90vw;
    }

    .btn-hero-primary {
        font-size: 1rem;
        padding: 1rem 2rem;
        margin-bottom: 1rem;
        white-space: normal;
        line-height: 1.3;
    }

    .hero-cta-note {
        font-size: 0.85rem;
        margin-top: 0.5rem;
        line-height: 1.3;
    }
    
    /* Feature Cards Mobile */
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    /* Pricing Section Mobile */
    .pricing-features .row {
        justify-content: center;
    }
    
    .pricing-features .col-md-5 {
        align-items: center;
        width: 100%;
        max-width: none;
        margin: 0 auto;
    }
    
    .pricing-features .feature-item {
        justify-content: center;
        text-align: center;
        width: 100%;
        max-width: 250px;
        margin: 0 auto 1rem auto;
    }
    
    .pricing-features .feature-item span {
        text-align: center;
        flex: 1;
    }

    /* Gallery Carousel Mobile */
    .gallery-carousel {
        padding: 1rem;
        margin-bottom: 2rem;
        height: auto;
        max-height: none;
    }

    .carousel-nav {
        font-size: 1.2rem;
        padding: 8px;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .thumbnail {
        width: 60px;
        height: 45px;
    }

    .carousel-main-image {
        height: 300px;
    }

    /* Via Ferrata Info Mobile */
    .ferrata-info {
        padding: 1.5rem;
        height: auto;
        max-height: none;
    }

    .ferrata-title {
        font-size: 1.5rem;
    }

    .detail-row {
        flex-direction: column;
        gap: 0.5rem;
    }

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

    .highlight-item {
        padding: 1rem;
        margin-bottom: 1.2rem;
    }

    .highlight-item strong {
        font-size: 0.9rem;
    }

    .highlight-item span {
        font-size: 0.85rem;
    }

    .essential-tips h4 {
        font-size: 1.1rem;
    }

    .tip-compact {
        padding: 0.7rem;
    }

    .tip-compact span {
        font-size: 0.85rem;
    }

    /* Contact Section Mobile */
    .contact-info,
    .contact-form-container {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

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

    .contact-item .d-flex {
        flex-direction: column;
        align-items: center;
    }

    .contact-icon.me-3 {
        margin-right: 0 !important;
        margin-bottom: 1rem;
    }
}

/* Tablet and larger mobile screens */
@media (min-width: 769px) and (max-width: 991px) {
    .hero-subtitle {
        margin-bottom: 1.5rem;
    }
    
    .hero-cta {
        top: 82%;
    }
    
    /* Feature Cards padding adjustment */
    .feature-card {
        padding: 2rem;
    }
}

/* Prevent horizontal scroll */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 4px;
}

/* Contact Section Styles */
.contact-info {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    height: 972px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: border-color 0.3s ease, background-color 0.3s ease;
    transform: translateZ(0);
    display: flex;
    flex-direction: column;
}

.contact-info:hover {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--accent-gold);
}

.contact-info h3 {
    color: var(--accent-gold);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

/* Contact info card responsive heights */
@media (max-width: 991px) {
    .contact-info {
        height: auto;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .contact-info {
        height: 1044px;
    }
}

@media (min-width: 1200px) and (max-width: 1400px) {
    .contact-info {
        height: 992px;
    }
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    color: var(--primary-dark);
}

.contact-link {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.contact-item h5 {
    color: var(--text-light);
    margin-bottom: 0;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

.text-accent-gold {
    color: var(--accent-gold) !important;
}

/* Pricing Section Styles */
.pricing-card {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 25px;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    max-width: 676px;
    margin-right: auto;
    margin-left: auto;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.pricing-card:hover {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--accent-gold);
}

.pricing-header {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-light));
    color: var(--primary-dark);
    text-align: center;
    padding: 2rem;
    position: relative;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 700;
}

.pricing-content {
    padding: 2.5rem;
}

.price-display {
    text-align: center;
    margin-bottom: 1.5rem;
}

.price-display .currency {
    font-size: 2rem;
    color: var(--accent-gold);
    vertical-align: top;
    margin-right: 0.2rem;
}

.price-display .price {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-light);
    font-family: 'Oswald', sans-serif;
}

.price-display .per {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-left: 0.5rem;
}

.pricing-features {
    margin-bottom: 1.5rem;
}

.pricing-features .col-md-5 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Timeline Section Styles */
.timeline-section {
    text-align: center;
    margin-top: 3rem;
}

.timeline-title {
    color: var(--accent-gold);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-light));
}

.timeline-item {
    text-align: center;
    padding: 1.5rem;
}

.timeline-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-dark);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-icon {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.timeline-item h4 {
    color: var(--accent-gold);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.timeline-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.feature-item i {
    margin-right: 0.8rem;
    font-size: 1.1rem;
    width: 20px;
    flex-shrink: 0;
    text-align: center;
}

.feature-item span {
    color: var(--text-light);
    font-size: 0.95rem;
    text-align: left;
}

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

.btn-lg {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 12px;
}

.pricing-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.8;
}

/* Pricing Tiers Styles */
.pricing-tiers {
    margin-bottom: 2rem;
}

.tier-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 1rem 0.5rem;
    transition: all 0.3s ease;
}

.tier-card:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--accent-gold);
}

.tier-featured {
    border-color: var(--accent-gold) !important;
    background: rgba(212, 175, 55, 0.1) !important;
}

.tier-size {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.tier-price {
    font-size: 1.2rem;
    color: var(--accent-gold);
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
}

.tier-price small {
    font-size: 0.7rem;
    color: var(--text-light);
    display: block;
    margin-top: 0.2rem;
}

.discount-note {
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.pricing-explanation-simple {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-light);
    opacity: 0.85;
    line-height: 1.4;
    text-align: center;
}

/* Testimonials Section Styles */
.testimonial-card {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--accent-gold);
}

.testimonial-stars {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.testimonial-card p {
    color: var(--text-light);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testimonial-author strong {
    color: var(--accent-gold);
    font-weight: 600;
    display: block;
    margin-bottom: 0.2rem;
}

.testimonial-author span {
    color: var(--text-light);
    opacity: 0.8;
    font-size: 0.9rem;
}

#pricing {
    background: linear-gradient(var(--overlay-dark), var(--overlay-darker)), url('assets-ferrata/pricing-bg.jpg') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    transition: opacity 1s ease;
}

#testimonials {
    background: linear-gradient(var(--overlay-dark), var(--overlay-darker)), url('assets-ferrata/reviews-bg.jpg') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    transition: opacity 1s ease;
}

/* Contact Form Styles */
.contact-form-container {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: border-color 0.3s ease, background-color 0.3s ease;
    transform: translateZ(0);
}

.contact-form-container:hover {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--accent-gold);
}

.contact-form .form-label {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    color: var(--text-light);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.contact-form .form-control:focus {
    background: rgba(0, 0, 0, 0.4);
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
    color: var(--text-light);
}

.contact-form .form-control::placeholder {
    color: rgba(248, 249, 250, 0.6);
}

.contact-form select.form-control {
    cursor: pointer;
}

.contact-form select.form-control option {
    background: var(--primary-dark);
    color: var(--text-light);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-light));
    border: none;
    color: var(--primary-dark);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-light), var(--accent-gold));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    color: var(--primary-dark);
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.form-message.success {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid rgba(40, 167, 69, 0.5);
    color: #28a745;
}

.form-message.error {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.5);
    color: #dc3545;
}

/* Fix form grid padding - remove default Bootstrap padding */
.contact-form .row {
    margin-left: 0;
    margin-right: 0;
}

.contact-form .col-md-6 {
    padding-left: 0;
    padding-right: 0;
}

/* Add padding only between columns for desktop (992px+) */
@media (min-width: 992px) {
    .contact-form .col-md-6:first-child {
        padding-right: 10px;
    }
    
    .contact-form .col-md-6:last-child {
        padding-left: 10px;
    }
}

/* Flatpickr Custom Styling */
.flatpickr-calendar {
    background: rgba(0, 0, 0, 0.9) !important;
    border: 2px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

/* Day numbers styling */
.flatpickr-day {
    color: var(--accent-gold) !important;
    border: none !important;
}

.flatpickr-day.selected {
    background: var(--accent-gold) !important;
    color: var(--primary-dark) !important;
}

.flatpickr-day:hover {
    background: rgba(212, 175, 55, 0.3) !important;
    color: var(--text-light) !important;
}

.flatpickr-day.today {
    color: var(--accent-gold) !important;
    border-color: var(--accent-gold) !important;
}

.flatpickr-day.disabled,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    color: rgba(212, 175, 55, 0.4) !important;
}

/* Month and year navigation */
.flatpickr-current-month .flatpickr-monthDropdown-months {
    background: rgba(0, 0, 0, 0.8) !important;
    color: var(--accent-gold) !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months option {
    background: var(--primary-dark) !important;
    color: var(--accent-gold) !important;
}

.flatpickr-current-month .numInputWrapper input {
    color: var(--accent-gold) !important;
    background: transparent !important;
    border: none !important;
}

/* Weekday headers */
.flatpickr-weekdays .flatpickr-weekday {
    color: var(--accent-gold) !important;
    font-weight: 600;
}

/* Navigation arrows */
.flatpickr-prev-month,
.flatpickr-next-month {
    color: var(--accent-gold) !important;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
    color: var(--accent-light) !important;
}

/* Price Calculation Styling */
.price-calculation-card {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.price-label {
    font-weight: 600;
    color: var(--text-light);
    margin-right: 0.5rem;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    font-family: 'Oswald', sans-serif;
    transition: opacity 0.3s ease;
}

/* Empty state styling */
.price-empty-state {
    color: rgba(248, 249, 250, 0.6) !important;
    font-style: italic;
}

.price-calculation-card.empty-state {
    opacity: 0.7;
    border-color: rgba(212, 175, 55, 0.2);
    background: rgba(212, 175, 55, 0.05);
}

.price-calculation-card.empty-state .price-amount {
    opacity: 0.5;
}

/* Participant Details Styling */
.participant-details-header {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.participant-details-header:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--accent-gold);
}

.participant-details-content {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 0.5rem;
}

.participant-input-group {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
}

.participant-input-group:last-child {
    margin-bottom: 0;
}

.participant-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

/* Fix text visibility in participant details */
.participant-details-content .text-muted {
    color: #e9ecef !important;
}

/* Fix pricing breakdown text visibility */
.price-calculation-card .text-muted {
    color: #e9ecef !important;
}

/* Contact card improvements */
.why-choose-subheading {
    color: var(--accent-gold);
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    margin-bottom: 1.5rem !important;
}

.contact-info .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info .feature-list li {
    padding: 0.5rem 0;
}

/* Contact info additional sections styling */
.info-item {
    margin-bottom: 1rem;
}

.info-item strong {
    color: var(--accent-gold);
    display: block;
    margin-bottom: 0.5rem;
}

.info-item p {
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.info-item small {
    color: rgba(248, 249, 250, 0.7);
    font-style: italic;
}

/* Quick facts styling */
.fact-item {
    text-align: center;
    padding: 1rem 0.5rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.fact-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    font-family: 'Oswald', sans-serif;
    line-height: 1;
}

.fact-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Safety and included items styling */
.safety-item,
.included-row {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.4;
}

.safety-item i,
.included-row i {
    width: 20px;
    flex-shrink: 0;
}

.safety-item span,
.included-row span {
    color: var(--text-light);
}

/* Fix contact section potential overflow */
#contact .row {
    margin-left: 0;
    margin-right: 0;
}

#contact .col-lg-6 {
    padding-left: 15px;
    padding-right: 15px;
}

/* Smart Background System - Desktop Only */
@supports not (-webkit-touch-callout: none) {
    .hero-section {
        background: linear-gradient(var(--overlay-dark), var(--overlay-darker)), url('assets-ferrata/hero-bg.jpg') center/cover no-repeat;
        background-attachment: fixed;
        transition: opacity 1s ease;
    }

    #about {
        background: linear-gradient(var(--overlay-dark), var(--overlay-darker)), url('assets-ferrata/gallery-bg.jpg') center/cover no-repeat;
        background-attachment: fixed;
        transition: opacity 1s ease;
    }

    #gallery {
        background: linear-gradient(var(--overlay-dark), var(--overlay-darker)), url('assets-ferrata/about-bg.jpg') center/cover no-repeat;
        background-attachment: fixed;
        transition: opacity 1s ease;
    }

    #pricing {
        background: linear-gradient(var(--overlay-dark), var(--overlay-darker)), url('assets-ferrata/pricing-bg.jpg') center/cover no-repeat;
        background-attachment: fixed;
        transition: opacity 1s ease;
    }

    #testimonials {
        background: linear-gradient(var(--overlay-dark), var(--overlay-darker)), url('assets-ferrata/reviews-bg.jpg') center/cover no-repeat;
        background-attachment: fixed;
        transition: opacity 1s ease;
    }

    #contact {
        background: linear-gradient(var(--overlay-dark), var(--overlay-darker)), url('assets-ferrata/contact-bg.jpg') center/cover no-repeat;
        background-attachment: fixed;
        transition: opacity 1s ease;
    }
}

/* Mobile Specific - iOS Safe */
@media (max-width: 991.98px) {
    @supports (-webkit-touch-callout: none) {
        .hero-section {
            background-attachment: scroll;
        }

        #about {
            background-attachment: scroll;
        }

        #gallery {
            background-attachment: scroll;
        }

        #pricing {
            background-attachment: scroll;
        }

        #testimonials {
            background-attachment: scroll;
        }

        #contact {
            background-attachment: scroll;
        }
    }
}