/* Parallax Scrolling Effects for Clouds and Mountain */


/* Base styles for parallax elements */

.parallax-hero {
    position: relative;
    overflow: hidden;
}

.parallax-cloud,
.parallax-mountain {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
    will-change: transform;
    transition: transform 0.05s ease-out;
}


/* Cloud layer - will move upward dramatically on scroll */

.parallax-cloud {
    z-index: 1;
    background-size: 120% auto;
    background-position: center bottom;
    transform-origin: center bottom;
}


/* Mountain layer - will zoom in dramatically on scroll */

.parallax-mountain {
    z-index: 2;
    background-size: 110% auto;
    background-position: center center;
    transform-origin: center center;
}


/* Ensure content stays above parallax layers */

.parallax-hero .container-fluid {
    position: relative;
    z-index: 3;
}


/* Smooth scrolling performance optimization */

.parallax-cloud,
.parallax-mountain {
    backface-visibility: hidden;
    perspective: 1000px;
    transform: translate3d(0, 0, 0);
}


/* Header hide/show animation */

#header.header-hidden {
    visibility: hidden;
}

#header.header-visible {
    visibility: visible;
}


/* About Aspecto Section Styles */

.about-emeg-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}


/* Years Experience Container */

.years-experience-container {
    width: 80%;
    height: 600px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.years-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.years-content-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    border-radius: 15px;
    height: 90%;
    display: flex;
    align-self: center;
    flex-direction: column;
    justify-content: space-evenly;
}

.since-text {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    line-height: 1.2;
    text-align: end;
    color: black;
    margin-inline-end: 40px;
}

.big-number {
    font-size: 12rem;
    font-weight: 900;
    line-height: 1;
    margin: 20px 0;
    background-size: cover;
    background-position: center;
    background-clip: text;
    text-align: center;
    color: transparent;
}

.years-text {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1.2;
    margin-top: 20px;
    text-align: start;
    color: black;
    margin-inline-start: 40px;
}


/* About Content Styles */

.about-content {
    padding: 40px 0;
}

.section-label {
    background-color: var(--primary);
    color: white;
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 25px;
    border-radius: 3px;
}

.about-heading {
    font-size: 48px;
    font-weight: 900;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-subheading {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    line-height: 1.4;
}

.about-description {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 35px;
}

.btn-more-about {
    display: inline-block;
    padding: 15px 0;
    font-size: 14px;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #2c3e50;
    transition: all 0.3s ease;
    position: relative;
}

.btn-more-about:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
    text-decoration: none;
}

.btn-more-about::after {
    content: '→';
    margin-left: 10px;
    transition: margin-left 0.3s ease;
}

.btn-more-about:hover::after {
    margin-left: 15px;
}


/* Mobile optimization - reduce parallax on smaller screens */

@media (max-width: 768px) {
    .parallax-cloud,
    .parallax-mountain {
        background-attachment: scroll;
        transform: none !important;
    }
    /* About Aspecto Mobile Styles */
    .about-emeg-section {
        padding: 60px 0;
    }
    .years-experience-container {
        height: 400px;
        margin-bottom: 40px;
    }
    .big-number {
        font-size: 10rem;
    }
    .since-text,
    .years-text {
        font-size: 14px;
    }
    .about-heading {
        font-size: 36px;
    }
    .about-subheading {
        font-size: 18px;
    }
    .about-content {
        padding: 20px 0;
        text-align: center;
    }
}