* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: sans-serif;
    color: #333;
    background: #fafafa;
}

header {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 20px;
    border-bottom: 1px solid #ddd;
}

header h1 {
    margin: 0 0 20px;
}

nav a {
    margin-right: 20px;
    color: #333;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.hero {
    padding: 100px 0;
}

.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slides {
    position: relative;
    aspect-ratio: 3.2 / 1;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.slide.active {
    display: block;
}

.slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(0, 0, 0, 0);
    color: white;
    width: 40px;
    height: 60px;
    font-size: 30px;
    cursor: pointer;
}

.slider-button.prev {
    left: 10px;
}

.slider-button.next {
    right: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.dot.active {
    background: white;
}

section {
    margin-bottom: 60px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery img {
    display: block;
    width: 100%;
    height: auto;
}

footer {
    max-width: 1000px;
    margin: 80px auto 0;
    padding: 30px 20px;
    border-top: 1px solid #ddd;
    color: #777;
}

@media (max-width: 600px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}