/* Reusable Component Styles */

/* ===== BUTTONS ===== */

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-accent);
    font-size: var(--text-base);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cta-gradient-start) 0%, var(--cta-gradient-end) 100%);
    color: var(--white);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Smaller button size */
.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: var(--text-sm);
}

/* ===== CARDS ===== */

.card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-base);
}

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

.card-icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-sm);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-ocean) 0%, var(--accent-sage) 100%);
}

.card-title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--text-charcoal);
}

.card-description {
    font-size: var(--text-sm);
    color: var(--text-slate);
    line-height: var(--lh-normal);
}

/* ===== NAVIGATION ===== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--medium-gray);
    z-index: var(--z-nav);
    transition: all var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-medium);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#site-name {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--primary-ocean);
    line-height: 1.1;
}

.logo-hindi {
    font-size: var(--text-sm);
    color: var(--text-slate);
    display: block;
    line-height: 1;
}

.nav-links {
    display: flex;
    gap: var(--space-md);
    list-style: none;
    padding: 0;
    margin: 0;
    margin-left: auto;
    margin-right: var(--space-lg);
}

.nav-link {
    font-family: var(--font-accent);
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--text-charcoal);
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    transition: all var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-ocean);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--primary-ocean);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-ocean);
    font-weight: 600;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.header-cta {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-charcoal);
    transition: all var(--transition-fast);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: calc(100vh - var(--header-height));
        background: var(--white);
        flex-direction: column;
        padding: var(--space-md);
        box-shadow: var(--shadow-strong);
        transition: right var(--transition-base);
        margin: 0;
    }

    .nav-link {
        padding: var(--space-sm) 0;
    }

    .nav-link::after {
        display: none;
    }

    .nav-links.active {
        right: 0;
    }

    .header-cta {
        display: inline-block;
        padding: 0.5rem 1rem;
        font-size: var(--text-base);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* ===== VIDEO CONTAINER ===== */

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}