/* ===== Базовые стили ===== */
:root {
    --coffee-dark: #3b2a1e;
    --coffee: #6f4e37;
    --coffee-light: #a87c5a;
    --cream: #f7f1ea;
    --cream-dark: #efe4d6;
    --white: #fff;
    --text: #2c2c2c;
    --text-light: #6b6b6b;
    --shadow: 0 4px 24px rgba(59, 42, 30, 0.12);
    --shadow-hover: 0 8px 32px rgba(59, 42, 30, 0.2);
    --radius: 16px;
    --transition: 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--cream);
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

/* ===== Шапка ===== */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(59, 42, 30, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    padding: 0.8rem 0;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color var(--transition);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--coffee-light);
    transition: width var(--transition);
}

nav a:hover {
    color: var(--coffee-light);
}

nav a:hover::after {
    width: 100%;
}

/* ===== Hero ===== */
#hero {
    text-align: center;
    padding: 100px 24px;
    background: linear-gradient(135deg, #3b2a1e 0%, #6f4e37 50%, #8b6b4a 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.08), transparent 60%);
}

.hero-content {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

#hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.2rem;
}

#hero p {
    font-size: 1.15rem;
    opacity: 0.85;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--white);
    color: var(--coffee-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

/* ===== Секции ===== */
section {
    padding: 80px 24px;
    text-align: center;
}

section h2 {
    font-size: 2.2rem;
    color: var(--coffee-dark);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--coffee-light);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ===== О нас ===== */
#about {
    background: var(--white);
}

.about-text {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ===== Меню ===== */
#menu {
    background: var(--cream);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}

.menu-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.menu-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.menu-card h3 {
    font-size: 1.4rem;
    color: var(--coffee-dark);
    margin-bottom: 10px;
}

.menu-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.price {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--coffee);
    background: var(--cream-dark);
    padding: 6px 20px;
    border-radius: 50px;
}

/* ===== Карта проезда ===== */
#map {
    background: var(--white);
}

.map-wrapper {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px;
    align-items: center;
    text-align: left;
}

.map-info p {
    margin-bottom: 14px;
    font-size: 1.05rem;
    color: var(--text);
}

.map-address {
    font-weight: 600;
    color: var(--coffee-dark);
}

.map-hours,
.map-phone {
    color: var(--text-light);
}

.map-embed {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-embed iframe {
    display: block;
    border: none;
}

/* ===== Подвал ===== */
footer {
    background: var(--coffee-dark);
    color: var(--white);
    text-align: center;
    padding: 48px 24px;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

footer .logo {
    margin-bottom: 14px;
}

footer p {
    opacity: 0.85;
    margin-bottom: 6px;
}

.footer-sub {
    font-size: 0.9rem;
    opacity: 0.6;
}

/* ===== Адаптивность ===== */
@media (max-width: 640px) {
    nav {
        flex-direction: column;
        gap: 12px;
    }

    nav ul {
        gap: 20px;
    }

    #hero h1 {
        font-size: 2rem;
    }

    #hero p {
        font-size: 1rem;
    }

    section {
        padding: 56px 20px;
    }

    section h2 {
        font-size: 1.7rem;
    }

    .map-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
}
