/* ============================================
   MIAMI GRILL — Premium Dark Luxury Theme
   Deep Navy + Warm Gold Palette
   ============================================ */

/* --- CSS Variables --- */
:root {
    --navy-950: #020617;
    --navy-900: #0a1628;
    --navy-800: #0f2140;
    --navy-700: #162d54;
    --navy-600: #1e3a6e;
    
    --gold-400: #d4a853;
    --gold-500: #c9a227;
    --gold-600: #b8911f;
    
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', 'Segoe UI', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--navy-950);
    color: var(--slate-200);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--slate-50);
}

.gold-text {
    color: var(--gold-400);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--slate-400);
    max-width: 500px;
    margin: 0 auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: transparent;
    color: var(--slate-50);
    border-color: var(--slate-50);
}

.btn-primary:hover {
    background: var(--slate-50);
    color: var(--navy-950);
}

.btn-outline {
    background: transparent;
    color: var(--gold-400);
    border-color: var(--gold-400);
}

.btn-outline:hover {
    background: var(--gold-400);
    color: var(--navy-950);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    color: var(--navy-950);
    border-color: var(--gold-400);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.3);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--slate-50);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--slate-300);
    transition: var(--transition);
    position: relative;
}

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

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

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

.btn-reserve {
    padding: 10px 24px !important;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600)) !important;
    color: var(--navy-950) !important;
    border-radius: 4px;
    font-weight: 600 !important;
}

.btn-reserve::after {
    display: none !important;
}

.btn-reserve:hover {
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.4);
    transform: translateY(-1px);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--slate-200);
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 50%, var(--navy-800) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(201, 162, 39, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-subtitle {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 20px;
    display: block;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--slate-50);
}

.hero-title em {
    font-style: italic;
    color: var(--gold-400);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--slate-400);
    margin-bottom: 40px;
    max-width: 480px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
}

.hero-image-frame {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.hero-image-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 8px;
    z-index: 1;
    pointer-events: none;
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    color: var(--navy-950);
    padding: 16px 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.3);
    z-index: 2;
}

.hero-badge svg {
    flex-shrink: 0;
}

/* --- About Section --- */
.about {
    padding: 120px 0;
    background: var(--navy-900);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.2), transparent);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    color: var(--slate-400);
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    gap: 32px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    flex-shrink: 0;
}

.feature-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--slate-200);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.about-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: 8px;
    z-index: -1;
}

/* --- Menu Section --- */
.menu {
    padding: 120px 0;
    background: var(--navy-950);
    position: relative;
}

.menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.2), transparent);
}

.section-header {
    margin-bottom: 60px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.menu-card {
    background: var(--navy-900);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(201, 162, 39, 0.1);
    transition: var(--transition);
}

.menu-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 162, 39, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.menu-img {
    overflow: hidden;
    height: 240px;
}

.menu-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-card:hover .menu-img img {
    transform: scale(1.05);
}

.menu-info {
    padding: 28px;
}

.menu-info h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--slate-50);
}

.menu-info p {
    font-size: 0.9rem;
    color: var(--slate-400);
    margin-bottom: 20px;
    line-height: 1.7;
}

.menu-link {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-400);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.menu-link:hover {
    gap: 10px;
    color: var(--gold-500);
}

/* --- Ambiance Section --- */
.ambiance {
    padding: 120px 0;
    background: var(--navy-900);
    position: relative;
}

.ambiance::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.2), transparent);
}

.ambiance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ambiance-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
    cursor: pointer;
}

.ambiance-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ambiance-item:hover img {
    transform: scale(1.1);
}

.ambiance-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    transition: var(--transition);
}

.ambiance-item:hover .ambiance-overlay {
    background: linear-gradient(to top, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.3) 100%);
}

.ambiance-overlay h4 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--gold-400);
}

.ambiance-overlay p {
    font-size: 0.9rem;
    color: var(--slate-400);
}

/* --- Contact Section --- */
.contact {
    padding: 120px 0;
    background: var(--navy-950);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.2), transparent);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-desc {
    color: var(--slate-400);
    margin-bottom: 40px;
    font-size: 1rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 6px;
}

.contact-item p {
    color: var(--slate-300);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-item a {
    color: var(--slate-300);
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--gold-400);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(201, 162, 39, 0.1);
}

/* --- Contact Form --- */
.contact-form-wrapper {
    background: var(--navy-900);
    border: 1px solid rgba(201, 162, 39, 0.15);
    border-radius: 12px;
    padding: 48px;
}

.form-header {
    margin-bottom: 32px;
}

.form-header h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.form-header p {
    color: var(--slate-400);
    font-size: 0.95rem;
}

.reservation-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-400);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--navy-950);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 6px;
    padding: 14px 16px;
    color: var(--slate-200);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-400);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate-600);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--navy-900);
    color: var(--slate-200);
}

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

/* Success Message */
.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.active {
    display: block;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(201, 162, 39, 0.1);
    border: 2px solid var(--gold-400);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--gold-400);
}

.form-success h4 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--slate-50);
}

.form-success p {
    color: var(--slate-400);
    font-size: 0.95rem;
    line-height: 1.7;
}

.form-success a {
    color: var(--gold-400);
    font-weight: 600;
}

/* --- Footer --- */
.footer {
    padding: 80px 0 40px;
    background: var(--navy-950);
    border-top: 1px solid rgba(201, 162, 39, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer-brand p {
    color: var(--slate-400);
    font-size: 0.9rem;
    line-height: 1.8;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--slate-400);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold-400);
    padding-left: 8px;
}

.footer-contact p {
    color: var(--slate-400);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-contact a {
    color: var(--slate-400);
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--gold-400);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: var(--slate-600);
    font-size: 0.85rem;
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }
    
    .about-container {
        gap: 48px;
    }
    
    .contact-container {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--navy-950);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid rgba(201, 162, 39, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-description {
        margin: 0 auto 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-badge {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-image img {
        height: 400px;
    }
    
    .about-features {
        flex-wrap: wrap;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .ambiance-grid {
        grid-template-columns: 1fr;
    }
    
    .ambiance-item {
        height: 300px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
