/* ===================================================
   HOME PAGE — Public Landing Page Styles
   =================================================== */

/* ---------- CSS Variables (syncs with project theme) ---------- */
:root {
    --hp-primary: #1e293b;
    --hp-primary-hover: #0f172a;
    --hp-accent: #b79040;
    --hp-accent-light: #d4ab56;
    --hp-bg: #f8fafc;
    --hp-card-bg: #ffffff;
    --hp-text: #334155;
    --hp-text-muted: #64748b;
    --hp-border: #e2e8f0;
    --hp-green: #16a34a;
    --hp-green-light: #22c55e;
    --hp-green-dark: #15803d;
    --hp-topbar-h: 72px;
    --hp-section-gap: 80px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', sans-serif;
    background: var(--hp-bg);
    color: var(--hp-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ---------- Page Transition Overlay ---------- */
.hp-page-transition {
    position: fixed;
    inset: 0;
    background-color: var(--hp-bg);
    z-index: 99999;
    pointer-events: none;
    opacity: 1; /* Start fully opaque */
    transition: opacity 0.2s ease-in-out;
}

.hp-page-transition.loaded {
    opacity: 0;
}

/* ---------- Section Wrapper ---------- */
.hp-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hp-section-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--hp-accent);
    font-weight: 600;
    margin-bottom: 8px;
}

.hp-section-heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--hp-primary);
    margin-bottom: 16px;
}

/* ===================================================
   TOPBAR — Sticky Navigation
   =================================================== */
.hp-topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--hp-border);
    height: var(--hp-topbar-h);
    transition: box-shadow 0.3s ease;
}

.hp-topbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.hp-topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.hp-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.hp-logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hp-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hp-logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--hp-primary);
    line-height: 1.2;
}

.hp-logo-text span {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--hp-text-muted);
    letter-spacing: 2px;
    font-weight: 500;
}

/* Nav Links */
.hp-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.hp-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--hp-text-muted);
    transition: color 0.2s;
    position: relative;
}

.hp-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--hp-accent);
    transition: width 0.25s ease;
}

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

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

/* Topbar Actions */
.hp-topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hp-btn-quote {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--hp-accent);
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
}

.hp-btn-quote:hover {
    background: var(--hp-accent-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(183, 144, 64, 0.25);
}

.hp-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--hp-border);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hp-text-muted);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.hp-icon-btn:hover {
    background: var(--hp-bg);
    color: var(--hp-primary);
    border-color: var(--hp-primary);
}

/* Hamburger for mobile */
.hp-hamburger {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--hp-border);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--hp-text);
}

/* ===================================================
   HERO SECTION
   =================================================== */
.hp-hero {
    position: relative;
    background: #1a1a2e no-repeat center center / cover;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(21, 128, 61, 0.6) 100%);
    z-index: 1;
}

/* Decorative shapes */
.hp-hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    right: -150px;
    top: -150px;
    z-index: 1;
}

.hp-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
    width: 100%;
}

.hp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.hp-hero-badge i {
    font-size: 0.75rem;
}

.hp-hero h1 {
    font-size: 3.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    max-width: 680px;
    margin-bottom: 20px;
}

.hp-hero h1 span {
    color: var(--hp-accent);
}

.hp-hero-sub {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 36px;
}

.hp-hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--hp-green-dark);
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.25s;
    border: none;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
}

.hp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hp-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.25s;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    backdrop-filter: blur(4px);
}

.hp-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hp-hero-decoration {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    z-index: 1;
}

/* ===================================================
   SERVICES + GALLERIES
   =================================================== */
.hp-services {
    padding: var(--hp-section-gap) 0;
}

/* Service Block */
.hp-service-block {
    margin-bottom: 35px;
}

.hp-service-block:last-child {
    margin-bottom: 0;
}

.hp-service-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.hp-service-header .hp-service-link {
    margin-left: auto;
    flex-shrink: 0;
    margin-top: 0;
}

.hp-service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.hp-service-icon.catering {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #b45309;
}

.hp-service-icon.equipment {
    background: linear-gradient(135deg, #f1f5f9, #cbd5e1);
    color: var(--hp-primary);
}

.hp-service-info h3 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--hp-primary);
    margin-bottom: 8px;
}

.hp-service-info p {
    color: var(--hp-text-muted);
    line-height: 1.7;
    font-size: 1rem;
    max-width: 560px;
}

.hp-service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--hp-accent);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 16px;
    transition: all 0.2s;
}

.hp-service-link:hover {
    gap: 14px;
    color: var(--hp-accent-light);
}

/* Service Cards Grid */
.hp-service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.hp-service-card {
    background: var(--hp-card-bg);
    border: 1px solid var(--hp-border);
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.3s ease;
}

.hp-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.hp-service-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(22, 163, 74, 0.1);
    color: var(--hp-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.hp-service-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--hp-primary);
    margin-bottom: 8px;
}

.hp-service-card p {
    font-size: 0.88rem;
    color: var(--hp-text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.hp-service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--hp-accent);
    transition: gap 0.2s;
}

.hp-service-card-link:hover {
    gap: 10px;
}

/* Scroll Reveal Animation */
.hp-scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hp-scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.hp-stagger-1 { transition-delay: 0s; }
.hp-stagger-2 { transition-delay: 0.15s; }
.hp-stagger-3 { transition-delay: 0.3s; }

/* Image variant of service cards */
.hp-service-card--img {
    padding: 0;
    overflow: hidden;
}

.hp-service-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.hp-service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hp-service-card--img:hover .hp-service-card-img img {
    transform: scale(1.05);
}

.hp-service-card-body {
    padding: 20px 24px 24px;
}

/* ===================================================
   ABOUT US CARDS
   =================================================== */
.hp-about {
    padding: var(--hp-section-gap) 0;
    background: var(--hp-card-bg);
}

.hp-about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.hp-about-card {
    background: var(--hp-bg);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    border: 1px solid var(--hp-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hp-about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--hp-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.hp-about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
    border-color: transparent;
}

.hp-about-card:hover::before {
    transform: scaleX(1);
}

.hp-about-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.hp-about-card:nth-child(1) .hp-about-card-icon {
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    color: #7c3aed;
}

.hp-about-card:nth-child(2) .hp-about-card-icon {
    background: linear-gradient(135deg, #fce7f3, #fbcfe8);
    color: #db2777;
}

.hp-about-card:nth-child(3) .hp-about-card-icon {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #059669;
}

.hp-about-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--hp-primary);
    margin-bottom: 12px;
}

.hp-about-card p {
    color: var(--hp-text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===================================================
   CONTACT SECTION
   =================================================== */
.hp-contact {
    padding: var(--hp-section-gap) 0;
}

.hp-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

/* Contact Info */
.hp-contact-info {
    background: var(--hp-primary);
    border-radius: 20px;
    padding: 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hp-contact-info::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    top: -100px;
    right: -100px;
}

.hp-contact-info h3 {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 28px;
}

.hp-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.hp-contact-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    color: var(--hp-accent);
}

.hp-contact-item-text h5 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
    font-weight: 500;
}

.hp-contact-item-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Form */
.hp-contact-form {
    background: var(--hp-card-bg);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--hp-border);
}

.hp-contact-form h3 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--hp-primary);
    margin-bottom: 28px;
}

.hp-form-group {
    margin-bottom: 20px;
}

.hp-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--hp-text);
    margin-bottom: 8px;
}

.hp-form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--hp-border);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    color: var(--hp-text);
    background: var(--hp-bg);
    transition: all 0.2s;
    outline: none;
}

.hp-form-input:focus {
    border-color: var(--hp-accent);
    box-shadow: 0 0 0 4px rgba(183, 144, 64, 0.1);
    background: #fff;
}

textarea.hp-form-input {
    resize: vertical;
    min-height: 120px;
}

.hp-btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--hp-primary);
    color: #fff;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: all 0.25s;
    width: 100%;
    justify-content: center;
}

.hp-btn-submit:hover {
    background: var(--hp-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
}

/* ===================================================
   FOOTER
   =================================================== */
.hp-footer {
    background: var(--hp-primary);
    color: #fff;
    padding: 48px 0 0;
}

.hp-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hp-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hp-footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hp-footer-logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hp-footer-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hp-footer-logo-text {
    font-size: 1.15rem;
    font-weight: 700;
}

.hp-footer-nav {
    display: flex;
    gap: 28px;
}

.hp-footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.hp-footer-nav a:hover {
    color: #fff;
}

.hp-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.hp-footer-social {
    display: flex;
    gap: 12px;
}

.hp-footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.2s;
    font-size: 1rem;
}

.hp-footer-social a:hover {
    background: var(--hp-accent);
    color: #fff;
}

.hp-footer-copy {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* ===================================================
   MOBILE OVERLAY NAV
   =================================================== */
.hp-mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.hp-mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.hp-mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--hp-card-bg);
    z-index: 1200;
    padding: 24px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

.hp-mobile-nav.active {
    right: 0;
}

.hp-mobile-nav-close {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--hp-border);
    background: transparent;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--hp-text);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    margin-left: auto;
}

.hp-mobile-nav a {
    display: block;
    padding: 14px 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--hp-text);
    border-bottom: 1px solid var(--hp-border);
    transition: color 0.2s;
}

.hp-mobile-nav a:last-child {
    border-bottom: none;
}

.hp-mobile-nav a:hover {
    color: var(--hp-accent);
}

/* ===================================================
   RESPONSIVE — Tablet
   =================================================== */
@media (max-width: 991px) {
    .hp-nav { display: none; }
    .hp-btn-quote { display: none; }
    .hp-hamburger { display: flex; }
    .hp-mobile-nav,
    .hp-mobile-nav-overlay { display: block; }

    .hp-hero h1 { font-size: 2.6rem; }
    .hp-hero { min-height: 420px; }

    .hp-about-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .hp-contact-grid {
        grid-template-columns: 1fr;
    }

    .hp-footer-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .hp-footer-nav { flex-wrap: wrap; justify-content: center; }
    .hp-footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* ===================================================
   RESPONSIVE — Mobile
   =================================================== */
@media (max-width: 640px) {
    :root {
        --hp-section-gap: 48px;
    }

    .hp-hero h1 { font-size: 2rem; }
    .hp-hero-inner { padding: 48px 24px; }
    .hp-hero { min-height: 360px; }

    .hp-hero-btns {
        flex-direction: column;
    }

    .hp-hero-btns a,
    .hp-hero-btns button {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hp-service-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .hp-service-header .hp-service-link {
        margin-left: 0;
    }

    .hp-service-info {
        text-align: center;
    }

    .hp-service-info p {
        margin-left: auto;
        margin-right: auto;
    }

    .hp-service-cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hp-about-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hp-about-card {
        padding: 28px 24px;
    }

    .hp-contact-info,
    .hp-contact-form {
        padding: 28px 24px;
    }

    .hp-section-heading {
        font-size: 1.6rem;
    }

    .hp-footer-nav {
        gap: 16px;
    }
}

/* ===================================================
   ANIMATIONS
   =================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hp-animate {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.hp-delay-1 { animation-delay: 0.1s; }
.hp-delay-2 { animation-delay: 0.2s; }
.hp-delay-3 { animation-delay: 0.3s; }
.hp-delay-4 { animation-delay: 0.4s; }
