/* ========================================
   D N Supply Co — Styles
   Palette: Burgundy (#7B2D3B) + Blush (#F5E6E8)
   Fonts: Playfair Display + Inter
   ======================================== */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --burgundy: #7B2D3B;
    --burgundy-dark: #5C1F2B;
    --burgundy-deeper: #4A1823;
    --blush: #F5E6E8;
    --blush-light: #FAF2F3;
    --blush-mid: #EFD6D9;
    --neutral-900: #1A1A1A;
    --neutral-800: #2D2D2D;
    --neutral-700: #404040;
    --neutral-600: #555555;
    --neutral-500: #6B6B6B;
    --neutral-400: #888888;
    --neutral-300: #AAAAAA;
    --neutral-200: #D4D4D4;
    --neutral-100: #EEEEEE;
    --neutral-50: #F7F7F7;
    --white: #FFFFFF;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.14);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--neutral-800);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

/* ========================================
   Navigation
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--neutral-100);
    transition: box-shadow 0.3s ease;
}

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

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--burgundy);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    border-radius: var(--radius-sm);
    letter-spacing: -0.5px;
}

.nav-logo-text {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 18px;
    color: var(--neutral-900);
    letter-spacing: -0.3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--neutral-600);
    transition: color 0.2s ease;
    letter-spacing: 0.01em;
}

.nav-links a:hover {
    color: var(--burgundy);
}

.nav-cta {
    background: var(--burgundy) !important;
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
    transition: background 0.2s ease, transform 0.15s ease !important;
}

.nav-cta:hover {
    background: var(--burgundy-dark) !important;
    transform: translateY(-1px);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--neutral-800);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 999;
    padding: 32px 24px;
}

.mobile-menu.open {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu-link {
    font-size: 18px;
    font-weight: 600;
    color: var(--neutral-800);
    padding: 14px 0;
    border-bottom: 1px solid var(--neutral-100);
    transition: color 0.2s ease;
}

.mobile-menu-link:hover {
    color: var(--burgundy);
}

.mobile-menu-cta {
    border-bottom: none;
    background: var(--burgundy);
    color: var(--white);
    text-align: center;
    border-radius: var(--radius-sm);
    margin-top: 8px;
    padding: 16px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--burgundy-deeper) 0%, var(--burgundy) 50%, #8B3A4A 100%);
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(245, 230, 232, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 230, 232, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Main Hero Card */
.hero-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 56px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--burgundy), var(--blush-mid));
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blush);
    color: var(--burgundy);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--burgundy);
    border-radius: 50%;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--neutral-900);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

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

.hero-sub {
    font-size: 17px;
    line-height: 1.7;
    color: var(--neutral-600);
    margin-bottom: 36px;
    max-width: 520px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--burgundy);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--burgundy-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123, 45, 59, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--neutral-700);
    border: 1.5px solid var(--neutral-200);
}

.btn-secondary:hover {
    border-color: var(--burgundy);
    color: var(--burgundy);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 32px;
    font-size: 16px;
    margin-top: 32px;
}

/* Floating Stat Cards */
.hero-floats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.float-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.float-card:hover {
    transform: translateX(6px);
}

.float-card--top { transform: translateX(12px); }
.float-card--top:hover { transform: translateX(18px); }
.float-card--mid { transform: translateX(0px); }
.float-card--mid:hover { transform: translateX(6px); }
.float-card--bottom { transform: translateX(-8px); }
.float-card--bottom:hover { transform: translateX(-2px); }

.float-card-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blush);
    color: var(--burgundy);
    border-radius: var(--radius-md);
}

.float-card-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.float-card-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--neutral-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.float-card-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--neutral-900);
}

/* ========================================
   Section Shared
   ======================================== */
.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--burgundy);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--neutral-900);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 17px;
    line-height: 1.7;
    color: var(--neutral-600);
    max-width: 600px;
}

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

.section-header--center .section-desc {
    margin: 0 auto;
}

/* ========================================
   Services Section
   ======================================== */
.services {
    padding: 120px 0;
    background: var(--neutral-50);
}

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

.service-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid var(--neutral-100);
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--burgundy);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blush);
    color: var(--burgundy);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    transition: background 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--burgundy);
    color: var(--white);
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--neutral-600);
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: 120px 0;
    background: var(--white);
}

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

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

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--blush);
    border-radius: var(--radius-xl);
    z-index: -1;
}

.about-content {
    padding: 24px 0;
}

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

.about-stats {
    display: flex;
    gap: 24px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--neutral-100);
}

.about-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.about-stat-num {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--burgundy);
}

.about-stat-label {
    font-size: 13px;
    color: var(--neutral-500);
    font-weight: 500;
}

.about-stat-divider {
    width: 1px;
    background: var(--neutral-200);
    align-self: stretch;
}

/* ========================================
   Products Section
   ======================================== */
.products {
    padding: 120px 0;
    background: var(--blush-light);
}

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

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--neutral-100);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-card-img {
    overflow: hidden;
    height: 200px;
}

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

.product-card:hover .product-card-img img {
    transform: scale(1.05);
}

.product-card-body {
    padding: 24px 28px;
}

.product-card-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 8px;
}

.product-card-body p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--neutral-600);
}

/* ========================================
   Why Us Section
   ======================================== */
.why-us {
    padding: 120px 0;
    background: var(--white);
}

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

.why-us-content {
    padding: 24px 0;
}

.why-list {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

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

.why-item-mark {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blush);
    color: var(--burgundy);
    border-radius: 50%;
    margin-top: 2px;
}

.why-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 6px;
}

.why-item p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--neutral-600);
}

.why-us-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 100%;
    min-height: 500px;
}

.why-us-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   Testimonial Section
   ======================================== */
.testimonial-section {
    padding: 100px 0;
    background: var(--burgundy);
    position: relative;
    overflow: hidden;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 50%, rgba(245, 230, 232, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 50%, rgba(245, 230, 232, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.testimonial-quote-mark {
    font-family: var(--font-display);
    font-size: 120px;
    line-height: 1;
    color: rgba(245, 230, 232, 0.2);
    margin-bottom: -40px;
    user-select: none;
}

.testimonial-text {
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.7;
    color: var(--white);
    font-weight: 400;
    margin-bottom: 32px;
}

.testimonial-attribution {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

.testimonial-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--blush);
}

.testimonial-role {
    font-size: 14px;
    color: rgba(245, 230, 232, 0.6);
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: 120px 0;
    background: var(--neutral-50);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: stretch;
}

.contact-info {
    padding: 24px 0;
}

.contact-details {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-detail {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-detail-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blush);
    color: var(--burgundy);
    border-radius: var(--radius-md);
}

.contact-detail-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--neutral-400);
    margin-bottom: 4px;
}

.contact-detail-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--neutral-800);
    line-height: 1.6;
}

.contact-phone:hover {
    color: var(--burgundy);
}

.contact-map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 420px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--neutral-900);
    padding: 80px 0 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--burgundy);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    border-radius: var(--radius-sm);
}

.footer-logo-text {
    font-weight: 700;
    font-size: 18px;
    color: var(--white);
}

.footer-tagline {
    font-size: 15px;
    line-height: 1.7;
    color: var(--neutral-400);
    max-width: 280px;
}

.footer-nav h4,
.footer-contact h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--neutral-300);
    margin-bottom: 20px;
}

.footer-nav ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    font-size: 15px;
    color: var(--neutral-400);
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--neutral-400);
    line-height: 1.6;
}

.footer-contact a {
    color: var(--neutral-400);
    transition: color 0.2s ease;
}

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

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--burgundy);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--neutral-500);
}

/* ========================================
   Scroll Reveal (progressive enhancement)
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
    .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) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-floats {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .float-card {
        flex: 1;
        min-width: 200px;
    }

    .float-card--top,
    .float-card--mid,
    .float-card--bottom {
        transform: none;
    }

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

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .why-us-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }

    .hero-card {
        padding: 36px 28px;
    }

    .hero-headline {
        font-size: 28px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: column;
        gap: 20px;
    }

    .about-stat-divider {
        width: 100%;
        height: 1px;
    }

    .testimonial-quote-mark {
        font-size: 80px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-map {
        min-height: 300px;
    }

    .contact-map iframe {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-card {
        padding: 28px 22px;
    }

    .float-card {
        padding: 16px 18px;
    }

    .service-card {
        padding: 28px 24px;
    }
}
