/* ============================================
   MALDAN RESTAURANT - PREMIUM LUXURY STYLES
   ============================================ */

:root {
    --primary-black: #0D0D0D;
    --luxury-gold: #C9A86A;
    --ivory-white: #F5F2ED;
    --olive-green: #3D4738;
    --bronze-accent: #8B7355;
    --light-gray: #E8E8E8;
    --dark-gray: #2A2A2A;
    
    --font-serif: 'Playfair Display', 'Georgia', serif;
    --font-sans: 'Montserrat', 'Segoe UI', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--primary-black);
    background-color: var(--ivory-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 300;
    font-style: italic;
}

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

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 168, 106, 0.2);
    padding: 1rem 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 0.6rem 0;
    box-shadow: var(--shadow-md);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    height: 80px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 0 8px rgba(201, 168, 106, 0.2));
    object-fit: contain;
}

.logo:hover img {
    filter: drop-shadow(0 0 15px rgba(201, 168, 106, 0.5));
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    flex: 1;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-menu a {
    color: var(--ivory-white);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: var(--transition);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--luxury-gold);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--luxury-gold);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.language-selector {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.language-selector select {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--luxury-gold);
    color: var(--luxury-gold);
    border-radius: 3px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-family: var(--font-sans);
}

.language-selector select:hover,
.language-selector select:focus {
    background: rgba(201, 168, 106, 0.1);
    outline: none;
}

.language-selector select option {
    background: var(--primary-black);
    color: var(--ivory-white);
}

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

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.6) 0%, rgba(61, 71, 56, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--ivory-white);
    max-width: 900px;
    padding: 2rem;
    animation: fadeInUp 1.2s ease-out;
}

.hero-content h1 {
    color: var(--ivory-white);
    margin-bottom: 1rem;
    font-size: 3.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    color: var(--ivory-white);
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 1px;
}

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

.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-family: var(--font-sans);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--luxury-gold);
    color: var(--primary-black);
    box-shadow: 0 10px 30px rgba(201, 168, 106, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(201, 168, 106, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--ivory-white);
    border: 2px solid var(--luxury-gold);
}

.btn-secondary:hover {
    background: var(--luxury-gold);
    color: var(--primary-black);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
    stroke: var(--luxury-gold);
    fill: none;
    stroke-width: 2;
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 6rem 2rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--luxury-gold);
    margin: 1.5rem auto 0;
}

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

.about {
    background: var(--ivory-white);
}

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

.about-text h3 {
    color: var(--luxury-gold);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

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

.gallery {
    background: var(--primary-black);
    color: var(--ivory-white);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1) rotate(2deg);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(201, 168, 106, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-text {
    color: var(--primary-black);
    font-size: 1.2rem;
    font-weight: 600;
}

/* ============================================
   MENU SECTION
   ============================================ */

.menu {
    background: var(--ivory-white);
}

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

.menu-category {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.menu-category:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.menu-category h3 {
    color: var(--luxury-gold);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--luxury-gold);
    padding-bottom: 1rem;
}

.menu-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.menu-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.menu-item-name {
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.menu-item-description {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.menu-item-price {
    color: var(--luxury-gold);
    font-weight: 600;
    display: none;
}

/* ============================================
   RESERVATION SECTION
   ============================================ */

.reservation {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--olive-green) 100%);
    color: var(--ivory-white);
}

.reservation-container {
    max-width: 600px;
    margin: 0 auto;
}

.reservation-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 168, 106, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--luxury-gold);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(201, 168, 106, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: var(--ivory-white);
    border-radius: 5px;
    font-family: var(--font-sans);
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(245, 242, 237, 0.6);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--luxury-gold);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(201, 168, 106, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group.full {
    grid-column: 1 / -1;
}

.reservation-form .btn {
    width: 100%;
    margin-top: 1rem;
}

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

.contact {
    background: var(--ivory-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--luxury-gold);
}

.contact-item h4 {
    color: var(--luxury-gold);
    margin-bottom: 0.5rem;
}

.contact-item p {
    margin: 0;
    color: var(--dark-gray);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

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

footer {
    background: var(--primary-black);
    color: var(--ivory-white);
    padding: 3rem 2rem 1rem;
    border-top: 1px solid rgba(201, 168, 106, 0.2);
}

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

.footer-section h4 {
    color: var(--luxury-gold);
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: var(--ivory-white);
    transition: var(--transition);
}

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

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

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--luxury-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--luxury-gold);
    color: var(--primary-black);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 168, 106, 0.2);
    color: rgba(245, 242, 237, 0.7);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

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

@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    nav ul {
        gap: 1.5rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .header-container {
        padding: 0 1rem;
    }
    
    .logo img {
        height: 65px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(13, 13, 13, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        border-bottom: 1px solid rgba(201, 168, 106, 0.2);
    }
    
    .nav-menu.active {
        max-height: 500px;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        padding: 0 2rem;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
    }
    
    .language-selector {
        position: absolute;
        top: 100%;
        right: 1rem;
        margin-top: 0.5rem;
    }
    
    .language-selector select {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .hero-buttons {
        gap: 1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .menu-categories {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .hero-content h1 {
        font-size: 1.4rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    header {
        padding: 0.8rem 0;
    }
    
    .header-container {
        padding: 0 1rem;
    }
    
    .logo img {
        height: 55px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(13, 13, 13, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1.5rem 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        border-bottom: 1px solid rgba(201, 168, 106, 0.2);
    }
    
    .nav-menu.active {
        max-height: 400px;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0 1.5rem;
    }
    
    .nav-menu a {
        font-size: 0.85rem;
    }
    
    .language-selector {
        position: absolute;
        top: 100%;
        right: 1rem;
        margin-top: 0.3rem;
    }
    
    .language-selector select {
        font-size: 0.8rem;
        padding: 0.35rem 0.6rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
}

.language-flags {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-flags a {
    display: flex;
    width: 34px;
    height: 34px;
    overflow: hidden;
    border-radius: 50%;
}

.language-flags img {
    width: 34px !important;
    height: 34px !important;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}
@media (max-width: 768px) {

  .header-container {
    display: grid !important;
    grid-template-columns: 45px 1fr 170px !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .hamburger {
    grid-column: 1 !important;
    grid-row: 1 !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    display: flex !important;
  }

  .logo {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: start !important;
  }

  .language-selector {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    display: block !important;
  }

  .language-flags {
    display: flex !important;
    gap: 6px !important;
    align-items: center !important;
    background: transparent !important;
    padding: 0 !important;
  }

  .language-flags a,
  .language-flags img {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
  }

  .nav-menu {
    grid-column: 1 / 4 !important;
    grid-row: 2 !important;
  }
}
