
/* Home Page */

/* Home Page Carousel */

.featured-carousel {
    width: 100%;
    position: relative;
    overflow: hidden;
    display: block;
}

.featured-projects {
    width: 100%;
    position: relative;
    height: 850px;
}

.featured-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.featured-slide.active {
    opacity: 1;
    visibility: visible;
}

.featured-slide img {
    display: block;
    width: 100%;
    height: 850px;
    object-fit: cover;
}

/* View Project Button */

.view-button {
    position: absolute;
    bottom: 40px;
    left: 10%;
    width: 300px;
    height: 45px;
    background-color: #282626;
    color: white;
    text-decoration: none;
    padding: 0;
    font-size: 24px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-button:hover {
    background-color: #333333;
}

.view-button:hover {
    background-color: #333333;
}

/* Carousel Navigation Dots */

.featured-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.featured-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background-color: transparent;
    cursor: pointer;
    padding: 0;
}

.featured-dot.active {
    background-color: #FFD57D;
    border-color: #FFD57D;
}

.featured-dot:hover {
    background-color: white;
}

/* Homepage Name */

.intro-text {
    position: absolute;
    top: 60px;
    left: 10%;
    z-index: 4;
    color: white;
}

.intro-text h1 {
    font-size: 100px;
    margin-bottom: 5px;
    text-shadow: 5px 5px 0px rgba(0, 0, 0, 0.6);
}

.intro-text h2 {
    font-size: 40px;
    font-weight: normal;
}

/* Latest Work Section */

.latest-work {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 70px 10%;
    background-color: var(--about-background);
    color: black;
}

/* Latest Work Image */

.latest-work-image {
    flex: 1;
    margin-left: -10%;
}

.latest-work-image img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
    border: 5px solid black;
    border-radius: 50px;
}

/* Latest Project Information */

.latest-work-content {
    flex: 1.3;
    min-width: 0;
}

.latest-work-content h2 {
    font-size: 100px;
    white-space: nowrap;
    margin-bottom: 5px;
    text-shadow: 5px 5px 0px rgba(0, 0, 0, 0.6);
}

.latest-work-content h3 {
    font-size: 40px;
    font-weight: normal;
    margin-bottom: 15px;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.6);
}

.latest-work-content p {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* View More Button */

.latest-work-button {
    background-color: #282626;
    color: white;
    text-decoration: none;
    padding: 15px 35px;
    font-size: 26px;
    bottom: 40px;
    left: 10%;
    width: 300px;
    height: 45px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.latest-work-button:hover {
    background-color: #333333;
}