@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;1,400&family=Playfair+Display:ital,wght@0,400;0,600;1,400;1,600&family=Roboto+Condensed:wght@300;400;700&display=swap');

:root {
    --brand-primary: #556b2f;
    --brand-dark: #3F4A3C;
    --brand-accent: #A8B5A2;
    --brand-text: #4a4a4a;
    --brand-bg: #ffffff;
    --brand-light: #f7f7f5;
    --container-width: 1080px;

    /* Sanctuary Palette */
    --sage: #A8B5A2;
    --deep-sage: #6B8063;
    --warm-sand: #E6D5C7;
    --soft-blush: #E8C4C4;
    --sanctuary-bg: #F7F4EF;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--brand-bg);
    color: var(--brand-text);
    font-family: 'Lato', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.8;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    color: var(--brand-primary);
    text-align: center;
}

/* 1:1 Sticky Header (Desktop) */
.main-header {
    position: sticky;
    top: 0;
    background: white;
    z-index: 2000;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo-link {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--brand-primary);
    font-weight: 700;
}

.nav-desktop {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 30px;
}

.nav-desktop li a {
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--brand-text);
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 700;
}

.nav-desktop li a:hover {
    color: var(--brand-primary);
}

.nav-desktop li a.active {
    color: var(--brand-primary);
}

/* Hamburger for mobile only */
.hamburger-btn {
    display: none;
}

/* Full Nav Overlay (matches her hamburger logic) */
.nav-overlay {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    display: none; /* Controlled by JS or user choice */
    border-top: 1px solid #eee;
    z-index: 1000;
    padding: 40px;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.nav-menu li a {
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--brand-text);
    font-size: 16px;
    letter-spacing: 1px;
}

.nav-menu li a:hover {
    color: var(--brand-dark);
}

/* 1:1 Hero */
.full-hero {
    position: relative;
    height: 90vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-tint {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
}

.hero-box {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 800px;
}

.hero-box h1 {
    color: white;
    font-size: 56px;
    margin-bottom: 20px;
}

.hero-box p {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 28px;
    margin-bottom: 40px;
}

.btn-olive {
    background: var(--brand-accent);
    color: white;
    padding: 18px 45px;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    transition: background 0.3s;
}

.btn-olive:hover {
    background: #627c3a;
}

/* Section Geometry */
.tara-section {
    padding: 120px 0;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section-title-box {
    margin-bottom: 80px;
}

.section-title-box h2 {
    font-size: 34px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.title-underline {
    width: 45px;
    height: 2px;
    background: var(--brand-primary);
    margin: 0 auto;
}

/* 1:1 Featured Offering Banners */
.featured-banner {
    position: relative;
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    margin: 40px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-ghost-btn {
    border: 2px solid white;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.banner-ghost-btn:hover {
    background: white;
    color: var(--brand-primary);
}

/* 1:1 Recent Grid (Meditations/Talks) */
.recent-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 0 20px;
}

.recent-item {
    text-align: center;
}

.recent-item h3 {
    font-size: 24px;
    margin: 20px 0 10px;
}

/* 1:1 Footer */
.main-footer {
    background: var(--brand-dark);
    color: white;
    padding: 100px 40px;
    text-align: center;
}

.footer-logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    letter-spacing: 4px;
    margin-bottom: 40px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 60px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
}

/* Sanctuary Library Styles */
.sanctuary-container {
    background-color: var(--sanctuary-bg);
    min-height: 100vh;
    padding: 80px 0;
}

.library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    padding: 60px 20px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.card-img {
    height: 220px;
    background: var(--warm-sand);
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover .card-play-overlay {
    opacity: 1;
}

.card-content {
    padding: 25px;
}

.card-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--deep-sage);
    margin-bottom: 12px;
    display: block;
    font-weight: 700;
}

.card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    margin: 0 0 10px 0;
    text-align: left;
    color: var(--brand-text);
}

.card-meta {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
}

.mood-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.mood-label {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 18px;
    margin-right: 10px;
}

.mood-btn {
    background: white;
    border: 1px solid var(--warm-sand);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}

.mood-btn:hover {
    background: var(--sage);
    color: white;
    border-color: var(--sage);
}
/* Live Studio Layout */
.studio-container {
    background-color: #1a1a1a; 
    color: white;
    min-height: calc(100vh - 90px);
    display: grid;
    grid-template-columns: 1fr 320px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.studio-container.fullscreen-mode {
    grid-template-columns: 1fr 0px;
}

.studio-container.fullscreen-mode .sidebar-studio {
    transform: translateX(320px);
    opacity: 0;
}

.video-stage {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s ease;
}

.studio-container.fullscreen-mode .video-stage {
    padding: 10px;
}

.mux-player-placeholder {
    width: 100%;
    max-width: 1100px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: all 0.5s ease;
}

.studio-container.fullscreen-mode .mux-player-placeholder {
    max-width: 95vw;
    height: 80vh;
}

.live-indicator {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #ff4757;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-indicator::before {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.sidebar-studio {
    background: #252525;
    border-left: 1px solid #333;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 90px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-header {
    padding: 24px;
    border-bottom: 1px solid #333;
}

.sidebar-header h3 {
    margin: 0;
    text-align: left;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sage);
}

.participant-list {
    height: 30%;
    overflow-y: auto;
    padding: 20px;
    border-bottom: 1px solid #333;
}

.participant-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
    opacity: 0.8;
}

.participant-avatar {
    width: 28px;
    height: 28px;
    background: var(--deep-sage);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: white;
}

.chat-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #1e1e1e;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    font-size: 13px;
}

.chat-message {
    margin-bottom: 15px;
}

.chat-user {
    font-weight: 700;
    color: var(--sage);
    margin-right: 5px;
}

.chat-input-wrapper {
    padding: 15px;
    background: #252525;
    border-top: 1px solid #333;
}

.chat-input {
    width: 100%;
    background: #333;
    border: 1px solid #444;
    padding: 10px 15px;
    border-radius: 20px;
    color: white;
    font-size: 13px;
}

.studio-footer {
    padding: 20px 40px;
    background: #252525;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.studio-title-info h2 {
    margin: 0;
    text-align: left;
    font-size: 20px;
    color: white;
}

.studio-title-info p {
    margin: 5px 0 0;
    font-size: 13px;
    opacity: 0.6;
}

.panic-alert {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid #ff4757;
    color: #ff4757;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}

.panic-alert:hover {
    background: #ff4757;
    color: white;
}
