/* Reset ve Base Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo i {
    color: #e74c3c;
    margin-right: 0.5rem;
    filter: drop-shadow(0 2px 4px rgba(231, 76, 60, 0.3));
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: left 0.3s ease;
    z-index: -1;
    border-radius: 25px;
}

.nav-link:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.nav-link:hover::before {
    left: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url('/assets/uploads/backgroundindex.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.8s forwards;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 35px;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.1s forwards;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2, #667eea);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: block;
    margin: 1rem auto;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

.service-icon {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.3));
}

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-card p {
    color: #666;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.service-price {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================================================= */
/* === YENİ EKLENEN KODLAR - HİZMET KARTI ARKA PLANLARI === */
/* ================================================= */

/* Hizmet kartı bir arka plan resmine sahip olduğunda uygulanacak stiller */
.service-card.has-bg-image {
    background-size: cover;
    background-position: center;
    position: relative;
    color: white; /* Ana metin rengini beyaz yap */
    z-index: 1; /* Üst üste binme durumları için */
}

/* Metnin okunabilirliği için resmin üzerine siyah bir katman ekliyoruz */
.service-card.has-bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px; /* Kart ile aynı yuvarlaklıkta olmalı */
    z-index: -1; /* Katmanın metnin arkasında kalmasını sağlar */
    transition: background 0.3s ease;
}

/* Fare ile üzerine gelince katmanın şeffaflığını azaltıyoruz */
.service-card.has-bg-image:hover::after {
    background: rgba(0, 0, 0, 0.45);
}

/* Resim varken içerideki tüm metinleri ve ikonları beyaz yapıyoruz */
.service-card.has-bg-image h3,
.service-card.has-bg-image p,
.service-card.has-bg-image .service-price,
.service-card.has-bg-image .service-icon {
    color: white;
    -webkit-text-fill-color: white; /* Gradyanları geçersiz kılar */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7); /* Okunurluk için gölge */
}

/* Süre bilgisinin rengini de beyaz yapıyoruz */
.service-card.has-bg-image .service-duration {
     color: #f0f0f0;
}

/* İkonun gradyanını kaldırıp sadece beyaz renk veriyoruz */
.service-card.has-bg-image .service-icon {
    background: none;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

/* Kartın üstündeki renkli çizgiyi resim varken gizliyoruz */
.service-card.has-bg-image::before {
    background: transparent;
}


/* ============================================ */
/* === YENİ EKLENEN KODLARIN SONU === */
/* ============================================ */


/* About Section */
.about {
    padding: 5rem 0;
    background: rgba(248, 249, 250, 0.9);
    backdrop-filter: blur(20px);
}

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

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #2c3e50;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Team Section */
.team {
    padding: 5rem 0;
    background: #ffffff;
}

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

.team-member {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.team-member:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.1);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h3 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.team-info p {
    color: #666;
    font-weight: 400;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 3rem 0 1rem;
    border-top: 1px solid #34495e;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: #ecf0f1;
    font-weight: 700;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #bdc3c7;
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: #bdc3c7;
    font-weight: 400;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: #667eea;
    transform: translateX(5px);
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    color: #ecf0f1;
    font-size: 1.8rem;
    margin-right: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    color: #667eea;
    transform: translateY(-3px) scale(1.1);
    background: rgba(102, 126, 234, 0.2);
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.contact-info i {
    margin-right: 0.5rem;
    width: 20px;
    color: #667eea;
}

.working-hours .hours {
    font-weight: 700;
    color: #667eea;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: #bdc3c7;
    font-weight: 400;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: #ffffff;
}

.btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2, #667eea);
}

.btn-secondary {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
}

.btn-success {
    background: linear-gradient(135deg, #27ae60, #229954);
}

.btn-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

/* Alert Messages */
.alert {
    padding: 1.2rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-info {
    background: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Page Content */
.page-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 4rem 0 2rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-header p {
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.content-section {
    padding: 3rem 0;
}

.card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

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

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    padding: 1rem;
    text-align: center;
}

.gallery-caption h3 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.gallery-caption p {
    color: #666;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }

    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 1rem 15px;
    }

    .nav-container {
        padding: 1rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 64px;
        flex-direction: column;
        background: #ffffff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 1px solid #e9ecef;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        z-index: 999;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu .nav-link {
        display: block;
        padding: 1rem 2rem;
        margin: 0.5rem 0;
        border-radius: 0;
        font-size: 1.1rem;
    }

    .nav-menu .nav-link {
        display: block;
        padding: 1rem 2rem;
        margin: 0.5rem 0;
        border-radius: 0;
        font-size: 1.1rem;
        width: 100%;
    }

    .nav-menu .nav-link {
        display: block;
        padding: 1rem 2rem;
        margin: 0.5rem 0;
        border-radius: 0;
        font-size: 1.1rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        z-index: 1001;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        height: 100vh;
        background-attachment: scroll;
        padding: 0 15px;
        z-index: 1001;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        margin: 0 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        margin: 0 1rem;
    }

    .hero {
        height: 100vh;
        background-attachment: scroll;
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        margin: 0 1rem;
    }

    .hero {
        height: 100vh;
        background-attachment: scroll;
        padding: 0 1rem;
    }

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

    .about-text {
        order: 2;
        text-align: center;
    }

    .about-image {
        order: 1;
    }

    .about-image img {
        max-width: 100%;
        height: auto;
        gap: 2rem;
    }

    .about-text {
        order: 2;
        text-align: center;
    }

    .about-image {
        order: 1;
    }

    .about-image img {
        max-width: 100%;
        height: auto;
        object-fit: cover;
        gap: 2rem;
    }

    .about-text {
        order: 2;
        text-align: center;
    }

    .about-image {
        order: 1;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        gap: 1.5rem;
        padding: 0 15px;
    }

    .service-card {
        padding: 1.5rem;
        margin: 0 auto;
        max-width: 400px;
        gap: 1.5rem;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
        padding: 0 15px;
    }

    .team-member img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 15px;
    }

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

    .page-header h1 {
        font-size: 2.5rem;
        padding: 0 15px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 15px;
    }

    .gallery-item img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .services,
    .about,
    .team {
        padding: 3rem 0;
    }

    .content-section {
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.1;
    }

    .section-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .service-card {
        padding: 1.2rem;
        margin: 0 10px;
    }

    .page-header h1 {
        font-size: 2rem;
        padding: 0 10px;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        margin: 0 10px;
    }

    .container {
        padding: 0 10px;
    }

    .nav-container {
        padding: 1rem 10px;
    }

    .hero-content p {
        font-size: 0.95rem;
        padding: 0 10px;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .service-icon {
        font-size: 3rem;
    }

    .team-member img {
        height: 180px;
    }

    .footer-content {
        padding: 0 10px;
    }
}

/* Görsel optimizasyonları */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hamburger menü animasyonları */
.nav-toggle {
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    transform: scale(1.1);
}

/* Mobil menü overlay */
@media (max-width: 768px) {
    .nav-menu.active {
        animation: slideDown 0.3s ease-out;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* BU KODLARI KOPYALAYIP HEM `assets/css/style.css`
    HEM DE `assets/css/admin.css` DOSYALARINIZIN EN ALTINA EKLEYİN.
*/

/* Dark Mode Stilleri - CSS Değişkenleri Kullanılarak */

/* 1. Açık tema renklerini tanımla (varsayılan) */
:root {
    --bg-color: #f8f9fa;
    /* Açık gri arkaplan */
    --text-color: #212529;
    /* Koyu metin */
    --card-bg: #ffffff;
    /* Beyaz kartlar/kutular */
    --border-color: #dee2e6;
    /* Açık gri kenarlık */
    --primary-color: #007bff;
    /* Mavi linkler ve ana butonlar */
    --primary-text: #ffffff;
    /* Ana butonlar üzerindeki beyaz metin */
    --nav-bg: #ffffff;
    /* Beyaz navigasyon */
    --input-bg: #ffffff;
    --input-border: #ced4da;
    --input-text: #495057;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

/* 2. `html.dark-mode` class'ı mevcut olduğunda bu renkleri kullan */
html.dark-mode {
    --bg-color: #121212;
    /* Çok koyu gri arkaplan */
    --text-color: #e0e0e0;
    /* Açık gri metin */
    --card-bg: #1e1e1e;
    /* Koyu gri kartlar */
    --border-color: #444444;
    /* Orta gri kenarlık */
    --primary-color: #64b5f6;
    /* Daha iyi kontrast için açık mavi */
    --primary-text: #121212;
    /* Ana butonlar üzerindeki koyu metin */
    --nav-bg: #1e1e1e;
    /* Koyu gri navigasyon */
    --input-bg: #2c2c2c;
    --input-border: #555555;
    --input-text: #e0e0e0;
    --shadow-color: rgba(255, 255, 255, 0.05);
}

/* 3. Değişkenleri ilgili elementlere uygula */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.2s linear, color 0.2s linear;
}

/* Genel Bileşenler */
.navbar,
.admin-sidebar,
.admin-header,
.form-card,
.card,
.modal-content,
.alert {
    background-color: var(--card-bg) !important;
    border-color: var(--border-color) !important;
    box-shadow: 0 2px 4px var(--shadow-color);
}

.admin-sidebar {
    box-shadow: 2px 0 5px var(--shadow-color);
}

/* Metinler ve Linkler */
h1,
h2,
h3,
h4,
h5,
h6,
.nav-link,
.menu-item,
label,
.user-info span,
p,
.alert {
    color: var(--text-color) !important;
}

a,
.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Formlar */
.form-control,
input,
textarea,
select {
    background-color: var(--input-bg) !important;
    color: var(--input-text) !important;
    border: 1px solid var(--input-border) !important;
}

.form-control::placeholder {
    color: #888 !important;
}

html.dark-mode .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-color), 0.25);
}

/* Butonlar */
.btn-primary {
    background-color: var(--primary-color) !important;
    color: var(--primary-text) !important;
    border-color: var(--primary-color) !important;
}

/* Admin Panele Özel Stiller */
html.dark-mode .admin-sidebar {
    background: #1e1e1e !important;
}

html.dark-mode .sidebar-header h3,
html.dark-mode .sidebar-header p {
    color: #fff !important;
}

html.dark-mode .menu-item.active,
html.dark-mode .menu-item:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
}

/* Ana Siteye Özel Stiller */
html.dark-mode .navbar {
    border-bottom: 1px solid var(--border-color);
}


/* 4. Tema Değiştirme Butonu Stili */
.theme-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text-color);
    padding: 0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    margin-left: 10px;
}

.theme-toggle-btn:hover {
    background-color: var(--border-color);
}

