/* Genel Stiller */
:root {
    /* Ana Renkler */
    --primary: #3563E9;
    --primary-dark: #2045CC;
    --primary-light: #638DF6;
    --primary-lighter: #B1C5FB;
    --primary-alpha: rgba(53, 99, 233, 0.1);
    
    --secondary: #475BE8;
    --secondary-dark: #293DC6;
    --secondary-light: #7982F0;
    --secondary-lighter: #BEC1F7;
    --secondary-alpha: rgba(71, 91, 232, 0.1);
    
    --accent: #5E35E9;
    --accent-dark: #3F20CC;
    --accent-light: #8E6DF6;
    --accent-lighter: #C7B1FB;
    --accent-alpha: rgba(94, 53, 233, 0.1);
    
    /* Nötr Tonlar */
    --dark: #1A1F3D;
    --darker: #141736;
    --darkest: #0D0F21;
    --light: #F5F5F8;
    --lighter: #F9F9FC;
    --lightest: #FFFFFF;
    --gray: #888AA0;
    --gray-dark: #5E5F7A;
    --gray-light: #BEC0D2;
    --gray-lighter: #DEDFE8;
    
    /* Durum Renkleri */
    --danger: #E93560;
    --danger-dark: #CC2045;
    --danger-light: #F66D8E;
    --danger-alpha: rgba(233, 53, 96, 0.1);
    
    --success: #35E960;
    --success-dark: #20CC45;
    --success-light: #6DF68E;
    --success-alpha: rgba(53, 233, 96, 0.1);
    
    --warning: #E9A035;
    --warning-dark: #CC8020;
    --warning-light: #F6C36D;
    --warning-alpha: rgba(233, 160, 53, 0.1);
    
    --info: #35A0E9;
    --info-dark: #2080CC;
    --info-light: #6DC3F6;
    --info-alpha: rgba(53, 160, 233, 0.1);
    
    /* Gradyanlar */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    --gradient-primary-accent: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
    --gradient-light: linear-gradient(135deg, var(--light) 0%, var(--lighter) 100%);
    
    /* Tipografi */
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    --font-headings: 'Poppins', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
    
    --font-size-xs: 0.75rem;   /* 12px */
    --font-size-sm: 0.875rem;  /* 14px */
    --font-size-md: 1rem;      /* 16px */
    --font-size-lg: 1.125rem;  /* 18px */
    --font-size-xl: 1.25rem;   /* 20px */
    --font-size-2xl: 1.5rem;   /* 24px */
    --font-size-3xl: 1.875rem; /* 30px */
    --font-size-4xl: 2.25rem;  /* 36px */
    --font-size-5xl: 3rem;     /* 48px */
    --font-size-6xl: 3.75rem;  /* 60px */
    --font-size-7xl: 4.5rem;   /* 72px */
    
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-black: 900;
    
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-loose: 1.8;
    --line-height-reset: 1;
    
    --letter-spacing-tight: -0.05em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.05em;
    --letter-spacing-wider: 0.1em;
    
    /* Geçişler */
    --transition-fastest: 0.1s ease;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-slowest: 0.8s ease;
    
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    --transition-in-out: 0.5s cubic-bezier(0.45, 0, 0.55, 1);
    --transition-in: 0.5s cubic-bezier(0.47, 0, 0.745, 0.715);
    --transition-out: 0.5s cubic-bezier(0.39, 0.575, 0.565, 1);
    
    /* Yuvarlatma */
    --border-radius-none: 0;
    --border-radius-xs: 2px;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --border-radius-2xl: 32px;
    --border-radius-round: 50%;
    
    /* Gölgeler */
    --box-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --box-shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
    --box-shadow-md: 0 4px 10px rgba(0, 0, 0, 0.15);
    --box-shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.2);
    --box-shadow-xl: 0 12px 30px rgba(0, 0, 0, 0.25);
    --box-shadow-inner: inset 0 2px 5px rgba(0, 0, 0, 0.05);
    --box-shadow-focus: 0 0 0 3px var(--primary-alpha);
    --box-shadow-success: 0 0 0 3px var(--success-alpha);
    --box-shadow-danger: 0 0 0 3px var(--danger-alpha);
    
    /* Boşluklar */
    --spacing-3xs: 0.125rem; /* 2px */
    --spacing-2xs: 0.25rem;  /* 4px */
    --spacing-xs: 0.5rem;    /* 8px */
    --spacing-sm: 0.75rem;   /* 12px */
    --spacing-md: 1rem;      /* 16px */
    --spacing-lg: 1.5rem;    /* 24px */
    --spacing-xl: 2rem;      /* 32px */
    --spacing-2xl: 3rem;     /* 48px */
    --spacing-3xl: 4rem;     /* 64px */
    --spacing-4xl: 6rem;     /* 96px */
    --spacing-5xl: 8rem;     /* 128px */
    --spacing-6xl: 12rem;    /* 192px */
    
    /* Düzen */
    --container-width-xs: 320px;
    --container-width-sm: 640px;
    --container-width-md: 768px;
    --container-width-lg: 1024px;
    --container-width-xl: 1280px;
    --container-width-2xl: 1536px;
    
    --section-padding: 5rem 0;
    --header-height: 70px;
    
    /* Breakpoints */
    --breakpoint-xs: 480px;
    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
    --breakpoint-2xl: 1536px;
    
    /* Z-İndeksler */
    --z-index-dropdown: 1000;
    --z-index-sticky: 1020;
    --z-index-fixed: 1030;
    --z-index-modal-backdrop: 1040;
    --z-index-modal: 1050;
    --z-index-popover: 1060;
    --z-index-tooltip: 1070;
    --z-index-overlay: 1080;
    --z-index-max: 9999;
    
    /* Opacity */
    --opacity-0: 0;
    --opacity-5: 0.05;
    --opacity-10: 0.1;
    --opacity-20: 0.2;
    --opacity-25: 0.25;
    --opacity-30: 0.3;
    --opacity-40: 0.4;
    --opacity-50: 0.5;
    --opacity-60: 0.6;
    --opacity-70: 0.7;
    --opacity-75: 0.75;
    --opacity-80: 0.8;
    --opacity-90: 0.9;
    --opacity-95: 0.95;
    --opacity-100: 1;
    
    /* Kenarlıklar */
    --border-width-thin: 1px;
    --border-width-thick: 2px;
    --border-width-thicker: 4px;
    --border-style-solid: solid;
    --border-style-dashed: dashed;
    --border-style-dotted: dotted;
    
    /* Animasyon */
    --animation-duration-slow: 1000ms;
    --animation-duration-normal: 500ms;
    --animation-duration-fast: 300ms;
    --animation-timing-ease: ease;
    --animation-timing-ease-in: ease-in;
    --animation-timing-ease-out: ease-out;
    --animation-timing-ease-in-out: ease-in-out;
    --animation-timing-linear: linear;
    
    /* Özel Değişkenler */
    --navbar-collapsed-width: 70px;
    --sidebar-width: 250px;
    --dark-color: var(--dark);
    --gray-color: var(--gray); 
    --light-color: var(--light);
    --primary-color: var(--primary);
    --secondary-color: var(--secondary);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f8f9fa;
    padding-top: var(--header-height);
}

a {
    text-decoration: none;
    color: var(--dark-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--secondary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--primary-color);
}

/* Butonlar */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #34495e;
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Animasyonlar */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: calc(var(--index, 0) * 0.2s);
}

.animate-slide-in {
    opacity: 0;
    transform: translateX(50px);
    animation: slideIn 1s ease forwards;
    animation-delay: 0.5s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Header ve Navigasyon Stilleri */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-index-fixed);
    transition: all var(--transition-normal);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    position: relative;
    margin-left: 2rem;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: var(--font-weight-medium);
    transition: color var(--transition-fast);
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-normal);
}

nav ul li a:hover::after, nav ul li a.active::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-md);
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    z-index: var(--z-index-dropdown);
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 0.5rem 1.5rem;
    color: var(--dark-color);
    transition: background var(--transition-fast);
}

.dropdown-content a:hover {
    background-color: var(--primary-alpha);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--dark-color);
}

/* Mobil Menü Stilleri */
@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav ul {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: calc(100vh - var(--header-height));
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 0;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
        transition: left var(--transition-normal);
        overflow-y: auto;
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        width: 100%;
        margin: 0;
    }
    
    nav ul li a {
        display: block;
        padding: 1rem 2rem;
        width: 100%;
    }
    
    nav ul li a::after {
        display: none;
    }
    
    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        min-width: auto;
        padding: 0;
        transition: max-height var(--transition-normal);
    }
    
    .dropdown-content.show {
        max-height: 500px;
    }
    
    .dropdown-content a {
        padding: 0.8rem 3rem;
    }
    
    .dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .dropdown > a::after {
        content: '\f107';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        margin-left: 0.5rem;
    }
    
    .mobile-menu-btn.active i::before {
        content: '\f00d';
    }
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f6f8fa 0%, #e9f1f7 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 3rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--gray-color);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
    padding: var(--section-padding);
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* Versions Section */
.versions {
    padding: var(--section-padding);
    background-color: #f8f9fa;
}

.versions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.version-card {
    background-color: white;
    border-radius: 10px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.version-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.version-card h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.version-card p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding);
    background-color: white;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    padding: 2rem;
    border-radius: 10px;
    background-color: #f8f9fa;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.testimonial-content {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content::before {
    content: """;
    font-size: 4rem;
    position: absolute;
    left: -20px;
    top: -20px;
    color: rgba(52, 152, 219, 0.2);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.testimonial-author-info h4 {
    font-weight: 600;
    color: var(--secondary);
}

.testimonial-author-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid var(--primary);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.testimonial-controls button:hover {
    background-color: var(--primary);
    color: white;
}

/* CTA Section */
.cta {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta .btn-primary {
    background-color: white;
    color: var(--primary);
}

.cta .btn-primary:hover {
    background-color: var(--light);
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links h3, .footer-contact h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: white;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-contact p i {
    margin-right: 0.8rem;
    color: var(--light);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive Tasarım */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-image {
        width: 100%;
        text-align: center;
    }
    
    .hero-image {
        margin-top: 2rem;
        order: 2;
    }
    
    .hero-content {
        order: 1;
    }
}

@media (max-width: 768px) {
    .features-grid, .versions-grid, .kopanel-features-grid, .server-versions-grid {
        grid-template-columns: 1fr;
    }
    
    .kopanel-details-container, .server-details-container {
        grid-template-columns: 1fr;
    }
    
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* Küçük Ekranlar İçin Ek Düzenlemeler */
@media (max-width: 576px) {
    :root {
        --section-padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: var(--font-size-3xl);
    }
    
    .hero-content p {
        font-size: var(--font-size-md);
    }
    
    .section-title {
        font-size: var(--font-size-2xl);
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Sticky Header */
header.sticky {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Footer Responsive */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

/* Geri Dön Butonu */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: var(--z-index-fixed);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
} 