:root {
    --color-bg: #ffffff;
    --color-bg-alt: #faf7f2;
    --color-bar: #ededed;
    --color-text: #4a4a4a;
    --color-text-soft: #6b6b6b;
    --color-accent: #b89968;
    --color-accent-dark: #9a7e54;
    --color-gold: #d4a955;
    --color-footer: #2a2a2a;
    --color-footer-text: #c9b89b;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-strong: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-accent);
}

.icon {
    width: 16px;
    height: 16px;
    color: var(--color-accent);
    flex-shrink: 0;
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--color-bar);
    padding: 12px 20px;
    font-size: 14px;
}

.top-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text);
}

/* ===== Hero ===== */
.hero {
    padding: 60px 20px 50px;
    background: linear-gradient(180deg, #ffffff 0%, var(--color-bg-alt) 100%);
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.logo {
    max-width: 320px;
    width: 100%;
    height: auto;
    margin: 0 auto 30px;
    display: block;
}

.tagline {
    font-size: 17px;
    color: var(--color-text-soft);
    max-width: 720px;
    margin: 0 auto 50px;
    line-height: 1.7;
    font-weight: 300;
}

/* ===== Contacts ===== */
.contacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: #ffffff;
    border: 1px solid #ece4d6;
    border-radius: 8px;
    padding: 28px 20px;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    border-color: var(--color-accent);
}

.contact-card-prenota {
    display: block;
    cursor: pointer;
}

.contact-card-prenota:hover {
    color: inherit;
}

.contact-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    background: var(--color-bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent-dark);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.5;
}

/* ===== Carousel ===== */
.carousel-section {
    padding: 70px 20px 80px;
    background: var(--color-bg-alt);
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 300;
    color: var(--color-accent-dark);
    margin-bottom: 40px;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--color-accent);
    margin: 16px auto 0;
}

.carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
}

.carousel-track {
    display: flex;
    gap: 16px;
    transition: transform 0.5s ease;
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 calc((100% - 32px) / 3);
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 6px;
    background: #eee;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.carousel-slide:hover img {
    transform: scale(1.05);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-accent-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    transition: background var(--transition), transform var(--transition);
    z-index: 2;
}

.carousel-btn:hover {
    background: var(--color-accent);
    color: #ffffff;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

.carousel-btn-prev {
    left: 12px;
}

.carousel-btn-next {
    right: 12px;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-footer);
    color: var(--color-footer-text);
    padding: 50px 20px 20px;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(201, 184, 155, 0.2);
}

.footer-logo {
    max-width: 220px;
    width: 100%;
    height: auto;
    filter: brightness(0.95);
}

.footer-info {
    text-align: right;
    font-size: 14px;
    line-height: 1.9;
}

.footer-info p {
    margin: 0;
}

.footer-info strong {
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 1px;
}

.footer-info a {
    color: var(--color-footer-text);
}

.footer-info a:hover {
    color: var(--color-accent);
}

.separator {
    margin: 0 8px;
    color: rgba(201, 184, 155, 0.5);
}

.footer-social {
    margin-top: 8px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-footer-text);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #ffffff;
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    padding-top: 20px;
    font-size: 13px;
    color: rgba(201, 184, 155, 0.7);
    letter-spacing: 0.5px;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .carousel-slide {
        flex: 0 0 calc((100% - 16px) / 2);
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 10px 16px;
        font-size: 13px;
    }

    .top-bar-content {
        gap: 14px 20px;
    }

    .hero {
        padding: 40px 16px 30px;
    }

    .logo {
        max-width: 250px;
        margin-bottom: 24px;
    }

    .tagline {
        font-size: 15px;
        margin-bottom: 36px;
    }

    .contacts {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .contact-card-prenota {
        grid-column: 1 / -1;
    }

    .contact-card {
        padding: 20px 12px;
    }

    .contact-card h3 {
        font-size: 12px;
    }

    .contact-card p {
        font-size: 14px;
    }

    .carousel-section {
        padding: 50px 16px 60px;
    }

    .section-title {
        font-size: 22px;
        letter-spacing: 2px;
        margin-bottom: 28px;
    }

    .footer {
        padding: 40px 20px 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .footer-info {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .top-bar-content {
        gap: 8px 16px;
    }

    .top-bar-item {
        font-size: 12px;
    }

    .carousel-slide {
        flex: 0 0 100%;
    }

    .carousel-btn {
        width: 38px;
        height: 38px;
    }

    .carousel-btn-prev {
        left: 8px;
    }

    .carousel-btn-next {
        right: 8px;
    }
}

@media (max-width: 400px) {
    .contacts {
        grid-template-columns: 1fr;
    }

    .logo {
        max-width: 220px;
    }
}
