/* Genel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}



/* Navbar Stilleri */
.navbar {
    background-color: #fff;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo h1 {
    color: #333;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: #333;
    text-decoration: none;
    padding: 0 1.5rem;
    transition: color 0.3s;
    font-weight: bold;
}

.nav-links li a:hover {
    color: #007bff;
}

/* Hero Bölümü Stilleri */
.hero {
    position: relative;
    background: url('templates/backround.jpg') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 2rem;
    overflow: hidden;
}

/* Arka plana düşük RGB efekt */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Karanlık overlay */
}

/* Hero İçerik */
.hero-content {
    margin-top: 90px;
    position: relative;
    max-width: 800px;
    z-index: 2;
    animation: fadeInUp 1s ease-in-out;
}

/* Başlık ve Metin */
.hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease-in-out;
}

.hero p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Modern CTA Butonu */
.cta-button {
    display: inline-block;
    margin-top: 1.1rem;
    padding: 12px 24px;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    background: linear-gradient(135deg, #3498db, #6dd5fa);
    border: none;
    border-radius: 30px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #1e90ff, #4facfe);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
}
/* Hizmetler Bölümü Stilleri */
.services {
    padding: 5rem 5%;
    text-align: center;
}

.services h2 {
    margin-bottom: 3rem;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1rem;
}

/* Projeler Bölümü Stilleri */
.projects {
    padding: 5rem 5%;
    text-align: center;
}

.projects h2 {
    margin-bottom: 3rem;
    color: #333;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.project-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    text-align: center;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.project-card h3 {
    font-size: 1.25rem;
    margin: 0.5rem 0;
}

.project-card p {
    font-size: 0.9rem;
    color: #666;
}

/* İletişim Bölümü Stilleri */
.contact {
    padding: 5rem 5%;
    background-color: #f8f9fa;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-container {
    display: flex;
    justify-content: center;
}

.contact-info {
    padding: 2rem;
}

/* Footer Stilleri */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 2rem;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

.admin-panel {
    padding: 5rem 5%;
    background-color: #f8f9fa;
}

.admin-panel h2 {
    margin-bottom: 3rem;
    color: #333;
}

.admin-panel form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.admin-panel input,
.admin-panel textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.admin-panel button {
    padding: 1rem;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.admin-panel button:hover {
    background-color: #0056b3;
}

.card {
    background-color: #f8f9fa;
    border-radius: 8px; /* Köşe yuvarlaklığı biraz azaltıldı */
    padding: 1.5rem; /* İç boşluk küçültüldü */
    margin-bottom: 1.5rem; /* Kartlar arasındaki boşluk biraz azaltıldı */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 280px; /* Kartların genişliği küçültüldü */
    text-align: center; /* İçeriği ortaladık */
}

.card h2 {
    font-size: 1.2rem; /* Başlık boyutunu küçülttük */
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.9rem; /* Yazı boyutunu biraz küçülttük */
    color: #666;
}

/* Kartlar yan yana dizildiğinde fazla yer kaplamaması için */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem; /* Kartlar arasındaki boşluk azaltıldı */
    justify-content: center; /* Ortalamak için */
}

.logo-img {
    width: 50px; /* Logo genişliği */
    height: 50px; /* Logo yüksekliği */
    margin-right: 10px; /* Logo ile başlık arasındaki boşluk */
    object-fit: contain; /* Resmin orantısını koru */
}

.logo {
    display: flex; /* Flexbox kullanarak yan yana hizalama */
    align-items: center; /* Dikey olarak ortala */
}

.logo a {
    text-decoration: none; /* Alt çizgiyi kaldır */
    color: #333; /* Yazı rengini ayarla */
}

.logo h1 {
    font-size: 1.5rem; /* Başlık boyutunu ayarla */
    line-height: 50px; /* Başlık yüksekliğini ayarla, logonun yüksekliği ile aynı */
    margin: 0; /* Başlık için varsayılan margin'i kaldır */
}

.dots {
    text-align: center;
    margin-top: auto;
    margin-bottom: 10px;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    background-color: #717171;
}

.dot-image {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.5rem;
} 

.social-buttons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    color: white;
}

.instagram {
    background-color: #E1306C;
}

.whatsapp {
    background-color: #25D366;
}

.social-btn i {
    margin-right: 8px;
}

.social-btn:hover {
    opacity: 0.8;
}

/* İletişim Bölümü Responsive Düzenlemeleri */
.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form label {
    font-weight: bold;
    display: block;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form button {
    width: 100%;
    padding: 10px;
    background-color: #1a73e8;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #005cbf;
}

.contact-info h3 {
    margin-top: 40px;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-info,
    .contact-form {
        flex: none;
        width: 100%;
        margin-bottom: 20px;
    }

    .contact-info h3 {
        margin-top: 20px;
    }

    .contact-form button {
        padding: 15px;
        font-size: 16px;
    }

    .social-buttons {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .contact-info h3 {
        margin-top: 10px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 14px;
    }

    .contact-form button {
        padding: 12px;
        font-size: 15px;
    }

    @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(50px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    @keyframes fadeInDown {
        from { opacity: 0; transform: translateY(-50px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    /* Mobil Uyumlu Tasarım */
    @media (max-width: 768px) {
        .hero h1 {
            font-size: 2rem;
        }
        .hero p {
            font-size: 1rem;
        }
        .cta-button {
            font-size: 1rem;
            padding: 10px 20px;
        }
    }
    @media (max-width: 768px) {
        .hero-content {
            margin-top: 50px; /* Mobil için daha iyi bir görünüm */
        }
        
        .projects-grid, .services-grid {
            grid-template-columns: 1fr; /* Mobilde tek sütun */
        }
    
        .nav-links {
            display: none; /* Hamburger menü eklenmeli */
        }
    
        .navbar {
            padding: 1rem 2%; /* Mobilde padding azalt */
        }
    
        .card, .project-card {
            width: 100%; /* Sabit genişliği kaldır, esnek hale getir */
        }
    
        .contact-container {
            flex-direction: column; /* Mobilde üst üste gelsin */
            gap: 10px;
        }
    
        .contact-form {
            padding: 15px; /* Mobil için iç padding azalt */
        }
    }
    
}
