/* ========================================
   GRACE CIRCLE - ELEGANT & RESPONSIVE
   Mobile-First Design Approach
   ======================================== */

/* Root Variables */
:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #D4AF37;
    --accent-dark: #1a472a;
    --text-color: #2c2c2c;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-large: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* ========================================
   GENERAL STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    background-color: var(--primary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: var(--secondary-color);
}

.nav-menu {
    display: none;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

/* Mobile Hamburger Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--accent-color);
    transition: 0.3s;
    border-radius: 3px;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: url('hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    color: var(--secondary-color);
    text-align: center;
    padding: 40px 20px;
    gap: 30px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-transform: uppercase;
    animation: fadeInDown 1s ease-in-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent-color);
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-in-out;
}

.hero-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #e0e0e0;
    animation: fadeIn 1.5s ease-in-out;
}

.hero-mobile-video {
    display: none;
    position: relative;
    z-index: 2;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 14px 40px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
    cursor: pointer;
    font-size: 0.95rem;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

/* ========================================
   STATEMENT SECTION
   ======================================== */

.statement {
    padding: 60px 20px;
    background-color: var(--light-gray);
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-color);
}

.statement-text {
    font-size: 1.1rem;
    line-height: 1.9;
    text-align: center;
    color: var(--text-color);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.accent-text {
    color: var(--accent-color);
    font-weight: 600;
}

.statement-intro {
    font-size: 1.3rem;
    text-align: center;
    font-weight: 600;
    color: var(--accent-dark);
    font-style: italic;
}

/* ========================================
   ALTERNATING LAYOUT SECTIONS
   ======================================== */

.mission-section,
.vision-section,
.discipline-section {
    padding: 80px 20px;
    background-color: var(--secondary-color);
}

.mission-section {
    background-color: var(--light-gray);
}

.vision-section {
    background-color: var(--secondary-color);
}

.discipline-section {
    background-color: var(--light-gray);
}

.alternating-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.alternating-layout.reversed {
    flex-direction: column;
}

.content-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-description {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-color);
}

.content-media {
    width: 100%;
    max-width: 400px;
}

.media-link {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
}

.media-image {
    width: 100%;
    height: auto;
    aspect-ratio: 9/16;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.media-link:hover .media-image {
    transform: scale(1.05);
}

/* Play Button Overlay */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(212, 175, 55, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 18px solid #000000;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 4px;
}

.media-link:hover .play-button {
    background-color: rgba(212, 175, 55, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

/* ========================================
   SESSIONS SECTION
   ======================================== */

.sessions {
    padding: 80px 20px;
    background-color: var(--secondary-color);
}

.session-tabs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tab-button {
    padding: 16px 20px;
    background-color: var(--light-gray);
    border: 2px solid var(--border-color);
    color: var(--text-color);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 4px;
    text-align: left;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tab-button:hover {
    border-color: var(--accent-color);
    background-color: var(--secondary-color);
}

.tab-button.active {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

.session-content {
    max-width: 700px;
    margin: 0 auto;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tab-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 25px;
}

.session-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.session-features li {
    font-size: 1rem;
    color: var(--text-color);
    padding-left: 0;
}

/* ========================================
   REGISTRATION SECTION
   ======================================== */

.registration {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a1a1a 100%);
    color: var(--secondary-color);
}

.registration .section-title {
    color: var(--secondary-color);
}

.registration-intro {
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
    text-align: center;
}

.form-note {
    font-size: 1rem;
    line-height: 1.8;
    color: #d0d0d0;
}

.form-button {
    font-size: 1rem;
    padding: 16px 50px;
}

.form-disclaimer {
    font-size: 0.9rem;
    color: #999;
    max-width: 500px;
}

/* Google Form Responsive */
.google-form {
    width: 100%;
    height: 2398px;
    max-width: 700px;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 60px 20px 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.footer-section {
    text-align: center;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #d0d0d0;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-section a {
    color: #d0d0d0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

/* Social Links - Icons */
.social-links {
    flex-direction: row !important;
    justify-content: center;
    gap: 20px !important;
    margin-top: 10px;
}

.social-icon {
    font-size: 1.5rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: var(--accent-color);
}

.social-icon:hover {
    background-color: rgba(212, 175, 55, 0.3);
    transform: scale(1.15);
    color: var(--secondary-color);
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    z-index: 50;
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    background-color: #e5c158;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: #999;
    font-size: 0.9rem;
}

/* Quick Links - Horizontal on Mobile */
.footer-section:nth-child(2) ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   TABLET BREAKPOINT (768px)
   ======================================== */

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }

    .hamburger {
        display: none;
    }

    .hero-overlay {
        background-color: rgba(0, 0, 0, 0.9);
    }

    .hero {
        background: url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=1200&h=900&fit=crop');
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .statement {
        padding: 80px 40px;
    }

    .alternating-layout {
        flex-direction: row;
        gap: 60px;
        align-items: center;
    }

    .alternating-layout.reversed {
        flex-direction: row-reverse;
    }

    .content-text {
        flex: 1;
    }

    .content-media {
        flex: 0 0 auto;
        max-width: 400px;
    }

    .session-tabs {
        flex-direction: row;
        gap: 20px;
    }

    .tab-button {
        flex: 1;
        text-align: center;
    }

    .footer-content {
        flex-direction: row;
        gap: 60px;
    }

    .footer-section {
        flex: 1;
        text-align: left;
    }

    /* Social Links - Left aligned on Desktop */
    .social-links {
        justify-content: flex-start !important;
    }

    /* Quick Links - Vertical on Desktop */
    .footer-section:nth-child(2) ul {
        flex-direction: column !important;
        justify-content: flex-start;
        gap: 10px !important;
    }

    .hero-mobile-video {
        display: none !important;
    }
}

/* ========================================
   DESKTOP BREAKPOINT (1024px)
   ======================================== */

@media (min-width: 1024px) {
    body {
        font-size: 1.05rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .statement-text {
        font-size: 1.2rem;
    }

    .mission-card {
        padding: 50px 40px;
    }

    .tab-button {
        padding: 18px 30px;
        font-size: 1.05rem;
    }

    .cta-button {
        padding: 16px 50px;
        font-size: 1rem;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {

    .navbar,
    .footer,
    .hamburger,
    .cta-button {
        display: none;
    }

    .container {
        max-width: 100%;
    }
}