/*
Theme Name: SohbetLive Chat
Theme URI: https://direkhizmet.com
Author: Kaan Yavuz
Author URI: https://direkhizmet.com
Description: Modern, responsive sohbet web sitesi teması. Koyu yeşil, gök mavisi, kırmızı, turuncu, beyaz ve krem renk paleti ile tasarlanmıştır. HTML ile oluşturulmuş logo ve mobil uyumlu tasarım.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sohbetlive-chat
Tags: chat, sohbet, turkish, modern, responsive, green, blue
*/

/* Sohbet Web Teması - Renk Paleti: Koyu Yeşil, Gök Mavisi, Kırmızı, Turuncu, Beyaz, Krem */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Ana Renkler */
    --dark-green: #1a5f3f;
    --medium-green: #2d8659;
    --light-green: #4a9d7a;
    --sky-blue: #4a90e2;
    --light-blue: #6bb3f0;
    --red: #e74c3c;
    --orange: #f39c12;
    --white: #ffffff;
    --cream: #f5f5dc;
    --light-cream: #fafaf5;
    --dark-text: #2c3e50;
    --gray: #95a5a6;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background: linear-gradient(135deg, var(--light-cream) 0%, var(--cream) 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Header ve Navigasyon */
header {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--medium-green) 50%, var(--sky-blue) 100%);
    padding: 1.5rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Logo - HTML ile oluşturulmuş */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--orange) 0%, var(--red) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '💬';
    position: absolute;
    animation: pulse 2s infinite;
}

.logo-text {
    font-size: 28px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--orange);
}

/* Navigasyon Menüsü */
nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
    touch-action: manipulation;
}

nav ul li a:hover,
nav ul li.current-menu-item a,
nav ul li.current_page_item a {
    background: var(--orange);
    color: var(--white);
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Ana İçerik */
main,
.site-content {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

/* Hero Bölümü */
.hero {
    background: linear-gradient(135deg, var(--sky-blue) 0%, var(--light-blue) 100%);
    padding: 4rem 2rem;
    border-radius: 20px;
    text-align: center;
    color: var(--white);
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-button:hover {
    background: var(--red);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* İçerik Bölümleri */
.content-section {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.content-section h2 {
    color: var(--dark-green);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--orange);
}

.content-section h3 {
    color: var(--medium-green);
    font-size: 1.6rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-section p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-text);
}

.content-section ul,
.content-section ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.content-section li {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Özellikler Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-card {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--sky-blue) 100%);
    padding: 2rem;
    border-radius: 15px;
    color: var(--white);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.feature-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.95);
}

/* FAQ Accordion */
.faq-item {
    background: var(--white);
    border: 2px solid var(--light-green);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    background: linear-gradient(135deg, var(--medium-green) 0%, var(--sky-blue) 100%);
    color: var(--white);
    padding: 1.2rem;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 44px;
}

.faq-question:hover {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--medium-green) 100%);
}

.faq-answer {
    padding: 1.5rem;
    color: var(--dark-text);
    display: none;
}

.faq-answer.active {
    display: block;
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--medium-green) 100%);
    color: var(--white);
    padding: 3rem 2rem;
    margin-top: 4rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--orange);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.9;
}

.footer-bottom .credits {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer-bottom .credits a {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-bottom .credits a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Mobil Menü Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-width: 44px;
    min-height: 44px;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

/* WordPress Özel Stiller */
.entry-content {
    line-height: 1.8;
}

.entry-content h2 {
    color: var(--dark-green);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--orange);
}

.entry-content h3 {
    color: var(--medium-green);
    font-size: 1.6rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }

    nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav.active {
        max-height: 500px;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
        padding: 1rem 0;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.8rem 1rem;
    }

    .logo-text {
        font-size: 22px;
    }

    .logo-icon {
        width: 45px;
        height: 45px;
        font-size: 24px;
    }

    .hero {
        padding: 2.5rem 1.5rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .content-section {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .content-section h2 {
        font-size: 1.6rem;
    }

    .content-section h3 {
        font-size: 1.3rem;
    }

    .content-section p {
        font-size: 0.95rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    main,
    .site-content {
        padding: 1.5rem 1rem;
        margin: 1.5rem auto;
    }

    footer {
        padding: 2rem 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
    }

    .footer-bottom p {
        font-size: 0.9rem;
    }

    .footer-bottom .credits {
        font-size: 0.85rem;
        margin-top: 0.8rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 1rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .content-section h2 {
        font-size: 1.4rem;
    }

    .content-section h3 {
        font-size: 1.2rem;
    }

    .logo-text {
        font-size: 20px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .header-container {
        padding: 0 1rem;
    }

    main,
    .site-content {
        padding: 1rem 0.5rem;
    }

    .content-section {
        padding: 1.2rem 0.8rem;
    }
}

/* Animasyonlar */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Scroll Animasyonu */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
