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

:root {
    --red-primary: #f71717;
    --red-secondary: #f5222d;
    --red-light: #fff1f0;
    --white: #ffffff;
    --black: #09090b;
    --gray-overlay: #d9d9d9;
    --gray-about: #9e9a9a;
    --text-white: #fafafa;
    --text-light: #f6f6f6;
    --text-lighter: #f7f7f7;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--black);
    overflow-x: hidden;
}

h1,h2,h3,h4,p {
    user-select: none;
}
/* Header Styles */
.header {
    position: absolute;
    bottom: 25px;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 278px;
    width: 100%;
    transition: all 0.3s ease;
}

.header.fixed {
    position: fixed;
    top: 0;
    bottom: auto;
    left: 0;
    right: 0;
}

.header-background {
    position: absolute;
    background-color: var(--red-primary);
    top: 15.67%;
    bottom: 15.67%;
    left: 0;
    right: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.header-background.fixed {
    top: 0%;
    left: 0;
    right: 0;
    height: 175px;
}

.header-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1728px;
    margin: 0 auto;
    padding: 0 3.86%;
}

.logo-container {
    position: relative;
    height: 278;
    z-index: 10;
}

.logo-border {
    background: var(--white);
    border: 11px solid var(--red-primary);
    border-radius: 227.5px;
    padding: 30px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.logo-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    object-position: 50% 50%;
    pointer-events: none;
    border-radius: 30px;
}

.header-nav {
    display: flex;
    gap: 35px;
    align-items: center;
}

.header-nav.fixed {
    position: fixed;
    display: flex;
    top: 60px;
    right: 60px;
    gap: 35px;

}

.nav-btn {
    background-color: var(--red-secondary);
    color: var(--text-white);
    font-family: 'Archivo Narrow', sans-serif;
    font-weight: 500;
    font-size: 36px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-btn.active {
    background-color: var(--red-light);
    color: var(--red-secondary);
}

.nav-btn:hover {
    background-color: var(--red-light);
    color: var(--red-secondary);
}

/* Hero Carousel Section */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    height: 100%;
    overflow: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.carousel-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.carousel-track {
    display: flex;
    height: 100%;
}

.carousel-slide {
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    overflow: hidden;
    scroll-snap-align: start;
    position: relative;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    pointer-events: none;
    position: relative;
    z-index: 1;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0.6) 5%,
            transparent 15%,
            transparent 85%,
            rgba(0, 0, 0, 0.6) 95%,
            rgba(0, 0, 0, 1) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Specialized Quality Work Section */
.quality-work {
    padding: 100px 338px;
    text-align: center;
    max-width: 1728px;
    margin: 0 auto;
}

.quality-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: 64px;
    font-weight: 400;
    line-height: normal;
    color: var(--black);
    text-transform: uppercase;
    margin-bottom: 31px;
}

.quality-text {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 32px;
    line-height: normal;
    color: var(--black);
    text-align: center;
    max-width: 969px;
    margin: 0 auto;
}

.quality-text p {
    margin-bottom: 0;
}

.quality-text strong {
    font-weight: 500;
}

/* About Us Section */
.about-us {
    position: relative;
    width: 100%;
    height: 578px;
    margin: 60px auto;
    background-color: var(--red-primary);
}

.about-image-container {
    position: absolute;
    width: 50%;
    height: 578px;
    overflow: hidden;
    left: 0;
    top: 0;
}

.about-image {
    position: absolute;
    width: 1542px;
    height: 1156px;
    object-fit: cover;
    object-position: 50% 50%;
    pointer-events: none;
    left: -15px;
    top: -381px;
    z-index: 2;
}

.about-content {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    padding: 40px 40px;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: flex-center;
}

.about-title {
    font-family: 'Archivo', sans-serif;
    font-weight: 600;
    font-size: 64px;
    line-height: normal;
    color: var(--text-lighter);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.about-text {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 26px;
    line-height: normal;
    color: var(--text-light);
    text-align: center;
    max-width: 100%;
}

.about-text p {
    margin-bottom: 0;
}




/* Footer */
.footer {
    position: relative;
    width: 100%;
    height: 410px;
    background-color: var(--red-primary);
    margin: 0 auto;
}

.footer-background {
    position: absolute;
    background-color: var(--red-primary);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.footer-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 25px 3.01% 25px 3.01%;
    z-index: 10;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.footer-btn {
    background-color: var(--red-secondary);
    color: var(--text-white);
    font-family: 'Archivo Narrow', sans-serif;
    font-weight: 500;
    font-size: 36px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    width: fit-content;
}

.footer-btn.active {
    background-color: var(--red-light);
    color: var(--red-secondary);
}

.footer-btn:hover {
    background-color: var(--red-light);
    color: var(--red-secondary);
}

.footer-contact {
    position: absolute;
    right: 6.54%;
    top: 28.54%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
}

.footer-call-btn {
    background-color: var(--red-light);
    color: var(--red-secondary);
    font-family: 'Archivo Narrow', sans-serif;
    font-weight: 700;
    font-size: 24px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.footer-call-btn:hover {
    transform: scale(110%);
    transition: 200ms;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.footer-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.footer-contact-item p {
    font-family: 'Archivo Narrow', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 20px;
    color: var(--white);
    white-space: nowrap;
    margin: 0;
}

.footer-copyright {
    position: absolute;
    bottom: 4.39%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
}

.footer-copyright p {
    font-family: 'Archivo Narrow', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 20px;
    color: var(--white);
    margin-bottom: 5px;
}

.footer-made-by {
    font-family: 'Archivo Narrow', sans-serif;
    font-weight: 400;
    font-size: 14px;
    text-decoration: none;
    color: var(--white);
    transition: opacity 0.3s ease;
}

.footer-made-by:hover {
    opacity: 0.8;
}

.footer-made-by .dunosis-bold {
    font-weight: 700;
    font-size: 18px;
}


/* Responsive Design */
@media (max-width: 1728px) {
    .header-content,
    .quality-work,
    .about-us,
    .footer {
        max-width: 100%;
    }

    .about-content {
        font-size: 50px;
    }

    .about-text {
        font-size: 20px;
    }
}

@media (max-width: 1200px) {
    .quality-title {
        font-size: 48px;
    }

    .quality-text {
        font-size: 24px;
    }

    .about-title {
        font-size: 48px;
    }

    .about-text {
        font-size: 20px;
    }
}

@media (max-width: 968px) {
    .header {
        height: auto;
        min-height: 200px;
    }


    .header-background {
        position: absolute;
        background-color: var(--red-primary);
        top: 25%;
        bottom: 0;
        left: 0;
        right: 0;
    }
    
    .header-background.fixed {
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 300px;
    }

    .header-content {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .logo-border {
        padding: 40px 40px;
        border-radius: 150px;
    }

    .logo-image {
        width: 100px;
        height: 100px;
    }

    .header-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .header-nav.fixed {
        position: absolute;
        display: flex;
        top: 225px;
        gap: 30px;
        right: inherit;
        z-index: 2000;
    }

    .nav-btn {
        font-size: 24px;
        padding: 6px 12px;
    }

    .hero-carousel {
        height: 500px;
    }

    .quality-work {
        padding: 60px 20px;
    }

    .quality-title {
        font-size: 36px;
    }

    .quality-text {
        font-size: 20px;
    }

    .about-us {
        height: auto;
        min-height: 600px;
    }

    .about-image-container {
        position: relative;
        width: 100%;
        height: 400px;
    }

    .about-content {
        position: relative;
        width: 100%;
        padding: 20px 20px;
    }

    .about-title {
        font-size: 36px;
    }

    .about-text {
        font-size: 18px;
    }


    .footer {
        height: auto;
        min-height: 500px;
        padding: 40px 20px;
    }

    .footer-content {
        align-items: center;
        text-align: center;
    }

    .footer-nav {
        align-items: center;
        width: 100%;
    }

    .footer-btn {
        margin: 0 auto;
    }

    .footer-contact {
        position: relative;
        right: auto;
        top: auto;
        align-items: center;
        margin-top: 30px;
        width: 100%;
    }

    .footer-contact-info {
        align-items: center;
        width: 100%;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .footer-copyright {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 30px;
        width: 100%;
    }
}

@media (max-width: 640px) {

    .carousel-slide {
        width: 100vw;
        height: 500px;
        flex-shrink: 0;
        overflow: hidden;
        scroll-snap-align: start;
        position: relative;
        background: #000;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Header Styles */
    .header {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        height: 50px;
        width: 100%;
        transition: all 0.3s ease;
    }

    .header.fixed {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .header-background {
        position: absolute;
        background-color: var(--red-primary);
        top: 20%;
        bottom: 0;
        left: 0;
        right: 0;
    }
    
    .header-background.fixed {
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 170px;
    }

    .header-content {
        position: relative;
        display: flex;
        align-items: center;
        height: 80%;
        max-width: 1728px;
        margin: 0 auto;
        padding: 0 0%;
    }

    .logo-container {
        position: relative;
        height: 208;
        z-index: 10;
    }

    .logo-border {
        background: var(--white);
        border: 5px solid var(--red-primary);
        border-radius: 227.5px;
        padding: 20px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }

    .logo-image {
        width: 50px;
        height: 50px;
        object-fit: cover;
        object-position: 50% 50%;
        pointer-events: none;
        border-radius: 30px;
    }

    .header-nav {
        display: flex;
        gap: 20px;
        align-items: center;
        z-index: 2000;
        margin-bottom: 20px;
    }
    
    .header-nav.fixed {
        position: absolute;
        display: flex;
        top: 115px;
        gap: 20px;
        right: inherit;
        z-index: 2000;
    }

    .nav-btn {
        border: 2px solid var(--text-white);
    }

    .nav-btn,
    .footer-btn {
        font-size: 20px;
    }

    .quality-title {
        font-size: 28px;
    }

    .quality-text {
        font-size: 18px;
    }

    .about-title {
        font-size: 28px;
    }

    .footer-content {
        padding: 0;
    }

    .footer-copyright p {
        font-size: 12px;
        margin-bottom: 3px;
    }
}