/* Page-specific overrides for index.html */
.hero {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border-radius: 12px;
    margin-bottom: 50px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.hero h2 {
    font-size: 2.25em;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.hero-book-link {
    color: inherit;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.18s ease, text-shadow 0.18s ease;
}

.hero-book-link:hover,
.hero-book-link:focus-visible {
    transform: translateY(-1px);
    text-shadow: 0 8px 20px color-mix(in srgb, var(--primary-color) 32%, transparent);
}

.hero p {
    font-size: 1.25em;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.hero-user-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.hero-user-pill {
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 6px;
    border-radius: 0;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-shadow: 0 8px 22px color-mix(in srgb, var(--primary-color) 30%, transparent);
    animation: hero-user-float 4.6s ease-in-out infinite;
}

.hero-user-link {
    position: relative;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, filter 0.18s ease, text-shadow 0.18s ease;
}

.hero-user-link:hover,
.hero-user-link:focus-visible {
    transform: translateY(-1px);
    filter: saturate(1.1);
    text-shadow: 0 10px 24px color-mix(in srgb, var(--primary-color) 45%, transparent);
}

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

@media (prefers-reduced-motion: reduce) {
    .hero-user-pill,
    .hero-user-link {
        animation: none;
        transition: none;
    }
}

.hero-auth-actions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hero-auth-actions .btn {
    border: none;
    border-radius: 12px;
    padding: 10px 16px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(12, 17, 29, 0.1);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.hero-auth-actions .btn:hover,
.hero-auth-actions .btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(12, 17, 29, 0.14);
}

.hero-auth-actions .btn-primary {
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--primary-color) 88%, white 12%) 0%,
        color-mix(in srgb, var(--primary-color-dark) 86%, black 14%) 100%
    );
    color: #fff;
}

.hero-auth-actions .btn-secondary {
    background: color-mix(in srgb, var(--surface-elevated) 90%, white 10%);
    color: var(--text-color);
}

.hero-quick-links {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-location-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--primary-color) 22%, transparent);
    background: color-mix(in srgb, var(--surface-elevated) 92%, var(--primary-color) 8%);
}

.hero-location-brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.hero-location-brand-copy {
    display: grid;
    text-align: left;
    line-height: 1.2;
}

.hero-location-brand-copy strong {
    color: var(--text-color);
    font-size: 0.92rem;
}

.hero-location-brand-copy span {
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.hero-google-links {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-google-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--primary-color) 28%, transparent);
    background: var(--surface-elevated);
    color: var(--primary-color-dark);
    text-decoration: none;
    font-size: 0.93rem;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.hero-google-link:hover,
.hero-google-link:focus-visible {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--primary-color) 46%, transparent);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.home-contact-section {
    margin-top: 28px;
    border: 1px solid color-mix(in srgb, #22c55e 36%, var(--border-color));
    border-radius: 14px;
    padding: 18px;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, #22c55e 14%, var(--surface-elevated)) 0%,
        color-mix(in srgb, #16a34a 8%, var(--surface-1)) 100%
    );
    box-shadow: 0 12px 28px color-mix(in srgb, #22c55e 22%, transparent);
    text-align: center;
}

.home-contact-section h3 {
    margin: 0;
}

.home-contact-subtitle {
    margin: 6px 0 10px;
    color: var(--text-secondary);
}

.home-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.home-whatsapp-btn {
    background: linear-gradient(135deg, #25d366 0%, #1fb857 100%);
    color: #ffffff;
    border: 1px solid color-mix(in srgb, #1fb857 78%, #0f5e2e 22%);
    box-shadow: 0 8px 18px color-mix(in srgb, #25d366 36%, transparent);
}

.home-whatsapp-btn:hover,
.home-whatsapp-btn:focus-visible {
    background: linear-gradient(135deg, #22c55e 0%, #169c49 100%);
    color: #ffffff;
}

.home-contact-link {
    text-decoration: none;
    color: var(--text-color);
    border: 1px solid color-mix(in srgb, var(--secondary-color) 32%, var(--border-color));
    border-radius: 999px;
    padding: 7px 12px;
    background: var(--surface-1);
}

.home-contact-link:hover,
.home-contact-link:focus-visible {
    border-color: color-mix(in srgb, var(--secondary-color) 56%, var(--border-color));
}

.home-contact-address {
    margin-top: 12px;
    display: block;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    border-top: 1px dashed color-mix(in srgb, #22c55e 38%, var(--border-color));
    padding-top: 10px;
    font-size: 0.95rem;
    line-height: 1.45;
    word-break: break-word;
}

.home-contact-address:hover,
.home-contact-address:focus-visible {
    color: color-mix(in srgb, #166534 72%, var(--text-color));
}


/* Navigation styles are now in shared.css */
.open-events-promo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
    padding: 24px;
    margin-bottom: 42px;
    border-radius: 16px;
    border: 1px solid color-mix(in srgb, var(--primary-color) 18%, transparent);
    background: linear-gradient(135deg, color-mix(in srgb, var(--surface-elevated) 88%, var(--primary-color) 12%), color-mix(in srgb, var(--surface-elevated) 90%, #22c55e 10%));
    text-align: center;
    position: relative;
}

.open-events-edge-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.open-events-edge-star {
    position: absolute;
    font-size: 1.35rem;
    line-height: 1;
    color: #facc15;
    text-shadow:
        0 0 6px rgba(255, 255, 255, 0.45),
        0 0 14px rgba(250, 204, 21, 0.85);
    z-index: 2;
    animation: open-events-edge-star-twinkle 1.8s ease-in-out infinite;
}

.open-events-edge-star-tl {
    top: 8px;
    left: 10px;
}

.open-events-edge-star-tr {
    top: 8px;
    right: 10px;
    animation-delay: 0.35s;
}

.open-events-edge-star-bl {
    bottom: 8px;
    left: 10px;
    animation-delay: 0.7s;
}

.open-events-edge-star-br {
    bottom: 8px;
    right: 10px;
    animation-delay: 1.05s;
}

.open-events-promo-copy {
    max-width: 760px;
    margin: 0 auto;
}

.open-events-promo-eyebrow {
    margin: 0 0 10px;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary-color-dark);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--primary-color) 30%, transparent);
    background: color-mix(in srgb, var(--surface-elevated) 88%, var(--primary-color) 12%);
    box-shadow: 0 6px 18px color-mix(in srgb, var(--primary-color) 22%, transparent);
}

.open-events-eyebrow-star {
    display: inline-block;
    font-size: 0.92rem;
    color: color-mix(in srgb, var(--primary-color) 70%, #f59e0b 30%);
    animation: open-events-star-pulse 1.4s ease-in-out infinite;
}

.open-events-eyebrow-star:last-child {
    animation-delay: 0.35s;
}

.open-events-promo h3 {
    margin: 0 0 10px;
    font-size: 2.25em;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

.open-events-promo p {
    margin: 0;
    color: var(--text-secondary);
}

.open-events-preview-card {
    margin-top: 12px;
    margin-left: auto;
    margin-right: auto;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--primary-color) 24%, transparent);
    background: color-mix(in srgb, var(--surface-elevated) 90%, var(--primary-color) 10%);
    display: grid;
    gap: 4px;
    max-width: 520px;
}

.open-events-preview-card-link {
    display: grid;
    gap: 4px;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.open-events-preview-card-link:hover,
.open-events-preview-card-link:focus-visible {
    opacity: 0.82;
}

.open-events-preview-card-link p {
    margin: 0;
}

.open-events-promo-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin-top: 4px;
}

@keyframes open-events-star-pulse {
    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.85;
    }
    50% {
        transform: scale(1.28) rotate(12deg);
        opacity: 1;
    }
}

@keyframes open-events-edge-star-twinkle {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.78;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

.instagram-showcase {
    margin-bottom: 50px;
}

.instagram-title {
    text-align: center;
    font-size: 1.6em;
    color: var(--text-color);
    margin-bottom: 20px;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    align-items: start;
}

.instagram-embed-card {
    position: relative;
    --instagram-card-height: clamp(420px, 55vw, 620px);
    height: var(--instagram-card-height);
    min-height: var(--instagram-card-height);
    padding: 10px;
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--primary-color) 24%, var(--border-color));
    background: color-mix(in srgb, var(--surface-1) 90%, var(--surface-elevated));
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
    overflow: hidden;
}

.instagram-loader {
    position: absolute;
    inset: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-color-light);
    background: color-mix(in srgb, var(--surface-1) 92%, transparent);
    border: 1px solid var(--border-color-light);
    border-radius: 12px;
    z-index: 1;
}

.instagram-loader-spinner {
    width: 12px;
    height: 12px;
    border: 2px solid color-mix(in srgb, var(--primary-color) 24%, transparent);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.instagram-embed-card.loaded .instagram-loader {
    display: none;
}

.instagram-grid .instagram-media {
    margin: 0 !important;
    display: block !important;
    min-width: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--border-color-light) 72%, transparent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.instagram-grid .instagram-media-rendered,
.instagram-grid .instagram-media iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    border-radius: 10px !important;
}

:root[data-theme='dark'] .instagram-embed-card {
    border-color: color-mix(in srgb, var(--primary-color) 28%, var(--border-color));
    background: color-mix(in srgb, var(--surface-2) 82%, var(--surface-elevated));
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

/* Mobile responsive styles - most are now in shared.css */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 1.6em;
    }
    
    .hero p {
        font-size: 1em;
    }

    .hero-quick-links {
        margin-top: 12px;
        flex-direction: column;
        gap: 6px;
        width: 100%;
    }

    .hero-user-bar {
        margin-bottom: 12px;
    }

    .hero-user-pill {
        width: 100%;
        justify-content: center;
        font-size: 0.88rem;
        padding: 8px 10px;
    }

    .hero-auth-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .hero-auth-actions .btn {
        width: 100%;
        text-align: center;
    }

    .hero-location-brand {
        width: 100%;
        justify-content: center;
    }

    .hero-google-links {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .hero-google-link {
        width: 100%;
        justify-content: center;
        font-size: 0.9rem;
    }

    .open-events-promo {
        flex-direction: column;
        align-items: center;
    }

    .open-events-promo-actions {
        justify-content: center;
    }

    .instagram-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .instagram-embed-card {
        --instagram-card-height: clamp(440px, 120vw, 620px);
    }
}

/* CTA section styles */
.cta {
    text-align: center;
    padding: 40px 20px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.cta h2 {
    margin-bottom: 20px;
    color: var(--text-color);
}

.cta-note {
    color: var(--text-secondary);
}

.cta-btn {
    font-size: 1.1em;
    padding: 14px 24px;
}
