/* =========================
   BASE RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   CSS VARIABLES
========================= */
:root {
    --primary: #0f172a;       /* Deep Midnight */
    --accent: #c5a059;        /* Champagne Gold */
    --white: #ffffff;
    --bg: #fdfdfd;
    --bg-card: #ffffff;
    --text-muted: #64748b;
    --text-body: #334155;
    --border: #e2e8f0;
    --bg-philosophy: #f1f5f9;
    --bg-dark: #0b0f14;
}

/* =========================
   BODY & TYPOGRAPHY
========================= */
body {
    font-family: 'Inter', Arial, sans-serif;
    background-color: var(--bg);
    color: var(--primary);
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* =========================
   NAVIGATION
========================= */
nav {
    padding: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    width: 100%;
    z-index: 10;
    color: var(--white);
}

/* =========================
   HERO
========================= */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.5)), url('../images/fluidity_section.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.hero p {
    font-size: 1rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 2rem;
    font-weight: 400;
    font-style: italic;
}

/* =========================
   SECTIONS
========================= */
section {
    padding: 10rem 2rem;
    max-width: 1200px;
    margin: auto;
}

.section-title {
    margin-bottom: 4rem;
}

.section-title span {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
}

.section-title h2 {
    font-size: 3rem;
    margin-top: 0.5rem;
}

/* =========================
   ABOUT / PURSUIT
========================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.about-text p {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--text-body);
    margin-bottom: 2rem;
}

.quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    border-left: 3px solid var(--accent);
    padding-left: 2rem;
    margin: 3rem 0;
    font-style: italic;
}

.pursuit-image {
    height: 700px;
    background: linear-gradient(to right, transparent 60%, var(--bg) 100%), url('../images/me_skiing.jpg');
    background-size: cover;
    background-position: center;
}

/* =========================
   PHILOSOPHY SECTION
========================= */
.philosophy-bg {
    background: var(--bg-philosophy);
    padding: 8rem 0;
}

.philosophy-bg section {
    max-width: 1200px;
    margin: auto;
    padding: 0 2rem;
}

.phil-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.phil-item h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.phil-item p {
    line-height: 1.8;
    opacity: 0.8;
}

/* =========================
   CARDS
========================= */
.card {
    background: var(--bg-card);
    padding: 3.5rem 2rem;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 4px;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card h3 {
    font-size: 1.6rem;
    margin: 1rem 0;
}

.card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.tag {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 600;
}

.price {
    font-weight: 600;
    margin: 1.5rem 0 0;
    color: var(--primary);
    font-size: 1rem;
}

/* =========================
   CAROUSEL
========================= */
.carousel-section {
    padding: 6rem 0;
    background: var(--bg);
    overflow: hidden;
}

.carousel-section .section-title {
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.course-carousel-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem;
}

.course-carousel {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    width: 100%;
    padding: 1rem 1rem 2rem;
    scrollbar-width: none;
    justify-content: center;
}

.course-carousel::-webkit-scrollbar {
    display: none;
}

.course-carousel .card {
    flex: 0 0 320px;
    width: 320px;
    scroll-snap-align: start;
    box-sizing: border-box;
}

/* =========================
   SCROLL BUTTONS
========================= */
.scroll-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 2;
}

.scroll-btn:hover {
    background: var(--accent);
}

/* =========================
   BUTTONS
========================= */
.btn {
    padding: 1.2rem 3rem;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 3px;
    font-weight: 600;
    transition: 0.4s;
    display: inline-block;
    cursor: pointer;
    border: none;
    border-radius: 2px;
}

.btn-gold {
    background: var(--accent);
    color: var(--white);
}

.btn-gold:hover {
    background: #af8b4a;
    transform: translateY(-3px);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* =========================
   FEEDBACK FORM
========================= */
.feedback-container {
    background: var(--primary);
    color: var(--white);
    padding: 5rem 2rem;
    text-align: center;
    border-radius: 4px;
}

.feedback-container span {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.feedback-container h2 {
    font-size: 2.5rem;
    margin-top: 0.5rem;
}

.feedback-container p {
    opacity: 0.8;
    margin: 1rem auto 3rem;
    max-width: 600px;
    line-height: 1.8;
}

input[type="file"] {
    margin: 2rem 0;
    color: var(--white);
    width: 100%;
}

/* =========================
   FOOTER
========================= */
footer {
    text-align: center;
    padding: 6rem;
    background: var(--primary);
    color: var(--white);
}

footer p {
    opacity: 0.5;
    letter-spacing: 2px;
    font-size: 0.7rem;
}

/* =========================
   CONCIERGE ENQUIRY SECTION
========================= */
.concierge-section {
    background: var(--bg-dark);
    padding: 10rem 2rem;
    max-width: 100%;
    margin: 0;
}

.concierge-inner {
    max-width: 820px;
    margin: 0 auto;
}

.concierge-header {
    text-align: center;
    margin-bottom: 5rem;
}

.concierge-header span {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
}

.concierge-header h2 {
    color: var(--white);
    font-size: 3rem;
    margin-top: 0.5rem;
}

.concierge-header p {
    color: var(--white);
    opacity: 0.6;
    margin-top: 1.5rem;
    line-height: 1.8;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.concierge-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 640px) {
    .form-row { grid-template-columns: 1fr; }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group label {
    color: var(--white);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    opacity: 0.7;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    padding: 0.8rem 0;
    outline: none;
    transition: border-color 0.3s ease;
    width: 100%;
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-dark);
    color: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-bottom-color: var(--accent);
}

.form-group textarea {
    resize: none;
    line-height: 1.6;
}

/* Level Selector Pills */
.level-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.4rem;
}

.level-pill {
    cursor: pointer;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-size: 0.72rem !important;
    opacity: 1 !important;
}

.level-pill input[type="radio"] {
    display: none;
}

.level-pill span {
    display: inline-block;
    padding: 0.5rem 1.4rem;
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.5);
    transition: all 0.3s ease;
    border-radius: 2px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.level-pill input[type="radio"]:checked + span {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(197,160,89,0.08);
}

.level-pill:hover span {
    border-color: rgba(255,255,255,0.5);
    color: var(--white);
}

/* Success State */
.concierge-success {
    text-align: center;
    padding: 4rem 0;
    color: var(--white);
}

.success-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    opacity: 1 !important;
}

.concierge-success h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 1rem;
}

.concierge-success p {
    opacity: 0.6;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.logo-font {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
}

.logo-ss {
    height: 1.1em;
    vertical-align: -0.15em;
    margin: 0 1px;
    filter: brightness(0);
}

/* =========================
   PHILOSOPHY TITLE IMAGE
========================= */
.philosophy-title-img {
    max-width: 100%;
    width: 700px;
    mix-blend-mode: multiply;
    display: block;
    margin: 0.5rem auto 0;
}

/* =========================
   HERO BUTTONS
========================= */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-outline-white {
    border: 1px solid rgba(255,255,255,0.6);
    color: var(--white);
    background: transparent;
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

/* =========================
   PAGE HERO (courses etc.)
========================= */
.page-hero {
    height: 50vh;
    min-height: 380px;
    background: linear-gradient(rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0.65)), url('../images/fluidity_section.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 2rem;
}

.page-hero p {
    font-size: 0.85rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 400;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.page-hero-sub {
    font-size: 1rem !important;
    letter-spacing: 0.5px !important;
    text-transform: none !important;
    max-width: 580px;
    line-height: 1.8;
    opacity: 0.75 !important;
}

/* =========================
   COURSES PAGE
========================= */
.courses-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 8rem 2rem;
}

.course-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.course-row.reverse {
    grid-template-columns: 1.2fr 1fr;
}

.course-row.reverse .course-image {
    order: 2;
}

.course-row.reverse .course-content {
    order: 1;
}

@media (max-width: 800px) {
    .course-row,
    .course-row.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .course-row.reverse .course-image,
    .course-row.reverse .course-content {
        order: unset;
    }
}

.course-image {
    position: relative;
    height: 420px;
    border-radius: 4px;
    overflow: hidden;
}

.placeholder-img {
    background: linear-gradient(135deg, var(--primary) 0%, #1e3a5f 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.course-level {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 600;
    border: 1px solid var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 2px;
}

.course-content h2 {
    font-size: 2.5rem;
    margin: 0.5rem 0 1.5rem;
    font-weight: 400;
    font-style: italic;
}

.course-desc {
    color: var(--text-body);
    line-height: 1.9;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.course-covers {
    list-style: none;
    margin-bottom: 2.5rem;
}

.course-covers li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.course-covers li::before {
    content: '✦';
    color: var(--accent);
    font-size: 0.6rem;
    flex-shrink: 0;
}

.course-status {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.badge {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 600;
    border: 1px solid var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 2px;
}

.course-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 7rem 0;
}

/* =========================
   NOTIFY MODAL
========================= */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--white);
    padding: 3.5rem;
    max-width: 460px;
    width: 100%;
    border-radius: 4px;
    position: relative;
}

.modal .tag {
    display: block;
    margin-bottom: 0.5rem;
}

.modal h3 {
    font-size: 2rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 1rem;
}

.modal p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--primary);
}

.notify-form .form-group input {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    padding: 0.8rem 0;
    outline: none;
    width: 100%;
    transition: border-color 0.3s;
}

.notify-form .form-group input:focus {
    border-bottom-color: var(--accent);
}

.notify-form .form-group label {
    color: var(--primary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    opacity: 0.6;
}

.notify-success {
    text-align: center;
    padding: 2rem 0;
}

.notify-success .success-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.notify-success p:last-child {
    color: var(--text-body);
    font-size: 1rem;
    margin: 0;
}
