/* Tüm stiller temizlendi. Yeni tasarım için font ayarları eklenecek. */

/* Utility classes */
.tracking-wider {
    letter-spacing: 1px;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('assets/fonts/SpaceGrotesk-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('assets/fonts/SpaceGrotesk-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('assets/fonts/SpaceGrotesk-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('assets/fonts/SpaceGrotesk-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('assets/fonts/SpaceGrotesk-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AktivGrotesk';
    src: url('assets/AktivGrotesk-Regular.woff2') format('woff2'),
        url('assets/AktivGrotesk-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AktivGrotesk';
    src: url('assets/AktivGrotesk-Bold.woff2') format('woff2'),
        url('assets/AktivGrotesk-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Space Grotesk', 'AktivGrotesk', 'Bricolage Grotesque', Arial, sans-serif;
}

/* Prevent scroll when mobile menu is open */
body.overflow-hidden {
    overflow: hidden;
    height: 100vh;
}

/* Custom CSS - Değişimci Sanat Teması */

#mesaj h2 {
    font-size: 2.5rem;
    letter-spacing: -2px;
    line-height: 2.5rem;
    font-weight: 300;
}

#mesaj strong {
    display: block;
    font-weight: 700;
}

#navbar-main {
    border-bottom: 1px solid #e0e0e0;
}

/* Navbar Menu Styles */
#navbar-main ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

#navbar-main a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    text-transform: uppercase;
}

#navbar-main a:hover {
    color: #666;
}

/* Submenu Styles */
#navbar-main ul ul {
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: none;
    border-top: none;
    padding: 0.5rem 0;
    min-width: 200px;
    display: none;
}

#navbar-main .dropdown-menu {
    border: none;
}

#navbar-main li:hover>ul {
    display: flex;
}

#navbar-main ul ul li {
    margin: 0;
}

#navbar-main ul ul a {
    display: block;
    padding: 0.75rem 1rem;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

#navbar-main ul ul a:hover {
    border-left-color: #000;
    background: #f5f5f5;
    color: #000;
}

/* Button Set Styles for index-yapimasamasinda.html */
.buton-set {
    padding: 2.5rem !important;
    margin: 2rem auto;
    max-width: 90%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.buton-set:hover {
    transform: translateY(-5px);

}

.buton-set .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: none;
    position: relative;
    overflow: hidden;
}

.buton-set .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.buton-set .btn:hover::before {
    left: 100%;
}

.buton-set .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.buton-set .btn:active {
    transform: translateY(-1px);
}

.buton-set .btn-dark {
    background: linear-gradient(135deg, #2c3e50 0%, #1a1a1a 100%);
}

.buton-set .btn-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #2c3e50;
}

.buton-set .btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle animation for Kayıt Ol button */
.buton-set .btn-danger::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20px;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(25deg);
    transition: all 0.8s;
}

.buton-set .btn-danger:hover::after {
    left: 120%;
    transition: all 0.6s;
}

.buton-set .btn i {
    transition: transform 0.3s ease;
}

.buton-set .btn:hover i {
    transform: translateX(3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .buton-set {
        padding: 1.5rem !important;
        margin: 1.5rem auto;
        max-width: 95%;
    }
    
    .buton-set .btn {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
        margin-bottom: 0.5rem;
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 576px) {
    .buton-set {
        padding: 1rem !important;
    }
    
    .buton-set .btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

/* ===== RESPONSIVE MOBILE MENU ===== */

/* Navbar Toggler Styling */
.navbar-toggler {
    border: none;
    padding: 0;
    box-shadow: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1002;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    width: 24px;
    height: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: none !important;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #1a1a1a;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* Middle line of hamburger */
.navbar-toggler-icon {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hamburger to X animation */
.navbar-toggler[aria-expanded="false"] .navbar-toggler-icon::before {
    transform: translateY(0) rotate(0);
}

.navbar-toggler[aria-expanded="false"] .navbar-toggler-icon::after {
    transform: translateY(0) rotate(0);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent !important;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: translateY(8px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Collapse */
.navbar-collapse {
    transition: visibility 0.3s, opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Bu Yıl Banner Styles */
#buyil {
    background: url('assets/img/bg-program-min.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}

#buyil::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#buyil .container {
    position: relative;
    z-index: 2;
}

.banner {
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner:hover {
    transform: translateY(-8px);
}

.banner .row {
    align-items: center;
    padding: 1rem;
}

.baslik {
    padding: 0 1.5rem;
    text-align: right;
}

.baslik span {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #2c3e50;
    position: relative;
    display: inline-block;
    font-weight: 500;
}

.baslik span::before {
    content: '';
    position: absolute;
    right: -20px;
    top: 0;
    width: 4px;
    height: 100%;
    background: black;
    border-radius: 2px;
}

.baslik strong {
    display: block;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 0.5rem;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.imaj {
    padding: 0 1.5rem;
    position: relative;
    text-align: center;
}

.imaj img {
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    max-width: 100%;
    height: auto;
}

.imaj img:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.butonlar {
    padding: 0 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.butonlar .btn {
    padding: 0.85rem 1.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    font-size: 0.95rem;
}

.butonlar .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.butonlar .btn-dark {
    background: linear-gradient(135deg, #2c3e50 0%, #1a1a1a 100%);
}

.butonlar .btn-light {
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    border: 2px solid #2c3e50;
}

.butonlar .btn-light:hover {
    background: rgba(255, 255, 255, 1);
}

#nasil-isliyor {
    background: url(assets/img/bg-nasil.jpg);
    color: white;
    height: 300px;
    position: relative;
}

#nasil-isliyor.blurro .container-fluid {
    filter: grayscale(100%) blur(5px) opacity(0.10);
    transition: filter 0.3s ease;
}

#nasil-isliyor:not(.blurro) .container-fluid {
    filter: none;
    transition: filter 0.3s ease;
}

#nasil-isliyor .aciklama {
    position: absolute;
    width: 70%;
    height: 70%;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    top: 15%;
    left: 15%;
    z-index: 1;
    color: white !important;
}
    
#nasil-isliyor .btn-close {
    color: white !important;
    background-color: #ffffff66;
    padding: 15px 20px;
    font-size: 11px;
}

#nasil-isliyor .figur {
    position: relative;
    padding-top: 60px;
    box-shadow: rgba(0, 0, 0, 0.09) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
    border-radius: 200px;
}
#nasil-isliyor .figur::after {
    position: absolute;
    content: '';
    width: 170%;
    height: 100%;
    border-radius: 200px;
    border: 1px solid #ffffff17;
    top: 0%;
    left: -35%;
    transition: border 0.9s ease;
}
#nasil-isliyor .figur h5 {
    position: relative;
    padding-bottom: 30px;
}
#nasil-isliyor .figur h5::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 20px;
    background: white;

    top: 30px;
    left: 50%;
}

#nasil-isliyor .figur:hover::after {
    border: 1px solid #ffffff97;
    transition: border 0.9s ease;
}

#nasil-isliyor h3 {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: -4px;
    line-height: 4rem;
    width: 100%;
}

.program-manset-img {
    display: flex;
    height: auto;
    padding: 0;
    box-shadow: rgba(0, 0, 0, 0.09) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
    border-radius: 40px;
    border-bottom-right-radius: 0;
}
.program-manset-img img {
    border-radius: 40px;
    object-fit: cover;
    border-bottom-right-radius: 0;
}
.program-manset-bilgi {
    background: linear-gradient(135deg, #2c3e50 0%, #3b3b3b 50%, #1a1a1a 100%);
    color: white;
    padding: 2rem;
    border-radius: 40px;
    border-bottom-left-radius: 0;
    box-shadow: rgba(0, 0, 0, 0.09) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
}
.program-manset-bilgi h1 {
    font-weight: 900;
    letter-spacing: -1px;
    font-size: 3rem;
}
.program-manset-bilgi h1 small {
    display: block;
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 2px;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.176);
    padding-bottom: 5px;
}

#program .card {
    border: 0;
    border-radius: 20px;
    padding: 0;
}

#program .header .badge-sol .badge {
    border: 0;
    border-radius: 20px !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    padding: 20px 20px;
    font-size: 0.9rem;
}
#program .header .badge-sol .programno {
    background: black;
    border-top-right-radius: 0 !important;
}
#program .header .badge-sol .programdurum {
    background: #F77329;
    color: black;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 20px !important;
}
#program .header .badge-sag {
    font-size: 1.1rem ;
}
#program .header .tag {
    border: 1px solid #818A8C;
    color: gray;
    font-weight: 400;
    padding: 10px 20px;
}
#program .program-detay {
    font-family: 'Bricolage Grotesque', sans-serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#program .program-detay:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
#program .card .body-card h3 {
    letter-spacing: -1px;
}
#program .card .body-card h3 strong {
    display: block;
}
#program .card .body-card .yer-tarih {
    border-top: 1px solid rgba(128, 128, 128, 0.298);
    border-bottom: 1px solid rgba(128, 128, 128, 0.171);
    padding: 5px 0;
    font-size: 0.8rem;
}
.detay-content {
    overflow: hidden;
    transition: all 0.4s ease;
}

.detay-content.is-collapsed {
    max-height: 0;
    opacity: 0;
    transition: all 0.4s ease;
}

.detay-content.is-expanded {
    opacity: 1;
    transition: all 0.4s ease;
}
.program-detay.is-passive {
    opacity: 0.65;
    pointer-events: none; /* TIKLANAMAZ */
    filter: grayscale(0.6);
    position: relative;
}
.program-detay.is-passive h3 {
    font-size: 1.3rem;
}
#program .program-detay.is-passive .header .badge-sol .badge {
    border: 0;
    border-radius: 20px !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    padding: 10px 20px;
    font-size: 0.7rem;
}
#program .program-detay.is-passive .header .badge-sol .programno {
    border-top-right-radius: 0 !important;
}
#program .program-detay.is-passive .header .badge-sol .programdurum {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 10px !important;
}



/* Responsive adjustments for banner */
@media (max-width: 991px) {
    #buyil {
    }
    
    .banner .row {
        text-align: center;
    }

    .banner .butonlar {
        justify-content: center !important;
    }
    
    .baslik {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .baslik span::before {
        right: 50%;
        transform: translateX(50%);
        height: 4px;
        width: 60px;
        top: auto;
        bottom: -15px;
    }
    
    .baslik span::after {
        display: none;
    }
    
    .imaj {
        padding: 1.5rem 0;
    }
    
    .butonlar {
        align-items: center;
    }
    
    .butonlar .btn {
        width: 100%;
        margin: 10px 0;
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    #buyil {
        padding: 2rem 0;
    }
    
    .banner .row {
    }
    
    .baslik span {
        font-size: 1.1rem;
    }
    
    .baslik strong {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    #buyil {
        padding: 1.5rem 0;
    }
    
    .banner .row {
        padding: 1.5rem 1rem;
    }
    
    .baslik span {
        font-size: 1rem;
    }
    
    .baslik strong {
        font-size: 1.1rem;
    }
    
    .butonlar .btn {
        max-width: 100%;
        padding: 0.75rem 1.5rem;
    }
}

@media (max-width: 991px) {

    /* Full screen overlay menu */
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #ffffff;
        z-index: 1000;
        max-height: none;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 6rem 2rem 2rem;
        visibility: hidden;
        opacity: 0;
        flex-direction: column;
        justify-content: flex-start;
        transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .navbar-collapse.show {
        visibility: visible;
        opacity: 1;
    }

    /* Mobile menu items */
    .navbar-nav {
        flex-direction: column !important;
        gap: 0 !important;
        width: 100%;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid #e8e8e8;
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        padding: 1rem 1.5rem !important;
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        color: #1a1a1a !important;
        transition: all 0.3s ease !important;
        display: block !important;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .nav-link:hover {
        background: rgba(0, 0, 0, 0.05);
        padding-left: 2rem !important;
        color: #000 !important;
    }

    /* Dropdown menu in mobile */
    .dropdown-menu {
        position: static !important;
        border: none !important;
        background: rgba(0, 0, 0, 0.02) !important;
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: none !important;
        width: 100% !important;
    }

    .dropdown-item {
        padding: 0.75rem 2.5rem !important;
        font-size: 0.95rem;
        color: #666 !important;
        border-left: 3px solid transparent;
        transition: all 0.2s ease;
    }

    .dropdown-item:hover {
        background: rgba(0, 0, 0, 0.08) !important;
        border-left-color: #1a1a1a;
        color: #1a1a1a !important;
    }

    .dropdown-divider {
        margin: 0.25rem 0 !important;
        opacity: 0.3;
    }

    /* Smooth animation for mobile menu appearance */
    .navbar-collapse.collapsing {
        opacity: 0.95;
    }

    /* Navbar padding for mobile */
    .navbar {
        padding: 0.5rem 0;
    }

    .navbar .container-fluid {
        padding: 0;
    }

    .navbar-toggler {
        position: fixed;
        top: 2rem;
        right: 2rem;
    }

    /* Adjust header layout for mobile */
    #mesaj h2 {
        font-size: 1.75rem;
        line-height: 1.75rem;
    }

    #mesaj p {
        font-size: 0.95rem;
    }

    #mesaj a {
        color: black;
    }

    #buyil .container {
        text-align: center;
    }

    #buyil .baslik,
    #buyil .butonlar {
        text-align: center !important;
        display: block !important;
    }
    #buyil .butonlar {
        padding-top: 20px;
    }
}

@media (max-width: 576px) {
    .navbar-collapse {
        padding: 5rem 1.5rem 2rem;
    }

    .nav-link {
        padding: 0.9rem 1.25rem !important;
        font-size: 1rem !important;
    }

    .nav-link:hover {
        padding-left: 1.75rem !important;
    }

    .dropdown-item {
        padding: 0.65rem 2rem !important;
        font-size: 0.9rem;
    }

    #mesaj h2 {
        font-size: 1.5rem;
        line-height: 1.5rem;
    }

    #nasil-isliyor {
        height: auto;
    }
        #nasil-isliyor .anabaslik h3 {
        font-size: 3rem !important;
        text-align: center;
    } 
    #nasil-isliyor .baslik {
        text-align: center !important;
        padding: 0;
        margin: 0;
        font-size: 13px;
    }
}