﻿/* ==========================================================================
   Simos Cheesecake & Coffee - Homepage Styles (oldindex.css)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,400&display=swap');

:root {
    --primary-color: #d73b48;
    --hover-color: #b32a36;
    --primary-light: #fde8ea;
    --primary-glow: rgba(215, 59, 72, 0.25);
    --gold: #d4a373;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --bg-light: #f9fafb;
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    --card-hover-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-light);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 52px; /* Sleek compact header height */
    overflow-x: hidden;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

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

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

/* ==========================================================================
   Loading Screen
   ========================================================================== */
#loading-screen {
    position: fixed;
    inset: 0;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.35s ease-out, visibility 0.35s ease-out;
}

.loading-spinner {
    width: 44px;
    height: 44px;
    border: 3.5px solid #f3f4f6;
    border-top: 3.5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   Compact Fixed Navigation Bar
   ========================================================================== */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 52px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.85);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.header-container {
    max-width: 1160px;
    height: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--primary-light);
}

.brand-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
}

.brand-title span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-link {
    padding: 0.25rem 0.15rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.btn-primary-header {
    background: var(--primary-color);
    color: white;
    padding: 0.38rem 1.15rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.btn-primary-header:hover {
    background: var(--hover-color);
    color: white;
    transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.35rem;
}

.mobile-menu {
    display: none;
    background: white;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu-link {
    padding: 0.45rem 0;
    font-size: 0.925rem;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid #f3f4f6;
}

/* ==========================================================================
   Hero Section - Clean & Uncluttered
   ========================================================================== */
.hero-section {
    position: relative;
    height: calc(100vh - 52px);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.hero-bg-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem 1rem;
    max-width: 800px;
    margin: 0 auto;
    color: white;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 1.75rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-btn-order {
    background: var(--primary-color);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 2.25rem;
    border-radius: 9999px;
    display: inline-block;
    box-shadow: 0 4px 14px rgba(215, 59, 72, 0.35);
    transition: all 0.25s ease;
}

.hero-btn-order:hover {
    background: var(--hover-color);
    transform: translateY(-2px) scale(1.03);
    color: white;
}

/* ==========================================================================
   Section Containers & Headers
   ========================================================================== */
.section-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3.5rem 1rem;
}

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

.section-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Menu Display */
.menu-card-container {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.menu-display-img {
    width: 100%;
    max-width: 760px;
    margin: 0 auto 1.25rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

/* About Box */
.about-card {
    background: white;
    border-radius: 16px;
    padding: 2.25rem 1.5rem;
    box-shadow: var(--card-shadow);
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.about-quote {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item {
    border-radius: 14px;
    overflow: hidden;
    background: #e5e7eb;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    aspect-ratio: 1 / 1;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Contact Section */
.contact-section-bg {
    background: white;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.map-container {
    width: 100%;
    height: 320px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

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

.contact-card-box {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
}

.contact-info-card p, 
.contact-info-card a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-info-card a:hover {
    color: var(--primary-color);
}

/* Reviews Banner */
.reviews-banner {
    text-align: center;
    padding: 2rem 1rem;
}

.btn-instagram-reviews {
    background: var(--primary-color);
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-instagram-reviews:hover {
    background: var(--hover-color);
    color: white;
    transform: translateY(-2px);
}

/* Welcome Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: white;
    border-radius: 18px;
    padding: 2rem 1.5rem;
    max-width: 400px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    transform: scale(0.95);
    transition: transform 0.25s ease;
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #9ca3af;
    cursor: pointer;
}

.modal-close-btn:hover {
    color: var(--text-primary);
}

.modal-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.promo-code-value {
    background: var(--primary-color);
    color: white;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 0.4rem 1.25rem;
    border-radius: 8px;
    display: inline-block;
    margin: 0.5rem 0 1rem;
}

/* Footer */
.site-footer {
    background: #111827;
    color: #9ca3af;
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.85rem;
}

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
    }

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

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