/* ============================================
   LEVANT RESTAURANG - CSS STYLESHEET
   Responsive Design for all devices
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #DC2626;
    --secondary-color: #1F2937;
    --accent-color: #F59E0B;
    --light-bg: #F9FAFB;
    --white: #FFFFFF;
    --text-dark: #111827;
    --text-light: #6B7280;
    --border-color: #E5E7EB;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 2rem;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    flex: 1;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-menu,
.btn-reserve {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    display: inline-block;
}

.btn-menu:hover,
.btn-reserve:hover {
    background-color: #B91C1C;
}

/* Language Dropdown */
.language-dropdown {
    position: relative;
}

.lang-dropdown-btn {
    padding: 0.6rem 1rem;
    border: 2px solid var(--border-color);
    background-color: var(--white);
    color: var(--text-dark);
    cursor: pointer;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 50px;
    justify-content: center;
}

.lang-dropdown-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.lang-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    margin-top: 0.5rem;
    display: none;
    z-index: 1000;
}

.lang-dropdown-menu.active {
    display: block;
}

.lang-option {
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    background-color: transparent;
    color: var(--text-dark);
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: background-color 0.3s;
    font-size: 0.95rem;
}

.lang-option:hover {
    background-color: var(--light-bg);
}

.lang-option.active {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.lang-flag {
    width: 22px;
    height: 16px;
    display: inline-block;
    border-radius: 2px;
    flex-shrink: 0;
}

.lang-name {
    color: var(--text-light);
    font-size: 0.85rem;
}

.lang-option.active .lang-name {
    color: rgba(255, 255, 255, 0.9);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        height: 600px;
    }
}

.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;

    /* Şəkli bir az sağa çəkir ki, telefonda sağ hissə də görünsün */
    object-position: 70% center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.30);
}

.hero-buttons-overlay {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons-bottom {
    position: absolute;
    left: 50%;
    bottom: 5px;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-buttons-overlay .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
}

.hero-buttons-overlay .btn-primary {
    background: #DC2626;
    color: #fff;
}

.hero-buttons-overlay .btn-secondary {
    background: #fff;
    color: #DC2626;
    border: 2px solid #DC2626;
}

@media (max-width:768px){

    .hero-buttons-overlay{
        flex-direction: row;   /* <-- dəyişildi */
        justify-content: center;
        gap: 10px;
        width: 95%;
        flex-wrap: nowrap;     /* yan-yana məcbur edir */
    }

    .hero-buttons-overlay .btn{
        width: auto;           /* <-- FULL WIDTH SİLİNDİ */
        padding: 0.6rem 1.2rem; /* kiçildildi */
        font-size: 0.9rem;      /* mobil ölçü */
        text-align: center;
        white-space: nowrap;
    }

}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.highlight {
    color: var(--primary-color);
}

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

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.about-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.about-buttons .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s;
}

.about-buttons .btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.about-buttons .btn-primary:hover {
    background-color: #B91C1C;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.about-buttons .btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.about-buttons .btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.about {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.about-text p {
    color: var(--text-dark);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery {
    padding: 4rem 0;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--border-color);
    background-color: var(--white);
    color: var(--text-dark);
    cursor: pointer;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-item.hidden {
    display: none;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-info h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item .icon {
    font-size: 1.5rem;
    min-width: 30px;
}

.contact-item label {
    display: block;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-dark);
    font-weight: 500;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.reservation-button {
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.social-media {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.social-media h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    padding: 0.6rem 1.2rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: #B91C1C;
}

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

.map-container iframe {
    border: none;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (min-width: 769px) {
    .language-dropdown {
        order: auto;
        width: auto;
    }

    .lang-dropdown-menu {
        right: 0;
        left: auto;
    }
}

@media (max-width: 768px) {
    .nav-wrapper {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--white);
        padding: 1rem;
        gap: 0.5rem;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .language-dropdown {
        order: 3;
        width: 100%;
    }

    .lang-dropdown-menu {
        right: auto;
        left: 0;
    }

    .hero {
        height: 400px;
    }

    .hero-buttons-bottom {
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
}

.hero-buttons-overlay {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.hero-buttons-overlay .btn {
    width: auto;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    text-align: center;
    white-space: nowrap;
}

    .about-hero {
        height: 350px;
    }

    .about-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .about-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 2rem 0;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .nav-links {
        gap: 0.3rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

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

.mt-2 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 2rem;
}
