/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors based on your specifications */
    --primary: hsl(236, 69%, 18%); /* #0e124c */
    --primary-glow: hsl(236, 69%, 28%);
    --secondary: hsl(0, 78%, 33%); /* #971212 */
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(222.2, 84%, 4.9%);
    --muted: hsl(210, 40%, 96.1%);
    --muted-foreground: hsl(215.4, 16.3%, 46.9%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(222.2, 84%, 4.9%);
    --border: hsl(214.3, 31.8%, 91.4%);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-glow));
    --gradient-secondary: linear-gradient(135deg, var(--secondary), hsl(0, 78%, 43%));
    --gradient-hero: linear-gradient(135deg, var(--primary), var(--secondary));

    /* Shadows */
    --shadow-card: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 40px hsla(236, 69%, 28%, 0.4);

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo {
    width: 2rem;
    height: 2rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.nav-title {
    font-size: 1.25rem;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--foreground);
    transition: var(--transition-smooth);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.875rem;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
}

.btn-hero {
    background: white;
    color: var(--primary);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-hero:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-accent {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-accent:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

/* Icons */
.icon {
    width: 1.25rem;
    height: 1.25rem;
}

.card-icon {
    width: 3rem;
    height: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.schedule-icon {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

.location-icon {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
    margin-right: 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
    hsla(236, 69%, 18%, 0.9),
    hsla(0, 78%, 33%, 0.8),
    hsla(236, 69%, 18%, 0.9));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1rem;
    animation: fadeIn 1s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-highlight {
    background: linear-gradient(to right, hsl(48, 96%, 89%), hsl(34, 78%, 91%));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: scaleIn 0.5s ease-out 0.5s both;
}

.badge-secondary {
    background: var(--muted);
    color: var(--foreground);
    border-color: var(--border);
}

.badge-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-muted {
    background: var(--muted);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto;
}

#video {
    text-align: center;
}

/* Cards */
.card {
    background: var(--card);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    overflow: hidden;
}

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

.card-header {
    padding: 2rem;
}

.card-content {
    padding: 0 2rem 2rem 2rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-description {
    color: var(--muted-foreground);
}

.cards-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Schedule */
.schedule-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    max-width: 64rem;
    margin: 0 auto;
}

.schedule-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.schedule-time {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.card-youth {
    position: relative;
}

.youth-background {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.youth-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.youth-note {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Location */
.location-container {
    max-width: 64rem;
    margin: 0 auto;
}

.location-card {
    box-shadow: var(--shadow-card);
}

.location-content {
    display: grid;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
}

@media (min-width: 768px) {
    .location-content {
        grid-template-columns: 1fr 1fr;
    }
}

.location-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.location-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.location-subtitle {
    color: var(--muted-foreground);
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.location-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.detail-label {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.detail-value {
    color: var(--muted-foreground);
}

.detail-link {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

.trial-card {
    background: var(--gradient-hero);
    color: white;
    text-align: center;
    padding: 2rem;
    border-radius: 0.5rem;
}

.trial-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.trial-description {
    margin-bottom: 1.5rem;
}

/* Contact */
.contact-container {
    max-width: 32rem;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    gap: 1.5rem;
    padding: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: white;
}

.contact-item a {
    color: white;
    text-decoration: none;
}
.contact-item a:visited {
    color: white;
}


.contact-email {
    background: var(--gradient-hero);
}

.contact-phone {
    background: var(--gradient-secondary);
}

.contact-cta {
    text-align: center;
    padding-top: 1rem;
}

/* Footer */
.footer {
    padding: 3rem 0;
    background: var(--foreground);
    color: var(--background);
}

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

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 1.5rem;
    height: 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: bold;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--background);
        flex-direction: column;
        padding: 1rem;
        border-top: 1px solid var(--border);
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

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

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

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

    .location-content {
        grid-template-columns: 1fr;
    }
}