:root {
    /* --- Temel Renk Değişkenleri --- */
    --primary-color: #ff6b00;
    /* Ana vurgu rengi (Turuncu) */
    /* Default Orange */
    --secondary-color: #1a1a1a;
    /* İkincil renk (Koyu Gri/Siyah) */
    --accent-color: #f4f4f4;
    /* Ara tonlar (Açık Gri) */

    /* --- Metin Renkleri --- */
    --text-dark: #333333;
    /* Genel metin rengi */
    --text-light: #ffffff;
    /* Açık renk metin (koyu zeminler için) */

    /* --- Fontlar --- */
    --font-heading: 'Oswald', sans-serif;
    /* Başlık fontu */
    --font-body: 'Inter', sans-serif;
    /* Gövde metin fontu */

    --transition: all 0.3s ease;
    /* Tüm geçiş efektleri için standart süre */
}

/* Theme Overrides */
[data-theme="blue"] {
    --primary-color: #3498db;
}

[data-theme="green"] {
    --primary-color: #2ecc71;
}

[data-theme="red"] {
    --primary-color: #e74c3c;
}

[data-theme="purple"] {
    --primary-color: #9b59b6;
}

/* Theme Switcher UI */
.theme-switch-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2147483647;
    /* En yüksek z-index */
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

.theme-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    /* Siyah yerine Beyaz */
    color: var(--primary-color);
    border: 3px solid var(--primary-color);
    cursor: pointer;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounceIn 2s infinite;
    /* Sürekli dikkat çeksin */
}

.theme-btn:hover {
    transform: rotate(180deg);
}

.theme-options {
    position: absolute;
    bottom: 60px;
    right: 0;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    gap: 10px;
    width: 60px;
    align-items: center;
}

.theme-options.active {
    display: flex;
    animation: slideUpFade 0.3s forwards;
}

.color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.2);
}

/* Add Animations */
@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    60% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Header & Navigation */
header {
    background: var(--secondary-color);
    color: var(--text-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--secondary-color);
    width: 200px;
    display: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: #ecf0f1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    font-weight: 400;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
    padding-left: 25px;
    /* Slight slide effect */
}

/* Hero Section */
/* --- Hero (Ana Banner) Alanı --- */
.hero {
    height: 90vh;
    /* Ekran yüksekliğinin %90'ını kapla */
    background: url('uploads/index.png');
    /* Arka plan görseli */
    background-size: cover;
    /* Görseli alana sığdır */
    background-position: center;
    /* Ortala */
    background-attachment: fixed;
    /* Parallax efekti için sabit tut */
    display: flex;
    /* İçeriği ortalamak için Flexbox */
    flex-direction: column;
    /* Alt alta diz */
    justify-content: center;
    /* Dikeyde ortala */
    align-items: center;
    /* Yatayda ortala */
    text-align: center;
    /* Yazıları ortala */
    color: #000000;
    /* Yazı rengi siyah */
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    /* Büyük başlık boyutu */
    margin-bottom: 20px;
    color: #000000 !important;
    text-shadow: none;
    /* Okunabilirlik için gölge kaldırıldı */
    animation: slideUp 0.8s ease-out;
    /* Aşağıdan yukarı kayma animasyonu */
    position: relative;
    /* z-index için gerekli */
    z-index: 2;
    /* Arka planın üstünde kalmasını sağlar */
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    max-width: 800px;
    animation: slideUp 1s ease-out;
    position: relative;
    z-index: 2;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--text-light);
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.btn:hover {
    background: transparent;
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-light);
    margin-left: 15px;
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--secondary-color);
}

/* --- Genel Bölüm Ayarları --- */
.section {
    padding: 80px 0;
    /* Üstten ve alttan boşluk */
}

/* Bölüm Başlıkları (Ortalanmış) */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
}

/* About Preview Home */
.about-preview {
    background: var(--accent-color);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 280px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

.about-img {
    flex: 1;
    min-width: 280px;
}

.about-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Products Preview */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;

}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.product-info p {
    color: #777;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: #ddd;
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #bbb;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.socials {
    display: flex;
    gap: 15px;
}

.socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.socials a:hover {
    background: var(--primary-color);
    color: #fff;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Inner Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?q=80&w=2670&auto=format&fit=crop');
    height: 40vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Contact Form */
.contact-wrapper {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.form-container {
    flex: 2;
    min-width: 300px;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    height: 150px;
    resize: none;
}

/* Responsive */
@media (min-width: 769px) {
    .nav-links {
        display: flex !important;
        flex-direction: row !important;
        position: static !important;
        height: auto !important;
        background: transparent !important;
    }

    .nav-toggle {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--secondary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.5s;
        gap: 40px;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .dropdown-menu {
        position: relative;
        background: transparent;
        box-shadow: none;
        width: 100%;
        text-align: center;
        display: block;
        padding: 10px 0;
        top: 0;
        left: 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

.tab-btn:hover {
    color: var(--secondary-color);
}

.tab-btn.active {
    color: var(--secondary-color);
    border-bottom: 3px solid #ffcc00;
    /* Yellow highlight from image */
}

.tab-content {
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-list li {
    border-bottom: 1px dotted #ccc;
    padding: 12px 0;
}

.widget-list li:last-child {
    border-bottom: none;
}

.widget-list li a {
    color: #555;
    font-size: 0.95rem;
    display: block;
    transition: all 0.2s ease;
}

.widget-list li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.widget-list li a i {
    font-size: 0.8rem;
    margin-right: 8px;
    color: #ccc;
}