/* ===========================
   Babsha Ghor Landing Page Styles
   =========================== */

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Dark Mode Styles (Default) */
[data-theme="dark"] {
    --bg-primary: #0a0a0a;
    --bg-secondary: #000000;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-hover: rgba(255, 255, 255, 0.05);
    --nav-bg: rgba(10, 10, 10, 0.8);
    --footer-bg: rgba(0, 0, 0, 0.5);
}

/* Light Mode Styles */
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #0a0a0a;
    --text-secondary: #6b7280;
    --border-color: rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(0, 0, 0, 0.02);
    --glass-hover: rgba(0, 0, 0, 0.04);
    --nav-bg: rgba(255, 255, 255, 0.8);
    --footer-bg: rgba(248, 249, 250, 0.9);
}

[data-theme="dark"] body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

[data-theme="light"] body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

/* Glow Effects */
.glow-effect {
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.3),
                 0 0 40px rgba(57, 255, 20, 0.2),
                 0 0 60px rgba(57, 255, 20, 0.1);
}

.btn-glow {
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.4),
                0 0 40px rgba(57, 255, 20, 0.2);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.6),
                0 0 60px rgba(57, 255, 20, 0.3);
}

/* Glassmorphism Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: var(--glass-hover);
    border: 1px solid rgba(57, 255, 20, 0.3);
}

/* Hero Section */
.hero-glow {
    background: radial-gradient(circle at center, rgba(0, 104, 55, 0.15) 0%, transparent 70%);
}

[data-theme="light"] .hero-glow {
    background: radial-gradient(circle at center, rgba(0, 104, 55, 0.08) 0%, transparent 70%);
}

.gradient-text {
    background: linear-gradient(135deg, #006837 0%, #39FF14 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Theme Toggle Button Styles */
.theme-toggle {
    position: relative;
    width: 60px;
    height: 30px;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    border-color: rgba(57, 255, 20, 0.5);
}

.theme-toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: #39FF14;
    border-radius: 50%;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle-slider svg {
    width: 14px;
    height: 14px;
    color: #000;
}

[data-theme="light"] .theme-toggle-slider {
    transform: translateX(30px);
}

/* Text color utilities for light mode */
[data-theme="light"] .text-white {
    color: var(--text-primary) !important;
}

[data-theme="light"] .text-gray-300,
[data-theme="light"] .text-gray-400 {
    color: var(--text-secondary) !important;
}

[data-theme="light"] .text-gray-500 {
    color: #9ca3af !important;
}

/* Navigation adjustments */
[data-theme="light"] nav {
    background: var(--nav-bg) !important;
    border-bottom: 1px solid var(--border-color);
}

/* Footer adjustments */
[data-theme="light"] footer {
    background: var(--footer-bg) !important;
    border-top: 1px solid var(--border-color);
}

/* Border color adjustments */
[data-theme="light"] .border-white\/10,
[data-theme="light"] .border-t {
    border-color: var(--border-color) !important;
}

/* Background gradient adjustments for light mode */
[data-theme="light"] .bg-deep-black {
    background-color: var(--bg-primary) !important;
}

[data-theme="light"] .bg-black\/50 {
    background-color: var(--footer-bg) !important;
}

/* Outline button adjustments */
[data-theme="light"] .border-white\/30 {
    border-color: rgba(0, 0, 0, 0.2) !important;
}

/* Language Switcher Styles */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 4px;
    transition: all 0.3s ease;
}

.lang-switcher:hover {
    border-color: rgba(57, 255, 20, 0.5);
}

.lang-btn {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    color: var(--text-secondary);
}

.lang-btn.active {
    background: #39FF14;
    color: #000;
}

.lang-btn:hover:not(.active) {
    color: #39FF14;
}

/* Bangla font support */
[data-lang="bn"] body {
    font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
}

/* Contact Form Modal */
#contact-modal {
    animation: fadeIn 0.3s ease;
}

#contact-modal.hidden {
    display: none;
}

#contact-modal:not(.hidden) {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Form Inputs - Both Modal and Page Forms */
#contact-form input,
#contact-form select,
#contact-form textarea,
#contact-form-page input,
#contact-form-page select,
#contact-form-page textarea {
    color: var(--text-primary);
}

#contact-form input::placeholder,
#contact-form textarea::placeholder,
#contact-form-page input::placeholder,
#contact-form-page textarea::placeholder {
    color: var(--text-secondary);
}

#contact-form select option,
#contact-form-page select option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

[data-theme="light"] #contact-form input,
[data-theme="light"] #contact-form select,
[data-theme="light"] #contact-form textarea,
[data-theme="light"] #contact-form-page input,
[data-theme="light"] #contact-form-page select,
[data-theme="light"] #contact-form-page textarea {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] #contact-form input:focus,
[data-theme="light"] #contact-form select:focus,
[data-theme="light"] #contact-form textarea:focus,
[data-theme="light"] #contact-form-page input:focus,
[data-theme="light"] #contact-form-page select:focus,
[data-theme="light"] #contact-form-page textarea:focus {
    background: rgba(0, 0, 0, 0.08);
}

/* Form Labels */
#contact-form label,
#contact-form-page label {
    color: var(--text-primary);
}

/* Modal Animation */
#contact-modal > div {
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
