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

:root {
    /* Colors - HSL values */
    --background: hsl(35, 40%, 97%);
    --foreground: hsl(25, 30%, 25%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(25, 30%, 25%);
    --primary: hsl(185, 65%, 55%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(10, 75%, 70%);
    --secondary-foreground: hsl(25, 30%, 25%);
    --muted: hsl(35, 30%, 92%);
    --muted-foreground: hsl(25, 20%, 50%);
    --accent: hsl(45, 85%, 65%);
    --accent-foreground: hsl(25, 30%, 25%);
    --border: hsl(35, 25%, 88%);
    
    /* Shadows */
    --shadow-soft: 0 4px 20px -4px hsla(185, 65%, 55%, 0.15);
    --shadow-card: 0 8px 32px -8px hsla(185, 65%, 55%, 0.2);
    
    /* Border radius */
    --radius: 1rem;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to bottom, var(--background), var(--muted));
    color: var(--foreground);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

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

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: hsla(0, 0%, 100%, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--foreground);
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 3rem;
    width: 3rem;
}

.logo span {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    position: relative;
    font-weight: 500;
    color: var(--foreground);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

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

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 0.375rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 1.5rem;
    height: 2px;
    background: var(--foreground);
    transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* Hero Section */
.hero-section {
    padding: 5rem 0;
}

.hero-content {
    text-align: center;
    max-width: 64rem;
    margin: 0 auto 3rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.hero-subtext {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    font-style: italic;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-image {
    max-width: 80rem;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius);
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: hsl(185, 65%, 45%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-outline {
    border-color: var(--border);
    color: var(--foreground);
}

.btn-outline:hover {
    background: var(--muted);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Features Section */
.features-section {
    background: var(--card);
    padding: 4rem 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: var(--muted);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.3s;
}

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

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

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

/* Page Content */
.page-content {
    flex: 1;
    padding: 4rem 0;
}

.page-title {
    font-size: clamp(3rem, 7vw, 4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Page */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text {
    font-size: 1.125rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.features-list {
    margin: 1.5rem 0;
    padding-left: 1rem;
}

.features-list li {
    display: flex;
    align-items: start;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.features-list li::before {
    content: '•';
    color: var(--primary);
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.text-link {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.team-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

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

.team-card img {
    width: 100%;
    height: auto;
}

/* Gallery */
.gallery-section {
    margin-bottom: 4rem;
}

.gallery-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
}

.gallery-subtitle {
    text-align: center;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-item:hover {
    box-shadow: var(--shadow-card);
}

.gallery-item img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.lightbox-close:hover {
    transform: scale(1.2);
}

#lightboxImage {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Contact Page */
.contact-container {
    max-width: 64rem;
}

.contact-intro {
    text-align: center;
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-form-card,
.info-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.card-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) - 0.25rem);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card-accent {
    background: var(--muted);
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--foreground);
    text-decoration: none;
    transition: color 0.3s;
}

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

.contact-link svg {
    transition: transform 0.3s;
}

.contact-link:hover svg {
    transform: scale(1.1);
}

/* Footer */
.footer {
    background: var(--muted);
    border-top: 1px solid var(--border);
    margin-top: auto;
    padding: 3rem 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding-bottom: 2rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-subtitle {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--foreground);
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary);
}

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

.footer-nav a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--card);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .about-grid,
    .contact-grid,
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Agenda Page */
.page-intro {
    text-align: center;
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.agenda-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.agenda-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.agenda-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.agenda-card-content {
    text-align: center;
}

.agenda-icon {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.agenda-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.agenda-card-subtitle {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.agenda-card-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.agenda-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
}

.agenda-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
    font-size: 0.9rem;
}

.agenda-info-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* Agenda Modal */
.agenda-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.agenda-modal.active {
    display: flex;
}

.agenda-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.agenda-modal-content {
    position: relative;
    background: var(--card);
    border-radius: var(--radius);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

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

.agenda-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--muted-foreground);
    cursor: pointer;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    z-index: 1;
}

.agenda-modal-close:hover {
    background: var(--muted);
    color: var(--foreground);
}

.agenda-modal-body {
    padding: 2.5rem;
}

.agenda-modal-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-right: 2rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.agenda-modal-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.agenda-detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--foreground);
}

.agenda-detail-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

.agenda-modal-description {
    color: var(--muted-foreground);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.agenda-modal-poster {
    margin-top: 1.5rem;
    border-radius: calc(var(--radius) - 0.5rem);
    overflow: hidden;
}

.agenda-modal-poster img {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .agenda-grid {
        grid-template-columns: 1fr;
    }
    
    .agenda-modal-body {
        padding: 1.5rem;
    }
    
    .agenda-modal-title {
        font-size: 1.5rem;
    }
}
