/* Global */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    background: #000;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    overflow-x: hidden;
    line-height: 1.4;
}

a {
    color: #fff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* HEADER */
#header h1 {
    font-size: 90px;
    font-weight: 900;
    margin-top: 60px;
    margin-bottom: 20px;
    line-height: 0.9;
    letter-spacing: 3px;
}

#header h4 {
    margin-top: 0;
    margin-bottom: 20px;
}

/* MAIN */
#main p {
    font-size: 25px;
    margin: 8px 0;
}

#main p:first-child {
    font-weight: bold;
}

/* Contact spacing fix */
.contact-block {
    line-height: 1.2;
    margin: 10px 0;
}

.contact-block a {
    line-height: 1.2;
}

/* SERVICES */
#services {
    margin: 40px 0;
    overflow: hidden;
}

#services h2 {
    font-size: 29px;
    margin: 0 0 0px 0;
    transition: opacity 0.3s ease;
}

/* Carousel Container */
.carousel-container {
    position: relative;
    width: 100%;
    height: 405px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-item {
    position: absolute;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scale(0.7) translateX(0);
    pointer-events: none;
}

.carousel-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Previous Item (Left) */
.carousel-item.prev {
    opacity: 0.5;
    transform: scale(0.75) translateX(-120%);
    z-index: 1;
    pointer-events: auto;
}

.carousel-item.prev video {
    width: 270px;
    height: 180px;
}

/* Active Item (Center - Enlarged) */
.carousel-item.active {
    opacity: 1;
    transform: scale(1) translateX(0);
    z-index: 2;
    pointer-events: auto;
}

.carousel-item.active video {
    width: 450px;
    height: 315px;
}

/* Next Item (Right) */
.carousel-item.next {
    opacity: 0.5;
    transform: scale(0.75) translateX(120%);
    z-index: 1;
    pointer-events: auto;
}

.carousel-item.next video {
    width: 270px;
    height: 180px;
}

/* FOOTER */
#footer {
    margin: 60px 0;
}

#footer svg {
    width: 90px;
}

.arrows {
    fill: #fff;
}

/* TABLET */
@media (max-width: 900px) {
    #header h1 {
        font-size: 100px;
        margin-top: 40px;
        margin-bottom: 20px;
    }

    #main p {
        font-size: 22px;
    }

    #main a {
        font-size: 20px;
    }
    
    .carousel-container {
        height: 350px;
    }
    
    .carousel-item.prev video,
    .carousel-item.next video {
        width: 220px;
        height: 150px;
    }

    .carousel-item.active video {
        width: 380px;
        height: 260px;
    }
}

/* MOBILE */
@media (max-width: 600px) {
    #header h1 {
        font-size: 32px;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    #header h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    #main p {
        font-size: 16px;
        margin: 5px 0;
    }

    #main p:first-child {
        font-size: 17px;
    }

    #main a {
        font-size: 14px;
    }

    #services {
        margin: 20px 0;
    }
    
    #services h2 {
        font-size: 18px;
        margin: 0 0 0;
    }

    .carousel-container {
        height: 300px;
    }

    /* Mobile Carousel Adjustments */
    .carousel-item.prev video,
    .carousel-item.next video {
        width: 150px;
        height: 100px;
    }

    .carousel-item.active video {
        width: 280px;
        height: 200px;
    }
    
    .carousel-item.prev {
        transform: scale(0.7) translateX(-100%);
    }
    
    .carousel-item.next {
        transform: scale(0.7) translateX(100%);
    }

    #footer svg {
        width: 50px;
    }

    #footer {
        margin: 40px 0;
    }
}

#header h4 {
    font-weight: normal;
}

/* FOOTER - Social Links */
#footer {
    margin: 0 0 0;
    padding: 40px 0;
    border-top: 1px solid #333;
}

@media (max-width: 600px) {
    #footer {
        padding: 10px;
    }
    
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: #fff;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.social-links a:hover {
    opacity: 1;
    transform: translateY(-5px);
    text-decoration: none;
}

.social-links svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .social-links {
        gap: 20px;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
    }
    
    .social-links svg {
        width: 20px;
        height: 20px;
    }
}