/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Lora:wght@400;600;700&display=swap');

/* Custom font */
@font-face {
    font-family: 'Palace';
    src: url('../fonts/PalaceRegular.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}

/* Custom styles to enhance Bootstrap */
:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    
    /* Override Bootstrap font variables */
    --bs-font-sans-serif: 'Inter', system-ui, -apple-system, sans-serif;
}

::selection {
    background-color: #3c3c3c;
}

/* Apply fonts directly */
body {
    font-family: var(--bs-font-sans-serif);
min-width:360px;
background:black;

}

input,textarea, button{
font-family: 'Lora', serif;
font-weight:600;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
}

a{
color:white;
transition:0.2s;

}

a:hover{
font-size:1.1em;
}


.title, .glyph {
    font-family: 'Palace', serif;
}

button{
background: white;
  border: none;
transition:0.2s;
}

button:hover{
transform:scale(1.05);
}

button{
transition:0.2s;
}

/* Hero section with video background */
.hero-section {
    height: 100vh;
    background: #000;
    color: white;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: grayscale(100%) brightness(0.4);
}

/* Poster image styling */
.hero-video::-webkit-media-controls {
    display: none !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2;
}

.hero-section .container {
    z-index: 3;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 12rem);
	text-transform:uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
cursor:pointer;
user-select: none;
}

.dissolve {
    position: relative;
}

.dissolve span {
    display: inline-block;
    position: relative;
    transition: none;
}

.hero-subtitle {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    opacity: 0.9;
	user-select: none;
}

.content-section {
    background: #f8f9fa;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
}

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

.cube-container{
z-index:20 ;
}

.content-section-fullwidth {
  /* Set a minimum height to ensure the background image is visible */
  min-height: 80vh;

  /* These properties make the background image cover the entire element */
  background-size: cover;
  background-position: center center;

  /* This creates the cool "parallax" effect where the image stays fixed on scroll */
  background-attachment: fixed; 
}

/* The dark overlay */
.content-section-fullwidth .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* A gradient looks nicer than a solid color. Adjust opacity with the last value (0.7) */
  background: linear-gradient(0deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
  z-index: 1; /* Sits below the content */
}

/* The container for the text content */
.content-section-fullwidth .container {
  z-index: 2; /* Sits on top of the overlay */
}

/* Video Section Styling */
.video-section-container {
    background-color: #1a1a1a; /* A dark background to focus on the video */
    padding: 5rem 0; /* Add some vertical spacing */
}

/* Ensure the iframe from the embed code fills its responsive container */
.video-section-container .ratio iframe {
    border-radius: 8px; /* Optional: adds slightly rounded corners to the video frame */
    border: 0; /* Remove any default borders */
}

/* --- Testimonial Scroller Section --- */
.testimonial-section {
    background-color: #1a1a1a;
    padding: 5rem 0;
    color: white;
}

.scroller {
    max-width: 100%;
    overflow: hidden;
    /* A subtle mask to fade the edges */
    -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.scroller__inner {
    display: flex;
    gap: 1.5rem;
    width: max-content; /* Let the content define the width */
    animation: scroll 40s linear infinite;
}

/* Pause animation on hover */
.scroller:hover .scroller__inner {
    animation-play-state: paused;
}

.scroller-track img{
filter: grayscale(1);
cursor:pointer;
}

input:focus {
    outline: none;
    border: 2px solid #dddddd; /* Your custom color */
    box-shadow: 0 0 5px rgba(222, 222, 222, 1);
}


textarea:focus {
    outline: none;
    border: 2px solid #dddddd;
    box-shadow: 0 0 5px rgba(222, 222, 222, 1);
}


@keyframes scroll {
    to {
        transform: translate(calc(-50% - 0.75rem)); /* 50% for the content, 0.75rem for half the gap */
    }
}

.testimonial-card {
    width: 350px; /* Fixed width for each card */
    padding: 2rem;
    background-color: #2a2a2a;
    border-radius: 8px;
    border: 1px solid #444;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.testimonial-text {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: bold;
    color: #a5b4fc; /* A nice accent color */
    text-align: right;
}









/* --- NEW, SIMPLIFIED AUDIO CARD STYLES --- */

.audio-card {
    border: 2px solid rgba(207, 207, 207, 0.8);
    border-radius: 15px;
    padding: 2rem;
    background-color: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(8px);
color: rgb(215, 215, 215);
    font-family: 'Special Elite', monospace;
    text-align: left;
    /* The height and flex properties have been removed */
}
.audio-card .audio-title {
    text-align: center;
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.audio-card .audio-play-btn {
    display: block;
    margin: 1.5rem auto;
    width: 80px;
    height: 60px;
    background-color: transparent;
    border: 2px solid rgba(193, 193, 193, 0.8);
    border-radius: 10px;
    color: rgba(193, 193, 193, 1);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.audio-card .audio-play-btn:hover {
    background-color: rgba(216, 207, 193, 0.1);
    border-color: rgba(216, 207, 193, 1);
}
/* --- NEW, SIMPLIFIED & CENTERED TRANSCRIPT STYLES --- */

/* --- NEW STYLES FOR UNFOLDING TRANSCRIPT --- */

/* 1. By default, the transcript is collapsed and invisible */
.audio-card .transcript {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0; /* Remove margin when collapsed */
    transition: max-height 0.7s ease-in-out, opacity 0.5s ease-in-out, margin-top 0.7s ease-in-out;
}

.audio-card.is-open .transcript {
    /* max-height: 500px; <-- DELETE THIS LINE */
    opacity: 1;
    margin-top: 2rem;
}.transcript-line {
    /* The parent container no longer needs flex rules */
    /* Spacing is handled by the mb-3 Bootstrap class */
}

.transcript-line .speaker {
    font-family: 'Lora', serif;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: rgba(193, 193, 193, 0.7);
    margin-bottom: 0.25rem; /* Adds a little space above the dialogue */
    /* flex-shrink is no longer needed */
}

.transcript-line .dialogue {
    font-size: 1rem;
    /* It will inherit the 'Special Elite' font from the .audio-card parent */
}.interrogation-section {
    /* These styles ensure the background image covers the section */
    background-size: cover;
    background-position: center center;
    
    /* --- FIXES ARE HERE --- */
    background-repeat: no-repeat; /* <-- This explicitly prevents tiling/repeating. */
    background-attachment: scroll;  /* <-- This is the key change. 'scroll' makes the background static and move with the page. 
                                         Change it back to 'fixed' if you prefer the parallax effect. */
    
    /* These are for positioning the content correctly */
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-play-btn.is-playing {
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}
