/* =============================================
   Diddy's Warehouse — Custom Styles
   ============================================= */

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

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    
    --accent-warm: #f59e0b;
    --accent-warm-light: #fef3c7;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-xl: 0 20px 60px rgba(15, 23, 42, 0.15), 0 8px 20px rgba(15, 23, 42, 0.08);
    
    --font-heading: 'Nunito', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--slate-800);
    background: var(--slate-50);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =============================================
   Typography
   ============================================= */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal-600);
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--slate-900);
    margin-bottom: 20px;
}

.text-teal {
    color: var(--teal-600);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--slate-500);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.text-center {
    text-align: center;
}

/* =============================================
   Buttons
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--teal-600);
    color: white;
    border-color: var(--teal-600);
}

.btn-primary:hover {
    background: var(--teal-700);
    border-color: var(--teal-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
    background: white;
    color: var(--slate-800);
    border-color: white;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* =============================================
   Navbar
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--slate-200);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--slate-800);
}

.logo-icon {
    color: var(--teal-600);
}

.logo-text {
    color: var(--slate-800);
}

.logo-accent {
    color: var(--teal-600);
}

.logo-accent-light {
    color: var(--teal-400);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--slate-600);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--teal-700);
    background: var(--teal-50);
}

.nav-cta {
    background: var(--teal-600) !important;
    color: white !important;
    margin-left: 8px;
}

.nav-cta:hover {
    background: var(--teal-700) !important;
    color: white !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--slate-700);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: var(--slate-100);
}

/* Mobile overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
}

.mobile-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 90%;
    max-width: 360px;
    box-shadow: var(--shadow-xl);
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--slate-700);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    background: var(--teal-50);
    color: var(--teal-700);
}

.mobile-cta-link {
    background: var(--teal-600);
    color: white !important;
    margin-top: 8px;
}

.mobile-cta-link:hover {
    background: var(--teal-700);
}

/* =============================================
   Hero Section
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.82) 0%,
        rgba(13, 148, 136, 0.72) 50%,
        rgba(15, 23, 42, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
    text-align: center;
    padding: 120px 24px 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--teal-200);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.hero-badge svg {
    opacity: 0.9;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.12;
    color: white;
    margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero-accent {
    color: var(--teal-300);
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 36px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
}

.stat-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255,255,255,0.5);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* =============================================
   About Section
   ============================================= */
.about {
    padding: 100px 0;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    background: var(--teal-100);
    border-radius: var(--radius-xl);
    z-index: -1;
}

.about-content .section-title {
    margin-top: 8px;
}

.about-text {
    color: var(--slate-600);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--slate-700);
}

.feature-icon.teal {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--teal-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-700);
}

/* =============================================
   Departments Section
   ============================================= */
.departments {
    padding: 100px 0;
    background: var(--slate-50);
}

.section-header {
    margin-bottom: 56px;
}

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

.dept-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--slate-100);
    transition: var(--transition);
}

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

.dept-img-wrap {
    height: 200px;
    overflow: hidden;
}

.dept-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dept-card:hover .dept-img-wrap img {
    transform: scale(1.06);
}

.dept-body {
    padding: 24px;
}

.dept-icon {
    width: 52px;
    height: 52px;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-700);
    margin-bottom: 16px;
    transition: var(--transition);
}

.dept-card:hover .dept-icon {
    background: var(--teal-600);
    border-color: var(--teal-600);
    color: white;
}

.dept-body h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 8px;
}

.dept-body p {
    font-size: 0.92rem;
    color: var(--slate-500);
    line-height: 1.65;
}

/* =============================================
   Why Us Section
   ============================================= */
.why-us {
    padding: 100px 0;
    background: white;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.why-text {
    color: var(--slate-500);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 36px;
}

.reason-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.reason-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.reason-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--teal-200);
    line-height: 1;
    min-width: 48px;
}

.reason-body h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 4px;
}

.reason-body p {
    font-size: 0.9rem;
    color: var(--slate-500);
    line-height: 1.65;
}

.why-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.visual-card {
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.visual-card:hover {
    transform: translateY(-4px);
}

.card-teal {
    background: var(--teal-600);
    color: white;
    grid-column: span 2;
}

.card-slate {
    background: var(--slate-100);
    color: var(--slate-800);
}

.card-accent {
    background: var(--accent-warm);
    color: white;
}

.card-dark {
    background: var(--slate-800);
    color: white;
}

.visual-big-number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    display: block;
    margin-bottom: 4px;
}

.visual-card-text {
    font-size: 0.88rem;
    font-weight: 600;
    opacity: 0.9;
}

/* =============================================
   Testimonial Section
   ============================================= */
.testimonial {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-900) 100%);
}

.testimonial-inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.testimonial-quote-mark {
    margin-bottom: 20px;
}

.testimonial blockquote {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 600;
    line-height: 1.6;
    color: white;
    font-style: italic;
}

.testimonial-source {
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--teal-300);
    font-weight: 600;
}

/* =============================================
   Visit Section
   ============================================= */
.visit {
    padding: 100px 0;
    background: var(--slate-50);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

.visit-text {
    color: var(--slate-500);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.contact-card[href^="tel:"],
.contact-card[href^="mailto:"] {
    cursor: pointer;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--teal-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--slate-400);
}

.contact-value {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--slate-800);
    line-height: 1.4;
}

.map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-wrap iframe {
    border-radius: var(--radius-lg);
}

/* CTA Card */
.cta-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--slate-100);
}

.cta-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.cta-icon-wrap {
    width: 52px;
    height: 52px;
    background: var(--teal-600);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.cta-header h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--slate-800);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--slate-100);
    font-size: 0.92rem;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-day {
    font-weight: 600;
    color: var(--slate-700);
}

.hours-time {
    color: var(--slate-500);
    font-weight: 500;
}

.hours-closed .hours-time {
    color: var(--slate-400);
}

.cta-divider {
    height: 1px;
    background: var(--slate-100);
    margin-bottom: 24px;
}

.cta-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--slate-400);
    margin-bottom: 24px;
}

/* =============================================
   Footer
   ============================================= */
.footer {
    background: var(--slate-900);
    color: var(--slate-400);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--slate-400);
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--slate-200);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--slate-400);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--teal-400);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
}

.footer-contact a {
    color: var(--slate-400);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact a:hover {
    color: var(--teal-400);
}

.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--slate-500);
}

/* =============================================
   Scroll Reveal
   ============================================= */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 1024px) {
    .about-grid,
    .why-grid {
        gap: 40px;
    }
    
    .dept-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content {
        padding: 100px 20px 80px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-wrap {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .dept-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .why-visual {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .cta-card {
        padding: 28px 20px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}
