/*
 * Lavanta Sohbet Teması - Ana Stil Dosyası
 * Modern ve Responsive Tasarım
 */

/* ==================== RESET & BASE ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8b5cf6;
    --secondary-color: #ec4899;
    --accent-color: #f97316;
    --bg-gradient-start: #1e1b4b;
    --bg-gradient-end: #4c1d95;
    --text-color: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --card-bg: rgba(139, 92, 246, 0.3);
    --card-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==================== CONTAINER ==================== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== HEADER ==================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(30, 27, 75, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.9;
}

.nav-list a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: white;
    transition: var(--transition);
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #ea580c);
    color: white;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color), #ea580c);
    color: white;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
}

.btn-block {
    width: 100%;
}

.btn-mirc {
    background: linear-gradient(135deg, var(--secondary-color), #db2777);
    color: white;
    font-size: 0.85rem;
    padding: 10px 24px;
}

.btn-read-more {
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    color: white;
    font-size: 0.85rem;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
}

.btn-read-more:hover {
    transform: translateY(-2px);
}

/* ==================== HERO SECTION ==================== */
.hero {
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: var(--secondary-color);
    bottom: 10%;
    left: 5%;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    top: 20%;
    right: 15%;
    animation: float 5s ease-in-out infinite 1s;
}

.shape-3 {
    width: 40px;
    height: 40px;
    background: #06b6d4;
    top: 30%;
    right: 25%;
    transform: rotate(45deg);
    border-radius: 8px;
    animation: float 4s ease-in-out infinite 0.5s;
}

.shape-4 {
    width: 30px;
    height: 30px;
    background: white;
    top: 15%;
    right: 10%;
    animation: float 7s ease-in-out infinite 2s;
}

.shape-5 {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    bottom: 30%;
    right: 20%;
    animation: float 5s ease-in-out infinite 1.5s;
}

.shape-6 {
    width: 25px;
    height: 25px;
    background: #a78bfa;
    top: 50%;
    right: 8%;
    animation: float 6s ease-in-out infinite 0.8s;
}

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

.hero-container {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: start;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
}

.hero-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    font-style: italic;
    background: linear-gradient(135deg, #fff, var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.hero-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

.form-input {
    width: 100%;
    padding: 15px 15px 15px 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    color: white;
    font-size: 1rem;
    transition: var(--transition);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: -5px 0 10px;
}

.hero-image-container {
    position: relative;
    margin-left: -60px;
    z-index: 1;
}

.hero-image-frame {
    position: relative;
    width: 350px;
    height: 350px;
}

.hero-image-frame::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.2);
}

.hero-sidebar {
    width: 280px;
}

.mirc-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
}

.mirc-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
}

.mirc-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* ==================== MOBILE SECTION ==================== */
.mobile-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    position: relative;
    overflow: hidden;
}

.mobile-container {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 60px;
    align-items: center;
}

.mobile-image img {
    max-width: 300px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.mobile-content {
    max-width: 600px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.mobile-text {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.app-buttons {
    display: flex;
    gap: 15px;
}

.app-btn img {
    height: 50px;
}

/* ==================== MAIN CONTENT ==================== */
.main-content {
    padding: 60px 0;
    background: var(--bg-gradient-start);
}

.main-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
}

/* ==================== SIDEBAR ==================== */
.sidebar-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 25px;
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--card-border);
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list a {
    display: block;
    padding: 8px 0;
    color: var(--text-muted);
    transition: var(--transition);
}

.category-list a:hover,
.category-list li.active a {
    color: var(--accent-color);
    padding-left: 10px;
}

.popular-list {
    list-style: none;
}

.popular-item {
    margin-bottom: 15px;
}

.popular-link {
    display: flex;
    gap: 12px;
    align-items: center;
}

.popular-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.popular-info {
    flex: 1;
    min-width: 0;
}

.popular-title {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-views {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==================== POSTS GRID ==================== */
.posts-section h2 {
    margin-bottom: 30px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.post-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

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

.post-image-link {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-card:hover .post-image {
    transform: scale(1.05);
}

.post-content {
    padding: 25px;
}

.post-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.post-title a:hover {
    color: var(--accent-color);
}

.post-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==================== PAGINATION ==================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: var(--transition);
}

.page-link:hover,
.page-link.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* ==================== FOOTER ==================== */
.footer {
    background: rgba(0, 0, 0, 0.3);
    padding-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--card-border);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-logo img {
    width: 35px;
    height: 35px;
}

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

.footer-links h4,
.footer-social h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

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

.footer-links a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.social-link img {
    width: 20px;
    height: 20px;
}

.social-link svg {
    width: 20px;
    height: 20px;
    color: white;
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
}

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

/* ==================== SINGLE POST ==================== */
.single-post .main-container {
    grid-template-columns: 280px 1fr;
}

.post-single {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    overflow: hidden;
}

.post-hero-image {
    aspect-ratio: 21/9;
    overflow: hidden;
}

.post-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-header {
    padding: 40px;
    border-bottom: 1px solid var(--card-border);
}

.post-category {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary-color);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.post-single .post-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.post-meta {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.post-body {
    padding: 40px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.post-body p {
    margin-bottom: 20px;
}

.post-body h2,
.post-body h3 {
    margin: 30px 0 15px;
}

.post-footer {
    padding: 30px 40px;
    border-top: 1px solid var(--card-border);
}

.post-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-btn {
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.related-posts {
    padding: 40px;
    border-top: 1px solid var(--card-border);
}

.related-posts h3 {
    margin-bottom: 25px;
}

.related-posts .posts-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* ==================== CATEGORY HEADER ==================== */
.category-header {
    padding: 60px 0;
    text-align: center;
}

.category-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.category-header p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.post-count {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
    
    .hero-sidebar {
        display: none;
    }
    
    .hero-image-frame {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 992px) {
    .main-container {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .sidebar-card {
        margin-bottom: 0;
    }
    
    .mobile-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .mobile-image {
        order: -1;
    }
    
    .app-buttons {
        justify-content: center;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .nav {
        display: none;
        width: 100%;
        order: 3;
    }
    
    .nav.active {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-image-container {
        margin-left: 0;
        margin-top: 30px;
        justify-self: center;
    }
    
    .hero-image-frame {
        width: 250px;
        height: 250px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .single-post .main-container {
        grid-template-columns: 1fr;
    }
    
    .related-posts .posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-card {
        padding: 25px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .post-header,
    .post-body,
    .post-footer,
    .related-posts {
        padding: 25px;
    }
    
    .post-single .post-title {
        font-size: 1.5rem;
    }
}