/* Dark mode project card button - remove glow effect */
body.dark-mode .project-card-title .btn-primary,
body.dark-mode .project-card-title .btn-primary:link,
body.dark-mode .project-card-title .btn-primary:visited,
body.dark-mode .project-card-title .btn-primary:hover,
body.dark-mode .project-card-title .btn-primary:focus,
body.dark-mode .project-card-title .btn-primary:active,
body.dark-mode .project-card-title .btn-primary.focus,
body.dark-mode .project-card-title .btn-primary:not(:disabled):not(.disabled):active,
body.dark-mode .project-card-title .btn-primary:not(:disabled):not(.disabled):active:focus,
body.dark-mode .project-card:hover .project-card-title .btn-primary,
body.dark-mode .project-card:hover .project-card-title .btn-primary:hover,
body.dark-mode .project-card:hover .project-card-title .btn-primary:focus,
body.dark-mode .project-card:hover .project-card-title .btn-primary:active,
body.dark-mode .project-card:hover .project-card-title .btn-primary.focus {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    outline: none !important;
    outline-offset: 0 !important;
}

/* Section Headings - Fixed Height for Alignment */
.text-center.mb-5>h1,
.text-center.mb-4>h1 {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

@media (max-width: 768px) {

    .text-center.mb-5>h1,
    .text-center.mb-4>h1 {
        height: 56px;
    }
}

/* Carousel Styles */
@media (max-width: 768px) {
    #header-carousel .carousel-indicators {
        position: absolute;
        top: auto !important;
        bottom: 12px !important;
        left: 50% !important;
        transform: translateX(-50%);
        margin: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    #header-carousel .carousel-indicators li {
        display: inline-block;
        margin: 0 6px !important;
        width: 10px !important;
        height: 10px !important;
        border-radius: 50% !important;
        background-color: rgba(255, 255, 255, 0.7) !important;
        border: 0 !important;
        box-sizing: border-box;
    }

    #header-carousel .carousel-indicators .active {
        width: 10px !important;
        height: 10px !important;
        border-radius: 50% !important;
        background-color: #FF6600 !important;
    }

    /* Carousel caption yazılarını mobilde sola hizala */
    #header-carousel .carousel-caption {
        text-align: left !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        padding: 1.5rem !important;
    }

    #header-carousel .carousel-caption>div {
        text-align: left !important;
        max-width: 100% !important;
        padding: 1rem !important;
    }

    #header-carousel .carousel-caption h1,
    #header-carousel .carousel-caption h5,
    #header-carousel .carousel-caption p {
        text-align: left !important;
    }
}

/* References Styles */
@media (max-width: 768px) {
    .references-img {
        max-height: 100px !important;
        max-width: 250px !important;
    }

    .references-container {
        min-height: 120px !important;
    }
}
/* Teachers Styles */
.teacher-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #2c2c2c;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    color: #fff;
    overflow: hidden; /* Kartın dışına taşan içerikleri keser */
    min-height: 480px; /* Kartın minimum yüksekliği */
    display: flex; /* İçeriğin esnek bir şekilde düzenlenmesi için */
    flex-direction: column; /* İçeriği dikey sırala */
    justify-content: space-between; /* İçeriği dikeyde eşit boşluklarla yay */
}

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

/* Eğitmen Görseli */
.teacher-card img {
    transition: transform 0.3s ease;
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    flex-shrink: 0; /* Görselin küçülmesini engeller */
}

.teacher-card:hover img {
    transform: scale(1.05);
}

.teacher-card .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #eee !important;
    color: #111 !important; 
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #c0c0c0;
}

/* Hover Efekti (Burada ikon rengi tekrar beyaz olmalı) */
.teacher-card .social-icons a:hover {
    background: #FF6600 !important;
    color: #fff !important; /* Turuncu üzerinde beyaz kalmalı */
    border-color: #FF6600 !important;
}
/* Ad ve Açıklama Alanı */
.teacher-card-info {
    transition: all 0.3s ease;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    white-space: normal;
    font-size: 1.12rem;
    line-height: 1.25;
    flex-grow: 1; /* Bu alanın müsait olan tüm dikey alanı kaplamasını sağlar */
    display: flex;
    flex-direction: column;
    justify-content: center; /* İçeriği dikeyde ortala */
}
.teacher-card-info h5 {
    font-weight: 600;
    margin-bottom: 6px;
    color: #fff;
}
.teacher-card-info p {
    font-size: 0.9rem;
    color: #ccc;
    min-height: auto; 
    overflow: visible; 
    white-space: normal; 
    word-break: break-word; 
    margin-bottom: 0; 
}

/* Etiketler (Tags) */
.teacher-card .tags {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    flex-shrink: 0; 
    padding: 0 5px; 
}
.teacher-card .tags span {
    background: #555;
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 0.8rem;
    white-space: normal;
    word-break: break-word; 
}

/* Scroll Container (Değişiklik yok - mevcut hali uygun) */
.teachers-scroll-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 60px;
    perspective: 1000px;
}

/* Navigation Buttons (Değişiklik yok - mevcut hali uygun) */
.teachers-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    color: #FF6600;
    font-size: 22px;
    cursor: pointer;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.teachers-nav-btn:hover {
    background: #FF6600;
    color:#000;
    transform: translateY(-50%) scale(1.15);
}
.teachers-nav-prev { left: 10px; }
.teachers-nav-next { right: 10px; }

/* Scroll Wrapper + Animation (Değişiklik yok - mevcut hali uygun) */
.teachers-scroll-wrapper {
    display: inline-flex;
    animation: none;
    will-change: transform;
    align-items: center;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}
@keyframes scrollTeachers {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Individual Card (Değişiklik yok - mevcut hali uygun) */
.teacher-card-scroll {
    flex-shrink: 0;
    width: 330px;
    margin-right: 6px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease;
    transform: scale(0.8);
    opacity: 0.5;
    position: relative;
    z-index: 1;
    transform-origin: center center;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.teacher-card-scroll.center {
    transform: scale(1.15);
    opacity: 1;
    z-index: 10;
}
.teacher-card-scroll.center .teacher-card {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}
.teacher-card {
   
    display: flex !important; 
    flex-direction: column !important; 
    justify-content: space-between; 
    height: auto !important;
}

.teacher-card .bg-secondary p {
   
    white-space: normal !important; 
    word-break: break-word !important; 
    overflow: visible !important; 
    min-height: auto !important; 
    flex-grow: 1; 
}


.teacher-card .bg-secondary .mt-2 {
   
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center;
    gap: 5px; 
    margin-top: 5px !important;
}

.teacher-card .bg-secondary .mt-2 .badge {
   
    white-space: normal !important; 
    word-break: break-word !important;
    overflow: visible !important;
    padding: 5px 8px !important; 
    line-height: 1.2; 
    height: auto !important; 
    color:#000000c8 !important;
}

/* Projects Styles */
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project-card img {
    transition: transform 0.3s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-card-title {
    transition: all 0.3s ease;
    min-height: 54px;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    white-space: normal;
    font-size: 1.12rem;
    line-height: 1.25;
}

.projects-scroll-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 60px;
    /* was 60px 0 -> inner padding smaller, added left/right for buttons */
    perspective: 1000px;
}

.projects-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #FF6600;
    font-size: 22px;
    cursor: pointer;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.projects-nav-btn:hover {
    background: #FF6600;
    color: #fff;
    transform: translateY(-50%) scale(1.15);
}

.projects-nav-prev {
    left: 10px;
}

.projects-nav-next {
    right: 10px;
}

.projects-scroll-wrapper {
    display: inline-flex;
    animation: none;
    will-change: transform;
    align-items: center;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

@keyframes scrollProjects {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.project-card-scroll {
    flex-shrink: 0;
    width: 390px;
    margin-right: 6px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease;
    transform: scale(0.8);
    opacity: 0.5;
    position: relative;
    z-index: 1;
    transform-origin: center center;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.project-card-scroll.center {
    transform: scale(1.15);
    opacity: 1;
    z-index: 10;
}

.project-card-scroll.center .project-card {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .projects-scroll-container {
        position: relative;
        padding: 16px 50px 36px 50px;
        overflow: visible !important;
    }

    .projects-nav-btn {
        display: flex !important;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .projects-nav-prev {
        left: 5px;
    }

    .projects-nav-next {
        right: 5px;
    }

    .projects-scroll-wrapper {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        display: flex !important;
        align-items: stretch;
        padding: 0 8vw;
        gap: 0;
        animation: none !important;
        scrollbar-width: none;
        width: max-content;
        touch-action: auto;
        /* allow vertical scroll while interacting */
        overscroll-behavior-x: contain;
    }

    .projects-scroll-wrapper::-webkit-scrollbar {
        display: none;
    }

    .project-card-scroll {
        flex: 0 0 80vw;
        min-width: 80vw;
        max-width: 80vw;
        scroll-snap-align: center;
        margin: 0 auto;
        width: unset !important;
        opacity: 1;
        transform: none;
    }

    .project-card-scroll.center {
        transform: none !important;
    }
}

/* Courses Styles */
.course-card .btn-course-detail {
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.course-card .btn-course-detail:hover,
.course-card .btn-course-detail:focus {
    background-color: #FF6600 !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(255, 102, 0, 0.3);
}

/* Programs Styles */
.program-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.program-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.program-card-content {
    transition: background-color 0.4s ease;
}

.program-card:hover .program-card-content {
    background-color: #e8e6f0 !important;
}

.program-card img {
    transition: transform 0.4s ease;
}

.program-card:hover img {
    transform: scale(1.1);
}

.program-card h5,
.program-card p,
.program-card small {
    transition: color 0.3s ease;
}

.program-card:hover h5 {
    color: #FF6600 !important;
}

/* Schedules Styles */
.schedule-container {
    display: flex;
    gap: 20px;
    width: 100%;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
}

.schedule-card {
    position: relative;
    flex: 0 0 calc(30% - 12px);
    max-width: calc(30% - 12px);
    height: 500px;
    border-radius: 18px;
    color: #fff;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(135deg, #FF6600, #ff9a3d);
    box-sizing: border-box;
}

.schedule-card:nth-child(1) {
    background: linear-gradient(135deg, #FF6600, #e55a00);
}

.schedule-card:nth-child(2) {
    background: linear-gradient(135deg, #44425A, #5a5775);
}

.schedule-card:nth-child(3) {
    background: linear-gradient(135deg, #d45400, #FF6600);
}

.schedule-card.open {
    flex: 0 0 80%;
    max-width: 80%;
}

.schedule-card-content {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--schedule-closed-width, calc(30% - 12px));
    min-width: var(--schedule-closed-width, calc(30% - 12px));
    max-width: var(--schedule-closed-width, calc(30% - 12px));
    height: 100%;
    padding: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.schedule-card h2 {
    margin: 0 0 0 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    height: 64px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 0;
    margin-bottom: 0;
}

.schedule-card .title-bar {
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
    margin-bottom: 20px;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.schedule-card .left-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.95);
    max-height: calc(100% - 140px);
    -webkit-overflow-scrolling: touch;
}

.schedule-card .left-content h3,
.schedule-card .left-content h4,
.schedule-card .left-content h5,
.schedule-card .left-content h6 {
    color: rgba(255, 255, 255, 1);
    margin-top: 15px;
    margin-bottom: 10px;
}

.schedule-card .left-content p {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.95);
}

.schedule-card .left-content ul,
.schedule-card .left-content ol {
    margin: 10px 0;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.95);
}

.schedule-card .left-content a {
    color: rgba(255, 255, 255, 1);
    text-decoration: underline;
}

.schedule-item {
    cursor: pointer;
    padding: 12px 15px;
    margin: 8px 0;
    border-radius: 6px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    user-select: none;
    display: block;
}

.schedule-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-left-color: rgba(255, 255, 255, 0.6);
    transform: translateX(3px);
}

.schedule-item.active {
    background: rgba(255, 255, 255, 0.2);
    border-left-color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    transform: translateX(3px);
}

.schedule-item p,
.schedule-item h3,
.schedule-item h4,
.schedule-item h5,
.schedule-item h6,
.schedule-item strong {
    margin: 0;
    color: rgba(255, 255, 255, 1);
    pointer-events: none;
}

.schedule-item:hover strong,
.schedule-item.active strong {
    color: rgba(255, 255, 255, 1);
}

.module-detail {
    display: none;
}

.module-detail.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

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

.schedule-card-detail {
    position: absolute;
    right: -100%;
    top: 0;
    left: var(--schedule-closed-width, calc(30% - 12px));
    width: calc(100% - var(--schedule-closed-width, calc(30% - 12px)));
    height: 100%;
    padding: 30px;
    box-sizing: border-box;
    transition: right 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 3;
    max-height: 100%;
    -webkit-overflow-scrolling: touch;
}

.schedule-card.open .schedule-card-detail {
    right: 0;
}





.schedule-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    color: white;
    font-size: 24px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    padding: 5px 12px;
    transition: all 0.3s ease;
    z-index: 10;
    line-height: 1;
}

.schedule-close-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

@media (max-width: 992px) {
    .schedule-container {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 20px;
    }

    .schedule-card {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        margin-bottom: 0;
        height: auto !important;
        min-height: auto;
        overflow: visible;
        box-sizing: border-box;
    }

    .schedule-card.open {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
    }

    .schedule-card-content {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        position: relative;
        height: auto;
        min-height: 80px;
        padding: 25px;
        box-sizing: border-box;
    }

    .schedule-card .left-content {
        max-height: 400px;
        overflow-y: auto;
        overflow-x: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        opacity: 1;
        margin-top: 15px;
        -webkit-overflow-scrolling: touch;
    }

    .schedule-card.open .left-content {
        max-height: 400px;
        overflow-y: auto;
        overflow-x: hidden;
        opacity: 1;
        margin-top: 15px;
        -webkit-overflow-scrolling: touch;
    }

    .schedule-card-detail {
        width: 100%;
        left: 0;
        position: relative;
        right: 0;
        top: auto;
        max-height: 0;
        overflow: hidden;
        overflow-y: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
        padding: 0 30px;
    }

    .schedule-card.open .schedule-card-detail {
        position: relative;
        max-height: 600px;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 25px 30px;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 768px) {
    .schedule-card h2 {
        font-size: 1.5rem;
        height: 56px;
    }
}

.schedule-card-content {
    padding: 20px;
    min-height: 70px;
}

.schedule-card .left-content {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.schedule-card.open .left-content {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

.schedule-card-detail {
    padding: 0 20px;
}

.schedule-card.open .schedule-card-detail {
    padding: 20px;
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.schedule-close-btn {
    display: none;
}

:root {
    --gray-dark: #2b2b2b;
    --gray-light: #6c757d;
    --orange-main: #ff7a00;
}

/* Contact Card */
.contact-card {
    border-radius: 15px;
    overflow: hidden;
}

/* Dark Body */
.bg-gray-custom {
    background: #333;
}

/* Inputs */
.form-control,
.form-select,
textarea {
    background: #222 !important;
    color: #fff !important;
    border: 1px solid #444;
    border-radius: 8px;
    transition: 0.2s;
}

.form-control:focus,
.form-select:focus,
textarea:focus {
    border-color: var(--orange-main);
    box-shadow: 0 0 0 0.2rem rgba(255, 122, 0, 0.25);
}

/* Button - Aydınlık Mod - EN ÜSTTE VE EN GÜÇLÜ */
#contactForm .text-center button.btn.btn-orange,
#contactForm button.btn.btn-orange,
#contactForm button.btn-orange,
#contactForm .btn.btn-orange,
#contactForm button[type="submit"].btn-orange,
#contactForm button[type="submit"].btn.btn-orange,
#contactForm .text-center button[type="submit"].btn-orange,
#contactForm .text-center .btn.btn-orange {
    background-color: #FF6600 !important;
    background: #FF6600 !important;
    background-image: none !important;
    color: #ffffff !important;
    border: none !important;
    border-color: transparent !important;
    border-radius: 8px !important;
    transition: 0.3s !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.3) !important;
    min-width: 300px !important;
    width: 300px !important;
    max-width: 300px !important;
    padding: 0.7rem 3rem !important;
    cursor: pointer !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
}

#contactForm .text-center button.btn.btn-orange:hover,
#contactForm button.btn.btn-orange:hover,
#contactForm button.btn-orange:hover,
#contactForm .btn.btn-orange:hover,
#contactForm button[type="submit"].btn-orange:hover,
#contactForm button[type="submit"].btn.btn-orange:hover,
#contactForm .text-center button[type="submit"].btn-orange:hover,
#contactForm .text-center .btn.btn-orange:hover {
    background-color: #ff7a1a !important;
    background: #ff7a1a !important;
    background-image: none !important;
    color: #ffffff !important;
    border: none !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.4) !important;
}

#contactForm .text-center button.btn.btn-orange:focus,
#contactForm button.btn.btn-orange:focus,
#contactForm button.btn-orange:focus,
#contactForm .btn.btn-orange:focus,
#contactForm button[type="submit"].btn-orange:focus,
#contactForm button[type="submit"].btn.btn-orange:focus,
#contactForm .text-center button[type="submit"].btn-orange:focus,
#contactForm .text-center .btn.btn-orange:focus,
#contactForm .text-center button.btn.btn-orange:active,
#contactForm button.btn.btn-orange:active,
#contactForm button.btn-orange:active,
#contactForm .btn.btn-orange:active,
#contactForm button[type="submit"].btn-orange:active,
#contactForm button[type="submit"].btn.btn-orange:active,
#contactForm .text-center button[type="submit"].btn-orange:active,
#contactForm .text-center .btn.btn-orange:active {
    background-color: #e55a00 !important;
    background: #e55a00 !important;
    background-image: none !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.3) !important;
    outline: none !important;
}

/* Success Message */
.success-message {
    animation: slideDown 0.5s ease forwards;
}

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

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

/* Contact Form - Select ve Input hizalaması */
#contactForm .row {
    align-items: flex-end;
}

#contactForm .form-select-sm,
#contactForm .form-control-sm {
    height: calc(1.5em + 0.5rem + 2px);
    line-height: 1.5;
    padding: 0.25rem 0.5rem;
}

/* Select dropdown okunu düzgün göster */
#contactForm .form-select-sm {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3e%3cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3e%3c/svg%3e") !important;
    background-position: right 0.75rem center !important;
    background-size: 12px 12px !important;
    background-repeat: no-repeat !important;
    padding-right: 2rem !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

/* Mobil görünümde select dropdown okunu düzelt */
@media (max-width: 768px) {
    #contactForm .form-select-sm {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3e%3cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3e%3c/svg%3e") !important;
        background-position: right 0.75rem center !important;
        background-size: 12px 12px !important;
        background-repeat: no-repeat !important;
        padding-right: 2rem !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
    }
}

#contactForm .form-label {
    margin-bottom: 0.25rem;
}

@media (min-width: 992px) {
    #contactForm .row.justify-content-lg-center {
        align-items: flex-end;
    }
}

/* Form Mesaj Kutusu */
#formMessage {
    animation: slideDown 0.3s ease forwards;
}

#formMessage .alert {
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 0.95rem;
    padding: 1rem 1.25rem;
}

#formMessage .alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

#formMessage .alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

#formMessage .alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

#formMessage .alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

#formMessage .btn-close {
    opacity: 0.7;
}

#formMessage .btn-close:hover {
    opacity: 1;
}

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

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

/* KVKK Notu - Normal Mod */
#contactForm .kvkk-note {
    color: #000 !important;
}

/* GÖNDER BUTONU - AYDINLIK MOD - EN GÜÇLÜ STİL - DOSYANIN EN SONUNDA */
/* Tüm olası kombinasyonlar - EN ÜSTTE */
button.btn.btn-orange,
button.btn-orange,
.btn.btn-orange,
button[type="submit"].btn-orange,
button[type="submit"].btn.btn-orange,
#contactForm button.btn.btn-orange,
#contactForm button.btn-orange,
#contactForm .btn.btn-orange,
#contactForm button[type="submit"].btn-orange,
#contactForm button[type="submit"].btn.btn-orange,
#contactForm .text-center button.btn.btn-orange,
#contactForm .text-center button.btn-orange,
#contactForm .text-center .btn.btn-orange,
#contactForm .text-center button[type="submit"].btn-orange,
#contactForm button[type="submit"].btn.btn-orange.py-2,
#contactForm .text-center button.btn.btn-orange.py-2,
#contactForm .text-center button[type="submit"].btn-orange.py-2 {
    background-color: #FF6600 !important;
    background: #FF6600 !important;
    background-image: none !important;
    color: #ffffff !important;
    border: none !important;
    border-color: transparent !important;
    border-radius: 8px !important;
    transition: 0.3s !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.3) !important;
    min-width: 300px !important;
    width: 300px !important;
    max-width: 300px !important;
    padding: 0.7rem 3rem !important;
    cursor: pointer !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
}

button.btn.btn-orange:hover,
button.btn-orange:hover,
.btn.btn-orange:hover,
button[type="submit"].btn-orange:hover,
button[type="submit"].btn.btn-orange:hover,
#contactForm button.btn.btn-orange:hover,
#contactForm button.btn-orange:hover,
#contactForm .btn.btn-orange:hover,
#contactForm button[type="submit"].btn-orange:hover,
#contactForm button[type="submit"].btn.btn-orange:hover,
#contactForm .text-center button.btn.btn-orange:hover,
#contactForm .text-center button.btn-orange:hover,
#contactForm .text-center .btn.btn-orange:hover,
#contactForm .text-center button[type="submit"].btn-orange:hover {
    background-color: #ff7a1a !important;
    background: #ff7a1a !important;
    background-image: none !important;
    color: #ffffff !important;
    border: none !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.4) !important;
}

button.btn.btn-orange:focus,
button.btn-orange:focus,
.btn.btn-orange:focus,
button[type="submit"].btn-orange:focus,
button[type="submit"].btn.btn-orange:focus,
#contactForm button.btn.btn-orange:focus,
#contactForm button.btn-orange:focus,
#contactForm .btn.btn-orange:focus,
#contactForm button[type="submit"].btn-orange:focus,
#contactForm button[type="submit"].btn.btn-orange:focus,
#contactForm .text-center button.btn.btn-orange:focus,
#contactForm .text-center button.btn-orange:focus,
#contactForm .text-center .btn.btn-orange:focus,
#contactForm .text-center button[type="submit"].btn-orange:focus,
button.btn.btn-orange:active,
button.btn-orange:active,
.btn.btn-orange:active,
button[type="submit"].btn-orange:active,
button[type="submit"].btn.btn-orange:active,
#contactForm button.btn.btn-orange:active,
#contactForm button.btn-orange:active,
#contactForm .btn.btn-orange:active,
#contactForm button[type="submit"].btn-orange:active,
#contactForm button[type="submit"].btn.btn-orange:active,
#contactForm .text-center button.btn.btn-orange:active,
#contactForm .text-center button.btn-orange:active,
#contactForm .text-center .btn.btn-orange:active,
#contactForm .text-center button[type="submit"].btn-orange:active {
    background-color: #e55a00 !important;
    background: #e55a00 !important;
    background-image: none !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.3) !important;
    outline: none !important;
}

#iletisim {
    padding: 70px 0;
    background-color: #3c3a4a;
    background-size: cover;
    background-position: center;
    transition: all 0.3s ease;
}

#iletisim .section-head h2 {
    font-weight: 700;
    letter-spacing: 0.4px;
    color: #fff;
}

#iletisim .section-head p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

/* Kart ve Grid */
#iletisim .card.rect {
    background: linear-gradient(145deg, #2f2d3b, #38364a);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

#iletisim .grid {
    /* display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px; */
}

@media (max-width: 992px) {
    #iletisim .grid {
        grid-template-columns: 1fr;
    }
}

/* Form alanları */
#iletisim label {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.9rem;
}

#iletisim input,
#iletisim select,
#iletisim textarea {
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background-color: rgba(255, 255, 255, 0.07);
    color: #fff;
    padding: 10px 12px;
    transition: all 0.25s ease;
}

#iletisim input::placeholder,
#iletisim textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

#iletisim input:focus,
#iletisim select:focus,
#iletisim textarea:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #FF6600;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.25);
    outline: none;
}

/* Seviye ve Format aynı satırda */
#iletisim .level-format-row {
    display: flex;
    gap: 12px;
}
#iletisim .level-format-row > div {
    flex: 1;
}

/* Mesaj kutusu genişletme */
#iletisim textarea {
    min-height: 150px;
    resize: vertical;
}

/* hCaptcha hizalama */
#iletisim .h-captcha {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Gönder Butonu */
#iletisim .btn-orange {
    background: linear-gradient(90deg, #ff6600, #ff8533);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.3px;
    padding: 10px 32px;
    transition: all 0.25s ease;
    box-shadow: 0 3px 12px rgba(255, 102, 0, 0.3);
    min-width: 260px;
}

#iletisim .btn-orange:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(255, 102, 0, 0.45);
}

/* Butonun altına KVKK */
#iletisim .kvkk-note {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 12px;
}

/* --- Geliştirilmiş Aside (Sosyal Medya Alanı) --- */
#iletisim aside {
    background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.07));
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(0,0,0,0.3);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

#iletisim aside:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(255,102,0,0.25);
}

/* Yazı ve ikon renkleri */
#iletisim aside .d-flex {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    gap: 8px;
    justify-content: center;
    align-items: center;
    transition: color 0.2s ease;
}
#iletisim aside .d-flex i {
    color: #FF6600;
    font-size: 1.1rem;
}

/* Sosyal medya butonları */
#iletisim aside .d-flex.flex-wrap {
    justify-content: center;
}

#iletisim aside .btn-outline-light {
    border: 1.8px solid rgba(255, 255, 255, 0.6);
    color: #fff !important;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px 16px;
    margin: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

#iletisim aside .btn-outline-light:hover {
    background-color: #FF6600 !important;
    border-color: #FF6600 !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(255,102,0,0.4);
    transform: translateY(-2px);
}

/* Buton içindeki ikonlar */
#iletisim aside .btn-outline-light i {
    font-size: 1rem;
    color: #FF6600;
    transition: all 0.2s ease;
}

#iletisim aside .btn-outline-light:hover i {
    color: #fff !important;
}

/* KVKK & küçük yazılar */
#iletisim small,
#iletisim .section-desc,
#iletisim #formNote {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* Light Mode */
@media (prefers-color-scheme: light) {
    #iletisim {
        background-color: #222222;
    }

    #iletisim .card.rect {
        background: rgba(255, 255, 255, 0.05) !important;;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }

    #iletisim label {
        color: #333;
    }

    #iletisim input,
    #iletisim select,
    #iletisim textarea {
        background-color: #fff;
        color: #222;
    }

    #iletisim input::placeholder,
    #iletisim textarea::placeholder {
        color: #999;
    }

    #iletisim aside {
        background: linear-gradient(160deg, #fff, #f3f3f3);
        box-shadow: 0 6px 18px rgba(0,0,0,0.08);
        color: #333;
    }

    #iletisim aside .d-flex i {
        color: #FF6600;
    }

    #iletisim aside .btn-outline-light {
        border-color: #333;
        color: #333 !important;
        background: #fff;
    }

    #iletisim aside .btn-outline-light:hover {
        background-color: #FF6600 !important;
        color: #fff !important;
        border-color: #FF6600 !important;
    }

    #iletisim aside .btn-outline-light:hover i {
        color: #fff !important;
    }

    #iletisim small {
        color: #666 !important;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    #iletisim {
        background-color: #2d2b3b !important;
        color: #eee !important;
    }

    #iletisim .card {
        background-color: rgba(255, 255, 255, 0.05) !important;
    }

    #iletisim input,
    #iletisim textarea,
    #iletisim select {
        background-color: #3a3849 !important;
        color: #fff !important;
        border-color: #555 !important;
    }

    #iletisim label {
        color: #ddd !important;
    }

    #iletisim aside {
        background: rgba(255, 255, 255, 0.05) !important;
    }

    #iletisim small {
        color: #aaa !important;
    }
}

/* Mobil düzeltmeler */
@media (max-width: 768px) {
    #iletisim .btn-orange {
        width: 100%;
    }
    #iletisim .h-captcha {
        justify-content: center;
        margin: 15px auto;
    }
    #iletisim .kvkk-note {
        text-align: center;
        margin-top: 10px;
    }
    #iletisim aside {
        padding: 20px;
    }
    #iletisim aside .btn-outline-light {
        font-size: 0.85rem;
        padding: 6px 14px;
        margin: 3px;
    }

}

