@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Source+Serif+4:ital,wght@0,400;0,600;1,400&family=IBM+Plex+Mono:wght@500;600&display=swap');

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

:root {
    --paper: #e9e7e2;
    --surface: #f8f4f4;
    --ink: #201e1d;
    --ink-muted: rgba(32, 30, 29, 0.6);
    --divider: rgba(32, 30, 29, 0.16);

    --teal: #0088b0;
    --teal-100: #e9f8ff;
    --teal-200: #cbeeff;
    --teal-700: #006786;
    --teal-800: #004961;
    --teal-900: #0a303e;

    --magenta: #d6006c;
    --magenta-100: #fff1f4;
    --magenta-200: #ffdee6;
    --magenta-700: #aa0b56;
    --magenta-800: #790e3d;

    --yellow: #edbb00;

    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Source Serif 4', Georgia, serif;
    --font-mono: 'IBM Plex Mono', monospace;

    --radius: 4px;
    --shadow-sm: 0 1px 2px rgba(32, 30, 29, 0.14);
    --shadow-md: 0 3px 10px rgba(32, 30, 29, 0.16);
    --shadow-lg: 0 12px 32px rgba(32, 30, 29, 0.22);

    /* legacy aliases still referenced elsewhere */
    --text-dark: var(--ink);
    --text-light: #fff;
    --bg-cream: var(--surface);
    --bg-cream-alt: #f3efe9;
    --plum: var(--teal-800);
    --plum-dark: var(--teal-900);
    --plum-light: var(--teal-700);
    --terracotta: var(--magenta);
    --terracotta-dark: var(--magenta-700);
    --mustard: var(--yellow);
    --teal-dark: var(--teal-700);
    --plum-gradient: var(--teal);
    --terracotta-gradient: var(--magenta);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--paper);
    color: var(--ink);
    line-height: 1.6;
}

.container {
    max-width: 100%;
    overflow-x: hidden;
}

/* Header & Navigation */
.header {
    background: var(--paper);
    color: var(--ink);
    padding: 1.25rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--divider);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.logo-mark {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.logo-section h1 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.55rem;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.subtitle {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-top: 0.2rem;
}

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

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--ink);
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    justify-content: center;
}

.nav-link {
    color: var(--ink);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s ease;
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    color: var(--teal);
    border-bottom-color: var(--teal);
}

/* Hero Section */
.hero {
    background: var(--magenta);
    padding: 0;
    text-align: left;
    position: relative;
    overflow: hidden;
    min-height: min(88vh, 720px);
    display: grid;
    align-items: end;
}

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

.hero-owl {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    display: block;
    animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin: 0 auto 0 0;
    width: 100%;
    padding: 4.5rem 1.5rem 3.25rem;
    background: linear-gradient(
        90deg,
        rgba(121, 14, 61, 0.92) 0%,
        rgba(121, 14, 61, 0.72) 55%,
        rgba(121, 14, 61, 0.15) 100%
    );
    animation: heroRise 0.9s ease-out both;
}

.hero-brand {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3.1rem);
    line-height: 1;
    color: #fff;
    margin: 0 0 0.85rem;
    letter-spacing: -0.02em;
    animation: heroRise 0.9s ease-out 0.08s both;
}

.hero h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.35rem, 3.4vw, 1.85rem);
    line-height: 1.15;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0.75rem;
    animation: heroRise 0.9s ease-out 0.16s both;
}

.hero-content > p {
    font-size: 1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.75rem;
    max-width: 28ch;
    animation: heroRise 0.9s ease-out 0.24s both;
}

.cta-button {
    background: var(--teal);
    color: #fff;
    border: none;
    padding: 0.9rem 2.25rem;
    font-family: var(--font-display);
    font-size: 1.05rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    animation: heroRise 0.9s ease-out 0.32s both;
}

.cta-button:hover {
    background: var(--teal-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.cta-button:active {
    transform: translateY(0);
}

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

@keyframes heroDrift {
    from { transform: scale(1.02) translate3d(0, 0, 0); }
    to { transform: scale(1.06) translate3d(-1.5%, 1%, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-owl,
    .hero-content,
    .hero-brand,
    .hero h2,
    .hero-content > p,
    .cta-button {
        animation: none;
    }
}

/* Sections */
.services,
.booking-section {
    padding: 3rem 1.5rem;
}

.services {
    background: var(--paper);
}

.section-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.9rem;
    color: var(--ink);
    margin-bottom: 2rem;
    text-align: left;
    position: relative;
    padding-bottom: 1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--magenta);
}

.services .section-title {
    color: var(--ink);
}

.services .section-title::after {
    background: var(--magenta);
}

/* Services Grid */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.service-card {
    background: var(--surface);
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--divider);
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.service-card:nth-child(2) {
    border-left: 3px solid var(--magenta);
}

.service-card:nth-child(1) {
    border-left: 3px solid var(--teal);
}

.service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.service-card.selected {
    background: var(--teal-100);
    border-color: var(--teal);
}

.service-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.service-info {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.service-card h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.15rem;
    color: var(--ink);
    margin-bottom: 0.15rem;
}

.price {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--magenta-700);
    flex-shrink: 0;
    white-space: nowrap;
}

.description {
    color: var(--ink-muted);
    font-size: 0.85rem;
    font-style: italic;
}

/* Booking Section */
.booking-section {
    background: var(--surface);
    margin-top: 0;
    position: relative;
    border-top: 1px solid var(--divider);
    border-bottom: 1px solid var(--divider);
}

.booking-form {
    max-width: 500px;
    margin: 0 auto 2rem;
    background: #fff;
    padding: 1.75rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--divider);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-bottom: 0;
}

.form-row .form-group {
    margin-bottom: 1.5rem;
    min-width: 0;
}

.visually-hidden-field {
    display: none;
}

.service-choice-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.service-choice-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.85rem 0.5rem;
    border: 1px solid var(--divider);
    border-radius: var(--radius);
    background: var(--surface);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.service-choice-button:nth-child(1) {
    border-left: 3px solid var(--teal);
}

.service-choice-button:nth-child(2) {
    border-left: 3px solid var(--magenta);
}

.service-choice-button:hover {
    box-shadow: var(--shadow-sm);
}

.service-choice-button.selected {
    background: var(--ink);
    border-color: var(--ink);
}

.service-choice-name {
    font-family: var(--font-display);
    color: var(--ink);
    font-size: 1rem;
}

.service-choice-button.selected .service-choice-name {
    color: #fff;
}

.service-choice-price {
    font-family: var(--font-display);
    color: var(--magenta-700);
    font-size: 1.3rem;
}

.service-choice-button.selected .service-choice-price {
    color: var(--yellow);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--divider);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink);
    background-color: var(--surface);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-group input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
    min-width: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    background-color: #fff;
    box-shadow: 0 0 0 3px var(--teal-200);
}

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

.submit-button {
    width: 100%;
    padding: 1rem;
    background: var(--teal);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.submit-button:hover {
    background: var(--teal-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.submit-button:active {
    transform: translateY(0);
}

.booking-info {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    color: var(--ink-muted);
    font-size: 0.85rem;
    font-style: italic;
}

.booking-info p {
    margin-bottom: 0.4rem;
}

/* Footer */
.footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    padding: 2rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
}

.footer-mark {
    display: block;
    margin: 0 auto 0.85rem;
    opacity: 0.85;
}

.footer p {
    margin: 0.4rem 0;
}

.footer-admin-link {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    text-decoration: none;
}

.footer-admin-link:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(150px);
    background: var(--ink);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2000;
    max-width: 90%;
    text-align: center;
    font-family: var(--font-body);
    font-style: italic;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast.error {
    background: var(--magenta-800);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--paper);
        border-bottom: 1px solid var(--divider);
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 1rem;
        border-bottom: 1px solid var(--divider);
    }

    .nav-toggle {
        display: flex;
    }

    .logo-section h1 {
        font-size: 1.2rem;
    }

    .logo-mark {
        width: 34px;
        height: 34px;
    }

    .hero {
        min-height: min(78vh, 640px);
    }

    .hero-content {
        padding: 3.25rem 1rem 2.5rem;
        background: linear-gradient(
            180deg,
            rgba(121, 14, 61, 0.2) 0%,
            rgba(121, 14, 61, 0.88) 38%,
            rgba(121, 14, 61, 0.95) 100%
        );
    }

    .hero-owl {
        object-position: 62% center;
    }

    .hero h2 {
        font-size: 1.35rem;
    }

    .hero-content > p {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cta-button {
        padding: 0.8rem 1.75rem;
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.65rem;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem;
    }

    .logo-section h1 {
        font-size: 1.05rem;
    }

    .hero {
        min-height: 70vh;
    }

    .hero-content {
        padding: 2.5rem 1rem 2rem;
    }

    .hero h2 {
        font-size: 1.25rem;
    }

    .services,
    .booking-section {
        padding: 2rem 1rem;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .booking-form {
        padding: 1.25rem;
    }

    .service-card {
        padding: 0.85rem 1rem;
    }

    .form-row {
        gap: 0.6rem;
    }

    .form-row .form-group input,
    .form-row .form-group select {
        padding: 0.65rem 0.5rem;
        font-size: 0.9rem;
    }
}

.payment-option {
    background: var(--teal-100);
    border: 1px solid var(--teal-200);
    border-radius: var(--radius);
    padding: 0.85rem 1rem;
}

.payment-option.hidden {
    display: none;
}

.payment-toggle-label {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0;
    color: var(--ink);
    cursor: pointer;
}

.payment-toggle-label input {
    margin-top: 0.2rem;
    width: auto;
}

.payment-option-hint {
    margin: 0.45rem 0 0 1.5rem;
    font-size: 0.85rem;
    color: var(--ink-muted);
    font-style: italic;
}
