/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slideshow {
    width: 100%;
    height: 100%;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}

.hero-text h1 {
    font-size: 3rem;
    font-style: italic;
    margin-bottom: 1rem;

}

.hero-text p {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.hero-text h1,
.hero-text p {
    font-family: "Centaur", "Hoefler Text", "Baskerville Old Face", "Garamond", "Times New Roman", Georgia, serif;
    font-weight: 100;
    color: #fff;
    text-shadow:
        1px 1px 0 rgba(0, 0, 0, 0.85),
        0 0 8px rgba(0, 0, 0, 0.95),
        0 0 16px rgba(0, 0, 0, 0.85),
        0 0 32px rgba(0, 0, 0, 0.65);
}

/* Positioned on .slide so % tracks the hero image when the viewport resizes */
.explore-more {
    position: absolute;
    top: 68%;
    left: 72%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-family: 'Raleway', "Century Gothic", "Futura", "Avenir Next", "Segoe UI", sans-serif;
    font-size: clamp(1.0625rem, 1.375vw, 1.375rem);
    font-weight: 400;
    text-decoration: none;
    text-shadow:
        1px 1px 0 rgba(0, 0, 0, 0.85),
        0 0 6px rgba(0, 0, 0, 0.95),
        0 0 12px rgba(0, 0, 0, 0.85),
        0 0 24px rgba(0, 0, 0, 0.65);
    z-index: 2;
    white-space: nowrap;
}

.explore-more:hover {
    text-decoration: underline;
}


.btn {
    display: inline-block;
    font-family: 'Raleway', "Century Gothic", "Futura", "Avenir Next", "Segoe UI", sans-serif;
    padding: 0.8rem 1.5rem;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background: #0056b3;
}

.slideshow-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.slideshow-controls button {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    padding: 0.5rem 1rem;
    cursor: pointer;
    margin: 0 0.5rem;
}

/* Sections */
.section {
    padding: 5rem 2rem;
    text-align: center;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section p {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.project-card h3 {
    margin: 1rem 0 0.5rem;
}

.project-card p {
    font-size: 0.9rem;
}



/* Responsive Design */
@media (max-width: 768px) {

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .explore-more {
        top: 70%;
        left: 74%;
    }
}