/* CSS Variables - Light Mode */
:root {
    --color-bg-primary: #ffffff;
    --color-bg-secondary: #f8f9fa;
    --color-bg-tertiary: #f1f3f5;
    --color-text-primary: #1a1a2e;
    --color-text-secondary: #4a5568;
    --color-text-muted: #718096;
    --color-accent: #2c5282;
    --color-accent-hover: #3182ce;
    --color-border: rgba(0, 0, 0, 0.08);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    padding: 16px 0;
}

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

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

.nav-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

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

.nav-cta {
    display: inline-block;
    padding: 10px 20px;
    background: var(--color-accent);
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.nav-cta:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.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 Responsive Navbar */
@media (max-width: 900px) {
    .hamburger {
        display: flex;
        order: 2;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-bg-primary);
        flex-direction: column;
        padding: 80px 40px 40px;
        gap: 24px;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 100;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .nav-cta {
        order: 3;
    }

    .nav-container {
        flex-wrap: wrap;
    }

    /* Hero Mobile */
    .hero {
        min-height: 100svh;
        padding-top: 80px;
    }

    .hero-content {
        padding: 20px;
        margin-bottom: 60px;
    }

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

    .hero-subheadline {
        font-size: 0.95rem;
    }

    .world-map-bg,
    .world-map {
        width: 200%;
        min-width: 800px;
    }

    /* About Story Mobile */
    .about-story {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .story-chapter {
        padding: 24px;
    }
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text-primary);
}

p {
    color: var(--color-text-secondary);
}

/* Section Base */
.section {
    padding: 100px 0;
    position: relative;
}

.section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 800px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.section:last-of-type::after {
    display: none;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: -0.02em;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-bg-primary) 0%, #e8f0f8 50%, var(--color-bg-primary) 100%);
}

.hero-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.world-map-bg {
    position: absolute;
    width: 140%;
    height: auto;
    min-width: 1200px;
    opacity: 0.25;
    filter: brightness(0.4);
    pointer-events: none;
}

.world-map {
    position: absolute;
    width: 140%;
    height: auto;
    min-width: 1200px;
    z-index: 2;
}

/* Map Styling */
.map-outline path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawMap 3s ease-out forwards;
}

@keyframes drawMap {
    to {
        stroke-dashoffset: 0;
    }
}

/* Location Dots */
.dot {
    fill: var(--color-accent);
    opacity: 0;
    animation: fadeInDot 0.5s ease-out forwards;
}

.dot-sf {
    animation-delay: 1.2s;
}

.dot-nj {
    animation-delay: 1.4s;
}

.dot-brazil {
    animation-delay: 1.6s;
}

.dot-portugal {
    animation-delay: 1.8s;
}

.dot-germany {
    animation-delay: 2s;
}

.dot-turkey {
    animation-delay: 2.2s;
}

@keyframes fadeInDot {
    to {
        opacity: 1;
    }
}

.dot-pulse {
    fill: var(--color-accent);
    opacity: 0;
    transform-origin: center;
    animation: pulse 2.5s ease-out infinite;
}


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

    100% {
        opacity: 0;
        transform: scale(2.5);
    }
}

/* Arrow Paths */
.arrow-path {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: drawArrow 2s ease-out forwards;
}

.arrows path:nth-child(1) {
    animation-delay: 1.5s;
}

.arrows path:nth-child(2) {
    animation-delay: 1.7s;
}

.arrows path:nth-child(3) {
    animation-delay: 1.9s;
}

.arrows path:nth-child(4) {
    animation-delay: 2.1s;
}

.arrows path:nth-child(5) {
    animation-delay: 2.3s;
}

.arrows path:nth-child(6) {
    animation-delay: 2.5s;
}

.arrows path:nth-child(7) {
    animation-delay: 2.7s;
}

@keyframes drawArrow {
    to {
        stroke-dashoffset: 0;
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 40px;
    max-width: 700px;
    margin-bottom: 100px;
}

.hero-headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--color-text-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subheadline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* About Section */
.about {
    background: var(--color-bg-secondary);
}

.about-story {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.story-chapter {
    text-align: left;
    padding: 30px;
    background: var(--color-bg-primary);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.story-chapter:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.chapter-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.story-chapter h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-text-primary);
}

.story-chapter p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

@media (max-width: 768px) {
    .about-story {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Supply Network Section */
.supply-network {
    background: var(--color-bg-primary);
}

.network-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.network-content p {
    font-size: 1.05rem;
}

/* Brands Section */
.brands {
    background: var(--color-bg-secondary);
    overflow: hidden;
    padding: 40px 0;
}

.brands-slider {
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
}

.brands-track {
    display: flex;
    gap: 60px;
    animation: scrollBrands 30s linear infinite;
    width: max-content;
}

.brand-logo {
    height: 55px;
    min-width: 120px;
    max-width: 180px;
    width: auto;
    object-fit: contain;
    opacity: 1;
}


@keyframes scrollBrands {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Products Section */
.products {
    background: var(--color-bg-primary);
    overflow: hidden;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.products-slider {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.products-track {
    display: flex;
    gap: 24px;
    padding: 0 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.products-track::-webkit-scrollbar {
    display: none;
}

.product-slide {
    flex: 0 0 300px;
    scroll-snap-align: start;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.product-slide img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.product-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Warehouse Section */
.warehouse {
    background: var(--color-bg-secondary);
}

.warehouse-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

.warehouse-photo {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    aspect-ratio: 3/4;
}

.warehouse-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.warehouse-photo:hover img {
    transform: scale(1.05);
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    font-weight: 500;
    font-size: 0.8rem;
    text-align: center;
}

@media (max-width: 900px) {
    .warehouse-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .warehouse-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Categories Section */
.categories {
    background: var(--color-bg-primary);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.category-card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 32px;
    transition: var(--transition-smooth);
}

.category-card:hover {
    border-color: rgba(107, 138, 173, 0.3);
}

.category-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.category-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Why Anexa Section */
.why-anexa {
    background: var(--color-bg-secondary);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.why-item {
    text-align: center;
    padding: 24px;
}

.why-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    color: var(--color-accent);
}

.why-icon svg {
    width: 100%;
    height: 100%;
}

.why-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.why-item p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Contact Section */
.contact {
    background: var(--color-bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto 40px;
}

.contact-card {
    text-align: center;
    padding: 30px;
    background: var(--color-bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.contact-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-accent);
}

.contact-card p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 6px;
}

.contact-card p:last-child {
    margin-bottom: 0;
}

.contact-card a {
    color: var(--color-accent);
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-cta {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.contact-cta p {
    margin-bottom: 24px;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.ebay-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-accent);
    color: var(--color-bg-primary);
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.ebay-button:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
}

.ebay-button .arrow-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.ebay-button:hover .arrow-icon {
    transform: translate(3px, -3px);
}

/* Footer */
.footer {
    background: var(--color-bg-tertiary);
    padding: 60px 0 30px;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-bottom: 12px;
}

.footer-brand h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.footer-disclaimer p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

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

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 32px;
    }

    .hero-content {
        padding: 24px;
    }

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

    .hero-subheadline {
        font-size: 1rem;
    }

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

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

    .why-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

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

    .section {
        padding: 50px 0;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .brand-item {
        padding: 20px 12px;
    }

    .category-card {
        padding: 24px;
    }

    .ebay-button {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
}