/* =============================================================
   NGEN-AI 2026 — Index Page Stylesheet
   Self-contained layout that overrides Bootstrap.
   ============================================================= */

:root {
    --bg-body: #ffffff;
    --text-main: #000000;
    --purple-main: #4b0082;
    --primary: #2563eb;
    --accent: #00b4d8;
    --border-soft: #e5e7eb;
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.06);
    --shadow-strong: 0 18px 45px rgba(15, 23, 42, 0.10);
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
    --yellow-header-footer: #facc15;
}

.hero-title .hero-intro,
.hero-title .hero-main{
  display:block;
}

.nowrap{
  white-space: nowrap;
}



* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; }
a:hover { opacity: 0.9; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.row { display: flex; flex-wrap: wrap; }

.text-center { text-align: center; }
.text-start { text-align: left; }
.align-items-center { align-items: center; }

.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }
.lead { font-size: 1.1rem; }

.col-lg-8, .col-lg-7, .col-lg-5, .col-lg-10, .col-sm-6, .col-md-4 { width: 100%; }

@media (min-width: 768px) {
    .col-sm-6 { width: 50%; }
    .col-md-4 { width: 33.333%; }
}

@media (min-width: 992px) {
    .col-lg-8 { width: 66.666%; }
    .col-lg-7 { width: 58.333%; }
    .col-lg-5 { width: 41.666%; }
    .col-lg-10 { width: 83.333%; }
    .order-lg-1 { order: 1; }
    .order-lg-2 { order: 2; }
}

.mx-auto { margin-left: auto; margin-right: auto; }
.g-3 > * { padding: 0.75rem; }
.h-100 { height: 100%; }

/* Header spacer for fixed header from includes/header.php */
.header-spacer { height: 90px; }

/* =========================
   BUTTONS
   ========================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.5rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    background-color: #e5e7eb;
    color: #000000;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

.btn-primary { background-color: var(--primary); color: #ffffff; }
.btn-primary:hover { color: #ffffff; }
.btn-outline-primary { background-color: transparent; color: var(--primary); border: 1px solid var(--primary); }
.btn-outline-primary:hover { color: var(--primary); }
.btn-lg { padding: 0.75rem 1.8rem; font-size: 1rem; }
.btn + .btn { margin-left: 0.75rem; }
.me-2 { margin-right: 0.35rem; }

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

/* =========================
   HERO SECTION
   ========================= */
.hero-section {
    position: relative;
    padding-top: 4.5rem;
    padding-bottom: 3.5rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, #e0f2fe 0, transparent 55%),
                radial-gradient(circle at bottom right, #fce7f3 0, transparent 55%);
    opacity: 0.55;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.1rem, 3.4vw, 3rem);
    font-weight: 800;
    line-height: 1.25;
}

.hero-title .hero-intro { color: #000000; font-weight: 800; display: block; }
.hero-title .hero-main { color: var(--purple-main); font-weight: 800; display: block; }

.hero-subtitle {
    margin-top: 1rem;
    margin-bottom: 2rem;
    font-size: 1.05rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    color: #000000;
}

.hero-info-row { margin-bottom: 2.25rem; }

.hero-info-card {
    background-color: #ffffff;
    border-radius: 1rem;
    border: 1px solid var(--border-soft);
    padding: 1.4rem 1.3rem;
    box-shadow: var(--shadow-soft);
    text-align: left;
    height: 100%;
}

.hero-info-card h5 {
    margin-bottom: 0.3rem;
    font-size: 1rem;
    color: #000000;
}

.hero-info-card p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #000000;
}

.hero-info-card .card-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background-color: #e5edff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

/* =========================
   SECTION DIVIDER (between CTA and indexing)
   ========================= */
.hero-divider {
    width: 80px;
    height: 3px;
    margin: 2.5rem auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0.5;
}

/* =========================
   INDEXING LOGOS STRIP
   ========================= */
.indexing-strip {
    margin-top: 2.25rem;
    display: flex;
    justify-content: center;
}

.indexing-card {
    width: 100%;
    max-width: 1100px;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.indexing-heading {
    text-align: center;
    margin-bottom: 0.4rem;
}

.indexing-desc {
    text-align: center;
    font-size: 0.95rem;
    color: #374151;
    margin-bottom: 1.15rem;
}

.indexing-desc strong { font-weight: 800; color: #000000; }

.indexing-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(0, 180, 216, 0.08));
    border: 1px solid rgba(37, 99, 235, 0.15);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary);
}

.indexing-pill i { font-size: 0.9rem; }

.logo-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem 2rem;
    padding: 0.5rem 0.5rem 0.25rem;
}

.logo-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.5rem;
    border: none;
    background: transparent;
    border-radius: 0.5rem;
    box-shadow: none;
    transition: transform 200ms ease, opacity 200ms ease, filter 200ms ease, background 200ms ease;
}

.logo-tile:hover {
    transform: translateY(-3px);
    opacity: 0.95;
    background: rgba(37, 99, 235, 0.03);
    filter: drop-shadow(0 8px 16px rgba(15, 23, 42, 0.12));
}

.logo-tile img {
    height: 52px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
    filter: saturate(1.05) contrast(1.04);
}

.logo-tile[aria-disabled="true"] { cursor: default; }
.logo-tile[aria-disabled="true"]:hover {
    transform: none;
    opacity: 1;
    background: transparent;
    filter: none;
}

@media (max-width: 992px) {
    .logo-row { gap: 1.25rem 1.5rem; }
}

@media (max-width: 768px) {
    .indexing-strip { margin-top: 1.75rem; }
    .logo-row { gap: 1rem 1.25rem; }
    .logo-tile img { height: 46px; max-width: 200px; }
}

@media (max-width: 520px) {
    .indexing-desc { font-size: 0.9rem; margin-bottom: 0.9rem; }
    .logo-row { gap: 0.85rem 1rem; }
    .logo-tile img { height: 40px; max-width: 180px; }
}

/* =========================
   ABOUT / SCOPE + CALABRIA
   ========================= */
.about-preview { padding-top: 4rem; padding-bottom: 4rem; }

.section-header .section-badge {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background-color: #eef2ff;
    margin-bottom: 0.75rem;
    color: #000000;
}

.section-header .section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000000;
}

.about-preview p { font-size: 0.98rem; color: #000000; }

.calabria-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.calabria-gallery img {
    width: 100%;
    border-radius: 1.2rem;
    object-fit: cover;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.2);
}

.calabria-img-top { max-height: 260px; }
.calabria-img-bottom { max-height: 220px; }

/* =========================
   KEY DATES SECTION
   ========================= */
.dates-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.dates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.date-card {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid var(--border-soft);
    padding: 1.5rem 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 200ms ease, box-shadow 200ms ease;
    position: relative;
    overflow: hidden;
}

.date-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 1rem 1rem 0 0;
}

.date-card:nth-child(1)::before { background: var(--primary); }
.date-card:nth-child(2)::before { background: var(--accent); }
.date-card:nth-child(3)::before { background: #f59e0b; }
.date-card:nth-child(4)::before { background: var(--purple-main); }

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

.date-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 0.85rem;
}

.date-card:nth-child(1) .date-card-icon { background: #e0edff; color: var(--primary); }
.date-card:nth-child(2) .date-card-icon { background: #e0f7fa; color: #0891b2; }
.date-card:nth-child(3) .date-card-icon { background: #fef3c7; color: #d97706; }
.date-card:nth-child(4) .date-card-icon { background: #f3e8ff; color: var(--purple-main); }

.date-card-label {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 0.4rem;
}

.date-card-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.3rem;
}

.date-card-desc {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.4;
}

.dates-cta {
    margin-top: 2rem;
    text-align: center;
}

@media (max-width: 991px) {
    .dates-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
    .dates-grid { grid-template-columns: 1fr; gap: 1rem; }
    .date-card { padding: 1.25rem 1rem; }
}

/* =========================
   FOOTER
   ========================= */
footer {
    background-color: var(--yellow-header-footer);
    color: #111827;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.25rem 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.footer-section h3,
.footer-section h4 { margin-bottom: 0.6rem; font-size: 1rem; }

.footer-section p,
.footer-section li { font-size: 0.9rem; }

.footer-section ul { list-style: none; padding: 0; margin: 0; }
.footer-section ul li { margin-bottom: 0.35rem; }

.footer-section a { color: #111827; }
.footer-section a:hover { color: #000000; }

.contact-info p { margin-bottom: 0.35rem; }

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.75rem 1.25rem 1rem;
    border-top: 1px solid rgba(17, 24, 39, 0.35);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.footer-links { display: flex; gap: 0.75rem; }
.footer-links a { color: #111827; }
.footer-links a:hover { color: #000000; }

/* =========================
   RESPONSIVE
   ========================= */

/* -- Tablet & below (≤991px) -- */
@media (max-width: 991px) {
    /* Stack about section: add gap between text and gallery */
    .about-preview .calabria-gallery {
        margin-top: 2rem;
    }
}

/* -- Mobile (≤768px) -- */
@media (max-width: 768px) {
    .header-spacer { height: 80px; }

    .hero-section { padding-top: 3.5rem; padding-bottom: 2.5rem; }
    .hero-content { margin-top: 1rem; margin-bottom: 1rem; }
    .hero-title { font-size: clamp(1.6rem, 5vw, 2.4rem); }
    .hero-subtitle { font-size: 0.95rem; margin-bottom: 1.5rem; }
    .hero-divider { margin-top: 2rem; }

    .about-preview { padding-top: 3rem; padding-bottom: 3rem; }

    /* Center CTA button when stacked */
    .about-preview .btn { display: flex; justify-content: center; width: fit-content; }

    .dates-section { padding-top: 3rem; padding-bottom: 3rem; }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links { flex-wrap: wrap; }
}

/* -- Small phones (≤480px) -- */
@media (max-width: 480px) {
    .header-spacer { height: 72px; }

    .hero-section { padding-top: 3rem; padding-bottom: 2rem; }
    .hero-title { font-size: clamp(1.4rem, 6vw, 1.9rem); }
    .hero-subtitle { font-size: 0.9rem; margin-bottom: 1.25rem; }

    .hero-cta-buttons { flex-direction: column; align-items: center; }
    .btn + .btn { margin-left: 0; }
    .btn-lg { padding: 0.65rem 1.5rem; font-size: 0.92rem; }

    .hero-info-card { padding: 1.1rem 1rem; }

    .section-header .section-title { font-size: 1.5rem; }

    .about-preview p { font-size: 0.92rem; }

    .dates-section { padding-top: 2.5rem; padding-bottom: 2.5rem; }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}
