/* Genel Stiller */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

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

/* Header ve Navigasyon */
.navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    gap: 20px;
    flex-wrap: nowrap;
}

.logo {
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--dark-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

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

/* Hero Bölümü */
.hero {
    background-image: url('../images/hero-bg.svg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Butonlar */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #545b62;
}

/* Özellikler Bölümü */
.features {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* CTA Bölümü */
.cta {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta h2 {
    margin-bottom: 1rem;
}

.cta p {
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-contact i {
    margin-right: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Sayfa Başlığı */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
}

/* Eğitimler Sayfası */
.courses {
    padding: 4rem 0;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.course-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.course-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.course-card h3 {
    padding: 20px 20px 10px;
    margin: 0;
    color: #333;
    font-size: 1.5rem;
}

.course-card p {
    padding: 0 20px;
    margin: 0 0 20px;
    color: #666;
    line-height: 1.5;
}

.course-card .btn {
    margin: 0 20px 20px;
    display: inline-block;
}

/* Hakkımızda Sayfası */
.about {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.about-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.values {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.values h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* İletişim Sayfası */
.contact {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2,
.contact-form h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-details {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.map {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.map h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Eğitim Detay Sayfası */
.course-detail {
    padding: 4rem 0;
}

.course-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.course-detail-content {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.course-detail-content .course-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.course-detail-content .course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-info {
    padding: 2rem;
}

.course-info h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.course-info h3 {
    color: var(--dark-color);
    margin: 2rem 0 1rem;
}

.course-info p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.course-info ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.course-info ul li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.course-info ul li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.course-info ul li ul {
    margin-top: 0.5rem;
    margin-left: 1rem;
}

.course-info ul li ul li:before {
    content: "→";
}

.course-sidebar .course-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.course-sidebar h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.course-sidebar ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.course-sidebar ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-sidebar ul li i {
    color: var(--primary-color);
}

.course-sidebar ul li a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.course-sidebar ul li a:hover {
    color: var(--primary-color);
}

/* Responsive Tasarım */
@media (max-width: 1024px) {
    .navbar .container {
        flex-direction: column;
        padding: 1rem;
    }

    .logo {
        margin-bottom: 1rem;
    }

    .search-container {
        width: 100%;
        max-width: 100%;
        margin: 1rem 0;
        order: 3;
    }

    .nav-links {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        padding: 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .course-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        order: -1;
    }

    .course-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .course-detail-content .course-image {
        height: 300px;
    }
}

/* İletişim Butonları */
.contact-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #25d366;
    color: white;
    text-decoration: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.contact-button:hover {
    transform: scale(1.1);
}

.phone-button {
    background-color: #4CAF50;
    bottom: 80px;
}

.whatsapp-button {
    background-color: #25d366;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    width: fit-content;
    margin-top: 10px;
}

.whatsapp-link:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: white;
}

.whatsapp-link i {
    font-size: 20px;
    margin: 0;
}

/* İletişim kartları için ek düzenlemeler */
.contact-item.whatsapp-card {
    background: linear-gradient(145deg, #25D366, #128C7E);
    color: white;
}

.contact-item.whatsapp-card h3,
.contact-item.whatsapp-card p {
    color: white;
}

.contact-item.whatsapp-card i {
    color: white;
}

/* İletişim Sayfası Güncellemeleri */
.contact-link, .footer-contact a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover, .footer-contact a:hover {
    color: var(--primary-color);
}

.directions-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    margin-top: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.directions-link:hover {
    color: var(--dark-color);
    transform: translateX(5px);
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.contact-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-item h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-item p {
    color: #666;
    margin-bottom: 5px;
    line-height: 1.5;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

@media (max-width: 768px) {
    .contact-details {
        grid-template-columns: 1fr;
    }
}

/* Arama Kutusu Güncellemesi */
.search-container {
    flex: 1;
    max-width: 600px;
    margin: 0 30px;
}

.search-form {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-form:focus-within {
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
    transform: translateY(-1px);
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: none;
    font-size: 1.1rem;
    color: var(--dark-color);
    outline: none;
}

.search-input::placeholder {
    color: #999;
}

.search-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-button:hover {
    background-color: #0056b3;
}

.search-button i {
    font-size: 1.1rem;
} 