@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Brand Color Guidelines from PDF */
    --color-dark-grey: #293133;
    --color-white: #ffffff;
    --color-pink-purple-start: #f68991;
    --color-pink-purple-end: #751480;
    --color-orange-pink-start: #fab89b;
    --color-orange-pink-end: #e2608b;

    /* Gradients */
    --gradient-primary: linear-gradient(90.42deg, #751480 0%, #e2608b 50%, #fab89b 100%);
    --gradient-pink-purple: linear-gradient(90deg, #f68991, #751480);
    --gradient-orange-pink: linear-gradient(90deg, #fab89b, #e2608b);
    --gradient-light-bg: linear-gradient(135deg, #ffffff 0%, #fbf8fd 50%, #fffbf8 100%);

    /* Theme mappings */
    --color-primary: #751480;
    --color-accent: #e2608b;
    --color-accent-light: rgba(226, 96, 139, 0.08);
    --color-bg-main: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-card-bg: #ffffff;
    --color-card-border: #e2e8f0;
    --color-text-main: var(--color-dark-grey);
    --color-text-muted: #64748b;
    --color-text-light: #94a3b8;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --shadow-soft: 0 10px 40px -10px rgba(117, 20, 128, 0.08);
    --shadow-hover: 0 20px 50px -12px rgba(117, 20, 128, 0.15);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text-main);
}

/* Header & Navbar */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid var(--color-card-border);
    transition: var(--transition-smooth);
}

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

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

/* Main logo set to 80px minimum height */
.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.logo-img:hover {
    transform: scale(1.02);
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--color-text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    opacity: 0.85;
}

.nav-link:hover {
    opacity: 1;
    color: var(--color-primary);
}

.btn-product {
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    background: var(--color-dark-grey);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(41, 49, 51, 0.2);
}

.btn-product:hover {
    transform: translateY(-2px);
    background: #3d484b;
    box-shadow: 0 6px 20px rgba(41, 49, 51, 0.4);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-main);
    font-size: 1.75rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 10rem 2rem 4rem 2rem;
    background: var(--gradient-light-bg);
    overflow: hidden;
}

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

.shape-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(117, 20, 128, 0.08) 0%, rgba(226, 96, 139, 0.03) 50%, rgba(0,0,0,0) 70%);
    top: -10%;
    right: -10%;
    filter: blur(80px);
}

.shape-glow-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(246, 137, 145, 0.06) 0%, rgba(250, 184, 155, 0.02) 50%, rgba(0,0,0,0) 70%);
    bottom: -10%;
    left: -10%;
    filter: blur(80px);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-tag {
    align-self: flex-start;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    background: #ffffff;
    border: 1px solid var(--color-card-border);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(117, 20, 128, 0.04);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-text-main);
}

.hero-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 600px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-primary {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    background: var(--color-dark-grey);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(41, 49, 51, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #3d484b;
    box-shadow: 0 6px 25px rgba(41, 49, 51, 0.4);
}

.btn-secondary {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    background: #ffffff;
    color: var(--color-text-main);
    text-decoration: none;
    font-weight: 700;
    border: 1.5px solid var(--color-card-border);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(226, 96, 139, 0.02);
}

.hero-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrap {
    max-width: 100%;
    width: 320px;
    height: auto;
    filter: drop-shadow(0 20px 50px rgba(117, 20, 128, 0.15));
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Sections Base */
.section {
    padding: 7rem 2rem;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.section-subtitle {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hakkımızda Section - Solid White Heading */
#hakkimizda {
    background: linear-gradient(135deg, #07090a 0%, #151a1c 100%);
    color: #ffffff;
}

#hakkimizda .section-title {
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    color: #ffffff;
}

#hakkimizda .about-text {
    color: #cbd5e1;
}

#hakkimizda .bullet-text h4 {
    color: #ffffff;
}

#hakkimizda .bullet-text p {
    color: #94a3b8;
}

#hakkimizda .bullet-icon {
    background: rgba(226, 96, 139, 0.18);
    color: #fab89b;
    border: 1px solid rgba(226, 96, 139, 0.3);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4.5rem;
    align-items: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-bullets {
    display: grid;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.bullet-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.bullet-icon {
    width: 28px;
    height: 28px;
    color: var(--color-accent);
    flex-shrink: 0;
    background: rgba(226, 96, 139, 0.08);
    border-radius: 8px;
    padding: 4px;
}

/* Dark Mode R&D Quantum Animation - Integrated seamlessly into background */
.tech-animation-wrap.dark-mode {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: none;
    overflow: visible;
    height: 380px;
}

.tech-svg {
    width: 100%;
    height: 100%;
    max-width: 320px;
    max-height: 320px;
}

/* Rotating HUD Elements */
.ring-outer-hud {
    transform-origin: center;
    animation: rotateCW 35s linear infinite;
}

.ring-middle-hud {
    transform-origin: center;
    animation: rotateCCW 25s linear infinite;
}

.ring-inner-hud {
    transform-origin: center;
    animation: rotateCW 15s linear infinite;
}

/* Quantum Core orbits */
.core-mesh {
    animation: pulseCore 3s ease-in-out infinite;
    transform-origin: center;
}

.orbit-1 {
    transform-origin: center;
    animation: rotateCW 6s linear infinite;
}

.orbit-2 {
    transform-origin: center;
    animation: rotateCW 8s linear infinite reverse;
}

.orbit-3 {
    transform-origin: center;
    animation: rotateCW 10s linear infinite;
}

.quantum-core {
    transform-origin: center;
    animation: glowCore 2.5s ease-in-out infinite alternate;
}

/* Floating Node Groups */
.node-a {
    animation: floatA 6s ease-in-out infinite alternate;
    transform-origin: center;
}

.node-b {
    animation: floatB 7s ease-in-out infinite alternate;
    transform-origin: center;
}

.node-c {
    animation: floatC 8s ease-in-out infinite alternate;
    transform-origin: center;
}

.node-d {
    animation: floatD 5s ease-in-out infinite alternate;
    transform-origin: center;
}

/* Connection signal pulses */
.signal-pulse {
    fill: #ffffff;
    filter: drop-shadow(0 0 6px #ffffff);
}

.pulse-to-a {
    animation: travelToA 4s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

.pulse-to-b {
    animation: travelToB 5s cubic-bezier(0.25, 1, 0.5, 1) infinite 1.5s;
}

.pulse-to-c {
    animation: travelToC 6s cubic-bezier(0.25, 1, 0.5, 1) infinite 3s;
}

.pulse-dot {
    animation: pulseDot 2s ease-in-out infinite;
    transform-origin: center;
}

/* Keyframes */
@keyframes rotateCW {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotateCCW {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes pulseCore {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@keyframes glowCore {
    0% { filter: drop-shadow(0 0 4px #e2608b); }
    100% { filter: drop-shadow(0 0 15px #fab89b); }
}

@keyframes floatA {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-5px, -8px); }
}

@keyframes floatB {
    0% { transform: translate(0, 0); }
    100% { transform: translate(6px, -4px); }
}

@keyframes floatC {
    0% { transform: translate(0, 0); }
    100% { transform: translate(2px, 8px); }
}

@keyframes floatD {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-7px, 3px); }
}

/* Pulse travel path timelines */
@keyframes travelToA {
    0% { cx: 200; cy: 200; opacity: 0; }
    5% { opacity: 1; }
    90% { opacity: 1; }
    100% { cx: 100; cy: 100; opacity: 0; }
}

@keyframes travelToB {
    0% { cx: 200; cy: 200; opacity: 0; }
    5% { opacity: 1; }
    90% { opacity: 1; }
    100% { cx: 300; cy: 120; opacity: 0; }
}

@keyframes travelToC {
    0% { cx: 200; cy: 200; opacity: 0; }
    5% { opacity: 1; }
    90% { opacity: 1; }
    100% { cx: 200; cy: 310; opacity: 0; }
}

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

/* Teknopark Card Style */
.teknopark-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
    transition: var(--transition-smooth);
}

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

.teknopark-logo-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.teknopark-logo-img {
    height: 64px;
    width: auto;
    object-fit: contain;
    display: block;
}

.teknopark-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.teknopark-content h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-text-main);
}

.teknopark-content p {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Trademarks Section - Larger Logos, Smaller Titles */
.trademarks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.trademark-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    border-radius: 28px;
    padding: 3.5rem 2rem;
    text-align: center;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    box-shadow: var(--shadow-soft);
}

.trademark-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(226, 96, 139, 0.2);
}

.trademark-logo-wrap {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.trademark-logo-wrap img {
    height: 145px;
    width: auto;
    max-width: 95%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.trademark-card:hover .trademark-logo-wrap img {
    transform: scale(1.05);
}

.trademark-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-top: 0.75rem;
    letter-spacing: -0.015em;
}

/* Official Info Section */
.info-card {
    background: #ffffff;
    border: 1px solid var(--color-card-border);
    border-radius: 28px;
    padding: 3.5rem;
    box-shadow: var(--shadow-soft);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-label {
    font-size: 0.8rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
}

.info-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text-main);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4.5rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.contact-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(117, 20, 128, 0.06);
    border: 1px solid rgba(117, 20, 128, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
    color: var(--color-text-main);
}

.contact-details p {
    color: var(--color-text-muted);
}

.map-wrapper {
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--color-card-border);
    height: 100%;
    min-height: 380px;
    box-shadow: var(--shadow-soft);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
}

/* Footer */
.site-footer {
    background: #ffffff;
    border-top: 1px solid var(--color-card-border);
    padding: 3rem 2rem;
}

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

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

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
}

.social-link:hover {
    color: var(--color-accent);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    
    .hero-tag {
        align-self: center;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image-wrap {
        width: 280px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0.8rem 1.5rem;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--color-card-border);
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .logo-img {
        height: 60px;
    }
    
    .section {
        padding: 5rem 1.5rem;
    }
    
    .teknopark-card {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2.5rem 1.5rem;
    }
    .teknopark-logo-wrap {
        display: flex;
        justify-content: center;
    }
    
    .trademarks-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
