/* Using your existing CSS variables */
:root {
    --primary-color: #4f46e5;
    --secondary-color: #818cf8;
    --success-color: #22c55e;
    --error-color: #ef4444;
    --background-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    box-shadow: var(--box-shadow);
    z-index: 1000;
    height: 80px;
}

.nav-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    margin-left: 1rem;
}

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

.nav-links {
    display: flex;
    gap: 1rem;
    margin-left: auto;
    margin-right: 1rem;
    list-style: none;
    height: 100%;
}

.nav-links li {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links a {
    display: flex;
    align-items: center;
    height: 100%;
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all var(--transition-speed);
}

.nav-links a:hover {
    color: var(--primary-color);
    background: rgba(79, 70, 229, 0.1);
}

.nav-links a.active {
    color: var(--primary-color);
    background: rgba(79, 70, 229, 0.1);
}

/* Hero Section Styles */
.hero {
    background: #6366f1;
    min-height: 100vh;
    padding-top: 120px;
    position: relative;
}

.hero-content {
    text-align: center;
    padding: 2rem;
    margin-bottom: 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    color: white;
    margin-bottom: 1.5rem;
    white-space: nowrap; /* Keep text in one line */
}

.hero-content p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Add hero images */
.hero-images {
    display: none;
}

.floating-image {
    position: absolute;
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
}

.floating-image:nth-child(1) {
    top: 20%;
    left: 5%;
    animation: float 8s ease-in-out infinite;
}

.floating-image:nth-child(2) {
    top: 40%;
    right: 5%;
    animation: float 8s ease-in-out infinite 1s;
}

.floating-image:nth-child(3) {
    bottom: 20%;
    left: 15%;
    animation: float 8s ease-in-out infinite 2s;
}

.cta-button {
    font-size: 1.25rem;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.4s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: #f8fafc;
}

.social-cta-button {
    display: inline-block;
    font-size: 1.25rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    margin-top: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: #f8fafc;
}

/* Floating animation for background pattern */
@keyframes floatBackground {
    from {
        transform: translate(0, 0);
    }
    to {
        transform: translate(-50%, -50%);
    }
}

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

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem;
    height: auto;
    min-height: calc(100vh - 500px);
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    color: white;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background-color 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.feature-card img {
    width: 100%;
    height: 400px;
    margin-bottom: 2rem;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
}

.feature-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.feature-card p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-top: auto;
}

/* Content Sections */
.content-section {
    padding: 8rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.content-section:hover {
    transform: scale(1.01);
}

.content-section h2 {
    font-size: 3rem;
    color: #1f2937;
    margin-bottom: 3rem;
    text-align: center;
}

/* Footer */
footer {
    background-color: #1f2937;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.footer-section {
    text-align: center;
}

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

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

/* Team Grid Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 3rem 0;
    max-width: 1600px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    transition: transform var(--transition-speed);
    padding: 1.5rem;
    margin: 0.5rem;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: var(--box-shadow);
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.team-member h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-member p {
    color: #6b7280;
}

/* Gallery Styles */
.gallery-section {
    background: #f3f4f6;
    padding: 4rem 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed);
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .hero {
        padding-top: 60px;
    }

    .hero-content {
        padding: 1rem;
    }

    .floating-image {
        width: 200px;
        height: 150px;
    }

    .cta-button {
        padding: 0.75rem 2rem;
        font-size: 1.1rem;
    }

    .content-section {
        padding: 3rem 1rem;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .hero-content {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-images {
        display: none; /* Hide floating images on mobile */
    }

    .hero-content {
        padding: 1rem;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
    }
}

/* Calendar Styles */
.calendar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.calendar-container:hover {
    transform: scale(1.02);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
}

.form-group input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
}

.session-details {
    margin: 1rem 0;
    padding: 1rem;
    background: #f3f4f6;
    border-radius: 6px;
}

.submit-btn {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: var(--secondary-color);
}

/* Nav Button */
.nav-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition-speed);
}

.nav-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Auth Modal Styles */
#auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

#auth-modal.show {
    display: flex;
}

.close-auth {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    transition: color var(--transition-speed);
}

.close-auth:hover {
    color: var(--primary-color);
}

/* Auth Required State */
body.auth-required {
    overflow: hidden;
}

body.auth-required #auth-modal {
    display: flex;
}

body.auth-required #auth-modal .close-auth {
    display: none;
}

/* Error Message Styles */
.error-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    text-align: center;
}

/* Form Switching Animation */
.form-container {
    transition: opacity 0.3s ease;
}

.form-container.hidden {
    display: none;
    opacity: 0;
}

/* Auth Modal Styles */
.auth-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    position: relative;
    box-shadow: var(--box-shadow);
}

.form-container {
    position: relative;
}

.input-group {
    margin-bottom: 1rem;
}

.input-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-size: 1rem;
}

.password-group {
    position: relative;
}

.toggle-pw {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
}

.main-btn {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.main-btn:hover {
    background: var(--secondary-color);
}

.social-logins {
    margin-top: 1.5rem;
    text-align: center;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.social-btn img {
    width: 24px;
    height: 24px;
}

.social-btn:hover {
    background: #f3f4f6;
}

.switch-form {
    margin-top: 1.5rem;
    text-align: center;
}

.switch-form a {
    color: var(--primary-color);
    text-decoration: none;
}

.switch-form a:hover {
    text-decoration: underline;
}

.social-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-container {
    width: 100%;
    max-width: 1000px;
    position: relative;
    padding-bottom: 45%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
}

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

.social-links-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.instagram-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.instagram-link i {
    font-size: 1.5rem;
} 