/* ===================================
   Variables & Reset
   =================================== */

:root {
    /* Purple/Amethyst Color Palette */
    --primary-purple: #9b87c7;
    --primary-purple-dark: #7c63ac;
    --primary-purple-light: #b8a5d6;
    --accent-amethyst: #a77dc2;
    --accent-lavender: #d4c4e8;

    /* Neutral Colors - Light Mode */
    --white: #ffffff;
    --off-white: #fafafa;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #4a4a4a;
    --text-primary: #2d2d2d;
    --text-secondary: #666666;

    /* Dynamic Theme Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --bg-tertiary: #f5f5f5;
    --bg-gradient-start: #7a1518;
    --bg-gradient-end: #32070a;
    --surface: #ffffff;
    --surface-elevated: #ffffff;
    --border-color: #e0e0e0;
    --color-text-primary: #2d2d2d;
    --color-text-secondary: #666666;
    --shadow-sm: 0 2px 10px rgba(155, 135, 199, 0.1);
    --shadow-md: 0 5px 20px rgba(155, 135, 199, 0.1);
    --shadow-lg: 0 10px 30px rgba(155, 135, 199, 0.15);

    /* Fonts */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Transitions */
    --transition-smooth: all 0.3s ease;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    /* Purple colors stay the same - no changes */

    /* Dark Mode Backgrounds */
    --bg-primary: #1a1625;
    --bg-secondary: #241d30;
    --bg-tertiary: #2d2438;
    --bg-gradient-start: #5f0f12;
    --bg-gradient-end: #220507;
    --surface: #241d30;
    --surface-elevated: #2d2438;
    --border-color: #3d3450;

    /* Dark Mode Text */
    --text-primary: #e8e3f0;
    --text-secondary: #b8b3c4;
    --color-text-primary: #e8e3f0;
    --color-text-secondary: #b8b3c4;

    /* Dark Mode Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

/* The hidden attribute has to beat component display values (e.g. flex). */
[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-primary);
    line-height: 1.6;
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===================================
   Typography
   =================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text-primary);
}

h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* ===================================
   Container & Sections
   =================================== */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 300;
    text-align: left;
    line-height: 1.3;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
}

/* ===================================
   Navigation
   =================================== */

.navbar {
    background: transparent;
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.scrolled {
    background-color: var(--surface);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-xs) 0;
    backdrop-filter: blur(10px);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.navbar.scrolled .nav-brand {
    opacity: 1;
    transform: translateY(0);
}

.brand-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-purple);
    flex-shrink: 0;
}

.nav-brand h3 {
    color: var(--color-text-primary);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    color: var(--color-text-primary);
    font-weight: 400;
    position: relative;
    padding: var(--spacing-xs) 0;
    transition: color 0.3s ease;
}

/* White navbar on transparent background (light theme) */
:root .navbar:not(.scrolled) .nav-link {
    color: #ffffff;
}

:root .navbar:not(.scrolled) .nav-brand h3 {
    color: #ffffff;
}

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

:root .navbar:not(.scrolled) .nav-link::after {
    background: #ffffff;
}

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

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

:root .navbar:not(.scrolled) .nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

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

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-purple);
    border-radius: 3px;
    transition: var(--transition-smooth);
}

:root .navbar:not(.scrolled) .mobile-menu-toggle span {
    background-color: #ffffff;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    background: linear-gradient(145deg, #7a1518 0%, #651014 45%, #32070a 100%);
    /* The shared section padding would push the hero past the viewport */
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

.hero-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    min-height: 100vh;
    padding-top: max(96px, 15vh);
    padding-bottom: var(--spacing-lg);
}

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

/* The photo sits behind the copy, bleeding off the right edge and
   dissolving into the hero gradient on the left */
.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    /* Width tracks the hero height so the whole figure stays in frame */
    width: min(70vh, 62%);
    z-index: 0;
    display: block;
    margin: 0;
    pointer-events: none;
}

/* <picture> becomes the layout box for the hero photo, so it has to fill the
   frame exactly the way the <img> inside it does. */
.hero-image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-image img,
.hero-image video {
    width: 100%;
    height: 100%;
    max-width: none;
    border-radius: 0;
    object-fit: cover;
    object-position: center 65%;
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 0, 0, 0.25) 14%,
        rgba(0, 0, 0, 0.7) 32%,
        #000 52%
    );
    mask-image: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 0, 0, 0.25) 14%,
        rgba(0, 0, 0, 0.7) 32%,
        #000 52%
    );
}

/* Scrim that keeps the navigation, headline and CTA readable over the photo */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(26, 4, 6, 0.55) 0%,
            rgba(26, 4, 6, 0.35) 45%,
            rgba(26, 4, 6, 0.05) 70%,
            rgba(26, 4, 6, 0.15) 100%
        ),
        linear-gradient(
            180deg,
            rgba(26, 4, 6, 0.45) 0%,
            rgba(26, 4, 6, 0) 28%,
            rgba(26, 4, 6, 0.25) 70%,
            rgba(26, 4, 6, 0.7) 100%
        );
}

.hero-title {
    font-size: clamp(3rem, 4vw + 1rem, 4.5rem);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: #ffffff;
    margin-bottom: 0;
    font-weight: 300;
    animation: fadeInUp 0.8s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-tagline {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: #ffffff;
    font-weight: 400;
    line-height: 1.6;
    margin-top: var(--spacing-lg);
    max-width: 700px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-tagline .fade-text {
    color: rgba(255, 255, 255, 0.5);
}

.hero-subtitle {
    font-size: 1.75rem;
    color: #f8e5e8;
    font-weight: 400;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-description {
    font-size: 1.125rem;
    color: #f0d4d8;
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-floating-cta {
    display: inline-block;
    margin-top: var(--spacing-md);
    background-color: var(--white);
    color: #1a1a1a;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-floating-cta:hover {
    background-color: var(--light-gray);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
}

.footer-cta {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-image: url('../images/depi-samiou.jpg');
    background-image: image-set(
        url('../images/depi-samiou.avif') type('image/avif'),
        url('../images/depi-samiou.webp') type('image/webp'),
        url('../images/depi-samiou.jpg') type('image/jpeg')
    );
    background-size: cover;
    background-position: center center;
    color: #ffffff;
}

.footer-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 10, 30, 0.6), rgba(0, 0, 15, 0.85));
    z-index: 1;
}

.footer-cta-inner {
    position: relative;
    z-index: 2;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-xl);
}

.footer-cta h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.footer-cta p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
}

.footer-cta .cta-button {
    display: inline-block;
    margin-top: var(--spacing-sm);
    background: #ffffff;
    color: #000000;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.footer-cta .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-amethyst) 100%);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    box-shadow: 0 4px 15px rgba(155, 135, 199, 0.3);
    transition: var(--transition-smooth);
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(155, 135, 199, 0.4);
}

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

/* ===================================
   1% Section
   =================================== */

.top-percent {
    background-color: var(--bg-primary);
    padding: var(--spacing-xl) 0;
    transition: background-color 0.3s ease;
}

.top-percent-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-xl);
    align-items: flex-start;
}

.top-percent-left {
    padding-right: var(--spacing-lg);
}

.top-percent-label {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
}

.top-percent-number {
    font-size: clamp(6rem, 12vw, 10rem);
    font-weight: 300;
    line-height: 0.9;
    color: var(--text-primary);
    margin: 0;
    margin-bottom: var(--spacing-md);
}

.top-percent-message {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.5;
    color: var(--text-primary);
    font-weight: 400;
    margin: 0;
    text-transform: uppercase;
}

.top-percent-right {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.top-percent-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin: 0;
}

.top-percent-subtitle {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin: var(--spacing-sm) 0;
    letter-spacing: 0.5px;
}

.top-percent-cta {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin: 0;
}

.top-percent-statement {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.4;
    color: var(--text-primary);
    font-weight: 400;
    margin: var(--spacing-md) 0 0 0;
}

.top-percent-statement .fade-text {
    color: var(--text-secondary);
}

/* ===================================
   Profiles Section
   =================================== */

.profiles {
    background-color: var(--bg-primary);
    padding: var(--spacing-xl) 0;
    transition: background-color 0.3s ease;
}

.profiles-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 300;
    text-align: left;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
    line-height: 1.3;
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1400px;
    margin: 0 auto;
}

.profile-card {
    background-color: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.profile-name {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 400;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.profile-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin: 0;
    font-weight: 400;
}

.profiles-closing {
    margin-top: var(--spacing-xl);
    display: flex;
    justify-content: flex-end;
}

.profiles-closing-text {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0;
    font-weight: 400;
    text-transform: uppercase;
    max-width: 500px;
    text-align: right;
}

.profiles-closing-text strong {
    font-weight: 600;
}

/* ===================================
   About Section
   =================================== */

.about {
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease;
}

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

.about-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.credentials {
    background-color: var(--bg-tertiary);
    padding: var(--spacing-md);
    border-radius: 15px;
    margin-top: var(--spacing-md);
    border-left: 4px solid var(--primary-purple);
    transition: background-color 0.3s ease;
}

.credentials h3 {
    color: var(--primary-purple-dark);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.credentials ul {
    list-style: none;
}

.credentials li {
    color: var(--color-text-secondary);
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-md);
    position: relative;
}

.credentials li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-purple);
    font-weight: bold;
}

/* ===================================
   Services Section
   =================================== */

.services {
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg) var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

/* Line glyph, no filled badge — the accent stays as light as the rest of the page. */
.service-icon {
    width: 28px;
    height: 28px;
    color: var(--primary-purple);
}

[data-theme="dark"] .service-icon {
    color: var(--primary-purple-light);
}

.service-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: clamp(1.5rem, 2.5vw, 1.875rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-primary);
    margin: 0;
}

.service-card p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin: 0;
}

/* Closing statement — purple left rule, the same accent idiom as .booking-card. */
.approach {
    max-width: 800px;
    padding-left: var(--spacing-md);
    border-left: 4px solid var(--primary-purple);
}

.approach h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 400;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.approach p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin: 0;
}

/* ===================================
   Contact Section
   =================================== */

.contact {
    background-color: var(--bg-primary);
    /* Lighter on top so jumping to #contact lands close to the heading. */
    padding: var(--spacing-lg) 0 var(--spacing-xl);
    transition: background-color 0.3s ease;
}

.contact-main-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 300;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

/* One supporting line under the heading; the section says this once. */
.contact-lede {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 42ch;
    margin: 0 0 var(--spacing-md);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-xl);
    align-items: flex-start;
}

/* Left Column */
.contact-left {
    padding-right: var(--spacing-lg);
    /* Keeps the reassurance in view while the form is being filled in. */
    position: sticky;
    top: 7rem;
}

.contact-personal-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 400;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.contact-personal-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-personal-info p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0;
}

/* Right Column */
.contact-right {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-section-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    margin: 0;
}

.contact-subtitle-light {
    font-weight: 300;
    color: var(--text-secondary);
}

.contact-assurance {
    color: var(--text-secondary);
}

/* Intro call card — the primary conversion path */
.booking-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-purple);
    border-radius: 10px;
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.booking-card-eyebrow {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-purple-dark);
    margin: 0;
}

[data-theme="dark"] .booking-card-eyebrow {
    color: var(--primary-purple-light);
}

.booking-card-title {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
    margin: 0;
}

.booking-card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.booking-cta {
    align-self: flex-start;
    margin-top: 0.5rem;
    background-color: var(--primary-purple);
    color: #ffffff;
    padding: 0.875rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.booking-cta:hover {
    background-color: var(--primary-purple-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(155, 135, 199, 0.4);
}

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

/* "or write to me instead" rule */
.contact-divider {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin: var(--spacing-sm) 0 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-divider::before,
.contact-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--border-color);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
}

.form-group {
    margin-bottom: 0;
}

.form-group label,
.form-choice legend {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    padding: 0;
}

.field-optional {
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.field-optional::before {
    content: '· ';
}

.field-hint {
    font-size: 0.825rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0.35rem 0 0;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(155, 135, 199, 0.25);
}

.form-group input.is-invalid {
    border-color: #e74c3c;
}

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

/* Choice pills */
.form-choice {
    border: none;
    margin: 0;
    padding: 0;
}

.choice-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.choice-pill {
    position: relative;
    display: inline-flex;
}

.choice-pill input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
}

.choice-pill span {
    display: inline-block;
    padding: 0.6rem 1.1rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    font-size: 0.9rem;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.choice-pill:hover span {
    border-color: var(--primary-purple);
}

.choice-pill input:checked + span {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
    color: #ffffff;
}

.choice-pill input:focus-visible + span {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
}

/* Consent */
.form-consent {
    margin-top: 0.25rem;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
    cursor: pointer;
}

.consent-label input {
    flex-shrink: 0;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.1rem;
    accent-color: var(--primary-purple);
    cursor: pointer;
}

.submit-button {
    width: auto;
    align-self: flex-start;
    background-color: var(--text-primary);
    color: var(--bg-primary);
    padding: 0.875rem 2.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.submit-button:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(155, 135, 199, 0.4);
}

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

.submit-button:disabled {
    opacity: 0.6;
    cursor: default;
}

.form-reassurance {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.825rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0;
}

.form-reassurance svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.form-status {
    margin-top: var(--spacing-xs);
    padding: var(--spacing-sm);
    border-radius: 10px;
    font-weight: 400;
    line-height: 1.6;
    display: none;
}

.form-status.success {
    display: block;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--primary-purple);
    border-left: 4px solid var(--primary-purple);
}

.form-status .form-status-title {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.form-status.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

[data-theme="dark"] .form-status.error {
    background-color: #3a1c1f;
    color: #f5b5ba;
    border-color: #6b2c31;
}

/* ===================================
   Footer
   =================================== */

/* The page opens on the crimson hero, so the footer closes on the same wash
   with an amethyst bloom, instead of reading as a neutral black block. */
.footer {
    position: relative;
    background-image: url('../images/depi-samiou.jpg');
    background-image: image-set(
        url('../images/depi-samiou.avif') type('image/avif'),
        url('../images/depi-samiou.webp') type('image/webp'),
        url('../images/depi-samiou.jpg') type('image/jpeg')
    );
    background-size: cover;
    background-position: center;
    color: #ffffff;
    border-top: 1px solid rgba(155, 135, 199, 0.35);
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            110% 75% at 88% 0%,
            rgba(155, 135, 199, 0.3) 0%,
            rgba(155, 135, 199, 0) 62%
        ),
        linear-gradient(
            145deg,
            rgba(122, 21, 24, 0.93) 0%,
            rgba(101, 16, 20, 0.95) 45%,
            rgba(50, 7, 10, 0.97) 100%
        );
    z-index: 1;
}

.footer > * {
    position: relative;
    z-index: 2;
}

/* Footer Top Section */
.footer-top {
    padding: var(--spacing-xl) 0 var(--spacing-lg) 0;
}

.footer-top-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.footer-cta-section h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 300;
    margin-bottom: var(--spacing-lg);
    line-height: 1.3;
    color: #ffffff;
}

.footer-cta-buttons {
    display: flex;
    /* Tighter than the section gap so the longer Greek labels stay on one row */
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

/* Pills matching the hero CTA; the transparent border keeps both variants
   the same height. */
.footer-btn {
    padding: 0.9375rem 2.25rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-btn:first-child {
    background: #ffffff;
    color: #1a1a1a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.footer-btn:first-child:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.45);
}

.footer-btn-outline {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.45);
}

.footer-btn-outline:hover {
    border-color: var(--primary-purple-light);
    background: rgba(155, 135, 199, 0.18);
    transform: translateY(-2px);
}

.footer-disclaimer {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    max-width: 500px;
}

.footer-disclaimer a {
    color: var(--accent-lavender);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-disclaimer a:hover {
    color: #ffffff;
    text-decoration-thickness: 2px;
}

/* Footer Links Section */
.footer-links-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

/* Same eyebrow as the booking card and the legal page */
.footer-links-col h4 {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
    color: var(--primary-purple-light);
}

.footer-links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-col ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-links-col a {
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

/* Underline that grows like the navigation links */
.footer-links-col a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background-color: var(--primary-purple-light);
    transition: width 0.3s ease;
}

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

.footer-links-col a:hover::after {
    width: 100%;
}

/* Footer Name Section */
.footer-name {
    padding: 0 0 var(--spacing-xl) 0;
    overflow: hidden;
}

.footer-name h2 {
    /* Sized so the full name clears the container instead of being clipped */
    font-size: clamp(3rem, 11vw, 10rem);
    font-weight: 300;
    margin: 0;
    line-height: 1;
    color: #ffffff;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

/* The name fades into the amethyst accent; plain white stays the fallback */
@supports (background-clip: text) or (-webkit-background-clip: text) {
    .footer-name h2 {
        background-image: linear-gradient(
            100deg,
            #ffffff 0%,
            var(--accent-lavender) 55%,
            rgba(212, 196, 232, 0.5) 100%
        );
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
}

/* Footer Bottom Section */
/* padding-block, not the shorthand: the legal and landing pages put this class
   on the .container itself, and a shorthand would zero its side padding */
.footer-bottom {
    padding-block: var(--spacing-md);
    border-top: 1px solid rgba(155, 135, 199, 0.3);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-bottom-content p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

.footer-lang-link {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--primary-purple-light);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.footer-lang-link:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ===================================
   Theme and Language Toggles
   =================================== */

.theme-toggle,
.lang-toggle {
    background-color: transparent;
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    position: relative;
}

.theme-toggle {
    margin-left: var(--spacing-sm);
}

.lang-toggle {
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
}

:root .navbar:not(.scrolled) .theme-toggle,
:root .navbar:not(.scrolled) .lang-toggle {
    border-color: #ffffff;
    color: #ffffff;
}

.theme-toggle:hover,
.lang-toggle:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    transform: rotate(180deg);
}

:root .navbar:not(.scrolled) .theme-toggle:hover,
:root .navbar:not(.scrolled) .lang-toggle:hover {
    background-color: #ffffff;
    color: #43050d;
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}

.theme-toggle .moon-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: block;
}

/* Greek navigation uses a native button. */
html[lang="el"] .mobile-menu-toggle {
    background: transparent;
    border: 0;
    padding: 0;
}
