/* ============================================================
   EventManager – Landing Page Stylesheet
   Bootstrap 5 compliant · No AdminLTE dependency
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #1a1a2e;
    --primary-light: #16213e;
    --accent: #c9a84c;
    --accent-hover: #b8932e;
    --accent-light: rgba(201, 168, 76, .12);
    --text-dark: #2d2d2d;
    --text-muted: #6c757d;
    --bg-light: #f8f6f2;
    --bg-section: #fdfcfa;
    --white: #ffffff;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --radius: .75rem;
    --shadow: 0 4px 24px rgba(0,0,0,.06);
    --shadow-lg: 0 12px 48px rgba(0,0,0,.10);
    --transition: all .35s ease;
}

/* ---------- Reset / Base ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

h1,h2,h3,h4,h5 { font-family: var(--font-display); color: var(--primary); }

.text-accent { color: var(--accent) !important; }

/* ---------- Buttons ---------- */
.btn-accent {
    background: var(--accent);
    color: var(--white);
    border: none;
    font-weight: 600;
    letter-spacing: .3px;
    transition: var(--transition);
}
.btn-accent:hover { background: var(--accent-hover); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,76,.35); }

.btn-outline-accent {
    border: 2px solid var(--accent);
    color: var(--accent);
    background: transparent;
    font-weight: 600;
    transition: var(--transition);
}
.btn-outline-accent:hover { background: var(--accent); color: var(--white); transform: translateY(-2px); }

/* ---------- Navbar ---------- */
#mainNav {
    padding: .9rem 0;
    transition: var(--transition);
    background: transparent;
}
#mainNav.scrolled,
#mainNav.navbar-solid {
    background: rgba(26,26,46,.97) !important;
    backdrop-filter: blur(12px);
    padding: .55rem 0;
    box-shadow: 0 2px 24px rgba(0,0,0,.18);
}
#mainNav .navbar-brand {
    font-family: var(--font-display);
    font-size: 1.45rem;
    letter-spacing: .5px;
}
#mainNav .nav-link {
    font-size: .88rem;
    font-weight: 500;
    letter-spacing: .4px;
    text-transform: uppercase;
    padding: .5rem .85rem;
    transition: var(--transition);
    position: relative;
}
#mainNav .nav-link::after {
    content: '';
    position: absolute;
    bottom: .2rem;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
    transform: translateX(-50%);
}
#mainNav .nav-link:hover::after,
#mainNav .nav-link.active::after { width: 60%; }
#mainNav .nav-link:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary);
}
.hero-slider { width: 100%; height: 100vh; }
.hero-slide {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
}
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,46,.82) 0%, rgba(22,33,62,.55) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 0 2rem;
}
.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: var(--white);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.2rem;
}
.hero-content h1 span { color: var(--accent); }
.hero-content p {
    color: rgba(255,255,255,.78);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}
.hero-buttons .btn { padding: .7rem 2rem; font-size: .95rem; }
.hero-buttons .btn + .btn { margin-left: .75rem; }

.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    animation: heroFloat 2s ease-in-out infinite;
    color: rgba(255,255,255,.5);
    font-size: 1.5rem;
}
@keyframes heroFloat {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(12px); }
}

/* Swiper hero pagination */
.hero-slider .swiper-pagination-bullet { background: rgba(255,255,255,.4); width: 12px; height: 12px; opacity: 1; }
.hero-slider .swiper-pagination-bullet-active { background: var(--accent); width: 32px; border-radius: 6px; }

/* ---------- Section Titles ---------- */
.section-heading {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-heading h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    margin-bottom: .6rem;
    position: relative;
    display: inline-block;
}
.section-heading h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: .7rem auto 0;
    border-radius: 2px;
}
.section-heading p {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ---------- Services ---------- */
.services-section { padding: 6rem 0; background: var(--bg-light); }
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.4rem 1.8rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,.04);
    height: 100%;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}
.service-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.4rem;
    font-size: 1.6rem;
    color: var(--accent);
    transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--accent); color: var(--white); }
.service-card h5 { font-size: 1.15rem; margin-bottom: .6rem; }
.service-card p { color: var(--text-muted); font-size: .92rem; line-height: 1.6; margin-bottom: 0; }

/* ---------- About / Stats ---------- */
.about-section { padding: 6rem 0; }
.about-image-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}
.about-image-wrapper img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); }
.about-badge {
    position: absolute;
    bottom: -20px;
    right: 24px;
    background: var(--accent);
    color: var(--white);
    padding: 1rem 1.6rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.about-badge .number { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; line-height: 1; }
.about-badge .label { font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; }

.stat-item { text-align: center; }
.stat-item .number { font-family: var(--font-display); font-size: 2.4rem; color: var(--accent); font-weight: 700; }
.stat-item .label { font-size: .85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }

/* ---------- Testimonials ---------- */
.testimonials-section { padding: 6rem 0; background: var(--bg-light); }
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 2rem 1.6rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent);
    height: 100%;
}
.testimonial-card .quote-icon { color: var(--accent); font-size: 1.6rem; margin-bottom: .8rem; opacity: .5; }
.testimonial-card p { font-style: italic; color: var(--text-muted); line-height: 1.7; font-size: .95rem; }
.testimonial-author { display: flex; align-items: center; margin-top: 1.2rem; }
.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: .8rem;
    border: 2px solid var(--accent);
}
.testimonial-author .author-name { font-weight: 600; font-size: .9rem; }
.testimonial-author .author-event { font-size: .8rem; color: var(--text-muted); }
.testimonial-stars { color: var(--accent); font-size: .8rem; }

/* ---------- Portfolio ---------- */
.portfolio-section { padding: 6rem 0; }
.portfolio-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
}
.portfolio-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
}
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(26,26,46,.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-overlay h5 { color: var(--white); font-size: 1.05rem; margin-bottom: .2rem; }
.portfolio-overlay span { color: var(--accent); font-size: .82rem; }

/* ---------- CTA ---------- */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(201,168,76,.08);
    border-radius: 50%;
}
.cta-section h2 { color: var(--white); }
.cta-section p { color: rgba(255,255,255,.7); max-width: 560px; margin: 0 auto 2rem; font-size: 1.1rem; }

/* ---------- Contact ---------- */
.contact-section { padding: 6rem 0; background: var(--bg-light); }
.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.8rem;
    box-shadow: var(--shadow);
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.8rem;
}
.contact-info-item .icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-right: 1rem;
}
.contact-info-item h6 { font-family: var(--font-body); font-weight: 600; margin-bottom: .15rem; font-size: .92rem; }
.contact-info-item p { color: var(--text-muted); font-size: .88rem; margin-bottom: 0; }

.form-control:focus, .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 .2rem rgba(201,168,76,.18);
}

/* ---------- Quote Page ---------- */
.quote-section { padding: 8rem 0 6rem; background: var(--bg-light); }
.quote-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--primary);
    padding: 4rem 0 2rem;
}
.footer-brand {
    font-family: var(--font-display);
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.footer-social a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.6);
    margin-right: .5rem;
    transition: var(--transition);
    text-decoration: none;
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.footer-links { padding: 0; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a { color: rgba(255,255,255,.55); text-decoration: none; font-size: .88rem; transition: var(--transition); }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-links li:not(a) { color: rgba(255,255,255,.55); }

/* ---------- Success message ---------- */
.alert-landing {
    border-radius: var(--radius);
    border: none;
    font-size: .92rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .hero-content { padding: 0 1rem; }
    .hero-content h1 { font-size: 2rem; }
    .hero-buttons .btn { padding: .6rem 1.4rem; font-size: .88rem; }
    .hero-buttons { display: flex; flex-direction: column; gap: .6rem; }
    .hero-buttons .btn + .btn { margin-left: 0; }
    #mainNav { background: rgba(26,26,46,.97); }
    .about-image-wrapper img { height: 300px; }
    .portfolio-item img { height: 220px; }
}
@media (max-width: 575.98px) {
    .contact-card { padding: 1.6rem; }
    .quote-card { padding: 1.8rem; }
}
