﻿/* Modern Corporate Design System for Hugin Yazarkasa */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Premium Corporate Colors */
    --primary-color: #0f172a;
    /* Slate 900 */
    --secondary-color: #1e293b;
    /* Slate 800 */
    --accent-color: #2563eb;
    /* Royal Blue */
    --accent-glow: rgba(37, 99, 235, 0.4);
    --text-color: #1e293b;
    --text-light: #64748b;
    --text-white: #f8fafc;
    --bg-color: #fdfdfd;
    --bg-alt: #f1f5f9;
    --white: #ffffff;
    --success: #10b981;

    /* Gradients */
    --grad-corporate: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --grad-accent: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);

    /* Glasmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(12px);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--grad-accent);
    color: var(--white);
    box-shadow: 0 4px 14px 0 var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-outline {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 14px 0 var(--accent-glow);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.4s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

header.scrolled {
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.10);
}

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


.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

header.scrolled .brand-logo {
    opacity: 1;
}

.hugin-logo {
    height: 25px;
}

.inpos-logo {
    height: 52px;
}

.logo-separator {
    color: #94a3b8;
    font-weight: 300;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    font-weight: 500;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* ============================================
   Full-Width Hero Banner (Hugin.com.tr Style)
   ============================================ */
.hero-banner {
    position: relative;
    width: 100%;
    height: 520px;
    background: #fff;
    overflow: hidden;
    margin-top: 80px;
    /* account for fixed header */
    border-bottom: 3px solid #eef0f4;
}

/* Geometric decorative shapes */
.hero-decor {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.hero-decor-top-right {
    top: -30px;
    right: -20px;
    width: 220px;
    height: 220px;
    background: var(--accent-color);
    clip-path: polygon(100% 0, 100% 100%, 0 0);
    opacity: 0.12;
}

.hero-decor-bottom-left {
    bottom: -30px;
    left: -20px;
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    clip-path: polygon(0 100%, 100% 100%, 0 0);
    opacity: 0.10;
}

.hero-decor-small-red {
    bottom: 40px;
    right: 200px;
    width: 60px;
    height: 60px;
    background: #dd1f26;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    opacity: 0.3;
}

/* Slides container */
.hero-banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-banner-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 2;
}

.hero-banner-slide.active {
    opacity: 1;
    z-index: 3;
}

/* Product images */
.hero-banner-product {
    flex: 0 0 280px;
    display: flex;
    align-items: flex-end;
    height: 100%;
    padding-bottom: 0;
}

.hero-banner-product img {
    width: 100%;
    max-height: 440px;
    object-fit: contain;
    object-position: bottom;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    transition: transform 0.6s ease;
}

.hero-banner-slide.active .hero-banner-product img {
    transform: translateY(0);
}

/* Center text block */
.hero-banner-text {
    flex: 1;
    text-align: center;
    padding: 0 30px;
    z-index: 4;
}

.hero-banner-sub {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.hero-banner-text h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    margin-bottom: 28px;
    text-transform: uppercase;
}

.hero-accent {
    color: #dd1f26;
}

.hero-cta-btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 15px 40px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-cta-btn:hover {
    background: #dd1f26;
    border-color: #dd1f26;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(221, 31, 38, 0.3);
}

/* Slider navigation arrows */
.hero-prev,
.hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e2e8f0;
    color: var(--primary-color);
    font-size: 2rem;
    line-height: 1;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-prev {
    left: 12px;
}

.hero-next {
    right: 12px;
}

.hero-prev:hover,
.hero-next:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Dots */
.hero-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.hero-dot.active {
    background: #dd1f26;
    transform: scale(1.2);
}

/* Full-width image slides (for professional banner photos) */
.hero-banner-slide.hero-full-img {
    padding: 0;
    display: block;
}

.hero-banner-slide.hero-full-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-slide-overlay {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}


/* Features Section */
.features {
    padding: var(--spacing-lg) 0;
    background-color: var(--white);
}


.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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


.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.hugin-logo {
    height: 25px;
}

.inpos-logo {
    height: 52px;
}

.logo-separator {
    color: #94a3b8;
    font-weight: 300;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    font-weight: 500;
    color: var(--secondary-color);
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 20%, rgba(30, 58, 138, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: var(--spacing-md);
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(to right, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-text p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: var(--spacing-md);
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

.hero-buttons .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.hero-buttons .btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.hero-image {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 400px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.slide.active {
    opacity: 1;
}

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

/* Features Section */
.features {
    padding: var(--spacing-lg) 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    padding: var(--spacing-md);
    background: var(--white);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.feature-icon {
    font-size: 3rem;
    background: var(--bg-alt);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin: 0 auto var(--spacing-sm);
    color: var(--accent-color);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--grad-accent);
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
}

/* Products Section */
.products {
    padding: var(--spacing-lg) 0;
    background-color: var(--bg-color);
}

.product-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.product-image {
    padding: 30px;
    background: #fcfcfc;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.product-image img {
    transition: var(--transition);
    margin: 0 auto;
}

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

.product-info {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.product-price {
    color: var(--accent-color);
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: var(--spacing-sm);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--text-white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    position: relative;
}

footer p {
    color: rgba(248, 250, 252, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-col h4 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

.footer-col ul li {
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col i {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

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

    .hero-text h1 {
        font-size: 2.5rem;
    }
}

/* ============================================
   Hero Banner - Mobile Responsive
   ============================================ */
@media (max-width: 768px) {

    /* Slider yüksekliğini mobil için küçült */
    .hero-banner {
        height: auto;
        min-height: 380px;
    }

    .hero-banner-slides {
        height: 380px;
    }

    /* Ürün slaytları: mobilde dikey düzene geç */
    .hero-banner-slide {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 15px 12px 40px;
        gap: 8px;
    }

    /* Ürün resim bloğunu mobilde küçült */
    .hero-banner-product {
        flex: 0 0 auto;
        height: 160px;
        width: 100%;
        justify-content: center;
    }

    .hero-banner-product img {
        max-height: 150px;
        width: auto;
        object-position: center;
    }

    /* Mobilde sadece bir ürün göster (sol veya sağ taraf) */
    .hero-banner-left {
        order: 2;
    }

    .hero-banner-right {
        display: none;
        /* mobilde sağ ürünü gizle, tek ürün yeterli */
    }

    /* Metin bloğu */
    .hero-banner-text {
        padding: 0 10px;
        order: 1;
    }

    .hero-banner-text h1 {
        font-size: clamp(1.4rem, 6vw, 2.2rem);
        margin-bottom: 12px;
    }

    .hero-banner-sub {
        font-size: 0.7rem;
        margin-bottom: 6px;
    }

    .hero-cta-btn {
        padding: 10px 24px;
        font-size: 0.85rem;
    }

    /* Tam banner slaytları (S1, T300) - mobilde cover ile doldur */
    .hero-banner-slide.hero-full-img {
        display: block;
        padding: 0;
    }

    .hero-banner-slide.hero-full-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    /* Overlay butonu mobilde düzenle */
    .hero-slide-overlay {
        bottom: 30px;
    }

    /* Ok düğmeleri daha küçük */
    .hero-prev,
    .hero-next {
        width: 32px;
        height: 32px;
        font-size: 1.4rem;
    }

    /* Mobilde yan görselleri gizle */
    .mobile-hide {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        min-height: 300px;
    }

    .hero-banner-slides {
        height: 300px;
    }

    .hero-banner-product {
        height: 120px;
    }

    .hero-banner-product img {
        max-height: 110px;
    }

    .hero-banner-text h1 {
        font-size: clamp(1.2rem, 7vw, 1.8rem);
    }

    /* Teslimat slaytındaki yan görselleri gizle */
    .mobile-hide {
        display: none !important;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-float i {
    margin-top: 3px;
}

.whatsapp-float::before {
    content: "WhatsApp ile iletişime geç";
    position: absolute;
    right: 70px;
    background-color: #333;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    font-size: 14px;
}

.whatsapp-float:hover::before {
    opacity: 1;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }

    .whatsapp-float::before {
        display: none;
    }
}