/* main.css - Tüm sayfalarda kullanılacak ortak CSS */

/* 1. TEMEL AYARLAR */
:root {
    --primary-color: #764ba2;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-color: #2c3e50;
    --success-color: #2ecc71;
    --warning-color: #f6c23e;
    --danger-color: #e74c3c;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --gray-color: #6c757d;
    --shadow-sm: 0 2px 5px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.1);
    --radius-sm: 10px;
    --radius-md: 15px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

/* 2. GENEL STİLLER */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fff;
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
}

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

a:hover {
    color: var(--primary-color);
}

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

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

/* 3. TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: #777;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.lead {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
    line-height: 1.6;
}

.text-muted {
    color: #777 !important;
}

/* 4. BUTONLAR */
.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-hero-primary {
    background-color: #fff;
    color: var(--primary-color);
    font-weight: 800;
    padding: 15px 40px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-hero-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    color: #5e3c85;
}

.btn-hero-secondary {
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
    font-weight: 700;
    padding: 13px 35px;
    border-radius: 50px;
    background: transparent;
}

.btn-hero-secondary:hover {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
}

.btn-login {
    background: var(--primary-gradient);
    border: none;
    color: white;
    padding: 15px;
    font-weight: bold;
    width: 100%;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.btn-login:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    color: white;
}

/* 5. FORMLAR */
.form-control {
    padding: 15px;
    background-color: var(--light-color);
    border: 1px solid #eee;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    box-shadow: 0 0 0 4px rgba(118, 75, 162, 0.1);
    border-color: var(--primary-color);
    background-color: #fff;
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.input-group {
    display: flex;
    align-items: center;
}

.input-group-text {
    background-color: var(--light-color);
    border: 1px solid #eee;
    padding: 15px;
    border-right: none;
}

.form-control.border-start-0 {
    border-left: none;
}

/* 6. KARTLAR (CARDS) */
.card {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

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

.feature-card {
    border: none;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    height: 100%;
    text-align: center;
    border-bottom: 5px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border-bottom-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    background: linear-gradient(45deg, #667eea, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.feature-title {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.pricing-card {
    border: none;
    border-radius: var(--radius-lg);
    padding: 40px;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
}

.badge-popular {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary-color);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: bold;
}

.price-tag {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin: 20px 0;
}

.price-tag span {
    font-size: 1rem;
    font-weight: 500;
    color: #999;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.feature-list li {
    margin-bottom: 12px;
    color: #555;
    display: flex;
    align-items: center;
}

.feature-list li i {
    color: var(--success-color);
    margin-right: 10px;
    font-size: 1.1rem;
}

/* 7. NAVBAR */
.navbar {
    padding: 20px 0;
    transition: var(--transition);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--secondary-color) !important;
    letter-spacing: -0.5px;
}

.navbar-brand i {
    color: var(--primary-color);
}

.nav-link {
    font-weight: 600;
    color: #555 !important;
    margin: 0 10px;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: #667eea !important;
}

/* 8. MODAL */
.modal-content {
    border-radius: var(--radius-lg);
    border: none;
    overflow: hidden;
}

.modal-header {
    background-color: var(--light-color);
    border: none;
    padding: 20px 30px;
}

.modal-title {
    font-weight: 800;
    color: var(--secondary-color);
}

/* 9. ÖZEL KLASLAR */
.hero-section {
    background: var(--primary-gradient);
    color: white;
    padding: 140px 0 100px 0;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.ozet-kutu {
    border: none;
    border-radius: 15px;
    color: white;
    padding: 20px;
    height: 100%;
    transition: transform 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.ozet-kutu:hover {
    transform: translateY(-5px);
}

.bg-gradient-primary {
    background: linear-gradient(45deg, #4e73df, #224abe);
}

.bg-gradient-warning {
    background: linear-gradient(45deg, #f6c23e, #dda20a);
    color: #333;
}

.hizli-btn {
    border-radius: 15px;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    border: 1px solid #eee;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    background: white;
    color: #555;
    cursor: pointer;
}

.hizli-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--secondary-color);
    border-color: #ddd;
}

.ajanda-item {
    border-left: 4px solid #4e73df;
    background: white;
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 5px;
    box-shadow: var(--shadow-sm);
}

/* 10. FOOTER */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 80px 0 40px 0;
}

footer h5 {
    font-weight: 700;
    margin-bottom: 20px;
}

footer a {
    color: #a0a0a0;
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 10px;
}

footer a:hover {
    color: white;
    padding-left: 5px;
}

/* 11. UTILITY CLASSES */
.rounded-lg {
    border-radius: var(--radius-lg) !important;
}

.rounded-pill {
    border-radius: 50px !important;
}

.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow-md {
    box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.bg-light {
    background-color: var(--light-color) !important;
}

/* 12. RESPONSIVE */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .feature-card,
    .pricing-card {
        padding: 25px 20px;
    }
    
    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: var(--radius-md);
        margin-top: 10px;
        box-shadow: var(--shadow-md);
    }
}