/* ============================================
   Dogger Nutrition — Custom Styles
   Plum + Amber | Clean Minimalist
   ============================================ */

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

:root {
    --plum-deep: #3D1A34;
    --plum: #6B2F5B;
    --plum-light: #8E4168;
    --plum-pale: #F3E8F0;
    --plum-muted: #F9F5F8;
    --amber: #D4A017;
    --amber-light: #E8BE4A;
    --amber-pale: #FFF8E7;
    --cream: #FDFBF7;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-mid: #4A4A4A;
    --text-light: #7A7A7A;
    --text-muted: #A0A0A0;
    --line: #E8E2EA;
    --line-light: #F0EBF2;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --nav-height: 72px;
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

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

/* Typography */
.section-eyebrow {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.section-title--light {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 560px;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.875rem;
    letter-spacing: 0.06em;
    padding: 14px 32px;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn--primary {
    background: var(--amber);
    color: var(--plum-deep);
    border-color: var(--amber);
}

.btn--primary:hover {
    background: var(--amber-light);
    border-color: var(--amber-light);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(212, 160, 23, 0.3);
}

.btn--ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: all 0.4s ease;
}

.nav.scrolled {
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--white);
    transition: color 0.4s ease;
}

.nav.scrolled .nav-logo {
    color: var(--plum-deep);
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--amber);
    color: var(--plum-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-link {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--amber);
    transition: width 0.3s ease;
}

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

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

.nav.scrolled .nav-link {
    color: var(--text-light);
}

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

.nav-link--cta {
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    transition: all 0.3s ease;
}

.nav-link--cta:hover {
    background: var(--amber);
    border-color: var(--amber);
    color: var(--plum-deep) !important;
}

.nav.scrolled .nav-link--cta {
    border-color: var(--plum);
    color: var(--plum) !important;
}

.nav.scrolled .nav-link--cta:hover {
    background: var(--plum);
    border-color: var(--plum);
    color: var(--white) !important;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
    padding: 8px;
    transition: color 0.4s ease;
}

.nav.scrolled .nav-toggle {
    color: var(--plum-deep);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--plum-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

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

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

.mobile-menu-link {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--white);
    opacity: 0.8;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.mobile-menu-link:hover {
    opacity: 1;
    color: var(--amber);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--plum-deep) 0%,
        var(--plum) 35%,
        var(--plum-light) 60%,
        #A855A0 80%,
        var(--amber) 100%
    );
    z-index: 0;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at 30% 50%,
        rgba(107, 47, 91, 0.6) 0%,
        transparent 70%
    );
}

.hero-gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--amber-light);
    margin-bottom: 28px;
    font-weight: 400;
}

.hero-headline {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 28px;
}

.hero-headline--accent {
    font-style: italic;
    color: var(--amber-light);
}

.hero-subheadline {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 540px;
    margin: 0 auto 44px;
    line-height: 1.8;
}

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

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

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

/* Divider */
.divider {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 24px;
    max-width: 400px;
    margin: 0 auto;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: var(--line);
}

.divider--light .divider-line {
    background: var(--line-light);
}

.divider-icon {
    flex-shrink: 0;
    opacity: 0.7;
}

/* Sections */
.section {
    padding: 120px 0;
}

/* Menu */
.menu {
    background: var(--cream);
}

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

.menu-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    transition: all 0.4s ease;
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(107, 47, 91, 0.1);
    border-color: var(--plum-pale);
}

.menu-card-img {
    aspect-ratio: 3/2;
    overflow: hidden;
}

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

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

.menu-card-body {
    padding: 28px;
}

.menu-card-tag {
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber);
    font-weight: 500;
    margin-bottom: 10px;
}

.menu-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.menu-card-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

.menu-note {
    text-align: center;
    margin-top: 48px;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Philosophy */
.philosophy {
    background: var(--plum-deep);
    position: relative;
    overflow: hidden;
}

.philosophy::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02' fill-rule='evenodd'%3E%3Ccircle cx='20' cy='20' r='1'/%3E%3C/g%3E%3C/svg%3E");
}

.philosophy .container {
    position: relative;
    z-index: 1;
}

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

.philosophy-body {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.9;
    margin-bottom: 24px;
}

.philosophy-visual {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.philosophy-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About */
.about {
    background: var(--plum-pale);
}

.about-content {
    max-width: 900px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 64px;
}

.about-item {
    text-align: left;
}

.about-icon {
    margin-bottom: 20px;
}

.about-item h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--plum-deep);
    margin-bottom: 12px;
}

.about-item p {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.8;
}

/* Visit */
.visit {
    background: var(--cream);
}

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

.visit-info {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.visit-detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.visit-label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 500;
}

.visit-value {
    font-size: 1.0625rem;
    color: var(--text-dark);
    line-height: 1.7;
}

.visit-link {
    color: var(--plum);
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.visit-link:hover {
    color: var(--amber);
    border-color: var(--amber);
}

.visit-map {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.visit-map img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
}

.visit-map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--plum);
    border-bottom: 1px solid var(--plum);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.visit-map-link:hover {
    color: var(--amber);
    border-color: var(--amber);
}

/* Contact */
.contact {
    background: var(--plum);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--plum-deep) 0%, var(--plum) 100%);
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-body {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-top: 20px;
}

.contact-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-label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.form-input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--white);
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-input:focus {
    border-color: var(--amber);
    background: rgba(255, 255, 255, 0.12);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(212, 160, 23, 0.15);
    border: 1px solid rgba(212, 160, 23, 0.3);
    border-radius: 10px;
    color: var(--amber-light);
    font-size: 0.9rem;
}

.form-success.visible {
    display: flex;
}

/* Footer */
.footer {
    background: var(--plum-deep);
    padding: 64px 0 40px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--white);
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.04em;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--amber);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    color: var(--amber);
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-link {
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--amber);
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .philosophy-grid {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        padding: 100px 24px 80px;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .section {
        padding: 80px 0;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 48px;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .philosophy-visual {
        aspect-ratio: 16/9;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 48px;
    }

    .visit-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .container {
        padding: 0 20px;
    }
}
