/* ================================================================
   THE BEAUTY OF SOUND – Custom CSS
   Bootstrap 5 + Custom Variables
   ================================================================ */

/* ----------------------------------------------------------------
   Bootstrap Icons – font-display override
   (CDN CSS does not include font-display; this declaration wins
    because it appears after the CDN stylesheet in the cascade)
   ---------------------------------------------------------------- */
@font-face {
    font-family: "bootstrap-icons";
    src: url("/css/fonts/bootstrap-icons.woff2") format("woff2"),
         url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/fonts/bootstrap-icons.woff2") format("woff2");
    font-display: swap;
}

/* ----------------------------------------------------------------
   CSS Custom Properties
   ---------------------------------------------------------------- */
:root {
    --petrol:      #1B4965;
    --petrol-dark: #122f45;
    --petrol-light:#2a6387;
    --blue:        #3B8EA5;
    --green:       #3A5336;
    --red:         #DC3F41;
    --yellow:      #FCD757;
    --off-white:   #F8F6F2;
    --light-grey:  #E2E2E2;
    --dark:        #111111;
    --text-muted:  #8a96a1;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans:  'Raleway', sans-serif;

    --section-pad: 6rem 0;
    --transition:  0.35s ease;
    --radius:      4px;
    --shadow:      0 4px 24px rgba(0,0,0,0.10);
    --shadow-lg:   0 12px 48px rgba(0,0,0,0.18);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-weight: 400;
    color: var(--dark);
    background: #fff;
    overflow-x: hidden;
    line-height: 1.7;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-serif);
    font-weight: 300;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }

p { font-weight: 300; font-size: 1.05rem; }

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

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

/* ----------------------------------------------------------------
   Utility Classes
   ---------------------------------------------------------------- */
.text-petrol  { color: var(--petrol) !important; }
.text-blue    { color: var(--blue) !important; }
.bg-petrol    { background-color: var(--petrol) !important; }
.bg-off-white { background-color: var(--off-white) !important; }

.section-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue);
    display: block;
    margin-bottom: 0.75rem;
}

.section-divider {
    width: 48px;
    height: 2px;
    background: var(--blue);
    border: none;
    margin: 1.5rem auto;
}

.section-divider.left { margin-left: 0; }

/* ----------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------- */
.btn-petrol {
    background: var(--petrol);
    color: #fff;
    border: 2px solid var(--petrol);
    border-radius: var(--radius);
    padding: 0.6rem 1.8rem;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: background var(--transition), color var(--transition);
}

.btn-petrol:hover {
    background: var(--petrol-dark);
    border-color: var(--petrol-dark);
    color: #fff;
}

.btn-outline-petrol {
    background: transparent;
    color: var(--petrol);
    border: 2px solid var(--petrol);
    border-radius: var(--radius);
    padding: 0.6rem 1.8rem;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: all var(--transition);
}

.btn-outline-petrol:hover {
    background: var(--petrol);
    color: #fff;
}

.btn-outline-light-custom {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: var(--radius);
    padding: 0.6rem 1.8rem;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: all var(--transition);
}

.btn-outline-light-custom:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
}

/* ----------------------------------------------------------------
   Navigation
   ---------------------------------------------------------------- */
#mainNav {
    background: transparent;
    padding: 1.2rem 0;
    transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

#mainNav.scrolled {
    background: var(--petrol-dark);
    padding: 0.75rem 0;
    box-shadow: var(--shadow);
}

.navbar-brand .brand-text {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.02em;
}

#mainNav .nav-link {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.85) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color var(--transition);
}

#mainNav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 1rem;
    right: 1rem;
    height: 1px;
    background: var(--blue);
    transform: scaleX(0);
    transition: transform var(--transition);
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    color: #fff !important;
}

#mainNav .nav-link:hover::after,
#mainNav .nav-link.active::after {
    transform: scaleX(1);
}

/* Language buttons */
.lang-btn {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.55);
    padding: 0.2rem 0.4rem;
    border-radius: 2px;
    transition: color var(--transition);
}

.lang-btn:hover,
.lang-btn.active {
    color: #fff;
}

.lang-btn.active {
    border-bottom: 1px solid var(--blue);
}

/* ----------------------------------------------------------------
   Hero Section – full-bleed background image with text overlay
   ---------------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Desktop: landscape room shot */
    background-image: url('/alt/assets/img/sarasvati-1-walnut-room.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Mobile: tall portrait crop */
@media (max-width: 767.98px) {
    .hero-section {
        background-image: url('/alt/assets/img/sarasvati1-nb-hoch.webp');
        background-position: center top;
    }
}

/* Dark overlay so text stays readable */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.48);
    z-index: 0;
}

.hero-section::after { display: none; }

.hero-container {
    padding-top: calc(84px + 2rem);
    padding-bottom: 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--blue);
    display: block;
    margin-bottom: 1rem;
}

.hero-title {
    color: #fff;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.hero-sub {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255,255,255,0.82);
    max-width: 680px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 3rem;
}

.hero-badge {
    background: rgba(248,246,242,0.12);
    border: 1px solid rgba(248,246,242,0.3);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    padding: 0.4rem 0.9rem;
    border-radius: 2px;
    backdrop-filter: blur(4px);
}

.hero-badge i { color: var(--blue); }

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.hero-scroll i { font-size: 1rem; }

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

/* ----------------------------------------------------------------
   Products Section
   ---------------------------------------------------------------- */
.products-section {
    padding: var(--section-pad);
    background: var(--off-white);
}

.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.product-image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--off-white), var(--light-grey));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
}

.product-image-placeholder i { font-size: 2.5rem; color: var(--petrol); opacity: 0.4; }

.product-body {
    padding: 2rem;
}

.product-name {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--petrol);
    margin-bottom: 0.5rem;
}

.product-badge {
    display: inline-block;
    background: var(--petrol);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 2px;
    margin-bottom: 1rem;
}

.product-subtitle {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 0.85rem;
    line-height: 1.4;
}

.product-desc {
    font-weight: 300;
    color: #444;
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.product-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.product-specs li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 400;
    color: #777;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--light-grey);
}

.product-specs li:last-child { border-bottom: none; }
.product-specs li i { color: var(--blue); font-size: 0.9rem; flex-shrink: 0; }

/* ----------------------------------------------------------------
   Features Section
   ---------------------------------------------------------------- */
.features-section {
    padding: var(--section-pad);
    background: #fff;
}

.feature-card {
    padding: 2rem 1.5rem;
    border: 1px solid var(--light-grey);
    border-radius: var(--radius);
    text-align: center;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
    height: 100%;
}

.feature-card:hover {
    border-color: var(--blue);
    box-shadow: 0 4px 24px rgba(59,142,165,0.12);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--petrol), var(--blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.feature-icon i {
    font-size: 1.4rem;
    color: #fff;
}

.feature-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--petrol);
    margin-bottom: 0.5rem;
}

.feature-text {
    font-size: 0.95rem;
    font-weight: 300;
    color: #888;
    line-height: 1.65;
    margin: 0;
}

/* ----------------------------------------------------------------
   Philosophy Section
   ---------------------------------------------------------------- */
.philosophy-section {
    padding: var(--section-pad);
    background: var(--petrol);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.philosophy-section::before {
    content: '"';
    position: absolute;
    top: -2rem;
    left: 2rem;
    font-family: var(--font-serif);
    font-size: 20rem;
    line-height: 1;
    color: rgba(255,255,255,0.04);
    pointer-events: none;
    z-index: 0;
}

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

.philosophy-quote {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    font-style: italic;
    color: #fff;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.philosophy-text {
    font-weight: 300;
    color: rgba(255,255,255,0.78);
    font-size: 1.05rem;
    line-height: 1.85;
    max-width: 540px;
}

.philosophy-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.philosophy-img-frame {
    border: 1px solid rgba(255,255,255,0.15);
    padding: 1.5rem;
    border-radius: var(--radius);
}

.philosophy-img-placeholder {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 3/4;
    background: rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: rgba(255,255,255,0.3);
    border-radius: var(--radius);
}

.philosophy-img-placeholder i { font-size: 3rem; }
.philosophy-img-placeholder span { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }

/* Stats row */
.philosophy-stats {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 460px;
}

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--yellow);
    line-height: 1;
    display: block;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}

/* ----------------------------------------------------------------
   Contact / Probehören Section
   ---------------------------------------------------------------- */
.contact-section {
    padding: var(--section-pad);
    background: var(--off-white);
}

.contact-option-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    height: 100%;
    cursor: default;
    display: block;
    color: inherit;
    text-decoration: none;
}

.contact-option-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.contact-option-card--link {
    cursor: pointer;
}

.contact-option-card--link:hover {
    color: inherit;
    text-decoration: none;
}

.contact-option-more {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--petrol);
    letter-spacing: 0.02em;
}

.contact-option-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--petrol), var(--blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.contact-option-icon i {
    font-size: 1.6rem;
    color: #fff;
}

.contact-option-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--petrol);
    margin-bottom: 0.4rem;
}

.contact-option-text {
    font-size: 0.95rem;
    font-weight: 300;
    color: #888;
    margin: 0;
}

/* Contact form */
.contact-form-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.form-label {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--petrol);
    margin-bottom: 0.4rem;
}

.form-control, .form-select {
    border: 1px solid var(--light-grey);
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 0.95rem;
    color: var(--dark);
    padding: 0.65rem 1rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(59,142,165,0.15);
    outline: none;
}

/* ----------------------------------------------------------------
   Blog / Sound Diary Section
   ---------------------------------------------------------------- */
.blog-section {
    padding: var(--section-pad);
    background: #fff;
}

.blog-card {
    border: 1px solid var(--light-grey);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.blog-img-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--off-white), var(--light-grey));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.blog-img-placeholder i { font-size: 2rem; opacity: 0.5; }

.blog-body { padding: 1.5rem; }

.blog-category {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.5rem;
    display: block;
}

.blog-title,
.blog-title a {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 400;
    color: var(--petrol);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.blog-title a:hover { color: var(--blue); }

.blog-excerpt {
    font-size: 0.95rem;
    font-weight: 300;
    color: #888;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.blog-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-read-more {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--petrol);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap var(--transition), color var(--transition);
}

.blog-read-more:hover {
    color: var(--blue);
    gap: 0.6rem;
}

/* ----------------------------------------------------------------
   Footer
   ---------------------------------------------------------------- */
.footer-section {
    background: var(--dark);
    color: rgba(255,255,255,0.85);
    padding: 4rem 0 2rem;
}

.footer-brand {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0.25rem;
}

.footer-tagline {
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 1rem;
}

.footer-text {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
}

.footer-text a {
    color: rgba(255,255,255,0.8);
    transition: color var(--transition);
}

.footer-text a:hover { color: #fff; }

.footer-heading {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1rem;
}

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

.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255,255,255,0.8);
    transition: color var(--transition);
}

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

.social-icons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-icons a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.55);
    font-size: 1rem;
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.social-icons a:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: rgba(59,142,165,0.1);
}

.footer-map .map-placeholder {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.55);
    font-size: 0.95rem;
    transition: border-color var(--transition), color var(--transition);
}

.footer-map .map-placeholder:hover {
    border-color: var(--blue);
    color: rgba(255,255,255,0.85);
}

.footer-map .map-placeholder i {
    font-size: 1.4rem;
    color: var(--blue);
    flex-shrink: 0;
}

.footer-divider {
    border-color: rgba(255,255,255,0.08);
    margin: 2.5rem 0 1.5rem;
}

.footer-copy {
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(255,255,255,0.6);
}

.footer-lang {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.3);
    transition: color var(--transition);
}

.footer-lang:hover,
.footer-lang.active {
    color: rgba(255,255,255,0.7);
}

/* ----------------------------------------------------------------
   Alert for form success/error
   ---------------------------------------------------------------- */
.alert-success-custom {
    background: rgba(58, 83, 54, 0.08);
    border: 1px solid var(--green);
    color: var(--green);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
}

.alert-error-custom {
    background: rgba(220, 63, 65, 0.08);
    border: 1px solid var(--red);
    color: var(--red);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
}

/* ----------------------------------------------------------------
   Nav Logo
   ---------------------------------------------------------------- */
.nav-logo {
    height: 84px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: opacity var(--transition);
}
.nav-logo:hover { opacity: 0.85; }

/* ----------------------------------------------------------------
   Product Price Display
   ---------------------------------------------------------------- */
.product-price {
    background: var(--off-white);
    border-left: 3px solid var(--blue);
    padding: 0.9rem 1.2rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 1.25rem 0;
}

.product-price .price-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.1rem;
}

.product-price .price-value {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 300;
    color: var(--petrol);
    display: block;
    line-height: 1.1;
}

.product-price .price-info {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-top: 0.2rem;
}

/* ----------------------------------------------------------------
   Comparison Table
   ---------------------------------------------------------------- */
.compare-table {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: none;
    margin-bottom: 0;
}

.compare-table thead tr {
    background: var(--petrol);
}

.compare-table thead th {
    color: #fff;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 1.2rem 1.5rem;
    border: none;
}

.compare-table tbody td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--light-grey);
    color: #444;
    font-size: 0.95rem;
    font-weight: 300;
    border-top: none;
}

.compare-table tbody tr:first-child td { border-top: none; }

.compare-table tbody td:first-child {
    color: var(--petrol);
    font-weight: 500;
}

.compare-price-row { background: var(--off-white); }

.compare-price-val {
    color: var(--blue) !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    font-family: var(--font-serif);
}

/* ----------------------------------------------------------------
   Philosophy Section (new card layout)
   ---------------------------------------------------------------- */
.philosophy-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
}

.philosophy-video-wrap,
.philosophy-img-wrap {
    width: 100%;
    max-height: 320px;
    overflow: hidden;
}

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

.philosophy-card-body {
    padding: 1.75rem;
}

.philosophy-card-h {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0.75rem;
}

.philosophy-card-p {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255,255,255,0.72);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.philosophy-card-by {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--yellow);
    margin: 0;
}

.philosophy-blockquote {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 300;
    color: var(--yellow);
    border-left: 2px solid var(--yellow);
    padding-left: 1rem;
    margin: 1.25rem 0;
    line-height: 1.4;
}

/* RTM Boxes */
.rtm-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: border-color var(--transition), background var(--transition);
}

.rtm-box:hover {
    border-color: rgba(59,142,165,0.4);
    background: rgba(59,142,165,0.06);
}

.rtm-icon {
    width: 40px;
    height: 40px;
    background: rgba(59,142,165,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rtm-icon i { font-size: 1.1rem; color: var(--blue); }

.rtm-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.3rem;
}

.rtm-text {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin: 0;
}

/* ----------------------------------------------------------------
   Blog image
   ---------------------------------------------------------------- */
.blog-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.blog-soon-box {
    padding: 3rem 2rem;
    border: 1px solid var(--light-grey);
    border-radius: var(--radius);
    display: inline-block;
    max-width: 480px;
    color: var(--text-muted);
}

.blog-soon-box i { font-size: 2.5rem; display: block; margin-bottom: 1rem; }
.blog-soon-box h4 { font-family: var(--font-serif); font-weight: 400; color: var(--petrol); }

/* ----------------------------------------------------------------
   Footer additions
   ---------------------------------------------------------------- */
.footer-logo {
    filter: brightness(0) invert(1);
    opacity: 0.85;
    max-width: 240px;
    width: 100%;
}

.footer-newsletter-input {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.15);
    color: #fff;
}

.footer-newsletter-input::placeholder { color: rgba(255,255,255,0.35); }
.footer-newsletter-input:focus {
    background: rgba(255,255,255,0.1);
    border-color: var(--blue);
    color: #fff;
    box-shadow: none;
}

.footer-map-link {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    transition: color var(--transition);
    display: inline-flex;
    align-items: center;
}

.footer-map-link:hover { color: rgba(255,255,255,0.85); }
.text-blue { color: var(--blue) !important; }

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

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

/* Stagger children */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.0s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.7s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(9) { transition-delay: 0.8s; opacity: 1; transform: translateY(0); }

/* ----------------------------------------------------------------
   Responsive
   ---------------------------------------------------------------- */
@media (max-width: 991.98px) {
    #mainNav {
        background: var(--petrol-dark) !important;
        padding: 0.75rem 0 !important;
    }

    /* Collapsed menu: consistent left-alignment and spacing */
    #navMenu {
        padding: 0.5rem 0 1rem;
        border-top: 1px solid rgba(255,255,255,0.1);
        margin-top: 0.5rem;
    }

    #mainNav .navbar-nav {
        margin: 0 !important;
        padding: 0;
    }

    #mainNav .nav-item .nav-link {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }

    /* Language switcher */
    #mainNav .d-flex.align-items-center {
        margin: 1rem 0 0 !important;
        margin-right: 0 !important;
        justify-content: flex-start;
    }

    /* CTA button */
    #mainNav > .container > #navMenu > .btn-petrol,
    #navMenu .btn-petrol {
        margin-top: 0.85rem;
        width: 100%;
        text-align: center;
    }

    .philosophy-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .hero-visual { margin-top: 3rem; }
}

@media (max-width: 575.98px) {
    :root { --section-pad: 4rem 0; }

    .philosophy-stats { grid-template-columns: 1fr; }

    .contact-form-card { padding: 1.5rem; }
}

/* ================================================================
   SUBPAGES – Legal, Blog Detail
   ================================================================ */

/* ----------------------------------------------------------------
   Subpage Hero Bar
   ---------------------------------------------------------------- */
.subpage-hero {
    background: linear-gradient(160deg, var(--petrol-dark) 0%, var(--petrol) 100%);
    padding: calc(84px + 3rem) 0 3rem;
    color: var(--off-white);
}

.subpage-hero-title {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--off-white);
    margin: 0.5rem 0 0;
    letter-spacing: 0.05em;
}

.subpage-hero-meta {
    color: rgba(248,246,242,0.7);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.subpage-breadcrumb {
    --bs-breadcrumb-divider-color: rgba(248,246,242,0.5);
    --bs-breadcrumb-item-active-color: rgba(248,246,242,0.7);
    font-size: 0.85rem;
}

.subpage-breadcrumb .breadcrumb-item a {
    color: var(--off-white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity var(--transition);
}

.subpage-breadcrumb .breadcrumb-item a:hover { opacity: 1; }
.subpage-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(248,246,242,0.4);
}

/* ----------------------------------------------------------------
   Legal Content
   ---------------------------------------------------------------- */
.legal-section {
    padding: var(--section-pad);
    background: var(--off-white);
}

.legal-content-wrapper {
    max-width: 860px;
    margin: 0 auto;
}

.legal-block {
    margin-bottom: 3rem;
}

.legal-block h2 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.6rem;
    color: var(--petrol);
    border-bottom: 2px solid var(--blue);
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
}

.legal-block h3 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    color: var(--petrol);
    margin: 1.5rem 0 0.5rem;
}

.legal-block p, .legal-block li {
    color: #333;
    line-height: 1.8;
    font-size: 0.95rem;
}

.legal-block ul, .legal-block ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-address-box,
.legal-contact-box {
    background: white;
    border-left: 4px solid var(--blue);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1.25rem 1.5rem;
    margin: 1rem 0 1.5rem;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #333;
}

.legal-address-box a,
.legal-contact-box a {
    color: var(--blue);
    text-decoration: none;
}

.legal-address-box a:hover,
.legal-contact-box a:hover {
    text-decoration: underline;
}

.legal-info-box {
    background: rgba(59,142,165,0.08);
    border: 1px solid rgba(59,142,165,0.3);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin: 1rem 0 1.5rem;
    font-size: 0.9rem;
    color: var(--petrol-dark);
    line-height: 1.7;
}

.legal-form-box {
    background: #f5f5f5;
    border: 1px dashed #ccc;
    border-radius: var(--radius);
    padding: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #444;
}

.legal-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--light-grey);
    padding-top: 1.5rem;
    margin-top: 3rem;
}

/* ----------------------------------------------------------------
   Blog Detail
   ---------------------------------------------------------------- */
.blog-detail-bar {
    background: var(--petrol-dark);
    padding: calc(84px + 1rem) 0 1rem;
}

.blog-back-link {
    color: rgba(248,246,242,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
    letter-spacing: 0.05em;
}

.blog-back-link:hover { color: var(--off-white); }

.blog-detail-section {
    padding: 3rem 0 6rem;
    background: var(--off-white);
}

.blog-detail-card {
    max-width: 860px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 3rem;
}

.blog-detail-header { margin-bottom: 2rem; }

.blog-detail-title {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: var(--petrol);
    line-height: 1.2;
    letter-spacing: 0.03em;
    margin-bottom: 0.5rem;
}

.blog-detail-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.blog-detail-snippet {
    font-size: 1.1rem;
    color: #777;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
}

.blog-detail-figure { margin: 2rem 0; }

.blog-detail-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 6px;
}

.blog-detail-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #333;
}

.blog-detail-content h2 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.8rem;
    color: var(--petrol);
    margin: 2rem 0 1rem;
}

.blog-detail-content h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.4rem;
    color: var(--blue);
    margin: 1.5rem 0 0.75rem;
}

.blog-detail-content p { margin-bottom: 1.25rem; }

.blog-detail-content a { color: var(--blue); }

.blog-detail-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    margin: 2rem 0;
    border-radius: 6px;
    overflow: hidden;
    background: #000;
}

.blog-detail-video iframe,
.blog-detail-video > * {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.blog-music-links {
    background: var(--off-white);
    border-radius: 6px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.blog-music-links h3 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    color: var(--petrol);
    margin-bottom: 0;
}

.music-link-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    background: white;
    border: 1px solid var(--light-grey);
    border-radius: 50px;
    color: var(--petrol);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.music-link-btn:hover {
    background: var(--petrol);
    color: white;
    border-color: var(--petrol);
    box-shadow: var(--shadow);
}

/* Prev/Next navigation */
.blog-post-nav { margin: 3rem 0 2rem; padding-top: 2rem; border-top: 1px solid var(--light-grey); }

.post-nav-card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.25rem;
    background: var(--off-white);
    border-radius: 6px;
    text-decoration: none;
    transition: all var(--transition);
    height: 100%;
}

.post-nav-card:hover {
    background: var(--petrol);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.post-nav-card:hover .post-nav-label,
.post-nav-card:hover .post-nav-title { color: white; }

.post-nav-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 500;
}

.post-nav-title {
    font-size: 1rem;
    color: var(--petrol);
    font-weight: 500;
    line-height: 1.4;
}

.post-nav-next { text-align: right; }

/* Spotify section */
.blog-spotify-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-grey);
    text-align: center;
}

.blog-spotify-section h3 {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: 1.8rem;
    color: var(--petrol);
    margin-bottom: 0.5rem;
}

.blog-spotify-section p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.spotify-embed-wrap {
    border-radius: 12px;
    overflow: hidden;
    height: 352px;
}

.spotify-embed-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Mobile adjustments */
@media (max-width: 575.98px) {
    .blog-detail-card { padding: 1.5rem; }
    .blog-detail-image { max-height: 300px; }
    .post-nav-next { text-align: left; }
}

/* ================================================================
   FAQ PAGE
   ================================================================ */

.faq-contact-banner {
    background: var(--petrol);
    color: var(--off-white);
    padding: 1rem 0;
    font-size: 0.9rem;
}

.faq-section {
    padding: var(--section-pad);
    background: var(--off-white);
}

.faq-wrapper {
    max-width: 860px;
    margin: 0 auto;
}

.faq-group { margin-bottom: 3rem; }

.faq-group-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.8rem;
    color: var(--petrol);
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--blue);
}

.faq-accordion-item {
    border: none;
    border-radius: var(--radius) !important;
    margin-bottom: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.faq-accordion-btn {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--petrol-dark);
    background: white;
    padding: 1rem 1.25rem;
    border-radius: var(--radius) !important;
}

.faq-accordion-btn:not(.collapsed) {
    background: var(--petrol);
    color: white;
    box-shadow: none;
}

.faq-accordion-btn::after {
    filter: none;
}

.faq-accordion-btn:not(.collapsed)::after {
    filter: invert(1);
}

.faq-accordion-body {
    background: white;
    font-size: 0.92rem;
    line-height: 1.75;
    color: #333;
    padding: 1.25rem;
}

.faq-accordion-body ul,
.faq-accordion-body ol {
    padding-left: 1.5rem;
    margin: 0.5rem 0 0;
}

.faq-accordion-body li { margin-bottom: 0.35rem; }

.faq-accordion-body a { color: var(--blue); }

.faq-cta-box {
    background: linear-gradient(135deg, var(--petrol-dark) 0%, var(--petrol) 100%);
    border-radius: 8px;
    padding: 2.5rem;
    text-align: center;
    color: var(--off-white);
    margin-top: 3rem;
}

.faq-cta-box h3 {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.faq-cta-box p {
    opacity: 0.85;
    font-size: 0.95rem;
}

.btn-outline-petrol {
    border: 1px solid var(--petrol);
    color: var(--petrol);
    background: transparent;
    border-radius: 2px;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all var(--transition);
}

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

/* ================================================================
   BINAURAL PAGE
   ================================================================ */

.binaural-warning {
    background: var(--petrol-dark);
    padding: 1rem 0;
    color: var(--off-white);
}

.binaural-warning-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
}

.binaural-headphone-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.binaural-section {
    padding: var(--section-pad);
    background: var(--off-white);
}

.binaural-intro { margin-bottom: 5rem; }

.binaural-info-box {
    background: rgba(59,142,165,0.1);
    border-left: 3px solid var(--blue);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1.25rem;
    margin-top: 1.5rem;
}

.binaural-info-box h4 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--petrol);
    margin-bottom: 0.5rem;
}

.binaural-info-box p {
    font-size: 0.9rem;
    color: #444;
    margin: 0;
    line-height: 1.7;
}

.binaural-limitations-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
    height: 100%;
}

.binaural-limitations-card h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.3rem;
    color: var(--petrol);
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.binaural-limitations-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.binaural-limitations-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--light-grey);
    font-size: 0.9rem;
    color: #444;
    line-height: 1.5;
}

.binaural-limitations-list li:last-child { border-bottom: none; }

.binaural-limitations-list li i {
    color: var(--blue);
    font-size: 1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* Audio Players */
.binaural-players { margin-bottom: 4rem; }

.binaural-player-card {
    background: white;
    border-radius: 8px;
    padding: 1.75rem;
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform var(--transition), box-shadow var(--transition);
}

.binaural-player-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.binaural-player-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--petrol), var(--blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.binaural-player-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.3rem;
    color: var(--petrol);
    margin: 0;
}

.binaural-player-desc {
    font-size: 0.95rem;
    color: #777;
    line-height: 1.65;
    flex-grow: 1;
    margin: 0;
}

.binaural-audio-ctrl {
    margin-top: auto;
    border-radius: 4px;
}

/* FAQ mini on binaural page */
.binaural-faq { margin-bottom: 4rem; }

/* CTA */
.binaural-cta { margin-top: 2rem; }

.binaural-cta-inner {
    background: linear-gradient(135deg, var(--petrol-dark), var(--petrol));
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    color: var(--off-white);
}

.binaural-cta-inner h2 {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
}

.binaural-cta-inner p {
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
}

/* ----------------------------------------------------------------
   Blog List Page
   ---------------------------------------------------------------- */
.blog-list-section {
    padding: var(--section-pad);
    background: var(--off-white);
}

.blog-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--light-grey);
}

.blog-list-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.blog-list-end {
    text-align: center;
    padding: 2.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}
