/* ============================================
   Trade N Post — Vibrant Modern Retail Site
   Forest Green + Off-White Palette
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --green-900: #0a2e1f;
    --green-800: #0f3d2e;
    --green-700: #145a3e;
    --green-600: #1a7a52;
    --green-500: #22a06a;
    --green-400: #34c982;
    --green-300: #6dd9a0;
    --green-200: #a8e8c4;
    --green-100: #d4f5e2;
    --green-50:  #eefbf4;
    
    --cream-50:  #fafaf7;
    --cream-100: #f5f5f0;
    --cream-200: #eaeae2;
    --cream-300: #d4d4c8;
    
    --text-dark: #0a1f14;
    --text-body: #1a2e24;
    --text-muted: #4a5e52;
    --text-light: #f5f5f0;
    
    --accent-yellow: #f5c518;
    --accent-coral:  #e85d4a;
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body:    'DM Sans', sans-serif;
    
    --radius-sm:  8px;
    --radius-md:  12px;
    --radius-lg:  20px;
    --radius-xl:  28px;
    
    --shadow-sm:  0 1px 3px rgba(10, 46, 31, 0.08);
    --shadow-md:  0 4px 20px rgba(10, 46, 31, 0.1);
    --shadow-lg:  0 12px 40px rgba(10, 46, 31, 0.15);
    --shadow-xl:  0 20px 60px rgba(10, 46, 31, 0.2);
    
    --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;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-body);
    background-color: var(--cream-50);
    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 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--green-800);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 600;
}

.skip-link:focus {
    top: 16px;
}

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

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 2px;
    background: var(--green-500);
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

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

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

.btn-primary {
    background: var(--green-700);
    color: var(--text-light);
    border-color: var(--green-700);
}

.btn-primary:hover {
    background: var(--green-600);
    border-color: var(--green-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border-color: rgba(245, 245, 240, 0.5);
}

.btn-secondary:hover {
    background: rgba(245, 245, 240, 0.1);
    border-color: var(--text-light);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 247, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(10, 46, 31, 0.08);
    transition: var(--transition);
}

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

.header-inner {
    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: 700;
    font-size: 1.25rem;
    color: var(--green-800);
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--green-700);
    color: var(--text-light);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

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

.main-nav a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-body);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

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

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

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--green-900);
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 46, 31, 0.92) 0%,
        rgba(15, 61, 46, 0.85) 40%,
        rgba(20, 90, 62, 0.75) 100%
    );
}

.hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.geo-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--green-400);
    top: -150px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-yellow);
    bottom: 10%;
    right: 15%;
    border-radius: var(--radius-lg);
    transform: rotate(45deg);
    opacity: 0.12;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--green-300);
    bottom: -50px;
    left: 5%;
    opacity: 0.1;
}

.shape-4 {
    width: 120px;
    height: 120px;
    background: var(--accent-coral);
    top: 20%;
    left: 8%;
    border-radius: var(--radius-md);
    transform: rotate(30deg);
    opacity: 0.12;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 24px 80px;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    padding: 8px 20px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--green-200);
    margin-bottom: 32px;
}

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

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

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--text-light);
    line-height: 1.08;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

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

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(245, 245, 240, 0.75);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 40px;
}

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

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

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--green-300);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(245, 245, 240, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(245, 245, 240, 0.2);
}

/* --- Section Spacing --- */
.section {
    padding: 100px 0;
}

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

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

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

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

.about-accent-block {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 160px;
    height: 160px;
    background: var(--green-700);
    border-radius: var(--radius-lg);
    z-index: -1;
}

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

.about-content p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.about-features {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-weight: 500;
    color: var(--text-body);
}

.check-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--green-600);
    margin-top: 1px;
}

/* --- Services --- */
.services {
    position: relative;
    background: var(--cream-100);
    overflow: hidden;
}

.services-bg-shape {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--green-100);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    opacity: 0.5;
    pointer-events: none;
}

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

.service-card {
    position: relative;
    background: var(--cream-50);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid var(--cream-200);
    transition: var(--transition);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--green-600);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.service-card-accent {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--green-50);
    border-radius: 50%;
    bottom: -30px;
    right: -30px;
    transition: var(--transition);
}

.service-card:hover .service-card-accent {
    transform: scale(1.5);
    background: var(--green-100);
}

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

.service-icon svg {
    width: 26px;
    height: 26px;
    color: var(--text-light);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- Why Us --- */
.why-us {
    background: var(--green-800);
    overflow: hidden;
}

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

.why-us-content .section-label {
    color: var(--green-400);
}

.why-us-content .section-label::before {
    background: var(--green-400);
}

.why-us-content .section-title {
    color: var(--text-light);
}

.why-us-content > p {
    color: rgba(245, 245, 240, 0.7);
    font-size: 1.05rem;
    margin-bottom: 48px;
}

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

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

.value-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--green-600);
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.6;
}

.value-text h4 {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 6px;
}

.value-text p {
    color: rgba(245, 245, 240, 0.6);
    font-size: 0.95rem;
}

.why-us-visual {
    position: relative;
    height: 560px;
}

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

.visual-block-1 {
    width: 280px;
    height: 360px;
    top: 0;
    right: 0;
}

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

.visual-block-2 {
    width: 260px;
    height: 280px;
    bottom: 0;
    left: 0;
    background: var(--green-700);
    padding: 32px;
    display: flex;
    align-items: center;
}

.visual-quote {
    color: var(--text-light);
}

.visual-quote svg {
    width: 32px;
    height: 32px;
    color: var(--green-400);
    margin-bottom: 16px;
    opacity: 0.8;
}

.visual-quote p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(245, 245, 240, 0.85);
    margin-bottom: 16px;
    font-style: italic;
}

.visual-quote span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--green-300);
    font-style: normal;
    font-family: var(--font-heading);
}

/* --- Contact --- */
.contact {
    background: var(--cream-50);
}

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

.contact-info .section-title {
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

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

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

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

.contact-icon svg {
    width: 22px;
    height: 22px;
    color: var(--green-700);
}

.contact-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-item a {
    color: var(--green-700);
    font-weight: 600;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--green-500);
}

.contact-form-wrap {
    background: var(--cream-50);
    border: 1px solid var(--cream-200);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--cream-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-body);
    background: var(--cream-50);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--green-500);
    box-shadow: 0 0 0 4px rgba(34, 160, 106, 0.1);
}

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

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

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 20px;
    background: var(--green-50);
    border: 1px solid var(--green-200);
    border-radius: var(--radius-sm);
    color: var(--green-800);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-success svg {
    width: 22px;
    height: 22px;
    color: var(--green-600);
    flex-shrink: 0;
}

/* --- Map --- */
.map-section {
    border-top: 4px solid var(--green-700);
}

.map-container {
    filter: saturate(0.8);
    transition: filter 0.4s ease;
}

.map-container:hover {
    filter: saturate(1);
}

/* --- Footer --- */
.site-footer {
    background: var(--green-900);
    color: rgba(245, 245, 240, 0.7);
    padding: 64px 0 0;
}

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

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

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--green-300);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.footer-contact p {
    font-size: 0.95rem;
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-contact a {
    color: var(--green-300);
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(245, 245, 240, 0.1);
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(245, 245, 240, 0.4);
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal[data-reveal-delay="1"] { transition-delay: 0.1s; }
.reveal[data-reveal-delay="2"] { transition-delay: 0.2s; }
.reveal[data-reveal-delay="3"] { transition-delay: 0.3s; }
.reveal[data-reveal-delay="4"] { transition-delay: 0.4s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html { scroll-behavior: auto; }
    .geo-shape { animation: none; }
    .badge-dot { animation: none; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid,
    .why-us-layout,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .why-us-visual {
        height: 400px;
        order: -1;
    }
    
    .visual-block-1 {
        width: 220px;
        height: 280px;
    }
    
    .visual-block-2 {
        width: 200px;
        height: 220px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 250, 247, 0.98);
        backdrop-filter: blur(12px);
        padding: 24px;
        border-bottom: 1px solid rgba(10, 46, 31, 0.08);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }
    
    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 4px;
    }
    
    .main-nav a {
        display: block;
        padding: 12px 16px;
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 100px 24px 60px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-accent-block {
        width: 100px;
        height: 100px;
        bottom: -16px;
        right: -16px;
    }
    
    .contact-form-wrap {
        padding: 28px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .service-card {
        padding: 28px 24px;
    }
}
