:root {
    --bg: #3d2817;
    --surface: #5a3d23;
    --surface-strong: #6b4d2f;
    --text: #f5e6d3;
    --muted: #c9b8a0;
    --primary: #d4a574;
    --accent: #ff9a3d;
    --border: rgba(255, 255, 255, 0.1);
}

* {
    box-sizing: border-box;
}

html {
    font-family: 'Georgia', 'Garamond', serif;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg, #3d2817 0%, #2d1f10 100%);
    color: var(--text);
    background-attachment: fixed;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1100px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    background: linear-gradient(180deg, #5a3d23 0%, #4a3119 100%);
    border-bottom: 3px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 0;
}

.brand {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 1.4rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    color: var(--accent);
    font-size: 1.5rem;
    cursor: pointer;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
}

.hero {
    min-height: calc(100vh - 80px);
    position: relative;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(61, 40, 23, 0.6), rgba(61, 40, 23, 0.7)), 
                url('/img/hero1.jpg') center / cover no-repeat;
    animation: carouselSlide 12s infinite;
    z-index: 1;
    filter: sepia(0.3) saturate(1.2);
}

@keyframes carouselSlide {
    0%, 30% {
        background-image: linear-gradient(rgba(61, 40, 23, 0.6), rgba(61, 40, 23, 0.7)), url('/img/hero1.jpg');
    }
    33%, 63% {
        background-image: linear-gradient(rgba(61, 40, 23, 0.6), rgba(61, 40, 23, 0.7)), url('/img/hero2.jpg');
    }
    66%, 100% {
        background-image: linear-gradient(rgba(61, 40, 23, 0.6), rgba(61, 40, 23, 0.7)), url('/img/hero3.jpg');
    }
}

.hero-content {
    display: grid;
    place-items: center;
    height: 100%;
    padding: 4rem 0;
    position: relative;
    z-index: 2;
}

.hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    line-height: 1.05;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.7);
    color: var(--accent);
    letter-spacing: 0.02em;
}

.hero p {
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.75;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-actions {
    display: flex;
    justify-content: center;
}

.carousel-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 3;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-dot.active {
    background: var(--accent);
    transform: scale(1.3);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--accent), #ff6b3d);
    color: #2d1f10;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Georgia', serif;
    font-size: 1rem;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(255, 154, 61, 0.3);
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 154, 61, 0.5);
}

.section {
    padding: 5rem 0;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        var(--primary),
        var(--primary) 15px,
        transparent 15px,
        transparent 30px,
        var(--accent),
        var(--accent) 45px,
        transparent 45px,
        transparent 60px
    );
}

.section h2 {
    color: var(--accent);
    font-size: 2.5rem;
    margin: 0 0 3rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.alt-bg {
    background: linear-gradient(180deg, rgba(90, 61, 35, 0.5), rgba(75, 49, 25, 0.5));
}

.grid-3 {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-item {
    position: relative;
    padding: 2.5rem;
    border-left: 6px solid var(--accent);
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.08), rgba(255, 154, 61, 0.05));
}

.service-item::before {
    content: '';
    position: absolute;
    top: -15px;
    right: 20px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 30% 30%, rgba(212, 165, 116, 0.3), transparent);
    border-radius: 50%;
    border: 3px solid var(--primary);
}

.service-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        var(--accent),
        var(--accent) 8px,
        transparent 8px,
        transparent 16px
    );
}

.service-item h3 {
    margin: 1rem 0 1rem;
    font-size: 1.3rem;
    color: var(--accent);
    position: relative;
    z-index: 1;
    font-variant: small-caps;
}

.service-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.site-footer {
    border-top: 3px solid var(--primary);
    background: linear-gradient(180deg, #4a3119 0%, #2d1f10 100%);
    padding: 3rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-section h3 {
    margin: 0 0 1.5rem;
    color: var(--accent);
    font-variant: small-caps;
    letter-spacing: 0.05em;
}

.footer-section p,
.footer-section ul {
    margin: 0;
    padding: 0;
    color: var(--muted);
    line-height: 1.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.footer-section a:hover,
.footer-section a:focus-visible {
    color: var(--accent);
    border-bottom: 1px solid var(--accent);
}

.footer-bottom {
    border-top: 2px solid var(--primary);
    padding: 2rem 0;
    text-align: center;
    color: var(--muted);
    background: rgba(0, 0, 0, 0.3);
}

.footer-bottom p {
    margin: 0;
}

.weather-widget {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), rgba(255, 154, 61, 0.08));
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    padding: 1.2rem;
    margin-top: 0.5rem;
}

.weather-widget.loaded {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.weather-temp {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.weather-desc {
    color: var(--muted);
    font-size: 0.95rem;
}

.loading {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 840px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 720px) {
    .site-header .container {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .main-nav {
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
        display: none;
    }

    .main-nav.open {
        display: flex;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 0.95rem;
    }
}
