/* ============================================
   VEDEAT — Café & Bar
   Custom Styles
   ============================================ */

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

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

body {
    min-height: 100vh;
    line-height: 1.6;
    color: #3E2137;
    background-color: #F9F0F7;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* --- Navigation --- */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.nav-fixed.scrolled {
    background: rgba(249, 240, 247, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(107, 58, 93, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.35rem;
    color: #6B3A5D;
    transition: opacity 0.2s;
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-logo-icon {
    color: #6B3A5D;
}

.nav-logo-text {
    letter-spacing: -0.01em;
}

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

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #5C3150;
    border-radius: 100px;
    transition: background 0.2s, color 0.2s;
}

.nav-link:hover {
    background: rgba(107, 58, 93, 0.08);
    color: #6B3A5D;
}

.nav-link--cta {
    background: #6B3A5D;
    color: #FFF9EE;
    margin-left: 4px;
}

.nav-link--cta:hover {
    background: #5C3150;
    color: #FFF9EE;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 2px;
    background: #6B3A5D;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(249, 240, 247, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.mobile-menu-link {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 2rem;
    color: #6B3A5D;
    padding: 12px 24px;
    border-radius: 12px;
    transition: background 0.2s;
}

.mobile-menu-link:hover {
    background: rgba(107, 58, 93, 0.08);
}

.mobile-menu-link--cta {
    margin-top: 8px;
    background: #6B3A5D;
    color: #FFF9EE;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #2F1A2A;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(47, 26, 42, 0.6) 0%,
        rgba(107, 58, 93, 0.5) 50%,
        rgba(47, 26, 42, 0.8) 100%
    );
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(47, 26, 42, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
    padding: 120px 24px 80px;
}

.hero-tagline {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #E8A84C;
    margin-bottom: 24px;
}

.hero-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 400;
    line-height: 1.15;
    color: #FFF9EE;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: rgba(255, 249, 238, 0.75);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255, 249, 238, 0.5);
    animation: scrollBounce 2s ease-in-out infinite;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 100px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn--primary {
    background: #E8A84C;
    color: #2F1A2A;
}

.btn--primary:hover {
    background: #D4903A;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 168, 76, 0.3);
}

.btn--ghost {
    background: transparent;
    color: #FFF9EE;
    border: 1.5px solid rgba(255, 249, 238, 0.35);
}

.btn--ghost:hover {
    background: rgba(255, 249, 238, 0.1);
    border-color: rgba(255, 249, 238, 0.6);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
}

/* --- Features Strip --- */
.features-strip {
    padding: 80px 0;
    background: #F9F0F7;
}

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

.feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(107, 58, 93, 0.1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #F3DFF0 0%, #E8BFE0 100%);
    color: #6B3A5D;
    margin-bottom: 20px;
}

.feature-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.15rem;
    color: #3E2137;
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 0.9rem;
    color: #5C3150;
    line-height: 1.65;
    opacity: 0.8;
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #E8A84C;
    margin-bottom: 16px;
    background: rgba(232, 168, 76, 0.12);
    padding: 6px 16px;
    border-radius: 100px;
}

.section-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 400;
    color: #3E2137;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #5C3150;
    line-height: 1.7;
    opacity: 0.8;
}

/* --- Menu Section --- */
.menu-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #F9F0F7 0%, #F3DFF0 50%, #F9F0F7 100%);
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.menu-tab {
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #5C3150;
    border-radius: 100px;
    border: 1.5px solid rgba(107, 58, 93, 0.15);
    background: transparent;
    transition: all 0.25s ease;
}

.menu-tab:hover {
    border-color: rgba(107, 58, 93, 0.35);
    background: rgba(107, 58, 93, 0.05);
}

.menu-tab.active {
    background: #6B3A5D;
    border-color: #6B3A5D;
    color: #FFF9EE;
}

.menu-panel {
    display: none;
}

.menu-panel.active {
    display: block;
    animation: fadeIn 0.35s ease;
}

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

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 48px;
    max-width: 900px;
    margin: 0 auto;
}

.menu-item {
    padding: 24px 0;
    border-bottom: 1px solid rgba(107, 58, 93, 0.1);
}

.menu-item-name {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.1rem;
    color: #3E2137;
    margin-bottom: 6px;
}

.menu-item-desc {
    font-size: 0.88rem;
    color: #5C3150;
    line-height: 1.6;
    opacity: 0.75;
}

/* --- About Section --- */
.about-section {
    padding: 100px 0;
    background: #F9F0F7;
}

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

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(107, 58, 93, 0.15);
}

.about-img-main img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -32px;
    right: -24px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(107, 58, 93, 0.2);
    border: 4px solid #F9F0F7;
}

.about-img-secondary img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.about-accent {
    position: absolute;
    top: -20px;
    right: 40px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, #E8A84C 0%, #D4903A 100%);
    color: #2F1A2A;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(5deg); }
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text {
    font-size: 1rem;
    color: #5C3150;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.85;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(107, 58, 93, 0.12);
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-stat-number {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.6rem;
    color: #6B3A5D;
}

.about-stat-label {
    font-size: 0.8rem;
    color: #5C3150;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.7;
}

.about-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(107, 58, 93, 0.15);
}

/* --- Gallery --- */
.gallery-section {
    padding: 100px 0;
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 260px);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

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

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(47, 26, 42, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-item-overlay span {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.1rem;
    color: #FFF9EE;
}

.gallery-item--large {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.gallery-item--tall {
    grid-row: 1 / 3;
}

/* --- Visit Section --- */
.visit-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #F9F0F7 0%, #F3DFF0 100%);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.visit-info .section-tag {
    margin-bottom: 16px;
}

.visit-info .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.visit-desc {
    font-size: 1.05rem;
    color: #5C3150;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0.85;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.visit-detail {
    display: flex;
    gap: 20px;
}

.visit-detail-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #F3DFF0 0%, #E8BFE0 100%);
    color: #6B3A5D;
}

.visit-detail-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6B3A5D;
    margin-bottom: 4px;
}

.visit-detail p {
    font-size: 0.95rem;
    color: #5C3150;
    line-height: 1.7;
}

.visit-detail a {
    color: #6B3A5D;
    font-weight: 500;
    transition: color 0.2s;
}

.visit-detail a:hover {
    color: #E8A84C;
}

.visit-map {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(107, 58, 93, 0.12);
    min-height: 420px;
}

/* --- Contact Section --- */
.contact-section {
    padding: 100px 0;
    background: #fff;
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.contact-content .section-tag {
    margin-bottom: 16px;
}

.contact-content .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.contact-desc {
    font-size: 1.05rem;
    color: #5C3150;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0.85;
}

.contact-visual {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(107, 58, 93, 0.12);
}

.contact-visual img {
    width: 100%;
    height: 560px;
    object-fit: cover;
}

/* --- Contact Form --- */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #5C3150;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #3E2137;
    background: #F9F0F7;
    border: 1.5px solid rgba(107, 58, 93, 0.12);
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.form-input::placeholder {
    color: rgba(92, 49, 80, 0.4);
}

.form-input:focus {
    border-color: #E8A84C;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(232, 168, 76, 0.12);
}

.form-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='%236B3A5D' 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: 44px;
}

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

.form-success {
    display: none;
    margin-top: 16px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #F3DFF0 0%, #E8BFE0 100%);
    border-radius: 12px;
    font-size: 0.9rem;
    color: #3E2137;
    text-align: center;
}

.form-success.show {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* --- Footer --- */
.footer {
    background: #2F1A2A;
    color: rgba(255, 249, 238, 0.7);
    padding: 80px 0 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.35rem;
    color: #FFF9EE;
    margin-bottom: 16px;
}

.footer-logo svg {
    color: #E8A84C;
}

.footer-tagline {
    font-size: 0.9rem;
    color: #E8A84C;
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-heading {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.05rem;
    color: #FFF9EE;
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 249, 238, 0.6);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #E8A84C;
}

.footer-links span {
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 249, 238, 0.08);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(255, 249, 238, 0.4);
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Default visible state for reduced motion */
.reveal {
    opacity: 1;
    transform: none;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid,
    .visit-grid,
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-images {
        max-width: 500px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        padding: 100px 20px 80px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .features-strip {
        padding: 60px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .feature-card {
        display: flex;
        align-items: center;
        gap: 20px;
    }
    
    .feature-icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .menu-section {
        padding: 60px 0;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .menu-tabs {
        gap: 6px;
    }
    
    .menu-tab {
        padding: 8px 16px;
        font-size: 0.82rem;
    }
    
    .about-section,
    .gallery-section,
    .visit-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .about-img-secondary {
        right: 0;
        bottom: -24px;
    }
    
    .about-img-secondary img {
        width: 160px;
        height: 160px;
    }
    
    .about-stats {
        gap: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 200px);
    }
    
    .gallery-item--large {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }
    
    .gallery-item--tall {
        grid-row: 2 / 4;
    }
    
    .visit-map {
        min-height: 280px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-visual img {
        height: 320px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 1.9rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item--large,
    .gallery-item--tall {
        grid-column: 1;
        grid-row: auto;
    }
    
    .gallery-item {
        height: 220px;
    }
}
