/* =========================================
   DW Clearance Solutions - V2 Prototype
   ========================================= */

/* --- CSS Variables & Design Tokens --- */
:root {
    /* Traditional Color Palette */
    --color-slate-900: #2d3126;
    /* Dark Olive */
    --color-slate-800: #3c4133;
    --color-slate-700: #5c6146;
    /* Base Olive from original site */
    --color-slate-600: #6b7260;
    --color-slate-400: #9ca390;
    --color-slate-300: #b8bfae;
    --color-slate-200: #d4d9cc;
    --color-slate-100: #f4f5f0;
    --color-slate-50: #fafaf8;

    --color-accent: #ae633f;
    /* Warm Bronze from original site */
    --color-accent-hover: #8e4f30;

    --color-text-main: #2d3126;
    --color-text-muted: #646b5a;
    --color-text-light: #fafaf8;

    --color-bg-main: #fcfcfb;
    --color-bg-alt: #eceee8;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-floating: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Global --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-slate-900);
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--color-accent);
    transition: color var(--transition-normal);
}

a:hover {
    color: var(--color-accent-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Layout Utilities --- */
.h-container,
.v-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--color-bg-alt);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gap-1 {
    gap: 0.5rem;
}

.text-center {
    text-align: center;
}

.text-accent {
    color: var(--color-accent);
}

/* --- Components --- */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(180, 83, 9, 0.39);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(180, 83, 9, 0.23);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-slate-900);
    border: 2px solid var(--color-slate-900);
}

.btn-secondary:hover {
    background-color: var(--color-slate-900);
    color: white;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--color-slate-100);
    color: var(--color-slate-700);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.badge-dark {
    background-color: var(--color-slate-800);
    color: var(--color-slate-100);
}

/* --- Top Bar --- */
.top-bar {
    background-color: var(--color-slate-700);
    color: var(--color-slate-100);
    padding: 0.5rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    width: 100%;
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 0.25rem;
        align-items: center;
    }
}

/* --- Header Section --- */
.glass-header {
    position: absolute;
    top: 36px;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-normal);
    padding: 1.5rem 0;
    background: transparent;
}

.glass-header.scrolled {
    position: fixed;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    border-top: 4px solid var(--color-slate-700);
}

.glass-header .h-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    gap: 0.75rem;
    color: var(--color-slate-900);
}

.logo-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.logo-icon-small {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo-text .light {
    font-weight: 300;
    color: var(--color-accent);
}

.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.desktop-nav a {
    color: var(--color-slate-800);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-accent);
    transition: width var(--transition-normal);
}

.desktop-nav a:hover::after {
    width: 100%;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.2) 100%);
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--color-slate-700);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --- Why Us Section --- */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.125rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-slate-100);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    background-color: var(--color-slate-50);
    color: var(--color-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* --- Services Section --- */
.services-track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.service-card {
    flex: 1 1 350px;
    max-width: 400px;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-floating);
    border-top-color: var(--color-accent);
}

.sc-content {
    padding: 2.5rem;
}

.sc-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.sc-content p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--color-slate-900);
}

.link-arrow:hover {
    color: var(--color-accent);
}

/* --- Storage Section --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.split-content p {
    color: var(--color-text-muted);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.check-list {
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--color-slate-800);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--color-slate-100);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.bg-pattern {
    background-image: radial-gradient(var(--color-slate-200) 1px, transparent 1px);
    background-size: 20px 20px;
}

.box {
    position: absolute;
    background: white;
    border: 1px solid var(--color-slate-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.box-1 {
    width: 60%;
    height: 40%;
    bottom: 10%;
    left: 10%;
    background: linear-gradient(135deg, white, var(--color-slate-50));
}

.box-2 {
    width: 40%;
    height: 50%;
    bottom: 10%;
    right: 10%;
    background: linear-gradient(135deg, white, #e2e8f0);
}

.box-3 {
    width: 30%;
    height: 30%;
    top: 25%;
    left: 35%;
    background: linear-gradient(135deg, white, var(--color-slate-100));
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--color-slate-900);
    color: white;
}

.cta-section h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-section .lead {
    color: var(--color-slate-300);
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 600px;
}

.cta-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-section .btn-secondary {
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.cta-section .btn-secondary:hover {
    background-color: white;
    color: var(--color-slate-900);
}

/* --- Footer --- */
.main-footer {
    background-color: #020617;
    /* Slate 950 */
    color: var(--color-slate-400);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
}

.footer-brand p {
    max-width: 300px;
}

.footer-links h4,
.footer-legal h4 {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-legal a {
    color: var(--color-slate-400);
}

.footer-links a:hover,
.footer-legal a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
}

.admin-login-link {
    color: var(--color-slate-600);
    font-size: 0.75rem;
}

.admin-login-link:hover {
    color: white;
}

/* --- Stats Counter Section --- */
.stats-section {
    background: linear-gradient(135deg, var(--color-slate-900) 0%, var(--color-slate-800) 50%, var(--color-accent) 150%);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    color: white;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-accent);
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-accent);
}

.stat-label {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-suffix {
        font-size: 1.75rem;
    }
}

/* --- How It Works --- */
.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step-card {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-floating);
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), #c67a45);
    color: white;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 15px rgba(196, 126, 72, 0.3);
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-accent);
    padding: 0 0.5rem;
    margin-top: 3rem;
    font-weight: 700;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .steps-grid {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .step-card {
        max-width: 100%;
        width: 100%;
    }

    .step-connector {
        transform: rotate(90deg);
        margin: 0;
        padding: 0.25rem 0;
    }
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid transparent;
    transition: all var(--transition-normal);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--color-accent);
}

.stars {
    font-size: 1.25rem;
    color: #f59e0b;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.testimonial-text {
    color: var(--color-slate-700);
    font-size: 1rem;
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.testimonial-author strong {
    color: var(--color-slate-900);
    font-size: 1rem;
}

.testimonial-author span {
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 500;
}

@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Sticky Mobile CTA --- */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    padding: 0.75rem 1rem;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    border-top: 1px solid var(--color-slate-100);
}

.sticky-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem;
    background: var(--color-accent);
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(196, 126, 72, 0.4);
    animation: subtle-pulse 3s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(196, 126, 72, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(196, 126, 72, 0.6); }
}

@media (max-width: 768px) {
    .sticky-cta {
        display: block;
    }

    /* Give footer extra bottom padding so it's not hidden behind sticky bar */
    .main-footer {
        padding-bottom: 5rem;
    }
}

/* --- Animations --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Hamburger Menu Button --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background-color: var(--color-slate-900);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mobile Nav Drawer --- */
.mobile-nav {
    display: none;
    background: white;
    border-top: 1px solid var(--color-slate-100);
    box-shadow: var(--shadow-md);
}

.mobile-nav.open {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-nav ul {
    list-style: none;
    padding: 1rem 2rem 1.5rem;
}

.mobile-nav li {
    border-bottom: 1px solid var(--color-slate-100);
}

.mobile-nav li:last-child {
    border-bottom: none;
}

.mobile-nav a {
    display: block;
    padding: 0.85rem 0;
    color: var(--color-slate-800);
    font-weight: 500;
    font-size: 1.05rem;
    font-family: var(--font-heading);
}

.mobile-nav a:hover {
    color: var(--color-accent);
}

.mobile-phone-link {
    color: var(--color-accent) !important;
    font-weight: 600 !important;
}

/* --- CTA Section Layout Fix --- */
.cta-section .v-container {
    flex-direction: column;
}

/* Media Queries */
@media (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .header-cta-btn {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .top-bar-content {
        font-size: 0.75rem !important;
    }

    .glass-header {
        top: 60px;
    }
}

/* --- Legal Pages --- */
.legal-page {
    min-height: 100vh;
}

.legal-page h1 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.legal-updated {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-slate-100);
}

.legal-page h2 {
    font-size: 1.35rem;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-slate-900);
}

.legal-page h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-slate-800);
}

.legal-page p,
.legal-page li {
    color: var(--color-slate-700);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.legal-page ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-page a {
    color: var(--color-accent);
    font-weight: 500;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 2rem;
    font-size: 0.9rem;
}

.cookie-table th,
.cookie-table td {
    text-align: left;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-slate-100);
}

.cookie-table th {
    background: var(--color-slate-50);
    font-weight: 600;
    color: var(--color-slate-800);
}

.cookie-table td {
    color: var(--color-slate-700);
}

/* --- Store Page Specifics --- */
.pt-header {
    padding-top: 8rem;
    padding-bottom: 4rem;
}

.store-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.store-item {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.store-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.item-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background-color: var(--color-slate-100);
}

.item-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.store-item:hover .item-img-wrap img {
    transform: scale(1.05);
}

.item-img-wrap .badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    margin: 0;
    z-index: 10;
}

.badge-accent {
    background-color: var(--color-accent);
    color: white;
}

.item-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: calc(100% - 75%);
    /* rough approximate, allows flex growth */
}

.item-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.item-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.item-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.w-full {
    width: 100%;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

/* --- Loading Spinner --- */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--color-slate-100);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- Reserved Badge --- */
.badge-reserved {
    background-color: #f59e0b;
    color: white;
}

/* =========================================
   Reserve Modal
   ========================================= */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-floating);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-text-muted);
    line-height: 1;
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--color-slate-900);
}

.modal-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.preview-pill {
    background: var(--color-slate-100);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--color-slate-800);
    border-left: 4px solid var(--color-accent);
}

.modal-content .form-group {
    margin-bottom: 1.25rem;
}

.modal-content label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--color-slate-800);
    font-size: 0.95rem;
}

.modal-content input[type="text"],
.modal-content input[type="email"],
.modal-content input[type="tel"],
.modal-content input[type="number"],
.modal-content textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.modal-content input:focus,
.modal-content textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.radio-group {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.radio-option {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-weight: 500 !important;
    margin-bottom: 0 !important;
}

.radio-option:has(input:checked) {
    border-color: var(--color-accent);
    background: #fef3ee;
}

.radio-option input[type="radio"] {
    accent-color: var(--color-accent);
    width: 18px;
    height: 18px;
}

.radio-label {
    font-size: 0.95rem;
}

.form-row {
    display: flex;
    gap: 0.75rem;
}

.form-row input {
    flex: 1;
}

.modal-info {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 1rem;
}

/* --- Toast Notification --- */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--color-slate-900);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: var(--shadow-floating);
    z-index: 99999;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    max-width: 90vw;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* =========================================
   Admin Dashboard Styles
   ========================================= */

/* Login Screen */
.admin-login-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-slate-900), var(--color-slate-800));
    padding: 2rem;
}

.login-card {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: var(--shadow-floating);
}

.login-logo {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
}

.login-card h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.login-card p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.login-card .form-group {
    margin-bottom: 1.5rem;
}

.login-card input[type="password"] {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1.1rem;
    text-align: center;
    letter-spacing: 0.1em;
}

.login-card input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.login-error {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 1rem;
    min-height: 1.25rem;
}

.back-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* Admin Header */
.admin-header {
    background-color: var(--color-slate-900);
    color: white;
    padding: 1rem 2rem;
}

.admin-header-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.admin-nav-link:hover {
    color: white;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

/* Admin Tabs */
.admin-tabs {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    background: white;
    border-bottom: 2px solid #e2e8f0;
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.tab-btn.active {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.tab-btn:hover {
    color: var(--color-slate-900);
}

.tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dc2626;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    padding: 0 5px;
    margin-left: 0.4rem;
}

/* Admin Main Content */
.admin-main {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.admin-main h2 {
    font-size: 1.5rem;
}

/* Admin Forms */
.admin-main .form-group {
    margin-bottom: 1.5rem;
}

.admin-main label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-slate-800);
    font-size: 1rem;
}

.admin-main input[type="text"],
.admin-main input[type="number"],
.admin-main input[type="password"],
.admin-main textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
}

.admin-main input:focus,
.admin-main textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* Upload Area */
.upload-area {
    border: 2px dashed #cbd5e1;
    padding: 2rem;
    text-align: center;
    border-radius: var(--radius-md);
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.upload-area:hover {
    border-color: var(--color-accent);
    background: #fef3ee;
}

.upload-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.upload-text {
    font-weight: 500;
    color: #475569;
    font-size: 0.95rem;
}

.image-preview {
    max-width: 200px;
    max-height: 200px;
    margin: 1rem auto 0;
    border-radius: var(--radius-md);
    object-fit: cover;
}

/* Manage Cards */
.manage-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.manage-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: stretch;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-fast);
}

.manage-card:hover {
    box-shadow: var(--shadow-md);
}

.manage-card-img {
    width: 100px;
    min-height: 100px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--color-slate-100);
}

.manage-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.manage-card-info {
    flex: 1;
    padding: 1rem 1.25rem;
}

.manage-card-info h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.manage-card-info .badge {
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    margin: 0;
}

.manage-card-info .item-price {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.manage-card-info .item-desc {
    font-size: 0.8rem;
    margin-bottom: 0;
}

.manage-card-actions {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.75rem;
    justify-content: center;
    flex-shrink: 0;
}

.action-btn {
    padding: 0.4rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    background: white;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    font-family: var(--font-body);
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.available-btn {
    color: #059669;
    border-color: #a7f3d0;
}

.available-btn:hover {
    background: #ecfdf5;
}

.sold-btn {
    color: var(--color-accent);
    border-color: #fdd;
}

.sold-btn:hover {
    background: #fef3ee;
}

.delete-btn {
    color: #dc2626;
    border-color: #fecaca;
}

.delete-btn:hover {
    background: #fef2f2;
}

/* Reservation Cards */
.reservation-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-fast);
}

.reservation-card:hover {
    box-shadow: var(--shadow-md);
}

.res-pending {
    border-left: 4px solid #f59e0b;
}

.res-completed {
    border-left: 4px solid #10b981;
    opacity: 0.7;
}

.res-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.res-header h3 {
    font-size: 1.1rem;
    margin: 0;
}

.res-date {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.res-details p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-slate-800);
}

.res-details a {
    color: var(--color-accent);
    font-weight: 500;
}

.res-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.res-status-label {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    color: #10b981;
    font-weight: 600;
    font-size: 0.875rem;
}

/* --- Mobile Admin Responsive --- */
@media (max-width: 640px) {
    .manage-card {
        flex-direction: column;
    }

    .manage-card-img {
        width: 100%;
        height: 150px;
    }

    .manage-card-actions {
        flex-direction: row;
        padding: 0.75rem 1.25rem 1rem;
        flex-wrap: wrap;
    }

    .admin-tabs {
        overflow-x: auto;
    }

    .tab-btn {
        padding: 0.85rem 1rem;
        font-size: 0.85rem;
    }

    .admin-main {
        padding: 1.5rem 1rem;
    }

    .login-card {
        padding: 2rem 1.5rem;
    }

    .modal-content {
        padding: 2rem 1.5rem;
        margin: 0.5rem;
    }

    .radio-group {
        flex-direction: column;
    }

    .form-row {
        flex-direction: column;
    }

    .res-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .res-actions {
        flex-direction: column;
    }
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--color-slate-900);
    color: white;
    z-index: 10000;
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-slate-200);
    line-height: 1.5;
}

.cookie-content a {
    color: var(--color-accent);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .cookie-banner {
        /* Make room for sticky mobile CTA if present */
        bottom: -150%;
    }
    
    .cookie-banner.show {
        bottom: 58px; /* Above the sticky call button */
    }
}

/* --- Admin Settings --- */
.settings-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    border-top: 1px solid var(--color-slate-100);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}
    }
}

/* --- Contact Form --- *//* --- Contact Form (Dark/Homepage) --- */
.contact-form {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    padding: 3.5rem;
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 850px;
    margin: 0 auto;
    text-align: left;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.contact-form .form-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form label {
    font-weight: 500;
    font-size: 0.8rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.25rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    color: white;
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
    font-size: 1.05rem;
    transition: all var(--transition-fast);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 0 4px rgba(174, 99, 63, 0.15);
}

    
    .contact-form .form-row,
    .contact-form-alt .form-row {
        flex-direction: column;
        gap: 1.25rem;
    }

    .modal-container {
        max-height: 92vh;
        overflow-y: auto;
    }

    .modal-body {
        padding: 2rem 1.25rem;
    }
}
}
/* --- FAQ & Guide Section --- */
.faq-section {
    background-color: white;
}

.guide-list {
    margin-top: 2rem;
}

.guide-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.guide-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background-color: var(--color-slate-900);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.guide-item h4 {
    margin-bottom: 0.25rem;
    color: var(--color-slate-900);
}

.guide-item p {
    font-size: 0.95rem;
    color: var(--color-slate-600);
    line-height: 1.5;
}

.faq-accordion {
    margin-top: 2rem;
}

.faq-item {
    border-bottom: 1px solid var(--color-slate-100);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.25rem 0;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-slate-900);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    font-size: 1rem;
    color: var(--color-slate-600);
    line-height: 1.7;
}


/* --- Card Styling for FAQ & Guide --- */
.guide-card, .faq-card {
    background: #ffffff;
    border: 1px solid var(--color-slate-100);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-card:hover, .faq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
    .guide-card, .faq-card {
        padding: 1.5rem;
    }
}


/* --- Layout Fix for FAQ & Guide Balance --- */
.split-layout {
    display: flex;
    gap: 4rem;
    align-items: stretch;
}

.split-layout > div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.guide-card, .faq-card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

@media (max-width: 992px) {
    .split-layout {
        flex-direction: column;
        gap: 2rem;
    }
}

