/* Custom CSS для Roteiro Gastronómico */

/* Шрифты */
body {
    font-family: 'Poppins', sans-serif;
    color: #4a4a4a;
    background-color: #f8f9fa; /* Light background */
}

h1, h2, h3, h5 {
    font-family: 'Merriweather', serif;
}

/* Цветовая гамма: темно-желтый градиент и белый */
.bg-dark {
    background-color: #1a1a1a !important;
}
.bg-black {
    background-color: #0d0d0d !important;
}

.btn-warning {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
    color: #000 !important;
}

.btn-outline-warning {
    color: #ffc107 !important;
    border-color: #ffc107 !important;
}

.btn-outline-warning:hover {
    background-color: #ffc107 !important;
    color: #000 !important;
}

.badge.bg-warning {
    background-color: #ffc107 !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(51, 51, 51, 0.8) 100%);
    background-size: cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: 700;
}

.hero-description {
    max-width: 700px;
    margin: 0 auto;
}

.primary-button {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
    padding: 0.75rem 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.primary-button svg {
    width: 20px;
    height: 20px;
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.restaurant-card .card-img-top {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.card-body {
    padding: 1.5rem;
}

.recipe-card .card-body, .article-card .card-body {
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
}

.recipe-card, .article-card {
    position: relative;
    color: white;
}

.recipe-card img, .article-card img {
    height: 350px;
    object-fit: cover;
    width: 100%;
    border-radius: 12px;
}

.recipe-card .card-title, .article-card .card-title {
    font-weight: 700;
}

.recipe-card .card-text, .article-card .card-text {
    font-size: 0.9rem;
}


/* Sections */
.section-title {
    font-weight: 700;
    color: #0d0d0d;
}

.bg-dark .section-title {
    color: #ffc107;
}

.section-description {
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

/* Newsletter & Contact Sections */
.newsletter-section .form-control {
    border-radius: 50px;
    border: 1px solid #ddd;
    padding: 0.75rem 1.5rem;
}

.newsletter-section .btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
}

.contact-section .form-input,
.contact-section .form-textarea {
    background-color: #2a2a2a;
    border: 1px solid #444;
    color: #f0f0f0;
}
/* Обновленные стили для хедера и главной секции */

/* Хедер */
.bg-black {
    background-color: #0d0d0d !important;
}

.navbar-brand {
    text-transform: uppercase;
    letter-spacing: 2px;
}

.navbar-brand span {
    font-weight: 700;
}

.navbar-nav .nav-link {
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #ffc107 !important;
}

@media (min-width: 992px) {
    .navbar-nav {
        flex-direction: row;
        gap: 1.5rem;
    }
}

/* Главная секция (Hero) */
.hero-section {
    background: linear-gradient(135deg, #2c2c2c 0%, #0d0d0d 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: clamp(2rem, 8vw, 6rem);
    text-transform: uppercase;
    line-height: 1.1;
    font-weight: 900;
}

.hero-description {
    max-width: 500px;
}

.hero-image-placeholder img {
    height: auto;
    max-height: 450px;
    object-fit: cover;
}

.primary-button {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
    padding: 0.75rem 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

/* Остальные стили из предыдущего ответа остаются без изменений */
.contact-section .form-input::placeholder,
.contact-section .form-textarea::placeholder {
    color: #888;
}

/* Footer */
footer a {
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #ffc107 !important;
}

.footer-copy, .footer-tagline {
    font-size: 0.9rem;
}

.footer-separator {
    display: none;
}
@media (min-width: 768px) {
    .footer-separator {
        display: inline;
    }
}