/* =========================================
   MASTER STYLESHEET - BIANCA'S MOERKOFFIE
   ========================================= */

/* --- Base Variables & Reset --- */
:root {
    --primary-color: #3e2723; /* Deep Espresso */
    --accent-color: #d4a373; /* Golden Crema */
    --accent-hover: #b5835a;
    --bg-color: #faf8f5; /* Warm Cream */
    --bg-light: #ffffff;
    --text-main: #4a4a4a;
    --text-heading: #2c1e16;
    --transition-standard: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg-color); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4, .price-badge { font-family: 'Playfair Display', serif; color: var(--text-heading); }
a { text-decoration: none; color: inherit; transition: var(--transition-standard); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 5%; }
.container-fluid { width: 100%; padding: 0 5%; }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* --- Buttons --- */
.btn { display: inline-block; padding: 14px 32px; font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; border-radius: 4px; cursor: pointer; transition: var(--transition-standard); border: none; text-align: center; }
.btn-primary { background: var(--accent-color); color: #fff; border: 2px solid var(--accent-color); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); box-shadow: 0 4px 15px rgba(212, 163, 115, 0.4); color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: #fff; color: var(--primary-color); }
.btn-outline-dark { background: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); }
.btn-outline-dark:hover { background: var(--primary-color); color: #fff; }
.btn-text { color: var(--accent-color); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.btn-text:hover { color: var(--primary-color); }
.full-width-btn { width: 100%; font-size: 1.1rem; padding: 18px; margin-top: 10px; }

/* --- Header & Nav --- */
header { background: rgba(255, 255, 255, 0.98); position: fixed; width: 100%; top: 0; z-index: 1000; box-shadow: 0 2px 20px rgba(0,0,0,0.05); transition: var(--transition-standard); padding: 15px 0; }
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1280px; margin: 0 auto; padding: 0 5%; }
.logo img { max-height: 60px; transition: var(--transition-standard); }
nav ul { list-style: none; display: flex; align-items: center; gap: 30px; }
nav ul li a { font-size: 0.95rem; font-weight: 600; color: var(--primary-color); position: relative; }
nav ul li a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--accent-color); transition: var(--transition-standard); }
nav ul li a:hover::after, nav ul li a.active::after { width: 100%; }
.nav-btn { background: var(--primary-color); color: #fff !important; padding: 10px 20px; border-radius: 4px; }
.nav-btn::after { display: none; }
.nav-btn:hover { background: var(--accent-color); }

/* --- Hamburger Menu --- */
.hamburger { display: none; background: none; border: none; cursor: pointer; width: 30px; height: 20px; position: relative; z-index: 1001; }
.hamburger span { display: block; position: absolute; height: 2px; width: 100%; background: var(--primary-color); border-radius: 2px; opacity: 1; left: 0; transform: rotate(0deg); transition: .25s ease-in-out; }
.hamburger span:nth-child(1) { top: 0px; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }
.hamburger.open span:nth-child(1) { top: 9px; transform: rotate(135deg); }
.hamburger.open span:nth-child(2) { opacity: 0; left: -60px; }
.hamburger.open span:nth-child(3) { top: 9px; transform: rotate(-135deg); }

/* =========================================
   RESTORED: HOMEPAGE DYNAMIC HERO SLIDER 
   ========================================= */
.hero { position: relative; height: 100vh; width: 100%; overflow: hidden; background-color: #111; margin-top: 0; }
.hero-slider { height: 100%; width: 100%; position: relative; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.8s ease-in-out; display: flex; align-items: center; justify-content: center; text-align: center; }
.slide.active { opacity: 1; z-index: 1; }
.hero-content { max-width: 800px; padding: 0 20px; color: #fff; transform: translateY(30px); opacity: 0; transition: all 0.8s ease-in-out 0.3s; }
.slide.active .hero-content { transform: translateY(0); opacity: 1; }
.subtitle { display: block; font-size: 1rem; text-transform: uppercase; letter-spacing: 3px; color: var(--accent-color); margin-bottom: 15px; }
.hero h1 { font-size: clamp(3rem, 5vw, 5rem); color: #fff; margin-bottom: 20px; line-height: 1.1; text-shadow: 2px 4px 10px rgba(0,0,0,0.3); }
.hero p { font-size: 1.2rem; margin-bottom: 30px; text-shadow: 1px 2px 5px rgba(0,0,0,0.5); }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); color: #fff; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 20px; z-index: 10; backdrop-filter: blur(5px); transition: var(--transition-standard); }
.slider-btn:hover { background: var(--accent-color); border-color: var(--accent-color); }
.prev { left: 30px; }
.next { right: 30px; }
.slider-dots { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.dot { width: 12px; height: 12px; background: rgba(255,255,255,0.4); border-radius: 50%; cursor: pointer; transition: var(--transition-standard); }
.dot.active { background: var(--accent-color); transform: scale(1.3); }

/* --- Inner Page Heroes (About & Contact) --- */
.inner-hero { height: 40vh; min-height: 350px; display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center; background-color: #5d4037; margin-top: 80px; color: #fff; text-align: center; }
.compact-hero { height: 25vh; min-height: 200px; background-color: var(--primary-color); background-image: none; }
.inner-hero h1 { color: #fff; font-size: clamp(2.5rem, 4vw, 4rem); margin-bottom: 10px; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.inner-hero .subtitle { color: var(--accent-color); letter-spacing: 2px; text-transform: uppercase; font-weight: 600; text-shadow: 1px 1px 5px rgba(0,0,0,0.5); }

/* --- Layouts & Sections --- */
.wow-section { padding: 100px 0; }
.layout-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.layout-split.reverse { direction: rtl; }
.layout-split.reverse > * { direction: ltr; }

/* Images & Typography */
.section-tag { color: var(--accent-color); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; display: block; margin-bottom: 10px; }
.text-box h2 { font-size: clamp(2rem, 3vw, 3rem); margin-bottom: 25px; line-height: 1.2; }
.lead-text { font-size: 1.2rem; font-weight: 400; color: var(--text-heading); margin-bottom: 20px; }
.text-box p { margin-bottom: 30px; }
.image-decorated { position: relative; padding: 20px; }
.image-decorated img { width: 100%; min-height: 300px; background: #eee; border-radius: 8px; position: relative; z-index: 2; box-shadow: 0 20px 40px rgba(0,0,0,0.1); object-fit: cover; }
.image-accent { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 2px solid var(--accent-color); border-radius: 8px; transform: translate(20px, 20px); z-index: 1; }

/* Product Showcase Specifics */
.product-showcase { position: relative; text-align: center; }
.product-showcase img { max-width: 80%; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15)); transition: transform 0.5s ease; border-radius: 12px; }
.product-showcase:hover img { transform: translateY(-10px); }
.price-badge { position: absolute; top: 20px; right: 20px; background: var(--accent-color); color: #fff; width: 100px; height: 100px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 700; box-shadow: 0 10px 20px rgba(212, 163, 115, 0.4); z-index: 3; }
.product-features { list-style: none; margin-bottom: 30px; border-top: 1px solid #e0e0e0; border-bottom: 1px solid #e0e0e0; padding: 20px 0; }
.product-features li { margin-bottom: 10px; font-size: 1.05rem; }
.product-features li strong { color: var(--primary-color); }
.action-group { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

/* --- Premium Contact Forms --- */
.contact-hub .info-block { margin-bottom: 30px; }
.contact-hub .info-block h4 { font-family: 'Inter', sans-serif; font-size: 1.1rem; color: var(--accent-color); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
.contact-hub .info-block p, .contact-hub .info-block a { font-size: 1.1rem; color: var(--text-heading); }
.contact-hub .info-block a:hover { color: var(--accent-color); }

.form-wrapper { background: #fff; padding: 40px; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.06); }
.premium-form { width: 100%; }
.form-group { margin-bottom: 25px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--text-heading); font-size: 0.95rem; }
.premium-form input, .premium-form select, .premium-form textarea { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 6px; background-color: #fafafa; font-family: 'Inter', sans-serif; font-size: 1rem; color: var(--text-main); transition: var(--transition-standard); box-sizing: border-box; }
.premium-form input:focus, .premium-form select:focus, .premium-form textarea:focus { outline: none; border-color: var(--accent-color); background-color: #fff; box-shadow: 0 0 0 4px rgba(212, 163, 115, 0.1); }
.form-group.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
#order-details-group small { display: block; margin-top: 8px; font-weight: 600; color: var(--primary-color); }

/* --- Infinite Moving Client Slider --- */
.client-slider-section { padding: 60px 0; background: #ffffff; color: var(--text-main); overflow: hidden; border-top: 1px solid #f0f0f0; }
.client-slider-section h2 { color: var(--text-heading); margin-bottom: 10px; }
.marquee-container { position: relative; width: 100%; max-width: 100%; overflow: hidden; margin-top: 30px; }
.marquee-container::before, .marquee-container::after { content: ''; position: absolute; top: 0; width: 150px; height: 100%; z-index: 2; }
/* Updated gradient masks to match the white background */
.marquee-container::before { left: 0; background: linear-gradient(to right, #ffffff, transparent); }
.marquee-container::after { right: 0; background: linear-gradient(to left, #ffffff, transparent); }
.marquee-track { display: flex; width: calc(250px * 8); animation: scrollMarquee 30s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
/* Removed the grayscale and opacity filters to show true colors */
.client-logo { width: 250px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; padding: 0 30px; transition: transform 0.3s; }
.client-logo:hover { transform: scale(1.1); }
.client-logo img { max-width: 100%; max-height: 80px; object-fit: contain; }
@keyframes scrollMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-250px * 4)); } }

/* --- Footer --- */
footer { background: #23150f; color: #d1d1d1; padding: 80px 0 20px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; }
.footer-logo { max-width: 180px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.brand-col p { margin-bottom: 25px; max-width: 300px; }
.social-icons { display: flex; gap: 15px; }
.social-icons a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: transparent; border: none; transition: var(--transition-standard); }
.social-icons a:hover { transform: translateY(-3px); }
.social-icons img { width: 36px; height: 36px; object-fit: contain; filter: none !important; }
.footer-col h4 { color: #fff; margin-bottom: 25px; font-size: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a:hover { color: var(--accent-color); padding-left: 5px; }
.contact-col p { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 15px; }
.contact-col .icon { color: var(--accent-color); font-size: 1.2rem; }
.footer-bottom { text-align: center; margin-top: 60px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; font-size: 0.85rem; color: #888; }

/* =========================================
   RESTORED: MODERN FLOATING COOKIE NOTICE
   ========================================= */
.cookie-popup { position: fixed; bottom: -100px; left: 50%; transform: translateX(-50%); background: #1f1f1f; color: #fff; padding: 15px 25px; border-radius: 50px; box-shadow: 0 15px 40px rgba(0,0,0,0.4); display: flex; align-items: center; gap: 25px; z-index: 9999; transition: bottom 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55); width: max-content; max-width: 90vw; }
.cookie-popup:not(.hidden) { bottom: 30px; }
.cookie-content { display: flex; align-items: center; gap: 15px; }
.cookie-content p { margin: 0; font-size: 0.9rem; color: #ccc; }
.cookie-content a { color: var(--accent-color); text-decoration: underline; }
.btn-cookie { background: var(--accent-color); border: none; padding: 10px 24px; border-radius: 25px; color: #fff; font-weight: 600; cursor: pointer; transition: var(--transition-standard); white-space: nowrap; }
.btn-cookie:hover { background: var(--accent-hover); transform: scale(1.05); }

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .layout-split { grid-template-columns: 1fr; gap: 40px; }
    .layout-split.reverse { direction: ltr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .slider-btn { display: none; }
    .inner-hero { margin-top: 70px; min-height: 250px; }
    .form-group.split { grid-template-columns: 1fr; gap: 0; }
    .form-wrapper { padding: 25px 20px; }
    .cookie-popup { flex-direction: column; border-radius: 15px; padding: 20px; text-align: center; bottom: -200px; }
    .cookie-content { flex-direction: column; gap: 10px; }
    
    /* Mobile Menu Logic */
    .hamburger { display: block; }
    nav { position: absolute; top: 100%; left: 0; width: 100%; background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,0.05); clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: clip-path 0.4s ease-in-out; }
    nav.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    nav ul { flex-direction: column; padding: 30px; gap: 20px; }
    .nav-btn { display: inline-block; width: max-content; }
}
@media (max-width: 576px) { .footer-grid { grid-template-columns: 1fr; } }

/* --- Prominent Form Status Banners --- */
#form-alert {
    display: none; /* Hidden by default */
    padding: 16px 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    font-size: 1.05rem;
    animation: fadeInDown 0.4s ease-out;
}

#form-alert.success {
    display: block;
    background-color: #e6f4ea !important;
    color: #1e4620 !important;
    border: 2px solid #81c995 !important;
}

#form-alert.error {
    display: block;
    background-color: #fce8e6 !important;
    color: #c5221f !important;
    border: 2px solid #f28b82 !important;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- MysaTech Powered By Link --- */
.powered-by { font-size: 0.85rem; margin-top: 5px; color: #a0a0a0; }
.powered-by a { color: var(--accent-color); font-weight: 600; text-decoration: none; transition: var(--transition-standard); }
.powered-by a:hover { color: #fff; text-decoration: underline; }