/* ========================================
   VICTORIA EQUIPMENT & SUPPLY COMPANY
   Vibrant Modern | Burgundy + Blush
   ======================================== */

/* --- CSS Variables --- */
:root {
    --burgundy: #800020;
    --burgundy-dark: #5c0017;
    --burgundy-light: #a0103a;
    --blush: #F5C6C6;
    --blush-light: #FDF0F0;
    --blush-dark: #e8a0a0;
    --cream: #FFF8F5;
    --white: #FFFFFF;
    --black: #1a1a1a;
    --gray-100: #f7f7f7;
    --gray-200: #e8e8e8;
    --gray-400: #999999;
    --gray-600: #666666;
    --gray-800: #333333;

    --font-display: 'Syne', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-sm: 0 2px 8px rgba(128, 0, 32, 0.08);
    --shadow-md: 0 8px 32px rgba(128, 0, 32, 0.12);
    --shadow-lg: 0 16px 64px rgba(128, 0, 32, 0.16);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

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

ul {
    list-style: none;
}

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

/* --- Grain Overlay --- */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    color: var(--black);
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--burgundy);
    background: var(--blush);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 24px;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    line-height: 1.7;
}

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

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

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

.btn-outline {
    background: transparent;
    color: var(--burgundy);
    border-color: var(--burgundy);
}

.btn-outline:hover {
    background: var(--burgundy);
    color: var(--white);
    transform: translateY(-2px);
}

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

.btn-white:hover {
    background: var(--blush-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline-white:hover {
    background: var(--white);
    color: var(--burgundy);
    transform: translateY(-2px);
}

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

/* --- Header --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 248, 245, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(128, 0, 32, 0.08);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

.logo-mark {
    width: 42px;
    height: 42px;
    background: var(--burgundy);
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
}

.logo-text {
    letter-spacing: 0.05em;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-800);
    padding: 8px 16px;
    border-radius: 100px;
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--burgundy);
    background: var(--blush-light);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--burgundy);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 2px solid var(--blush);
    padding: 24px;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

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

.mobile-menu a {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gray-800);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-menu a:hover {
    background: var(--blush-light);
    color: var(--burgundy);
}

/* --- Hero Section --- */
.hero {
    padding-top: 104px;
    padding-bottom: 0;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-bottom: 80px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--burgundy);
    background: var(--blush);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--burgundy);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-headline {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--black);
}

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

.hero-sub {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

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

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--burgundy);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 700px;
}

.visual-block {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.visual-block--main {
    width: 320px;
    height: 420px;
    top: 40px;
    right: 0;
    z-index: 2;
}

.visual-block--main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visual-block--accent {
    width: 240px;
    height: 180px;
    bottom: 120px;
    left: 0;
    z-index: 3;
    border: 4px solid var(--white);
}

.visual-block--accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visual-block--geometric {
    width: 200px;
    height: 200px;
    top: 0;
    left: 40px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-wave {
    position: relative;
    z-index: 1;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

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

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

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

.image-wrapper {
    position: relative;
}

.image-wrapper img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.image-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
}

.image-accent svg {
    width: 100%;
    height: 100%;
}

.about-content-col {
    padding: 20px 0;
}

.about-content-col > p {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-values {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.value-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.value-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--blush-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy);
}

.value-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--black);
    margin-bottom: 2px;
}

.value-item span {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* --- Services Section --- */
.services {
    background: var(--cream);
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

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

.service-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(128, 0, 32, 0.06);
}

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

.service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.service-card-bg svg {
    width: 100%;
    height: 100%;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--blush-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

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

.service-card:hover .service-icon svg {
    stroke: var(--white);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--black);
}

.service-card > p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-features {
    margin-bottom: 28px;
}

.service-features li {
    font-size: 0.9rem;
    color: var(--gray-600);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    background: var(--blush);
    border-radius: 50%;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--burgundy);
    transition: var(--transition);
}

.service-link:hover {
    gap: 12px;
}

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

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

.why-us-intro {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 40px;
}

.differentiators {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

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

.diff-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--blush);
    line-height: 1;
    min-width: 60px;
}

.diff-item h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--black);
    margin-bottom: 4px;
}

.diff-item p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.visual-stack {
    position: relative;
    height: 600px;
}

.stack-card {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.stack-card--1 {
    width: 300px;
    height: 400px;
    top: 0;
    right: 0;
    z-index: 2;
}

.stack-card--1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stack-card--2 {
    width: 260px;
    height: 160px;
    bottom: 80px;
    left: 0;
    z-index: 3;
    background: var(--burgundy);
    display: flex;
    align-items: center;
    padding: 28px;
}

.stack-card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stack-stat {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stack-label {
    font-size: 0.85rem;
    color: var(--blush);
    line-height: 1.4;
}

.stack-card--3 {
    width: 180px;
    height: 180px;
    bottom: 0;
    right: 40px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stack-card--3 svg {
    width: 100%;
    height: 100%;
}

/* --- CTA Banner --- */
.cta-banner {
    background: var(--burgundy);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-inner {
    display: flex;
    align-items: center;
    gap: 48px;
    position: relative;
    z-index: 1;
}

.cta-geometric {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    opacity: 0.3;
}

.cta-geometric svg {
    width: 100%;
    height: 100%;
}

.cta-content {
    flex: 1;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--white);
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--blush);
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* --- Contact Section --- */
.contact {
    background: var(--cream);
    padding: 100px 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info > p {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 36px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--blush-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--black);
    margin-bottom: 2px;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.contact-item a {
    color: var(--burgundy);
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--burgundy-dark);
    text-decoration: underline;
}

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
}

/* Contact Form */
.form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(128, 0, 32, 0.06);
}

.form-wrapper h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--gray-400);
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-800);
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--burgundy);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(128, 0, 32, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--blush-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.form-success h4 {
    font-size: 1.4rem;
    color: var(--burgundy);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* --- Footer --- */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 80px 0 0;
}

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

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

.footer-brand .logo-mark {
    background: var(--burgundy);
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.footer-col a:hover {
    color: var(--blush);
}

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

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--gray-400);
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }

    .hero-visual {
        height: 550px;
    }

    .visual-block--main {
        width: 260px;
        height: 350px;
    }

    .visual-block--accent {
        width: 200px;
        height: 150px;
    }

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

    .services-grid .service-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

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

    .mobile-menu-btn {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-sub {
        margin: 0 auto 36px;
    }

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

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

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

    .about-image-col {
        max-width: 500px;
        margin: 0 auto;
    }

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

    .why-us-visual {
        order: -1;
        height: 400px;
    }

    .stack-card--1 {
        width: 220px;
        height: 280px;
    }

    .stack-card--2 {
        width: 200px;
        height: 130px;
    }

    .stack-card--3 {
        width: 130px;
        height: 130px;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-geometric {
        display: none;
    }

    .cta-actions {
        justify-content: center;
    }

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

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

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

    .hero {
        padding-top: 90px;
    }

    .hero-headline {
        font-size: 1.8rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

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

    .services-grid .service-card:last-child {
        max-width: 100%;
    }

    .form-wrapper {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

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

@media (max-width: 380px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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