﻿/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    background-color: #f4f1ea;
    color: #2c2c2c;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Index Page Root Flex Wrapper */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

/* Dynamic Hero Container */
.full-bleed-main {
    flex: 1 0 auto;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.hero-image-container {
    position: relative;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 85vh;
}

.hero-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
}

/* Brightened Scrim Overlay */
.hero-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(28, 26, 24, 0.45) 0%, rgba(28, 26, 24, 0.20) 100%);
    z-index: 1;
}

/* Hero Text & Wordmark Overlay */
.hero-text-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    max-width: 900px;
    margin: 0 auto;
    background: transparent !important;
}

.hero-wordmark {
    font-size: 4.4rem;
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    color: #ffffff;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.6vw, 2.7rem);
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-style: italic;
    color: rgba(255,255,255,0.92);
    margin: 0;
    letter-spacing: 0.05em;
}

/* Content Pages Layout (Privacy, Terms, Legal, Accessibility, Contact) */
.page-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.25rem 1.5rem 1.25rem;
    flex: 1;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.page-container h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.page-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 400;
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.page-container p, .page-container li {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333333;
    margin-bottom: 0.85rem;
}

.page-container ul {
    margin-left: 1.25rem;
    margin-bottom: 1.25rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: #666666;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #1a1a1a;
}

.business-details-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0 0 1.5rem 0;
}

/* Compact Footer Section */
footer {
    width: 100%;
    background-color: #1c1a18;
    padding: 1rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 10;
    flex-shrink: 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.footer-content a, 
.footer-content p {
    color: #b5ada3;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s ease;
}

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

/* Enrollment Form Container & Elements Contrast Fix */
.enroll-container input[type="tel"],
.enroll-container input[type="text"] {
    background-color: #ffffff;
    color: #2c2c2c;
    border: 1px solid #d4cfc7;
    padding: 0.75rem;
    font-size: 1rem;
}

.enroll-container input::placeholder {
    color: #777777;
}

.enroll-container a {
    color: #1a56db;
    text-decoration: underline;
}

.enroll-container h1,
.enroll-container h2,
.enroll-container label,
.enroll-container p,
.enroll-container span {
    color: #2c2c2c !important;
}

.enroll-container button[type="submit"],
.enroll-container .subscribe-btn {
    background-color: #2c2c2c !important;
    color: #ffffff !important;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
}

.enroll-container button[type="submit"]:hover,
.enroll-container .subscribe-btn:hover {
    background-color: #1a1a1a !important;
}

.footer-content nav span {
    color: #b5ada3;
    font-size: 0.8rem;
    font-weight: normal;
}

/* Mobile Viewport Absolute Reset */
@media (max-width: 768px) {
    .hero-text-overlay {
        background-color: transparent !important;
    }
}