/* Filename: style.css (Complete and Final Version) */

/* --- Global Styles & Variables --- */
:root {
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --color-dark: #121212;
    --color-light: #f5f5f5;
    --color-accent: #D4AF37; /* A classic gold for a high-end feel */
    --color-secondary: #aaaaaa;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background-color: var(--color-dark); /* Fallback background */
    color: var(--color-light);
    line-height: 1.7;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* --- New Matrix Background --- */
#matrix-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
main > section, footer { position: relative; z-index: 2; }
.container { width: 90%; max-width: 1100px; margin: 0 auto; padding: 100px 20px; text-align: center; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
h1 { font-size: 3.8rem; }
h2 { font-size: 3rem; }
p { margin-bottom: 20px; max-width: 700px; margin-left: auto; margin-right: auto;}
.pre-title { display: block; text-transform: uppercase; color: var(--color-accent); font-family: var(--font-body); font-weight: 600; letter-spacing: 2px; margin-bottom: 10px; }

/* --- Buttons --- */
.cta-button {
    background-color: var(--color-accent);
    color: var(--color-dark);
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 18px 35px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
}
.cta-button:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); background-color: #e0c264; }
.cta-button.disabled { background-color: #555; color: #999; cursor: not-allowed; transform: none; box-shadow: none; }

/* --- Fade-in Animation on Scroll --- */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* --- Section Specific Styles --- */
/* Hero Section */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center; position: relative; z-index: 2; }
.hero .container { padding: 0 20px; }
.hero h1 { color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.hero .subtitle { font-size: 1.2rem; color: var(--color-light); opacity: 0.9; }
.hero .scarcity { margin-top: 15px; font-weight: 400; color: var(--color-light); }

/* Pain Section */
.pain-section { background-color: rgba(26, 26, 26, 0.95); }
.pain-points { list-style: none; padding: 0; margin: 40px auto; max-width: 600px; text-align: left;}
.pain-points li { font-size: 1.1rem; margin-bottom: 20px; display: flex; align-items: center;}
.pain-points i { color: var(--color-accent); margin-right: 15px; font-size: 1.5rem; width: 30px; text-align: center; }
.pain-section .conclusion { font-weight: 600; font-size: 1.2rem; }

/* Solution Section */
.solution-section { background-color: rgba(18, 18, 18, 0.98); }
.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 800px; margin: 40px auto; text-align: left;}
.benefit-item { background-color: rgba(26, 26, 26, 0.8); padding: 25px; border-radius: 8px; font-weight: 600; display: flex; align-items: center; border-left: 3px solid var(--color-accent); transition: transform 0.3s ease; }
.benefit-item:hover { transform: translateY(-5px); }
.benefit-item i { margin-right: 15px; color: var(--color-accent); }
.emphasis { font-size: 1.3rem; font-weight: 600; color: var(--color-accent); margin-top: 40px;}

/* Video Section */
.video-section { background-color: rgba(26, 26, 26, 0.95); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px;}
.video-placeholder { position: relative; cursor: pointer; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
.video-placeholder img { width: 100%; display: block; transition: transform 0.3s ease; }
.video-placeholder:hover img { transform: scale(1.05); }
.play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 3rem; color: #fff; background: rgba(0,0,0,0.5); width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background 0.3s ease, transform 0.3s ease; }
.video-placeholder:hover .play-icon { background: rgba(212, 175, 55, 0.8); transform: translate(-50%, -50%) scale(1.1); }

/* Story Section */
.story-section { background-color: rgba(18, 18, 18, 0.98); }
.story-content { display: flex; align-items: center; gap: 50px; text-align: left;}
.story-image { flex: 0 0 300px; }
.story-image img { width: 100%; border-radius: 50%; border: 5px solid var(--color-accent);}
.book-feature { margin-top: 60px; display: flex; flex-direction: column; align-items: center; }
.book-link { text-decoration: none; color: var(--color-light); }
.book-feature img { max-width: 300px; width: 100%; height: auto; object-fit: cover; margin-bottom: 20px; filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5)); transition: transform 0.3s ease; }
.book-feature img:hover { transform: scale(1.05); }
.book-feature p { font-weight: 600; }

/* Testimonial Section */
.testimonial-section { background-color: rgba(26, 26, 26, 0.95); }
.testimonial-slider-container { max-width: 800px; position: relative; margin: auto; min-height: 280px; display: flex; align-items: center; justify-content: center; }
.testimonial-slider { width: 100%; overflow: hidden; }
.testimonial-card { display: none; background-color: rgba(18, 18, 18, 0.8); padding: 40px 50px; border-radius: 8px; text-align: center; border: 1px solid #333; }
.testimonial-card.active { display: block; animation: fadeIn 0.8s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.testimonial-card .quote { font-size: 1.2rem; font-style: italic; margin-bottom: 20px; color: var(--color-light); line-height: 1.6; }
.testimonial-card .author { font-weight: 600; color: var(--color-accent); }
.slider-prev, .slider-next { cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%); width: auto; padding: 16px; color: white; font-weight: bold; font-size: 24px; transition: 0.3s ease; border-radius: 50%; user-select: none; background-color: rgba(0,0,0,0.3); height: 50px; width: 50px; display: flex; align-items: center; justify-content: center; }
.slider-prev { left: -25px; }
.slider-next { right: -25px; }
.slider-prev:hover, .slider-next:hover { background-color: rgba(212, 175, 55, 0.8); }

/* FAQ Section */
.faq-section { background-color: rgba(18, 18, 18, 0.98); }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; text-align: left; margin-top: 40px;}
.faq-item { background: rgba(26, 26, 26, 0.8); padding: 25px; border-radius: 8px;}
.faq-item h4 { color: var(--color-accent); margin-bottom: 10px; }

/* Final CTA */
.final-cta { background-color: rgba(26, 26, 26, 0.95); border-top: 1px solid #333;}

/* Video Modal Styles */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.9); align-items: center; justify-content: center; }
.modal-content { position: relative; padding: 0; width: 90%; max-width: 960px; }
.close-modal { position: absolute; top: -40px; right: 0; color: #f1f1f1; font-size: 40px; font-weight: bold; cursor: pointer; z-index: 1050; }
.video-container { position: relative; width: 100%; background: #000; }

/* --- ADDED STYLES FOR LEAD FORM & BOOKING --- */
.form-wrapper-section { background-color: rgba(18, 18, 18, 0.98); }
.cta-subtext { font-size: 1.1rem; color: var(--color-light); opacity: 0.9; max-width: 600px; margin: 0 auto 30px auto; }
.lead-form { max-width: 600px; margin: 0 auto; text-align: left; }
.form-group { margin-bottom: 20px; }
.lead-form input[type="text"], .lead-form input[type="email"], .lead-form input[type="tel"] { width: 100%; padding: 18px 20px; background-color: rgba(255, 255, 255, 0.05); border: 1px solid #444; border-radius: 5px; color: var(--color-light); font-family: var(--font-body); font-size: 1rem; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.lead-form input[type="text"]:focus, .lead-form input[type="email"]:focus, .lead-form input[type="tel"]:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 10px rgba(212, 175, 55, 0.3); }
.lead-form input::placeholder { color: var(--color-secondary); }
#form-message { padding: 15px; margin-bottom: 20px; border-radius: 5px; display: none; text-align: center; font-weight: 600; }
#form-message.success { background-color: rgba(40, 167, 69, 0.2); color: #28a745; border: 1px solid #28a745; }
#form-message.error { background-color: rgba(220, 53, 69, 0.2); color: #dc3545; border: 1px solid #dc3545; }
.booking-cta { background-color: rgba(26, 26, 26, 0.95); }
.hero-form-container { margin-top: 30px; max-width: 500px; margin-left: auto; margin-right: auto; display: flex; gap: 10px; }
#hero-email { flex-grow: 1; padding: 18px 20px; background-color: rgba(255, 255, 255, 0.9); border: 2px solid transparent; border-radius: 5px; color: var(--color-dark); font-family: var(--font-body); font-size: 1rem; transition: border-color 0.3s ease; }
#hero-email:focus { outline: none; border-color: var(--color-accent); }
#hero-cta-button { flex-shrink: 0; }

/* --- Mobile Optimization --- */
@media (max-width: 992px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    .story-content { flex-direction: column; }
    .story-image { margin-bottom: 30px; max-width: 250px; }
    .video-grid { grid-template-columns: 1fr; gap: 30px; max-width: 500px; margin-left: auto; margin-right: auto;}
    .slider-prev { left: 10px; }
    .slider-next { right: 10px; }
}

@media (max-width: 768px) {
    .container { padding: 60px 20px; }
    .benefits-grid, .faq-grid { grid-template-columns: 1fr; }
    .cta-button { width: 100%; padding: 20px; font-size: 1rem; }
    .pain-points li { text-align: left; }
    .testimonial-card { padding: 30px 20px; }
    .testimonial-slider-container { min-height: 320px; }
    .slider-prev, .slider-next { display: none; }
    .hero-form-container { flex-direction: column; }
}

@media (max-width: 480px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .hero .subtitle { font-size: 1rem; }
    p { font-size: 0.95rem; }
    .container { padding: 50px 15px; }
    .hero { background-attachment: scroll; }
}