:root {
    /* Ana Renkler */
    --primary-color: #3498db;
    --secondary-color: #2980b9;
    --accent-color: #e74c3c;
    
    /* Metin Renkleri */
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-muted: #777777;
    
    /* Arkaplan Renkleri */
    --bg-light: #ffffff;
    --bg-dark: #f5f5f5;
    --bg-darker: #eeeeee;
    
    /* Gölge */
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    
    /* Geçiş Efekti */
    --transition: all 0.3s ease;
}

/* Dark Mode Renkleri */
[data-theme="dark"] {
    --text-dark: #f5f5f5;
    --text-light: #ffffff;
    --text-muted: #aaaaaa;
    
    --bg-light: #222222;
    --bg-dark: #1a1a1a;
    --bg-darker: #151515;
    
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    transition: var(--transition);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: var(--text-muted);
    font-size: 18px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.primary-btn:hover {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

/* Header Stili */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-light);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.logo i {
    font-size: 28px;
    margin-right: 10px;
    color: var(--primary-color);
}

.menu {
    display: flex;
}

.menu li {
    margin: 0 15px;
}

.menu li a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

.menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.menu li a:hover::after,
.menu li a.active::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
}

/* Dil Değiştirici */
.language-switcher {
    margin-right: 15px;
    display: flex;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.lang-btn.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Tema Değiştirici */
.theme-switcher {
    margin-right: 15px;
}

#theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-dark);
    transition: var(--transition);
}

#theme-toggle:hover {
    color: var(--primary-color);
}

#theme-toggle .fa-sun {
    display: none;
}

[data-theme="dark"] #theme-toggle .fa-moon {
    display: none;
}

[data-theme="dark"] #theme-toggle .fa-sun {
    display: inline-block;
    color: var(--primary-color);
}

/* Renk Paleti */
.color-switcher {
    position: relative;
    margin-right: 15px;
}

#color-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-dark);
    transition: var(--transition);
}

#color-toggle:hover {
    color: var(--primary-color);
}

.color-palette {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--bg-light);
    box-shadow: var(--shadow);
    padding: 10px;
    border-radius: 5px;
    display: none;
    z-index: 10;
}

.color-palette.show {
    display: flex;
}

.color-item {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.color-item:hover {
    transform: scale(1.1);
}

/* Mobil Menü Butonu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 2px 0;
    transition: var(--transition);
}

/* Hero Bölümü */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    padding-top: 80px;
}

.hero-slider {
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: var(--text-light);
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.prev-slide,
.next-slide {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
    margin: 0 15px;
    transition: var(--transition);
}

.prev-slide:hover,
.next-slide:hover {
    color: var(--primary-color);
}

.slider-dots {
    display: flex;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* Hizmetler Bölümü */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-dark);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
}

/* Portfolyo Bölümü */
.portfolio-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: none;
    padding: 8px 20px;
    margin: 5px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    color: var(--primary-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    box-shadow: var(--shadow);
}

.portfolio-content {
    height: 100%;
    background-color: var(--primary-color);
    position: relative;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    color: var(--text-light);
    font-size: 22px;
    margin-bottom: 10px;
}

.portfolio-overlay p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Portfolyo İkon Stili */
.portfolio-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 80px;
    z-index: 1;
}

.portfolio-item:hover .portfolio-icon {
    opacity: 0.1;
}

/* Hakkımızda Bölümü */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.about-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.stat-text {
    color: var(--text-muted);
}

.about-skills h3 {
    font-size: 24px;
    margin-bottom: 30px;
}

.skill-item {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.skill-bar {
    height: 10px;
    background-color: var(--bg-darker);
    border-radius: 5px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 5px;
}

/* İletişim Bölümü */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 20px;
}

.contact-text h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--text-muted);
}

.social-links {
    display: flex;
    margin-top: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-darker);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    color: var(--text-dark);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--bg-darker);
    border-radius: 5px;
    background-color: var(--bg-dark);
    color: var(--text-dark);
    font-size: 16px;
    transition: var(--transition);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--text-muted);
    transition: var(--transition);
    pointer-events: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:valid + label,
.form-group textarea:valid + label {
    top: -10px;
    left: 10px;
    font-size: 14px;
    background-color: var(--bg-light);
    padding: 0 5px;
    color: var(--primary-color);
}

/* Footer Bölümü */
#footer {
    background-color: var(--bg-dark);
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.footer-logo a {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-logo i {
    font-size: 28px;
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-logo p {
    color: var(--text-muted);
    margin-top: 15px;
}

.footer-links h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-newsletter h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
}

.footer-newsletter h3::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 0;
}

.footer-newsletter p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    background-color: var(--bg-darker);
    color: var(--text-dark);
}

.newsletter-form button {
    padding: 0 20px;
    border: none;
    border-radius: 0 30px 30px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--bg-darker);
}

.footer-bottom p {
    color: var(--text-muted);
}

/* Yukarı Çık Butonu */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background-color: var(--secondary-color);
} 