/* Featured Projects Carousel */
.featured-carousel {
    width: 100%;
    position: relative;
    overflow: hidden;
    display: block;
}

.featured-track {
    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;
}

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

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

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

/* Featured Project 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 Introduction */
.hero-intro {
    position: absolute;
    top: 60px;
    left: 10%;
    z-index: 4;
    color: white;
}

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

.hero-intro 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;
}

/* Project 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: 15px;
}

/* Project Information */
.latest-work-content {
    flex: 1.3;
    min-width: 0;
}

.latest-work-content h2 {
    font-size: 100px;
    white-space: nowrap;
    margin-bottom: 5px;
}

.latest-work-content h3 {
    font-size: 40px;
    font-weight: normal;
    margin-bottom: 15px;
}

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

/* View More Button */
.latest-work-button {
    display: inline-block;
    background-color: #4D4D4D;
    color: white;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 5px;
    font-size: 26px;
}

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