/* EKA Public Homepage - Lilac Theme */
:root {
    --primary-color: #9b7bb7;
    --primary-dark: #7b5ea5;
    --secondary-color: #c8a8e9;
    --accent-color: #e6d5f5;
    --light-bg: #faf7ff;
    --card-bg: #ffffff;
    --text-primary: #2d2640;
    --text-secondary: #6b5b7d;
    --text-muted: #9b8aad;
    --border-color: #e8dff5;
    --shadow-sm: 0 2px 8px rgba(123, 94, 165, 0.08);
    --shadow-md: 0 4px 16px rgba(123, 94, 165, 0.12);
    --shadow-lg: 0 8px 32px rgba(123, 94, 165, 0.16);
    --border-radius: 16px;
    --border-radius-sm: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    background: linear-gradient(135deg, #f8f4fc 0%, #f0e8f8 100%);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
    padding: 16px 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-size: 28px;
    font-weight: 700;
    color: white !important;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    transition: var(--transition);
}

.nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    font-weight: 600;
    padding: 8px 24px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
}

/* Enhanced Hero Section */
.hero-yoga {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.hero-cta {
    margin-top: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.hero-yoga::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero-yoga::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.hero-yoga .container {
    position: relative;
    z-index: 1;
}

.hero-yoga h1 {
    font-size: 56px;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-yoga .lead {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
}

.btn-warning {
    background: linear-gradient(135deg, #ffd700, #ffb700);
    border: none;
    color: var(--primary-dark);
    font-weight: 700;
    padding: 16px 48px;
    border-radius: var(--border-radius-sm);
    font-size: 18px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.1);
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 48px;
    position: relative;
    display: inline-block;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.bg-light {
    background: var(--light-bg) !important;
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Testimonials */
.testimonial {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial p:first-child {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial p:last-child {
    font-weight: 600;
    opacity: 0.9;
    margin: 0;
}

/* About Section */
#about img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

#about p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* CTA Sections */
.section .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    color: white;
    font-weight: 600;
    padding: 14px 40px;
    border-radius: var(--border-radius-sm);
    font-size: 16px;
    transition: var(--transition);
}

.section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    filter: brightness(1.1);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 40px 0 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    margin: 0 12px;
    font-size: 16px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 16px;
    font-size: 14px;
    opacity: 0.8;
}

/* Mobile Tabbar */
.mobile-tabbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 16px rgba(123, 94, 165, 0.12);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 8px 0;
    z-index: 1000;
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.tab-item:hover {
    color: var(--primary-color);
}

.tab-label {
    font-size: 12px;
    font-weight: 500;
    margin-top: 4px;
}

/* Offcanvas */
.offcanvas-yoga {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.offcanvas-yoga .nav-link {
    padding: 12px 20px !important;
    border-radius: var(--border-radius-sm);
    margin-bottom: 4px;
}

.offcanvas-yoga .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Enhanced Responsive Styles */
@media (max-width: 768px) {
    .hero-yoga {
        padding: 60px 0;
        min-height: 70vh;
        display: flex;
        align-items: center;
    }

    .hero-yoga h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-yoga .lead {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }

    .section {
        padding: 40px 0;
    }

    .section h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .feature-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .testimonial {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .testimonial p:first-child {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .testimonial p:last-child {
        font-size: 0.85rem;
    }

    .btn-warning {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        display: inline-block;
        margin: 0.5rem 0;
        width: auto;
        min-width: 140px;
    }

    .btn-primary {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        display: inline-block;
        margin: 0.25rem;
        width: auto;
        min-width: 120px;
    }

    .btn-outline-yoga {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        display: inline-block;
        margin: 0.25rem;
        width: auto;
        min-width: 100px;
    }

    /* Fix button container layouts */
    .text-center {
        text-align: center !important;
    }

    .text-center .btn {
        margin: 0.25rem 0.5rem 0.25rem 0;
    }

    .text-center .btn:last-child {
        margin-right: 0;
    }

    /* Fix image scaling */
    #about img {
        margin-top: 1.5rem;
        max-width: 100%;
        height: auto;
    }

    /* Fix text overflow */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Ensure proper spacing between sections */
    .section + .section {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .hero-yoga {
        padding: 40px 0;
        min-height: 60vh;
    }

    .hero-yoga h1 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }

    .hero-yoga .lead {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }

    .section {
        padding: 30px 0;
    }

    .section h2 {
        font-size: 1.4rem;
        margin-bottom: 1.25rem;
        line-height: 1.3;
    }

    .feature-card {
        padding: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .feature-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .feature-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .testimonial {
        padding: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .testimonial p:first-child {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .testimonial p:last-child {
        font-size: 0.8rem;
    }

    .btn-warning {
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
        width: 100%;
        max-width: 200px;
        margin: 0.5rem auto;
        display: block;
    }

    .btn-primary,
    .btn-outline-yoga {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        width: 100%;
        max-width: 180px;
        margin: 0.25rem auto;
        display: block;
        text-align: center;
    }

    /* Stack buttons vertically on very small screens */
    .text-center .btn {
        margin: 0.25rem auto;
        display: block;
        width: 100%;
        max-width: 200px;
    }

    /* Enhanced mobile hero styles */
    .hero-yoga {
        padding: 40px 0;
        min-height: 60vh;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }

    .hero-cta {
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
        width: 100%;
        max-width: 200px;
        margin: 0.5rem auto;
        display: block;
    }

    /* Ensure proper container padding */
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    /* Fix navbar mobile spacing */
    .navbar {
        padding: 12px 0;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    /* Improve text readability */
    p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Fix content overflow */
    .row {
        margin-left: -0.75rem;
        margin-right: -0.75rem;
    }

    .col-md-6,
    .col-md-4 {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    /* Ensure images are responsive */
    .img-fluid {
        max-width: 100%;
        height: auto;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.testimonial {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}
