/* Kahve Dünyası - Main Stylesheet */

/* CSS Variables for Header Colors */
:root {
    --header-bg-primary: #000000;
    --header-bg-secondary: #434343;
    --header-text-primary: #ffffff;
    --header-text-secondary: #e0e0e0;
    --header-accent: #ffd700;
}

/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--header-bg-primary), var(--header-bg-secondary));
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    color: var(--header-text-primary);
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-brand i {
    color: var(--header-accent);
    margin-right: 0.5rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--header-text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--header-accent);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--header-accent);
}

.nav-user {
    position: relative;
}

.user-menu {
    position: relative;
    cursor: pointer;
}

.user-menu span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--header-text-primary);
    font-weight: 500;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--header-bg-secondary);
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 0.5rem 0;
    display: none;
    z-index: 1001;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-menu:hover .user-dropdown {
    display: block;
}

.user-dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--header-text-secondary);
    transition: all 0.3s ease;
}

.user-dropdown a:hover {
    background: var(--header-bg-primary);
    color: var(--header-accent);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #8B4513, #D2691E);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

.btn-outline {
    background: transparent;
    color: #8B4513;
    border: 2px solid #8B4513;
}

.btn-outline:hover {
    background: #8B4513;
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section with Coffee Background Slider */
.hero-with-slider {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.7), rgba(210, 105, 30, 0.6));
    z-index: 2;
}

.hero-with-slider .container {
    position: relative;
    z-index: 3;
}

.hero-with-slider .hero-content {
    text-align: center;
    color: white;
}

.hero-with-slider .hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-with-slider .hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-with-slider .hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Modern Section Styling */
.modern-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 4rem 0;
    color: white;
}

.modern-section .popular-section h2 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

.modern-section .content-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.modern-section .content-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.modern-section .content-card h3 a {
    color: white;
    text-decoration: none;
}

.modern-section .content-card .author {
    color: rgba(255, 255, 255, 0.8);
}

.modern-section .content-card .card-stats span {
    color: rgba(255, 255, 255, 0.9);
}

.modern-section .no-content {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 2rem;
}

/* Online Users Section */
.online-users-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem 0;
    border-top: 3px solid rgba(255, 255, 255, 0.2);
}

.online-users-bar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.online-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.online-header h3 {
    color: white;
    font-size: 1.3rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.online-indicator {
    color: #00ff88;
    animation: pulse 2s infinite;
    font-size: 0.8rem;
}

.online-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.online-users-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.online-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.online-user:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.user-avatar {
    position: relative;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #8B4513, #D2691E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
}

.online-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background: #00ff88;
    border-radius: 50%;
    border: 2px solid white;
    animation: pulse 2s infinite;
}

.user-name {
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
}

.no-online-users {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    justify-content: center;
    width: 100%;
    padding: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-with-slider .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-with-slider .hero-content p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .popular-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .online-users-list {
        justify-content: center;
    }
    
    .online-user {
        padding: 0.4rem 0.8rem;
    }
    
    .user-name {
        font-size: 0.8rem;
    }
    
    .online-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-with-slider .hero-content h1 {
        font-size: 2rem;
    }
    
    .online-users-list {
        gap: 0.5rem;
    }
    
    .online-user .user-name {
        display: none;
    }
    
    .online-user {
        padding: 0.4rem;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        justify-content: center;
    }
}

.hero-image {
    margin-top: 2rem;
}

.hero-image i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.3);
    animation: float 3s ease-in-out infinite;
}

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

/* Statistics Section */
.statistics {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    margin-bottom: 1rem;
}

.stat-icon i {
    font-size: 2.5rem;
    color: #8B4513;
}

.stat-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.stat-content p {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

/* Recent Activities */
.recent-activities {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.95);
}

.recent-activities h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.activity-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.activity-section h3 {
    color: #8B4513;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.activity-item:hover {
    background: #e9ecef;
}

.activity-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8B4513, #D2691E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.activity-info h4 {
    margin-bottom: 0.25rem;
    color: #333;
}

.activity-info h4 a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.activity-info h4 a:hover {
    color: #8B4513;
}

.activity-info p {
    color: #666;
    font-size: 0.9rem;
}

.no-content {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 2rem;
}

/* Popular Content */
.popular-content {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.popular-section h2 {
    color: white;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.content-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.content-card:hover {
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.card-header h3 {
    flex: 1;
    margin-right: 1rem;
}

.card-header h3 a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
    display: block;
    font-size: 1.1rem;
}

.card-header h3 a:hover {
    color: #8B4513;
}

.author {
    color: #666;
    font-size: 0.9rem;
    white-space: nowrap;
}

.card-stats {
    display: flex;
    gap: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.card-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.section-footer {
    text-align: center;
}

/* Call to Action */
.cta {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.95);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(33, 37, 41, 0.95));
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 0;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #D2691E;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
}

.footer-section ul li a:hover {
    color: #D2691E;
    transform: translateX(5px);
}

.footer-section ul li i {
    width: 16px;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #333, #555);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.social-links a:hover {
    background: linear-gradient(135deg, #D2691E, #8B4513);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(210,105,30,0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #ccc;
}

.footer-bottom a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #D2691E;
}

/* Footer responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .footer-bottom div {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .popular-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .activity-section {
        padding: 1.5rem;
    }
}