/* style.css - Tüm sayfalar için ortak stil dosyası */

:root {
    --primary: #3498db;
    --secondary: #2c3e50;
    --accent: #1abc9c;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --gray: #7f8c8d;
    --success: #27ae60;
    --warning: #f39c12;
    --danger: #e74c3c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* Header Styles */
header {
    background: linear-gradient(to right, var(--secondary), var(--primary));
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.logo i {
    margin-right: 10px;
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 10px;
    border-radius: 4px;
}

nav ul li a:hover {
    color: var(--accent);
    background-color: rgba(255, 255, 255, 0.1);
}

nav ul li a.active {
    color: var(--accent);
    background-color: rgba(255, 255, 255, 0.1);
}

.user-profile {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    padding: 8px 15px;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    color: white;
    transition: background 0.3s;
}

.user-profile:hover {
    background: rgba(255,255,255,0.2);
}

.user-profile img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid var(--accent);
}

/* Main Content */
main {
    flex: 1;
    padding: 2rem 0;
}

.page-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--secondary);
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.page-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, #1a2980, #26d0ce);
    color: white;
    padding: 4rem 0;
    text-align: center;
    border-radius: 0 0 20px 20px;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* Button Styles */
.cta-button {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #16a085;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.secondary-button {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.secondary-button:hover {
    background-color: var(--accent);
    color: white;
}

/* Card Styles */
.card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 5px solid var(--primary);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background: var(--secondary);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-top: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ddd;
    margin: 0 1rem;
    text-decoration: none;
}

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

.copyright {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 1rem;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 0.5rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    nav ul {
        flex-wrap: wrap;
    }
    
    nav ul li {
        margin: 0.3rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .footer-links a {
        margin: 0.5rem;
    }
}