/* style.css - Общие стили для всех страниц UrbanTaste */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', serif;
    background: white;
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

/* Header */
.header {
    background: radial-gradient(ellipse 50.00% 467.15% at 50.00% 50.00%, #7B1E1E 0%, #570E0E 100%);
    padding: 20px 0;
    position: relative;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    width: 176px;
    height: 131px;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: opacity 0.3s;
}

.nav a:hover {
    opacity: 0.8;
}

.book-btn {
    background: #D4A017;
    color: #570E0E !important;
    padding: 12px 24px;
    border-radius: 14px;
    text-decoration: none !important;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.58);
    z-index: 1;
}  

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    background: radial-gradient(ellipse 50.00% 50.00% at 50.00% 50.00%, #7B1E1E 0%, #570E0E 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 900;
    font-size: 18px;
    transition: transform 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Popular Dishes */
.popular-dishes {
    padding: 80px 20px;
    text-align: center;
}

.section-title {
    color: #570E0E;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 60px;
}

.dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.dish-card {
    background: #D9D9D9;
    border-radius: 25px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transition: transform 0.3s;
}

.dish-card:hover {
    transform: translateY(-5px);
}

.dish-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.dish-content {
    padding: 20px;
}

.dish-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: black;
}

.dish-description {
    font-size: 0.9rem;
    color: black;
    margin-bottom: 15px;
    line-height: 1.4;
}

.dish-price {
    color: #570E0E;
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.order-btn {
    background: radial-gradient(ellipse 50.00% 50.00% at 50.00% 50.00%, #7B1E1E 0%, #570E0E 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 900;
    display: inline-block;
}

/* About Section */
.about {
    padding: 80px 20px;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    width: 100%;
    border-radius: 25px;
    height: 400px;
    object-fit: cover;
}

.about-text h2 {
    color: #570E0E;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-text p {
    color: black;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Footer */
.footer {
    background: radial-gradient(ellipse 50.00% 50.00% at 50.00% 50.00%, #7B1E1E 0%, #570E0E 100%);
    color: white;
    padding: 50px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 0.8;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: #D4A017;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}

/* Page Header (для about.html, menu.html, contacts.html) */
.page-header {
    text-align: center;
    padding: 60px 0 40px;
}

.page-title {
    color: #570E0E;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.page-subtitle {
    color: #4A4A4A;
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 400;
}

/* Menu Page Styles */
.menu-header {
    text-align: center;
    padding: 60px 0 40px;
}

.menu-title {
    color: #570E0E;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.menu-subtitle {
    color: #4A4A4A;
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 400;
}

.categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    padding: 0 20px;
}

.category-btn {
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid black;
    background: white;
    color: black;
    white-space: nowrap;
}

.category-btn.active {
    background: #570E0E;
    color: white;
    border-color: #570E0E;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 0 20px 60px;
}

.menu-item {
    background: #D9D9D9;
    border-radius: 30px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transition: transform 0.3s;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.item-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.item-content {
    padding: 25px;
}

.item-title {
    color: black;
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.item-description {
    color: black;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 15px;
}

.item-price {
    color: #570E0E;
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.load-more {
    text-align: center;
    padding: 40px 0;
}

.load-btn {
    background: radial-gradient(ellipse 50.00% 50.00% at 50.00% 50.00%, #7B1E1E 0%, #570E0E 100%);
    color: white;
    padding: 18px 40px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 900;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
    display: inline-block;
    transition: transform 0.3s;
}

.load-btn:hover {
    transform: scale(1.05);
}

/* About Page Styles */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 40px 0 80px;
    min-height: 60vh;
}

.about-image-container {
    width: 100%;
}

.about-image {
    width: 100%;
    height: 400px;
    border-radius: 25px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    color: black;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-text p {
    color: black;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 500;
}

.contact-btn {
    background: radial-gradient(ellipse 50.00% 50.00% at 50.00% 50.00%, #7B1E1E 0%, #570E0E 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 900;
    display: inline-block;
    transition: transform 0.3s;
}

.contact-btn:hover {
    transform: scale(1.05);
}

/* Contacts Page Styles */
.content-section {
    padding: 40px 0 80px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    color: black;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 54px;
    height: 54px;
    background: #D4A017;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-text h3 {
    color: black;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-text p {
    color: black;
    font-size: 0.9rem;
    font-weight: 400;
}

.social-media {
    margin-top: 40px;
}

.social-media h2 {
    color: black;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.booking-form {
    background: #D9D9D9;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.booking-form h2 {
    color: black;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: black;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    height: 50px;
    background: #D9D9D9;
    border: 1px solid black;
    border-radius: 10px;
    padding: 0 15px;
    font-size: 1rem;
    font-family: 'Playfair Display', serif;
}

.form-input::placeholder {
    color: black;
    opacity: 0.7;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.submit-btn {
    width: 100%;
    height: 50px;
    background: radial-gradient(ellipse 50.00% 50.00% at 50.00% 50.00%, #7B1E1E 0%, #570E0E 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.3s;
}

.submit-btn:hover {
    transform: scale(1.02);
}

.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-social-icon {
    width: 45px;
    height: 45px;
    background: #D4A017;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-social-icon:hover {
    background: white;
    transform: scale(1.1);
}

.social-svg {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

.social-svg {
    filter: brightness(0) saturate(100%) invert(14%) sepia(15%) saturate(3300%) hue-rotate(320deg) brightness(90%) contrast(90%);
}

.footer-social-icon:hover .social-svg {
    filter: brightness(0) saturate(100%) invert(14%) sepia(15%) saturate(3300%) hue-rotate(320deg) brightness(90%) contrast(90%);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Mobile Styles */
.mobile-header {
    display: none;
    background: #7B1E1E;
    padding: 10px 20px;
    position: relative;
    height: 80px;
    align-items: center;
    justify-content: space-between;
}

.mobile-logo {
    width: 120px;
    height: auto;
}

.mobile-book-btn {
    background: #D4A017;
    color: #570E0E;
    padding: 8px 16px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.mobile-menu-icon {
    width: 30px;
    height: 30px;
    cursor: pointer;
}

/* Mobile Hero */
.mobile-hero {
    display: none;
    position: relative;
    height: 70vh;
    min-height: 500px;
    background-image: url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.mobile-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.58);
    z-index: 1;
}

.mobile-hero-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
}

.mobile-hero-title {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.mobile-hero-subtitle {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.4;
}

.mobile-hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.mobile-btn {
    background: radial-gradient(ellipse 50.00% 50.00% at 50.00% 50.00%, #7B1E1E 0%, #570E0E 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 900;
    font-size: 14px;
    width: 200px;
    text-align: center;
}

/* Mobile Dishes */
.mobile-dishes-section {
    display: none;
    padding: 40px 20px;
    text-align: center;
}

.mobile-section-title {
    color: #570E0E;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
}

.mobile-dish-card {
    background: #D9D9D9;
    border-radius: 20px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    margin-bottom: 20px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.mobile-dish-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.mobile-dish-content {
    padding: 15px;
    position: relative;
}

.mobile-dish-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: black;
}

.mobile-dish-description {
    font-size: 12px;
    color: black;
    margin-bottom: 10px;
    line-height: 1.3;
}

.mobile-dish-price {
    color: #570E0E;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 10px;
}

.mobile-order-btn {
    background: radial-gradient(ellipse 50.00% 50.00% at 50.00% 50.00%, #7B1E1E 0%, #570E0E 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 900;
    font-size: 12px;
    display: inline-block;
}

/* Mobile About */
.mobile-about {
    display: none;
    padding: 40px 20px;
    background: white;
    text-align: center;
}

.mobile-about-title {
    color: #570E0E;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.mobile-about-subtitle {
    color: #4A4A4A;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 20px;
}

.mobile-about-image {
    width: 100%;
    max-width: 300px;
    border-radius: 15px;
    height: 200px;
    object-fit: cover;
    margin: 0 auto 20px;
}

.mobile-about-text {
    color: black;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 20px;
    text-align: left;
}

.mobile-contact-btn {
    background: radial-gradient(ellipse 50.00% 50.00% at 50.00% 50.00%, #7B1E1E 0%, #570E0E 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    display: inline-block;
}

/* Mobile Footer */
.mobile-footer {
    display: none;
    background: radial-gradient(ellipse 50.00% 50.00% at 50.00% 50.00%, #7B1E1E 0%, #570E0E 100%);
    color: white;
    padding: 30px 20px 20px;
}

.mobile-footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
}

.mobile-footer-section h4 {
    margin-bottom: 15px;
    font-size: 16px;
}

.mobile-footer-section a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.mobile-social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 15px;
}

.mobile-social-icon {
    width: 35px;
    height: 35px;
    background: #D4A017;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.mobile-copyright {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 12px;
}

/* Mobile Menu Page Styles */
.mobile-menu-header {
    display: none;
    text-align: center;
    padding: 20px;
}

.mobile-menu-title {
    color: #570E0E;
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 10px;
}

.mobile-menu-subtitle {
    color: #4A4A4A;
    font-size: 20px;
    font-weight: 400;
}

.mobile-categories {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 20px 20px;
    justify-content: center;
}

.mobile-category-btn {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid black;
    background: white;
    color: black;
    white-space: nowrap;
}

.mobile-category-btn.active {
    background: #570E0E;
    color: white;
    border-color: #570E0E;
}

.mobile-menu-grid {
    display: none;
    padding: 0 20px 30px;
}

.mobile-menu-item {
    background: #D9D9D9;
    border-radius: 30px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    padding: 15px;
    gap: 15px;
}

.mobile-item-image {
    width: 140px;
    height: 60px;
    border-radius: 15px;
    object-fit: cover;
    flex-shrink: 0;
}

.mobile-item-content {
    flex: 1;
}

.mobile-item-title {
    color: black;
    font-size: 15px;
    font-weight: 900;
    margin-bottom: 5px;
}

.mobile-item-description {
    color: black;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 8px;
}

.mobile-item-price {
    color: #570E0E;
    font-size: 10px;
    font-weight: 900;
}

.mobile-load-more {
    display: none;
    text-align: center;
    padding: 20px 0 40px;
}

.mobile-load-btn {
    background: radial-gradient(ellipse 50.00% 50.00% at 50.00% 50.00%, #7B1E1E 0%, #570E0E 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 900;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
    display: inline-block;
}

/* Media Queries */
@media (max-width: 1024px) {
    .about-content, .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .nav {
        gap: 20px;
    }
    
    .menu-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .content-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .nav {
        flex-direction: column;
        gap: 15px;
        display: none;
    }

    .nav.active {
        display: flex;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .dishes-grid, .menu-grid {
        grid-template-columns: 1fr;
    }

    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .categories {
        gap: 10px;
    }

    .category-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .menu-grid {
        padding: 0 10px 40px;
    }

    .menu-header, .page-header {
        padding: 40px 0 30px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .booking-form {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    /* Hide desktop elements */
    .header, .hero, .popular-dishes, .about, .footer,
    .menu-header, .categories, .menu-grid, .load-more,
    .page-header, .about-grid, .content-section {
        display: none;
    }

    /* Show mobile elements */
    .mobile-header, .mobile-hero, .mobile-dishes-section, 
    .mobile-about, .mobile-footer,
    .mobile-menu-header, .mobile-categories, 
    .mobile-menu-grid, .mobile-load-more {
        display: block;
    }

    body {
        width: 100%;
        margin: 0;
        position: relative;
        background: white;
    }

    .container {
        padding: 0;
        max-width: 100%;
    }
}

@media (min-width: 481px) {
    .mobile-header, .mobile-hero, .mobile-dishes-section, 
    .mobile-about, .mobile-footer,
    .mobile-menu-header, .mobile-categories, 
    .mobile-menu-grid, .mobile-load-more {
        display: none;
    }
}