/* ============================================
   CSS RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--body-font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-heading {
    font-family: var(--heading-font);
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--text);
    position: relative;
}

.section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    margin: 0.75rem auto 0;
}

/* ============================================
   SECTION 1: HERO / CTA
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 2rem;
    color: #ffffff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, var(--overlay-opacity));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.date-separator {
    opacity: 0.5;
}

.hero-title {
    font-family: var(--heading-font);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.4rem);
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: #ffffff;
    font-family: var(--heading-font);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    background: var(--secondary);
}

.cta-arrow {
    transition: transform 0.3s ease;
}

.hero-cta:hover .cta-arrow {
    transform: translateX(4px);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

/* ============================================
   SECTION 2: DETAILS
   ============================================ */
.details {
    padding: 5rem 0;
    background: var(--bg);
}

.details-text {
    max-width: 750px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    opacity: 0.85;
}

/* Mosaic Grid */
.mosaic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
}

.mosaic-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 220px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mosaic-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Image type */
.mosaic-image {
    background: #f3f4f6;
}

.mosaic-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.mosaic-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1rem 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
}

.mosaic-image-overlay h3 {
    font-family: var(--heading-font);
    font-size: 1rem;
    font-weight: 600;
}

/* Text type */
.mosaic-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    padding: 2rem;
    display: flex;
    align-items: center;
}

.mosaic-text-content h3 {
    font-family: var(--heading-font);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.mosaic-text-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* ============================================
   SECTION 3: ADDRESS / MAP
   ============================================ */
.address {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f9fafb 0%, var(--bg) 100%);
}

.address-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    align-items: start;
}

.address-info {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.address-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.address-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.address-directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.address-directions-btn:hover {
    background: var(--secondary);
    transform: translateY(-1px);
}

.address-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-height: 350px;
}

.address-map iframe {
    display: block;
}

.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    background: #f3f4f6;
    color: #9ca3af;
    font-size: 1rem;
}

.map-placeholder span {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

/* ============================================
   SECTION 4: CONTACT
   ============================================ */
.contact {
    padding: 5rem 0;
    background: var(--bg);
}

.contact-card {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 2rem;
    background: #ffffff;
    border-radius: var(--radius);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-family: var(--heading-font);
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.contact-name {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.contact-org {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem 1.5rem;
    background: #f9fafb;
    border-radius: var(--radius);
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-item:hover {
    background: #fff;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.contact-icon {
    font-size: 1.2rem;
}

/* Social Media */
.contact-social {
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.social-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.social-link:hover::before {
    transform: scaleX(1);
}

.social-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 480px) {
    .contact-card {
        padding: 2rem 1.5rem;
    }

    .social-links {
        gap: 0.75rem;
    }

    .social-link {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    text-align: center;
    padding: 2rem;
    background: var(--text);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .mosaic-grid {
        grid-template-columns: 1fr;
    }
    
    .mosaic-item {
        min-height: 180px;
    }
    
    .address-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-date {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .details, .address, .contact {
        padding: 3.5rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-cta {
        padding: 0.85rem 2rem;
        font-size: 1rem;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }
}

/* iOS safe area */
@supports (padding: env(safe-area-inset-top)) {
    .hero {
        padding-top: max(2rem, env(safe-area-inset-top));
    }
    .site-footer {
        padding-bottom: max(2rem, env(safe-area-inset-bottom));
    }
}