/* DRVYN Fitness - Brand.css
 * Unified styling for all pages
 * Black background, teal text, minimalist design
 */

:root {
    --teal: #008080;
    --teal-light: #00a0a0;
    --teal-dark: #005f5f;
    --black: #000000;
    --white: #ffffff;
    --spacing-unit: 1rem;
    --max-width: 800px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--black);
    color: var(--teal);
    line-height: 1.7;
    min-height: 100vh;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--black);
    border-bottom: 1px solid rgba(0, 128, 128, 0.2);
    z-index: 1000;
}

nav.scrolled {
    background: rgba(0, 0, 0, 0.95);
    border-bottom-color: rgba(0, 128, 128, 0.3);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--teal);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--teal);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--teal-light);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--teal);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile navigation */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--black);
        border-bottom: 1px solid rgba(0, 128, 128, 0.2);
        padding: 1rem;
        gap: 1rem;
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* Logo Watermark */
.logo-watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    pointer-events: none;
    z-index: -1;
    opacity: 0.4;
    background: var(--black);
    border-radius: 50%;
    overflow: hidden;
}

.logo-watermark video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--black);
}

@keyframes watermarkPulse {
    0%, 100% {
        opacity: 0.35;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.45;
        transform: translate(-50%, -50%) scale(1.02);
    }
}

.logo-watermark {
    animation: watermarkPulse 4s ease-in-out infinite;
}

/* Layout */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 6rem 0;
}

/* Main content offset for fixed nav */
main {
    padding-top: 80px;
}

/* Typography */
h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    text-align: center;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--teal-light);
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--teal);
    color: var(--black);
    padding: 1rem 2rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    opacity: 0.8;
}

.btn-outline {
    background: transparent;
    color: var(--teal);
    border: 2px solid var(--teal);
}

.btn-outline:hover {
    background: var(--teal);
    color: var(--black);
}

/* Form elements */
input, textarea, select {
    width: 100%;
    background: rgba(0, 128, 128, 0.1);
    border: 1px solid var(--teal);
    color: var(--teal);
    padding: 1rem;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-family: inherit;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--teal-light);
    background: rgba(0, 128, 128, 0.15);
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Form */
.form-group {
    margin-bottom: 1.5rem;
}

form {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* FAQ */
.faq-item {
    border: 1px solid rgba(0, 128, 128, 0.3);
    margin-bottom: 1rem;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.faq-question:hover {
    background: rgba(0, 128, 128, 0.05);
}

.faq-question h3 {
    margin-bottom: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

/* Testimonials */
.testimonial {
    margin-bottom: 3rem;
}

.testimonial blockquote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial cite {
    font-style: normal;
    font-weight: 600;
    color: var(--teal-light);
}

.testimonial-date {
    font-size: 0.875rem;
    color: var(--teal-dark);
}

/* Programs */
.program {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(0, 128, 128, 0.2);
}

.program:last-child {
    border-bottom: none;
}

.program h3 {
    color: var(--teal-light);
}

/* Blog */
.blog-list {
    list-style: none;
}

.blog-list li {
    margin-bottom: 1.5rem;
}

.blog-list a {
    color: var(--teal);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
}

.blog-list a:hover {
    color: var(--teal-light);
    text-decoration: underline;
}

.pagination {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}

.pagination a {
    color: var(--teal);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid var(--teal);
}

.pagination a:hover,
.pagination .active {
    background: var(--teal);
    color: var(--black);
}

/* Dashboard */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.dashboard-card {
    border: 1px solid rgba(0, 128, 128, 0.3);
    padding: 1.5rem;
}

.dashboard-card h3 {
    color: var(--teal-light);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    border-top: 1px solid rgba(0, 128, 128, 0.2);
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.footer-links a {
    color: var(--teal);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--teal-light);
}

.copyright {
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--teal-dark);
}

/* Mobile adjustments */
@media (max-width: 600px) {
    :root {
        --max-width: 100%;
    }

    .logo-watermark {
        width: 300px;
        height: 300px;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.875rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
