/* ============================================
   Market 225 — Custom Styles
   ============================================ */

/* ---- Base / Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }
body { margin: 0; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }

/* ---- Navigation ---- */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
.nav-fixed.scrolled {
    background: rgba(255, 251, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(91, 58, 92, 0.08);
}
.nav-logo-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5B3A5C 0%, #A86AA8 100%);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.nav-logo-circle::after {
    content: 'M';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 16px;
    color: #FFFBF5;
    font-weight: 400;
}
.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #5B3A5C;
    text-decoration: none;
    letter-spacing: 0.02em;
    position: relative;
    padding: 4px 0;
    transition: color 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #E8A020;
    transition: width 0.3s ease;
}
.nav-link:hover { color: #8B4E8B; }
.nav-link:hover::after { width: 100%; }

/* Mobile menu button */
.mobile-menu-btn {
    background: none;
    border: none;
    padding: 8px;
    color: #5B3A5C;
    transition: color 0.3s ease;
}
.mobile-menu-btn:hover { color: #8B4E8B; }
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border-top: 1px solid #F3E8F5;
    transition: max-height 0.35s ease, opacity 0.35s ease;
}
.mobile-menu.hidden { display: none; }
.mobile-nav-link {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    font-weight: 500;
    color: #5B3A5C;
    text-decoration: none;
    border-bottom: 1px solid #F9F3FA;
    transition: color 0.3s, padding-left 0.3s;
}
.mobile-nav-link:hover {
    color: #8B4E8B;
    padding-left: 8px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 0.01em;
}
.btn-primary {
    background: linear-gradient(135deg, #5B3A5C 0%, #8B4E8B 100%);
    color: #FFFBF5;
    box-shadow: 0 4px 20px rgba(91, 58, 92, 0.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(91, 58, 92, 0.35);
    color: #FFFBF5;
}
.btn-secondary {
    background: rgba(255, 251, 245, 0.7);
    color: #5B3A5C;
    border: 1.5px solid rgba(91, 58, 92, 0.2);
    backdrop-filter: blur(8px);
}
.btn-secondary:hover {
    background: #FFFBF5;
    border-color: #5B3A5C;
    transform: translateY(-2px);
}
.btn-cta {
    background: #FFFBF5;
    color: #5B3A5C;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    color: #5B3A5C;
}
.btn-cta-outline {
    background: transparent;
    color: #F9F3FA;
    border: 1.5px solid rgba(249, 243, 250, 0.4);
}
.btn-cta-outline:hover {
    background: rgba(249, 243, 250, 0.1);
    border-color: #F9F3FA;
    color: #F9F3FA;
    transform: translateY(-2px);
}
.hero-arrow {
    transition: transform 0.3s ease;
}
.btn:hover .hero-arrow {
    transform: translateX(4px);
}

/* ---- Section Labels ---- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #E8A020;
    margin-bottom: 16px;
}
.section-label::before {
    content: '';
    width: 24px;
    height: 1.5px;
    background: #E8A020;
}

/* ---- Hero ---- */
.hero-section {
    background: linear-gradient(135deg, #FFFBF5 0%, #F9F3FA 40%, #FFF0D6 100%);
    position: relative;
    min-height: 100vh;
}
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    pointer-events: none;
}
.hero-blob-plum {
    width: 600px;
    height: 600px;
    background: #E9D4EB;
    top: -10%;
    right: -5%;
    animation: blobFloat 8s ease-in-out infinite;
}
.hero-blob-amber {
    width: 400px;
    height: 400px;
    background: #FFE4B0;
    bottom: 5%;
    left: -3%;
    animation: blobFloat 10s ease-in-out infinite reverse;
}
.hero-blob-light {
    width: 300px;
    height: 300px;
    background: #F3E8F5;
    top: 40%;
    left: 30%;
    animation: blobFloat 12s ease-in-out infinite;
}
@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}
.hero-badge {
    animation: fadeInUp 0.8s ease both;
}
.hero-text-col {
    animation: fadeInUp 0.8s 0.15s ease both;
}
.hero-image-stack {
    animation: fadeInUp 0.8s 0.3s ease both;
}
.hero-img {
    position: absolute;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(91, 58, 92, 0.15);
}
.hero-img-main {
    width: 320px;
    height: 400px;
    position: relative;
}
.hero-img-float {
    width: 200px;
    height: 150px;
    border: 4px solid #FFFBF5;
}
.hero-img-float-1 {
    bottom: 60px;
    left: -40px;
    animation: floatSlow 6s ease-in-out infinite;
}
.hero-img-float-2 {
    top: 20px;
    right: -30px;
    animation: floatSlow 7s ease-in-out infinite reverse;
}
@keyframes floatSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.hero-accent-circle {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px dashed #FFD580;
    top: -30px;
    right: 40%;
    animation: spinSlow 20s linear infinite;
    pointer-events: none;
}
@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #A86AA8;
    animation: fadeInUp 0.8s 0.8s ease both;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, #A86AA8, transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ---- About ---- */
.about-img-col {
    position: relative;
}
.about-img-main {
    box-shadow: 0 20px 60px rgba(91, 58, 92, 0.12);
}
.about-stats-card {
    animation: fadeInUp 0.8s ease both;
}
.about-feature {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.about-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #F9F3FA 0%, #F3E8F5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5B3A5C;
    margin-bottom: 8px;
}

/* ---- Menu ---- */
.menu-tabs {
    box-shadow: 0 2px 8px rgba(91, 58, 92, 0.08);
}
.menu-tab {
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #8B4E8B;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.menu-tab:hover {
    background: #F9F3FA;
}
.menu-tab.active {
    background: #5B3A5C;
    color: #FFFBF5;
    box-shadow: 0 4px 12px rgba(91, 58, 92, 0.25);
}
.menu-panel {
    animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.menu-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.menu-card:hover {
    transform: translateY(-4px);
}

/* ---- Visit ---- */
.visit-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.visit-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #F9F3FA 0%, #F3E8F5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5B3A5C;
    flex-shrink: 0;
}
.map-wrapper {
    position: relative;
}
.map-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    box-shadow: inset 0 0 0 1px rgba(91, 58, 92, 0.08);
    pointer-events: none;
}

/* ---- CTA ---- */
.cta-section {
    background: linear-gradient(135deg, #3D263D 0%, #5B3A5C 50%, #8B4E8B 100%);
    position: relative;
}
.cta-blob-1 {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(232, 160, 32, 0.12);
    top: -20%;
    right: -10%;
    filter: blur(60px);
    pointer-events: none;
}
.cta-blob-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(168, 106, 168, 0.2);
    bottom: -15%;
    left: -5%;
    filter: blur(60px);
    pointer-events: none;
}
.cta-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: rgba(255, 251, 245, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFD580;
    border: 1px solid rgba(255, 251, 245, 0.15);
}

/* ---- Contact Form ---- */
.input-field {
    border: 1.5px solid #E9D4EB;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.9375rem;
    font-family: inherit;
    color: #3D263D;
    background: #FFFBF5;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    width: 100%;
}
.input-field::placeholder {
    color: #C492C5;
}
.input-field:focus {
    border-color: #A86AA8;
    box-shadow: 0 0 0 3px rgba(168, 106, 168, 0.1);
}
.input-field:invalid:not(:placeholder-shown) {
    border-color: #E8A020;
}
.contact-success {
    animation: fadeIn 0.4s ease;
}

/* ---- Back to Top ---- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #5B3A5C;
    color: #FFFBF5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(91, 58, 92, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s ease;
    z-index: 50;
    text-decoration: none;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: #8B4E8B;
    transform: translateY(-2px);
}

/* ---- Animations ---- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll-reveal (progressive enhancement — only when JS runs and motion preferred) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Fallback: ensure content is visible even if JS doesn't run */
@media not all and (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 1; transform: none; }
}

/* ---- Responsive ---- */
@media (min-width: 768px) {
    .hero-img-main {
        width: 400px;
        height: 500px;
    }
    .hero-img-float {
        width: 240px;
        height: 180px;
    }
}
@media (min-width: 1024px) {
    .hero-img-main {
        width: 480px;
        height: 600px;
    }
    .hero-img-float {
        width: 280px;
        height: 210px;
    }
}
@media (max-width: 767px) {
    .hero-section {
        padding-top: 100px;
    }
    .hero-image-stack {
        display: none;
    }
    .hero-text-col {
        text-align: center;
        max-width: 480px;
        margin: 0 auto;
    }
    .hero-badge { margin: 0 auto 16px; }
    .hero-text-col > p { margin-left: auto; margin-right: auto; }
    .hero-text-col > .flex { justify-content: center; }
    .hero-text-col > .mt-14 { justify-content: center; }
    .about-stats-card { max-width: 100%; }
}
