/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    /* --- Typography --- */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* --- Color Palette: Golden / Amber --- */
    /* Primary Brand Colors */
    --primary-500: #FFD500;
    /* Vivid Yellow */
    --primary-600: #E6BF00;
    /* Deep Golden */
    --primary-700: #C4A000;
    /* Dijon */
    --primary-gradient: linear-gradient(135deg, #FFE76A 0%, #FFD500 35%, #E6BF00 70%, #C4A000 100%);

    /* Secondary/Accent */
    --secondary-500: #12100E;
    /* Dark base for contrast */
    --secondary-900: #060504;
    /* Deep charcoal */

    /* Surface Colors */
    --surface-light: #FFFFFF;
    --surface-off-white: #FFF7D6;
    --surface-glass: rgba(255, 228, 120, 0.9);
    --surface-glass-dark: rgba(6, 5, 4, 0.75);

    /* Text Colors */
    --text-main: #FDFDFD;
    --text-muted: #F6EABC;
    --text-light: #FFFFFF;
    --text-on-light: #161616;

    /* Status Colors */
    --status-success: #00B894;
    --status-warning: #FDCB6E;
    --status-danger: #FF7675;
    --status-info: #74B9FF;

    /* --- Shadows & Effects --- */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 8px 32px rgba(255, 107, 0, 0.25);

    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-pill: 999px;

    --blur-md: blur(12px);
    --blur-lg: blur(20px);
}

html,
body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: #FFD84D;
    background-image:
        radial-gradient(circle at 12% 18%, rgba(255, 225, 100, 0.35) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(230, 191, 0, 0.35) 0%, transparent 45%),
        linear-gradient(180deg, #FFEA8A 0%, #FFD84D 50%, #E6BF00 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary-900);
    letter-spacing: -0.02em;
}

a {
    color: var(--primary-600);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--primary-500);
}

/* =========================================
   2. NAVBAR (Glassmorphism)
   ========================================= */
.navbar-eren {
    background: linear-gradient(90deg, rgba(255, 213, 0, 0.95), rgba(198, 160, 0, 0.95));
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
    border-bottom: 1px solid rgba(255, 240, 180, 0.8);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-eren .navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
    letter-spacing: -0.03em;
}

.navbar-eren .brand-badge {
    background: var(--primary-gradient);
    color: white;
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(255, 193, 7, 0.35);
}

.navbar-eren .nav-link {
    font-weight: 600;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    transition: all 0.2s ease;
}

.navbar-eren .nav-link:hover,
.navbar-eren .nav-link.active {
    color: var(--secondary-500);
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

/* Navbar Buttons */
.nav-cta-outline {
    border: 2px solid rgba(223, 228, 234, 0.8);
    color: var(--secondary-500);
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-pill);
    background: transparent;
}

.nav-cta-outline:hover {
    border-color: var(--primary-500);
    color: var(--primary-500);
    background: transparent;
}

/* =========================================
   3. BUTTONS & INTERACTIVE ELEMENTS
   ========================================= */
.btn {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: var(--radius-pill);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--secondary-500);
    border: 0;
    box-shadow: 0 10px 25px rgba(198, 160, 0, 0.35);
}

.btn-primary:hover,
.btn-primary:focus {
    color: var(--secondary-500);
    background: linear-gradient(135deg, #ffe247 0%, #ffd200 45%, #e6bf00 85%);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(198, 160, 0, 0.45);
}

.btn-primary:focus {
    outline: 3px solid rgba(255, 213, 0, 0.4);
    outline-offset: 2px;
}

.btn-outline-primary {
    color: var(--secondary-500);
    border: 2px solid var(--primary-600);
    background: rgba(255, 235, 150, 0.2);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: var(--secondary-500);
    background: var(--primary-gradient);
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(198, 160, 0, 0.35);
}

.btn-secondary,
.btn-outline-secondary {
    color: var(--secondary-500);
    border: 2px solid rgba(18, 16, 14, 0.35);
    background: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover,
.btn-outline-secondary:hover,
.btn-secondary:focus,
.btn-outline-secondary:focus {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(18, 16, 14, 0.55);
    transform: translateY(-1px);
}

.btn-link {
    color: var(--secondary-500);
    font-weight: 700;
}

.btn-link:hover,
.btn-link:focus {
    color: var(--primary-600);
}

.btn-eren-primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-eren-primary:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 107, 0, 0.4);
}

.btn-eren-primary:active {
    transform: translateY(0);
}

.hero-cta {
    background: linear-gradient(120deg, #ffb703 0%, #ffd500 40%, #e6bf00 100%);
    box-shadow: 0 18px 55px rgba(255, 193, 7, 0.4), 0 0 0 10px rgba(255, 213, 0, 0.15);
    border: 0;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

.hero-cta:hover {
    box-shadow: 0 22px 65px rgba(255, 193, 7, 0.45), 0 0 0 12px rgba(255, 213, 0, 0.2);
}

.cta-pulse {
    position: relative;
}

.cta-pulse::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: var(--radius-pill);
    background: radial-gradient(circle, rgba(255, 213, 0, 0.25) 0%, transparent 60%);
    animation: ctaPulse 1.8s infinite;
    z-index: 0;
    pointer-events: none;
}

.cta-pulse > span {
    position: relative;
    z-index: 1;
}

.cta-meta {
    color: #fff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

@keyframes ctaPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.4;
    }
    100% {
        transform: scale(1.12);
        opacity: 0;
    }
}

/* =========================================
   4. CARDS & HERO SECTIONS
   ========================================= */
/* Modern Hero */
.hero-eren,
.neo-hero {
    background: radial-gradient(circle at 15% 20%, rgba(255, 225, 89, 0.35), transparent 40%),
    radial-gradient(circle at 80% 10%, rgba(255, 193, 7, 0.4), transparent 45%),
    linear-gradient(120deg, #FFF3BF 0%, #FFFFFF 50%, #FFF9E6 100%);
    border-radius: var(--radius-lg);
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 235, 180, 0.9);
    box-shadow: 0 18px 60px rgba(255, 193, 7, 0.25);
}

.neo-hero {
    background: linear-gradient(135deg, rgba(11, 10, 9, 0.95) 0%, rgba(30, 27, 26, 0.92) 35%, rgba(196, 140, 0, 0.2) 100%);
    color: white;
    border: 1px solid rgba(255, 215, 128, 0.25);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35), 0 10px 40px rgba(255, 193, 7, 0.25);
}

.neo-hero .glass-card,
.neo-hero .glass-card p,
.neo-hero .glass-card h5,
.neo-hero .glass-card span {
    color: #000 !important;
}

.cta-gradient {
    color: #fff !important;
}

/* Cards and form surfaces: enforce black text on white backgrounds */
.card,
.modal-content,
.table,
.list-group-item,
.form-control,
.form-select,
.bg-white,
.bg-light,
.table > :not(caption) > * > * {
    color: #000 !important;
}

.card .text-muted,
.modal-content .text-muted,
.table .text-muted {
    color: #555 !important;
}

.neo-hero h1,
.neo-hero h2,
.neo-hero p {
    color: white;
}

/* Decorative elements for Hero */
.hero-eren::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

/* Glass Cards */
.card-eren,
.glass-card {
    background: var(--surface-light);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-eren:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Product Card Special */
.product-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 107, 0, 0.2);
}

.product-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.product-card .price-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-600);
    font-size: 1.5rem;
}

/* =========================================
   5. BADGES & UTILITIES
   ========================================= */
.badge-status {
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-status-pending {
    background: rgba(253, 203, 110, 0.2);
    color: #D35400;
}

.badge-status-offer {
    background: rgba(116, 185, 255, 0.2);
    color: #0984e3;
}

.badge-status-accepted {
    background: rgba(0, 184, 148, 0.15);
    color: #00b894;
}

.badge-status-rejected {
    background: rgba(255, 118, 117, 0.15);
    color: #d63031;
}

.badge-status-completed {
    background: rgba(85, 239, 196, 0.2);
    color: #00b894;
}

/* Form Styling */
.form-control {
    border-radius: var(--radius-sm);
    border: 2px solid #F0F2F5;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-control:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1);
}

.form-floating>label {
    padding-left: 1rem;
}

/* Footer */
footer {
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
}

footer h5 {
    color: var(--secondary-900) !important;
    font-weight: 800;
}

/* =========================================
   6. ACCORDION & EXTRAS
   ========================================= */
.accordion-item {
    border: none;
    background: transparent;
    margin-bottom: 1rem;
}

.accordion-button {
    background: white;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    color: var(--secondary-900);
    padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
    background: white;
    color: var(--primary-600);
    box-shadow: var(--shadow-md);
}

.accordion-button:focus {
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1);
    border-color: transparent;
}

.accordion-collapse {
    background: white;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    margin-top: -10px;
    padding-top: 10px;
    box-shadow: var(--shadow-sm);
}

.accordion-body {
    padding: 1.5rem;
    color: var(--text-muted);
}
.product-card,
#surec,
#surec h2,
#surec h4,
#surec p,
#surec span,
#surec .badge-chip {
    color: #000 !important;
}
