/* ========================================
   PRANAVA YOGA - Premium Wellness Platform
   ======================================== */

:root {
    --color-bhagwa: #FF9933;
    --color-sage: #4A6741;
    --color-ivory: #FFF8F0;
    --color-gold: #D4A017;
    --color-white: #FFFFFF;
    --color-dark: #1A1A1A;
    --color-light-gray: #F5F5F5;

    --font-display: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;

    --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.15);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   Global Styles
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: #333;
    background-color: var(--color-ivory);
    line-height: 1.6;
    overflow-x: hidden;
}

body.dark-mode {
    background-color: #1a1a1a;
    color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Typography
   ======================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    line-height: 1.2;
    margin-bottom: 5px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-sage);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
    opacity: 0.85;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-bhagwa), #FF8844);
    color: white;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--color-bhagwa);
    border: 2px solid var(--color-bhagwa);
}

.btn-secondary:hover {
    background: var(--color-bhagwa);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--color-sage);
    border: 2px solid var(--color-sage);
}

.btn-outline:hover {
    background: var(--color-sage);
    color: white;
}

.btn-link {
    color: var(--color-bhagwa);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-link:hover {
    color: var(--color-gold);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

body.dark-mode .navbar {
    background: #222;
    border-bottom: 1px solid #333;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-bhagwa), var(--color-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

body.dark-mode .nav-menu a {
    color: #f5f5f5;
}

.nav-menu a:hover {
    color: var(--color-bhagwa);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-bhagwa);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.theme-toggle,
.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    color: #333;
    transition: var(--transition);
}

body.dark-mode .theme-toggle,
body.dark-mode .mobile-menu-btn {
    color: #f5f5f5;
}

@keyframes testimonial-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.testimonial-marquee {
    padding: 8px 0 4px;
}

.testimonial-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: testimonial-scroll 24s linear infinite;
    will-change: transform;
}

.testimonial-marquee:hover .testimonial-track,
.testimonial-marquee:focus-within .testimonial-track {
    animation-play-state: paused;
}

.testimonial-marquee .testimonial-card {
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-marquee .testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(255, 153, 51, 0.16);
}

/* ========================================
   Hero Section
   ======================================== */

.hero-banner {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 60px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ========================================
   Glassmorphism Effect
   ======================================== */

.glassmorphism {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

body.dark-mode .glassmorphism {
    background: rgba(30, 30, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========================================
   Section Styles
   ======================================== */

section {
    padding: 20px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* ========================================
   Teachers Section
   ======================================== */

.featured-teachers {
    background: linear-gradient(135deg, var(--color-ivory), #FFF);
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.teacher-card {
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.teacher-image {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--color-bhagwa), var(--color-gold));
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.teacher-card:hover .teacher-image img {
    transform: scale(1.05);
}

.teacher-content h3 {
    color: var(--color-sage);
    margin-bottom: 10px;
}

.teacher-meta {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.experience {
    background: var(--color-bhagwa);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.teacher-bio {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* ========================================
   Video Classes Section
   ======================================== */

.video-classes {
    background: white;
}

body.dark-mode .video-classes {
    background: #1a1a1a;
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.class-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.class-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-bhagwa), var(--color-gold));
}

.class-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.class-card:hover .class-thumbnail img {
    transform: scale(1.1);
}

.class-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.class-card:hover .class-overlay {
    opacity: 1;
}

.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-bhagwa);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn:hover {
    transform: scale(1.2);
}

.badge {
    position: absolute;
    background: var(--color-sage);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-level {
    top: 12px;
    left: 12px;
}

.badge-duration {
    bottom: 12px;
    right: 12px;
}

.class-content {
    padding: 20px;
}

.class-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-sage);
}

.class-content p {
    font-size: 0.95rem;
    margin-bottom: 15px;
}

/* ========================================
   Meditation Section
   ======================================== */

.meditation-programs {
    background: linear-gradient(135deg, var(--color-sage) 0%, #5a7a51 100%);
    color: white;
}

.meditation-programs .section-header h2,
.meditation-programs .section-header p {
    color: white;
}

.meditation-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.meditation-card {
    padding: 40px 30px;
    text-align: center;
    border-radius: 12px;
    transition: var(--transition);
    cursor: pointer;
}

.meditation-card:hover {
    transform: translateY(-10px);
}

.meditation-card i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--color-gold);
}

.meditation-card h3 {
    color: white;
    margin-bottom: 10px;
}

.meditation-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   Wellness Benefits
   ======================================== */

.wellness-benefits {
    background: white;
}

body.dark-mode .wellness-benefits {
    background: #1a1a1a;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    padding: 40px;
    text-align: center;
    border-radius: 12px;
    background: var(--color-ivory);
    transition: var(--transition);
}

body.dark-mode .benefit-card {
    background: #222;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--color-bhagwa), var(--color-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.benefit-card h3 {
    color: var(--color-sage);
    margin-bottom: 15px;
}

/* ========================================
   Testimonials Section
   ======================================== */

.testimonials {
    background: linear-gradient(135deg, var(--color-ivory), #FFF);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.stars {
    color: var(--color-gold);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

body.dark-mode .testimonial-text {
    color: #ccc;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--color-sage);
}

.testimonial-author span {
    display: block;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ========================================
   Membership Plans Section
   ======================================== */

.membership-plans {
    background: white;
}

body.dark-mode .membership-plans {
    background: #1a1a1a;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.plan-card {
    padding: 40px;
    border-radius: 12px;
    background: var(--color-ivory);
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
}

body.dark-mode .plan-card {
    background: #222;
}

.plan-card:hover {
    transform: translateY(-10px);
}

.plan-card.featured {
    background: linear-gradient(135deg, var(--color-bhagwa), #FF8844);
    color: white;
    transform: scale(1.05);
}

.plan-card.featured .plan-price,
.plan-card.featured h3 {
    color: white;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-bhagwa);
    margin: 15px 0;
}

.plan-price span {
    font-size: 1rem;
    opacity: 0.7;
}

.plan-description {
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

body.dark-mode .plan-features li {
    border-color: rgba(255, 255, 255, 0.1);
}

.plan-features i {
    color: var(--color-sage);
}

.plan-card.featured .plan-features i {
    color: var(--color-gold);
}

.badge-featured {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--color-gold);
    color: var(--color-sage);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

/* ========================================
   Blog Section
   ======================================== */

.blog-section {
    background: linear-gradient(135deg, var(--color-ivory), #FFF);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.blog-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.blog-thumbnail {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-bhagwa), var(--color-gold));
}

.blog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-thumbnail img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--color-sage);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    color: var(--color-sage);
    margin-bottom: 12px;
}

.blog-content p {
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.blog-meta span {
    color: #999;
}

/* ========================================
   Newsletter Section
   ======================================== */

.newsletter {
    background: linear-gradient(135deg, var(--color-sage) 0%, #5a7a51 100%);
    color: white;
}

.newsletter-container {
    max-width: 600px;
}

.newsletter-content {
    text-align: center;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: 15px;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.form-group {
    display: flex;
    gap: 10px;
    width: 100%;
}

.form-group input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-group button {
    padding: 14px 30px;
}

.success-message {
    color: #4caf50;
    font-weight: 600;
}

.error-message {
    color: #f44336;
    font-weight: 600;
}

/* ========================================
   App Promotion Section
   ======================================== */

.app-promotion {
    background: white;
}

body.dark-mode .app-promotion {
    background: #1a1a1a;
}

.app-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.app-image {
    text-align: center;
}

.app-image img {
    max-width: 100%;
    height: auto;
}

.app-text h2 {
    margin-bottom: 20px;
}

.app-text p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.app-buttons {
    display: flex;
    gap: 20px;
}

.app-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--color-dark);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
}

body.dark-mode .app-link {
    background: white;
    color: var(--color-dark);
}

.app-link:hover {
    transform: translateY(-3px);
}

/* ========================================
   Footer
   ======================================== */

footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

body.dark-mode footer {
    background: #0d0d0d;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--color-gold);
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: var(--color-bhagwa);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 153, 51, 0.1);
    border-radius: 50%;
    color: var(--color-bhagwa);
    transition: var(--transition);
    margin-bottom: 0;
}

.social-links a:hover {
    background: var(--color-bhagwa);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #888;
}

/* ========================================
   Animations
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   Utility Classes
   ======================================== */

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--color-gold);
}

.text-bhagwa {
    color: var(--color-bhagwa);
}

.text-sage {
    color: var(--color-sage);
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.py-20 {
    padding: 20px 0;
}