/* ===== DESIGN TOKENS ===== */
:root {
    --color-primary: #C60D2D;
    --color-primary-dark: #9B0A22;
    --color-primary-light: #E83050;
    --color-accent: #25D366;
    --color-bg: #FFFFFF;
    --color-bg-alt: #F5F5F4;
    --color-bg-dark: #2D2D2D;
    --color-text: #2D2D2D;
    --color-text-light: #66636A;
    --color-text-white: #FFFFFF;
    --color-border: #E5E3E0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50%;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== SECTION DEFAULTS ===== */
.section {
    padding: 64px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--color-text);
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.title-accent {
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    border-radius: 2px;
    margin: 16px auto 0;
}

/* ===== HERO ===== */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(150deg, #66636A 0%, #2D2D2D 50%, #C60D2D 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    border-radius: var(--radius-full);
    background: rgba(198, 13, 45, 0.12);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-logo {
    flex-shrink: 0;
}

.hero-logo img {
    height: 300px;
    width: auto;
    filter: brightness(0) invert(1);
}

.hero-text {
    flex: 1;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-white);
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge span {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--color-accent);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-text-white);
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-marketplaces {
    margin-top: 28px;
}

.hero-marketplaces-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.hero-marketplaces-logos {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-marketplaces-logos a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 10px 18px;
    transition: var(--transition);
}

.hero-marketplaces-logos a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-marketplaces-logos img {
    height: 28px;
    width: auto;
    opacity: 0.85;
    transition: var(--transition);
}

.hero-marketplaces-logos a:hover img {
    opacity: 1;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-body);
}

.btn-whatsapp {
    background: var(--color-accent);
    color: var(--color-text-white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #20BD5A;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-text-white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.hero-float-shapes .shape {
    position: absolute;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.06);
    z-index: 0;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 5%;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 15%;
    right: 20%;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-3 {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 35%;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-25px);
    }
}

/* ===== ABOUT ===== */
.about {
    background: var(--color-bg);
}

.about-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    padding: 48px;
    position: relative;
    border: 1px solid var(--color-border);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.about-card p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--color-text-light);
    text-align: center;
}

/* ===== PRODUCTS ===== */
.products {
    background: var(--color-bg-alt);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.product-card {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    text-align: center;
    border: 1px solid var(--color-border);
    transition: var(--transition);
    cursor: default;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.product-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(198, 13, 45, 0.08), rgba(198, 13, 45, 0.04));
    color: var(--color-primary);
    font-size: 1.75rem;
}

.product-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
}

/* ===== BRANDS ===== */
.brands {
    background: var(--color-bg);
}

/* Neden Alfalink? card */
.alfalink-card {
    margin-top: 40px;
}

.alfalink-card-inner {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 32px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.alfalink-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-light));
}

.alfalink-card-logo {
    flex-shrink: 0;
}

.alfalink-card-logo img {
    width: 90px;
    height: auto;
    object-fit: contain;
}

.alfalink-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.alfalink-card-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 14px;
}

.alfalink-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.alfalink-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    padding: 5px 12px;
    border-radius: 999px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: auto;
    margin: 0 auto;
}

.brand-card {
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    transition: var(--transition);
    min-height: 80px;
}

.brand-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.brand-card img {
    max-height: 85px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(30%);
    transition: var(--transition);
}

.brand-card:hover img {
    filter: grayscale(0%);
}

/* ===== MAP ===== */
.map-section {
    background: var(--color-bg-alt);
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.map-wrapper iframe {
    width: 100%;
    height: 320px;
    border: none;
    display: block;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 48px 0 20px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    text-align: center;
}

.footer-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: 100%;
    text-align: left;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-white);
    margin-bottom: 12px;
}

.footer-col p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.65);
}

.footer-col p strong {
    color: rgba(255, 255, 255, 0.9);
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--color-primary-light);
}

.footer-whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: var(--color-accent) !important;
    font-size: 0.88rem;
    font-weight: 500;
}

.footer-whatsapp-link:hover {
    color: #20BD5A !important;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 4px 0;
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-container {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.whatsapp-float {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: whatsapp-pulse 2.5s ease-in-out infinite;
    border: none;
    cursor: pointer;
    outline: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: white;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.whatsapp-float .wa-icon {
    display: block;
}

.whatsapp-float .wa-close {
    display: none;
    fill: none;
}

.whatsapp-container.open .whatsapp-float .wa-icon {
    display: none;
}

.whatsapp-container.open .whatsapp-float .wa-close {
    display: block;
}

.whatsapp-container.open .whatsapp-float {
    animation: none;
    background: #444;
}

/* Menu */
.whatsapp-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.95);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
    border: 1px solid var(--color-border);
    overflow: hidden;
    min-width: 260px;
}

.whatsapp-container.open .whatsapp-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.whatsapp-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    transition: var(--transition);
    text-decoration: none;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
}

.whatsapp-menu-item:last-child {
    border-bottom: none;
}

.whatsapp-menu-item:hover {
    background: rgba(37, 211, 102, 0.08);
}

.whatsapp-menu-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.whatsapp-menu-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.whatsapp-menu-text strong {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-text);
}

.whatsapp-menu-text small {
    font-size: 0.78rem;
    color: var(--color-text-light);
}

@keyframes whatsapp-pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
    }
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 48px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        gap: 24px;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-logo img {
        height: 160px;
    }

    .hero-text {
        text-align: center;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
        width: 100%;
    }

    .about-card {
        padding: 32px 24px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .alfalink-card-inner {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .alfalink-badges {
        justify-content: center;
    }

    .hero-logo img {
        height: 160px;
    }

    .map-wrapper iframe {
        height: 250px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .whatsapp-container {
        bottom: 18px;
        right: 18px;
    }

    .whatsapp-menu {
        min-width: 240px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.65rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}