/* MTL Bible College - Version 2.0 */
/* Updated design with purple navigation and larger fonts */

:root {
    /* Brand Colors */
    --color-primary: #7B2CBF;
    --color-primary-light: #9B4DDF;
    --color-primary-dark: #5A1A8F;
    --color-accent: #40E0D0;
    --color-pastel-green: #97ffc4;
    --color-pastel-purple: #B794F6;
    
    /* Dark backgrounds */
    --color-dark: #1a0f2e;
    --color-dark-alt: #2a1f3d;
    
    /* Light backgrounds */
    --color-bg: #fff;
    --color-bg-alt: #FAFAFA;
    --color-bg-light: #F5F5F5;
    
    /* Text */
    --color-text: #333;
    --color-text-light: #666;
    --color-text-muted: #999;
    --color-border: #e5e5e5;
    
    /* Typography - Increased by 20% */
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-base: 18px; /* was 15px */
    --font-size-large: 20px; /* was 16px */
    
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   NAVIGATION - Purple Background
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%) !important;
    box-shadow: 0 2px 20px rgba(123, 44, 191, 0.3);
}

.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px; /* Increased from 72px */
}

.logo img {
    height: 75px; /* Increased even more */
    width: auto;
}

.nav-center {
    display: flex;
    gap: 24px;
}

.nav-center a {
    font-size: 16px; /* Increased */
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.02em;
    position: relative;
    padding-bottom: 4px;
    white-space: nowrap;
}

.nav-center a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--color-pastel-green);
    transition: width var(--transition);
}

.nav-center a:hover {
    color: #fff;
}

.nav-center a:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.lang-switch a {
    color: rgba(255, 255, 255, 0.7);
}

.lang-switch a:hover,
.lang-switch a.active {
    color: #fff;
}

.lang-switch .divider {
    color: rgba(255, 255, 255, 0.3);
}

/* Inverted Registration Button */
.btn-register {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
    background: #fff;
    border-radius: 8px;
    transition: var(--transition);
}

.btn-register:hover {
    background: var(--color-pastel-purple);
    color: #fff;
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-primary);
    z-index: 999;
    padding: 32px 24px;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-menu-content a {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
}

.mobile-menu-content .btn-register {
    text-align: center;
    margin-top: 16px;
    color: var(--color-primary) !important;
    background: #fff !important;
}

.mobile-menu-content .lang-switch {
    justify-content: center;
    margin-top: 24px;
}

/* ============================================
   HERO - Abstract Waves Background
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 120px; /* Reduced top padding */
    padding-bottom: 200px;
    /* Градиент: сверху очень светло, снизу чуть темнее в стиле */
    background: linear-gradient(to bottom, #ffffff 0%, #fefeff 30%, #faf8fc 70%, #f5f0ff 100%);
    overflow: hidden;
}

/* Animated geometric shapes */
.hero-shape {
    position: absolute;
    opacity: 0.08;
    pointer-events: none;
    z-index: 1;
}

.hero-shape-1 {
    width: 80px;
    height: 80px;
    background: var(--color-primary);
    border-radius: 50%;
    top: 15%;
    left: 10%;
    animation: float-shape-1 15s ease-in-out infinite;
}

.hero-shape-2 {
    width: 60px;
    height: 60px;
    background: var(--color-accent);
    border-radius: 12px;
    transform: rotate(45deg);
    top: 25%;
    right: 15%;
    animation: float-shape-2 18s ease-in-out infinite;
}

.hero-shape-3 {
    width: 100px;
    height: 100px;
    background: var(--color-pastel-purple);
    border-radius: 50%;
    bottom: 30%;
    left: 8%;
    animation: float-shape-3 20s ease-in-out infinite;
}

.hero-shape-4 {
    width: 50px;
    height: 50px;
    background: var(--color-primary-light);
    border-radius: 8px;
    bottom: 20%;
    right: 12%;
    animation: float-shape-4 16s ease-in-out infinite;
}

.hero-shape-5 {
    width: 40px;
    height: 40px;
    background: var(--color-pastel-green);
    border-radius: 50%;
    top: 50%;
    left: 5%;
    animation: float-shape-5 14s ease-in-out infinite;
}

.hero-shape-6 {
    width: 70px;
    height: 70px;
    background: var(--color-accent);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    top: 35%;
    right: 8%;
    animation: float-shape-6 22s ease-in-out infinite;
}

@keyframes float-shape-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 40px) scale(0.9); }
}

@keyframes float-shape-2 {
    0%, 100% { transform: translate(0, 0) rotate(45deg) scale(1); }
    50% { transform: translate(-50px, 50px) rotate(90deg) scale(1.2); }
}

@keyframes float-shape-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, -40px) scale(1.15); }
    66% { transform: translate(-40px, 60px) scale(0.85); }
}

@keyframes float-shape-4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, -50px) rotate(180deg); }
}

@keyframes float-shape-5 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, 30px) scale(1.3); }
    75% { transform: translate(-30px, -30px) scale(0.7); }
}

@keyframes float-shape-6 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-60px, 40px) rotate(180deg); }
}

/* Smooth wave at bottom */
.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 150px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,64 C240,96 480,96 720,64 C960,32 1200,32 1440,64 L1440,120 L0,120 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
    background-size: 100% 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-logo img {
    width: 560px; /* Doubled - much larger */
    height: auto;
    margin-bottom: 48px;
    filter: drop-shadow(0 4px 20px rgba(123, 44, 191, 0.2));
}

/* Removed duplicate text - it's in the logo */

.hero-desc {
    font-size: 22px; /* Increased from 18px */
    color: var(--color-text-light);
    margin-bottom: 40px;
    line-height: 1.7;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 36px; /* Larger */
    font-size: 17px; /* Larger */
    font-weight: 600;
    color: #fff;
    background: var(--color-primary);
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(123, 44, 191, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.scroll-indicator span {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--color-text-muted) 0%, transparent 100%);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ============================================
   ANNOUNCEMENT - Dark with Tint
   ============================================ */
.announcement {
    padding: 100px 0; /* Increased */
    background: var(--color-dark);
    color: #fff;
}

.announcement-card {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.announcement-label {
    display: inline-block;
    padding: 8px 20px;
    font-size: 14px; /* Increased */
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--color-accent);
    color: var(--color-dark);
    border-radius: 6px;
    margin-bottom: 32px;
}

.announcement h2 {
    font-size: 44px; /* Increased from 36px */
    font-weight: 600;
    margin-bottom: 24px;
}

.announcement-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    font-size: 17px; /* Increased */
}

.announcement-details span {
    color: rgba(255, 255, 255, 0.7);
}

.announcement-desc {
    font-size: 19px; /* New - larger description */
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px; /* Larger */
    font-size: 16px; /* Larger */
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    transition: var(--transition);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   SECTIONS - Increased Fonts
   ============================================ */
.section {
    padding: 140px 0; /* Increased from 120px */
}

.section-alt {
    background: var(--color-bg-alt);
}

.section-grid {
    display: grid;
    grid-template-columns: 320px 1fr; /* Wider sidebar */
    gap: 100px; /* Increased */
}

.section-header {
    position: sticky;
    top: 140px;
    align-self: start;
}

.section-number {
    display: block;
    font-size: 15px; /* Increased */
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 38px; /* Increased from 32px */
    font-weight: 600;
    line-height: 1.3;
}

.section-content .lead {
    font-size: 24px; /* Increased from 20px */
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.section-content p {
    font-size: 19px; /* Increased from base */
    color: var(--color-text-light);
    margin-bottom: 24px;
    line-height: 1.7;
}

.section-content h3 {
    font-size: 26px;
    font-weight: 600;
    margin: 48px 0 20px;
}

.section-content h4 {
    font-size: 21px;
    font-weight: 600;
    margin: 32px 0 16px;
}

.section-content ul {
    list-style: none;
    margin: 24px 0;
}

.section-content ul li {
    font-size: 18px;
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
}

.section-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 24px;
}

/* Stats */
.stats-row {
    display: flex;
    gap: 60px;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid var(--color-border);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number {
    font-size: 44px; /* Increased from 36px */
    font-weight: 700;
    color: var(--color-primary);
}

.stat-label {
    font-size: 16px; /* Increased */
    color: var(--color-text-muted);
}

/* ============================================
   PROGRAMS
   ============================================ */
.program-cards {
    display: grid;
    gap: 32px;
}

.program-card {
    padding: 40px; /* Increased */
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    transition: var(--transition);
}

.program-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 30px rgba(123, 44, 191, 0.1);
}

.program-card.featured {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, rgba(123, 44, 191, 0.03) 0%, #fff 100%);
}

.program-badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(123, 44, 191, 0.1);
    border-radius: 6px;
    margin-bottom: 20px;
}

.program-badge.soon {
    color: var(--color-text-muted);
    background: var(--color-bg-alt);
}

.program-card h3 {
    font-size: 26px; /* Increased */
    font-weight: 600;
    margin-bottom: 16px;
}

.program-card p {
    font-size: 18px; /* Increased */
    color: var(--color-text-light);
    margin-bottom: 20px;
}

/* ============================================
   SCHEDULE
   ============================================ */
.schedule-list {
    display: flex;
    flex-direction: column;
}

.schedule-item {
    display: grid;
    grid-template-columns: 70px 1fr auto auto;
    align-items: center;
    gap: 32px;
    padding: 32px 0;
    border-bottom: 1px solid var(--color-border);
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-num {
    font-size: 28px; /* Increased */
    font-weight: 700;
    color: var(--color-text-muted);
}

.schedule-item.current .schedule-num {
    color: var(--color-primary);
}

.schedule-info h4 {
    font-size: 20px; /* Increased */
    font-weight: 600;
    margin-bottom: 6px;
}

.schedule-info span {
    font-size: 16px; /* Increased */
    color: var(--color-text-muted);
}

.schedule-info p {
    font-size: 16px;
    color: var(--color-text-light);
    margin-top: 12px;
    line-height: 1.6;
}

.schedule-date {
    font-size: 16px;
    color: var(--color-text-light);
    font-weight: 500;
}

.schedule-status {
    font-size: 15px;
    color: var(--color-text-muted);
}

.schedule-item.past {
    opacity: 0.5;
}

.schedule-item.current {
    background: rgba(123, 44, 191, 0.03);
    margin: 0 -32px;
    padding: 32px;
    border-radius: 12px;
    border-bottom: none;
}

.schedule-btn {
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: var(--color-primary);
    border-radius: 6px;
}

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

.schedule-btn.archive {
    background: var(--color-pastel-green);
    color: var(--color-dark);
}

.schedule-btn.archive:hover {
    background: #7be8a8;
}

.schedule-note {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
    font-size: 16px;
    color: var(--color-text-muted);
}

/* ============================================
   CTA
   ============================================ */
.cta {
    padding: 120px 0;
    background: var(--color-primary);
    color: #fff;
    text-align: center;
}

.cta h2 {
    font-size: 48px; /* Increased */
    font-weight: 600;
    margin-bottom: 20px;
}

.cta p {
    font-size: 21px; /* Increased */
    opacity: 0.9;
    margin-bottom: 16px;
    line-height: 1.7;
}

.cta .cta-desc {
    max-width: 700px;
    margin: 0 auto 40px;
}

.cta .btn-primary {
    background: #fff;
    color: var(--color-primary);
}

.cta .btn-primary:hover {
    background: var(--color-pastel-purple);
    color: #fff;
}

.cta-details {
    margin-top: 32px;
    font-size: 17px;
    opacity: 0.8;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery Carousel */
.gallery-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-carousel {
    overflow: hidden;
    border-radius: 16px;
}

.gallery-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.gallery-carousel-item {
    min-width: calc(33.333% - 13.333px);
    margin-right: 20px;
    border-radius: 12px;
    overflow: hidden;
}

.gallery-carousel-item:last-child {
    margin-right: 0;
}

.gallery-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn svg {
    color: var(--color-primary);
}

.carousel-prev {
    left: -24px;
}

.carousel-next {
    right: -24px;
}

@media (max-width: 768px) {
    .gallery-carousel-item {
        min-width: 100%;
        margin-right: 0;
    }
    
    .carousel-prev {
        left: 8px;
    }
    
    .carousel-next {
        right: 8px;
    }
}

.gallery-more {
    text-align: center;
    margin-top: 40px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.contact-item p {
    font-size: 18px; /* Increased */
    color: var(--color-text);
    margin: 0;
}

.contact-item a {
    color: var(--color-primary);
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-map {
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
    background: var(--color-bg-alt);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 80px 0 40px;
    background: var(--color-dark);
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.footer-brand img {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-brand span {
    font-size: 20px;
    font-weight: 600;
}

.footer-tagline {
    font-size: 15px;
    color: var(--color-accent);
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-section h4 {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    color: #fff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .section-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-header {
        position: static;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav .container {
        height: 70px;
    }
    
    .logo img {
        height: 55px; /* Larger on mobile */
    }
    
    .nav-center,
    .nav-right {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero-logo img {
        width: 90%; /* Responsive on mobile */
        max-width: 400px;
    }
    
    .mobile-menu {
        top: 70px;
    }
    
    .hero {
        padding-top: 70px;
    }
    
    .hero-logo img {
        width: 200px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .announcement h2 {
        font-size: 32px;
    }
    
    .announcement-details {
        flex-direction: column;
        gap: 12px;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 32px;
    }
    
    .schedule-item {
        grid-template-columns: 50px 1fr;
        gap: 20px;
    }
    
    .schedule-date,
    .schedule-status,
    .schedule-btn {
        grid-column: 2;
    }
    
    .cta h2 {
        font-size: 32px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .btn-primary {
        width: 100%;
        justify-content: center;
    }
}
