/* ==========================================================================
   M.BILLAH - PREMIUM PUBLIC STYLESHEET
   Catering, Events & Hospitality Management
   ========================================================================== */

:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --primary-dark: #020617;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-gold: #c29d59;
    --accent-gold-hover: #a88444;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --bg-subtle: #f1f5f9;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   HEADER & TOPBAR
   ========================================================================== */
.site-topbar {
    background-color: var(--primary);
    color: #cbd5e1;
    font-size: 0.8125rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-contact {
    display: flex;
    gap: 20px;
    align-items: center;
}

.topbar-contact a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e2e8f0;
}

.topbar-contact a:hover {
    color: var(--accent-gold);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--primary);
}

.brand-logo img {
    height: 44px;
    width: auto;
}

.brand-badge {
    background: var(--accent-gold);
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-main);
    padding: 8px 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 260px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1100;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
}

.dropdown-item:hover {
    background: var(--bg-subtle);
    color: var(--accent);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--primary-light);
    color: #ffffff;
}

.btn-accent {
    background: var(--accent);
    color: #ffffff;
}

.btn-accent:hover {
    background: var(--accent-hover);
    color: #ffffff;
}

.btn-gold {
    background: var(--accent-gold);
    color: #ffffff;
}

.btn-gold:hover {
    background: var(--accent-gold-hover);
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    border-color: var(--border);
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--bg-subtle);
    border-color: var(--text-muted);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

.badge-info { background: #e0f2fe; color: #0369a1; }
.badge-purple { background: #f3e8ff; color: #7e22ce; }
.badge-cyan { background: #cffafe; color: #0e7490; }
.badge-warning { background: #fef3c7; color: #b45309; }
.badge-success { background: #dcfce7; color: #15803d; }
.badge-indigo { background: #e0e7ff; color: #4338ca; }
.badge-teal { background: #ccfbf1; color: #0f766e; }
.badge-danger { background: #fee2e2; color: #b91c1c; }

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 90px 0 100px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(194, 157, 89, 0.15), transparent 60%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 32px;
}

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

.hero-card-preview {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.hero-preview-badge {
    color: var(--accent-gold);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.hero-card-preview h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    color: #ffffff;
}

.preview-features {
    list-style: none;
    margin-bottom: 24px;
}

.preview-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: #cbd5e1;
    margin-bottom: 12px;
}

/* ==========================================================================
   SECTIONS & CARDS
   ========================================================================== */
.section {
    padding: 80px 0;
}

.section-subtle {
    background-color: var(--bg-subtle);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 50px;
}

.section-tag {
    display: inline-block;
    color: var(--accent-gold);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--primary);
    margin-bottom: 14px;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
}

.card-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.card-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.card-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 30px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

.card-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: rgba(37, 99, 235, 0.08);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.card-icon.gold {
    background: rgba(194, 157, 89, 0.12);
    color: var(--accent-gold);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* ==========================================================================
   CATERING & PACKAGE STYLES
   ========================================================================== */
.package-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

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

.package-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    background: #e2e8f0;
}

.package-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.package-pricing {
    margin: 16px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.price-val {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
}

.price-unit {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.included-list {
    list-style: none;
    margin-bottom: 20px;
    flex-grow: 1;
}

.included-list li {
    font-size: 0.875rem;
    color: var(--text-main);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Interactive Calculator Box */
.calculator-box {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.calc-summary-panel {
    background: var(--primary);
    color: #ffffff;
    border-radius: var(--radius-md);
    padding: 24px;
}

/* ==========================================================================
   FORMS & INPUTS
   ========================================================================== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--text-main);
    background-color: #ffffff;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

textarea.form-control {
    resize: vertical;
    min-height: 110px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: var(--primary);
    color: #94a3b8;
    padding: 80px 0 0;
    font-size: 0.9375rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: #ffffff;
}

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

.dev-credit a {
    color: #e2e8f0;
    font-weight: 600;
}

.dev-credit a:hover {
    color: var(--accent-gold);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .site-topbar { display: none; }
    .site-nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--border);
    }
    .site-nav.open { display: flex; }
    .mobile-toggle { display: block; }
    .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.25rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

