/* =============================================
   VONDA'S KITCHEN — Custom Styles
   Classic & Elegant · Teal + Slate Palette
   ============================================= */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #080e1a;
    color: #e2e8f0;
}

::selection {
    background: rgba(13, 148, 136, 0.4);
    color: #f0fdfa;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
}

p, span, a, button, input, textarea, select, label {
    font-family: 'Inter', system-ui, sans-serif;
}

/* ---------- Section Eyebrow ---------- */
.section-eyebrow {
    display: flex;
}

/* ---------- Section Title ---------- */
.section-title {
    font-size: 2.5rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3.25rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3.75rem;
    }
}

/* ---------- Divider ---------- */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(13, 148, 136, 0.3), transparent);
}

/* ---------- Buttons ---------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    color: #f0fdfa;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -12px rgba(13, 148, 136, 0.4);
}

.btn-primary span,
.btn-primary svg {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #f1f5f9;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(148, 163, 184, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: rgba(94, 234, 212, 0.5);
    color: #5eead4;
    background: rgba(13, 148, 136, 0.08);
    transform: translateY(-2px);
}

/* ---------- Hero Animations ---------- */
.hero-eyebrow {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s 0.2s forwards;
}

.hero-title {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s 0.4s forwards;
}

.hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s 0.6s forwards;
}

.hero-cta {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s 0.8s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Scroll Indicator ---------- */
.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(6px);
    }
    60% {
        transform: translateY(3px);
    }
}

/* ---------- Navbar ---------- */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
    background: rgba(8, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(148, 163, 184, 0.06), 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #5eead4;
    transition: width 0.3s ease;
}

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

/* ---------- Mobile Menu ---------- */
.menu-line {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

#menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menu-btn.active .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(4px, -4px);
}

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

.mobile-link {
    transition: color 0.3s ease;
}

/* ---------- About Section ---------- */
.about-images {
    position: relative;
}

.about-content {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-content.visible {
    opacity: 1;
    transform: translateX(0);
}

.feature-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-item:hover .feature-icon {
    transform: scale(1.05);
    background: rgba(13, 148, 136, 0.4);
}

.feature-icon {
    transition: all 0.3s ease;
}

/* ---------- Menu Section ---------- */
.menu-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.menu-item:hover h4 {
    color: #5eead4;
}

.menu-item h4 {
    transition: color 0.3s ease;
}

/* ---------- Gallery ---------- */
.gallery-item {
    overflow: hidden;
    cursor: pointer;
}

.gallery-img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), filter 0.7s ease;
    filter: brightness(0.85) saturate(0.9);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.08);
    filter: brightness(1) saturate(1);
}

/* ---------- Contact Form ---------- */
.contact-form-wrapper {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form-wrapper.visible {
    opacity: 1;
    transform: translateX(0);
}

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

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 0.5rem;
    color: #f1f5f9;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: #475569;
}

.form-input:focus {
    border-color: rgba(94, 234, 212, 0.5);
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-input:hover:not(:focus) {
    border-color: rgba(148, 163, 184, 0.3);
}

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

select.form-input {
    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'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* ---------- Form Success ---------- */
.form-success {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-success.show {
    opacity: 1;
    transform: scale(1);
}

/* ---------- Info Blocks ---------- */
.info-block {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.info-icon {
    transition: transform 0.3s ease, background 0.3s ease;
}

.info-block:hover .info-icon {
    transform: rotate(5deg) scale(1.05);
    background: rgba(13, 148, 136, 0.4);
}

/* ---------- Reveal Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ---------- Map Container ---------- */
.map-container {
    position: relative;
}

.map-container::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.1);
    pointer-events: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-title br {
        display: none;
    }
}

/* ---------- Focus Styles ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #5eead4;
    outline-offset: 2px;
    border-radius: 0.25rem;
}

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