/* === GENEL STİLLER VE DEĞİŞKENLER === */
:root {
    --primary-color: #2c3e50;
    --primary-dark: #1a252f;
    --primary-light: #3498db;
    --secondary-color: #ff7e5f;
    --secondary-dark: #e86a4c;
    --accent-color: #27ae60;
    --text-color: #2c3e50;
    --text-light: #7f8c8d;
    --border-color: #e9ecef;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f0f4f8 0%, #e3ebf5 100%);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* === ORTAK HEADER STİLLERİ === */
.main-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.site-logo:hover {
    transform: scale(1.05);
}

.logo-text {
    color: var(--white);
}

.logo-text h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.logo-text p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
    flex-wrap: wrap;
}

.main-nav a {
    display: block;
    padding: 12px 20px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.95rem;
}

.main-nav a:hover, .main-nav a.active {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* === ORTAK SECTION BAŞLIKLARI === */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
    font-weight: 300;
}

.section-title:after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #feb47b 100%);
    margin: 15px auto;
    border-radius: 2px;
}

/* === ORTAK BUTON STİLLERİ === */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #feb47b 100%);
    color: var(--white);
    text-decoration: none;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 126, 95, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary-light) 0%, #2980b9 100%);
}

.btn-success {
    background: linear-gradient(135deg, var(--accent-color) 0%, #219a52 100%);
}

.btn-small {
    padding: 8px 15px;
    font-size: 0.9rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* === ORTAK KART STİLLERİ === */
.card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* === ORTAK FORM STİLLERİ === */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* === ORTAK GRID STİLLERİ === */
.grid {
    display: grid;
    gap: 20px;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* === ORTAK TAB STİLLERİ === */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.tab-nav {
    display: flex;
    list-style: none;
    background: var(--background-light);
    border-radius: 10px;
    padding: 5px;
    margin-bottom: 20px;
}

.tab-nav li {
    flex: 1;
}

.tab-nav a {
    display: block;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    border-radius: 8px;
    transition: var(--transition);
}

.tab-nav a.active {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow);
}

/* === ORTAK TABLO STİLLERİ === */
.table-container {
    overflow-x: auto;
    margin-top: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.data-table th,
.data-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.data-table tr:hover {
    background: var(--background-light);
}

/* === ORTAK FOOTER STİLLERİ === */
.main-footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 50px 30px 30px;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: var(--primary-light);
}

.footer-section p, 
.footer-section a {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
    color: var(--white);
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #95a5a6;
    font-size: 0.9rem;
}

/* === ORTAK DURUM ETİKETLERİ === */
.status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-active { background: #d4edda; color: #155724; }
.status-completed { background: #fff3cd; color: #856404; }
.status-waiting { background: #d1ecf1; color: #0c5460; }
.status-inactive { background: #f8d7da; color: #721c24; }

/* === ORTAK ANİMASYONLAR === */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes slideIn {
    from { 
        transform: translateY(-20px); 
        opacity: 0; 
    }
    to { 
        transform: translateY(0); 
        opacity: 1; 
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0,-10px,0);
    }
    70% {
        transform: translate3d(0,-5px,0);
    }
    90% {
        transform: translate3d(0,-2px,0);
    }
}

/* === ORTAK RESPONSIVE STİLLER === */
@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 15px 20px;
    }

    .logo-text h1 {
        font-size: 1.5rem;
    }

    .main-nav ul {
        justify-content: center;
    }

    .main-nav a {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tab-nav {
        flex-direction: column;
    }

    .table-container {
        font-size: 0.9rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .container {
        border-radius: 10px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .card {
        padding: 20px 15px;
    }

    .footer-section {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
    }
}

/* === ORTAK UTILITY CLASSES === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }

.hidden { display: none; }
.visible { display: block; }

.fade-in { animation: fadeIn 0.5s ease; }
.slide-in { animation: slideIn 0.3s ease; }
.bounce { animation: bounce 1s ease; }

/* === ORTAK LOADER STİLLERİ === */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-light);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* === ORTAK SCROLLBAR STİLLERİ === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}
/* style.css - Tüm sayfalarda geçerli */
.social-links .social-link {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.social-icon {
    background: transparent !important;
    border: none !important;
}
/* ===== TÜM HEADER'LAR İÇİN ORTAK RENK ===== */
.danisan-header,
.olcekler-header,
.gallery-hero,
.contact-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
}

/* Hero section için de aynı renk (zaten bu renkte) */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}
/* ===== GÜNCELLENEN HEADER'LAR İÇİN STANDART YÜKSEKLİK ===== */
/* Sadece bu 5 header için */

.danisan-header,
.olcekler-header,
.gallery-hero,
.contact-hero,
.hero-section {
    height: 450px !important;
    min-height: 450px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
}

/* Sadece bu header'ların içerikleri için */
.danisan-header > div:first-child,
.olcekler-header > div:first-child,
.gallery-hero > div:first-child,
.contact-hero > div:first-child,
.hero-section .hero-content {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    gap: 50px !important;
    align-items: center !important;
    max-width: 1200px !important;
    width: 100% !important;
    padding: 0 40px !important;
}

/* Sadece bu header'lardaki resimler için */
.danisan-header img[src*="danısan"],
.olcekler-header img[src*="foto33"],
.gallery-hero img[src*="foto13"],
.contact-hero img[src*="foto40"],
.hero-section img[src*="ruh1"] {
    width: 250px !important;
    height: 250px !important;
    object-fit: cover !important;
    border-radius: 15px !important;
    border: 4px solid rgba(255,255,255,0.3) !important;
}

/* Diğer resimler etkilenmesin (küçük kalsın) */
.service-icon,
.nav-icon,
.social-icon,
.footer-section img {
    /* Bu resimler eski boyutunda kalsın */
    width: auto !important;
    height: auto !important;
}
/* ===== SOSYAL MEDYA İKONLARINI KORU ===== */
/* Sosyal medya ikonları küçük kalacak */

.social-links {
    display: flex !important;
    gap: 15px !important;
    margin-top: 15px !important;
}

.social-icon {
    width: 32px !important;
    height: 32px !important;
    object-fit: contain !important;
    transition: transform 0.3s ease !important;
}

.social-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.social-link:hover .social-icon {
    transform: scale(1.1) !important;
}

/* Footer'daki sosyal medya ikonları */
.footer-section .social-links .social-icon {
    width: 32px !important;
    height: 32px !important;
}

/* Header'lardaki sosyal medya ikonları etkilenmesin */
.danisan-header .social-icon,
.olcekler-header .social-icon,
.gallery-hero .social-icon,
.contact-hero .social-icon,
.hero-section .social-icon {
    width: 32px !important;
    height: 32px !important;
}
@media (max-width: 768px) {
    .danisan-header,
    .olcekler-header,
    .gallery-hero,
    .contact-hero,
    .hero-section {
        height: 350px !important;
        min-height: 350px !important;
    }
    
    .danisan-header > div:first-child,
    .olcekler-header > div:first-child,
    .gallery-hero > div:first-child,
    .contact-hero > div:first-child,
    .hero-section .hero-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center !important;
        padding: 0 20px !important;
    }
    
    .danisan-header img[src*="danısan"],
    .olcekler-header img[src*="foto33"],
    .gallery-hero img[src*="foto13"],
    .contact-hero img[src*="foto40"],
    .hero-section img[src*="ruh1"] {
        width: 180px !important;
        height: 180px !important;
        margin: 0 auto !important;
    }
}