/* Color Variables */
:root {
    --primary: #6C63FF;
    --secondary: #FFF7E3;
    --text-dark: #222;
    --text-light: #fff;
    --text-medium: #444;
    --accent: #3831b8;
    --shadow: rgba(108, 99, 255, 0.10);
    --shadow-dark: rgba(0, 0, 0, 0.10);
    --shadow-light: rgba(255, 255, 255, 0.10);
    --gradient-start: #F7B58D;
    --gradient-end: #F4845F;
}

p {
    color: var(--text-dark);
    font-size: 0.8vw;
    margin: 0
}

p.white {
    color: var(--text-light);
    /* Beyaz yazı */
}

p.big {
    font-size: 1.2vw;
    color: var(--text-dark);
    margin: 0;
}

p.bigwhite {
    font-size: 1.2vw;
    color: var(--text-light);
    margin: 0;
    /* Beyaz yazı */
}

h2 {
    color: var(--primary);
    font-size: 2vw;
    margin: 0;
}

h2.white {
    color: var(--text-light);
    /* Beyaz yazı */
}

h3 {
    font-size: 3vw;
    color: var(--primary);
    font-family: 'Camera Obscura', cursive;
    letter-spacing: 0.1rem;
    margin: 0;
}

h3.white {
    color: var(--text-light);
    /* Beyaz yazı */
}

li {
    position: relative;
    margin-bottom: 1vw;
    font-size: 1vw;
    line-height: 1.5;
    padding-bottom: 0.5vw;
    cursor: pointer;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background: var(--secondary);
}

@font-face {
    font-family: 'Camera Obscura';
    src: url('../fonts/CameraObscura.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

.main-content {
    background: var(--secondary);
    min-height: 100vh;
    width: 100vw;
    padding: 4vw 0;
}

.container,
.main-content,
.our-courses,
.chapter,
.demo-button,
.about-faq,
.faq-section,
.footer-content,
.about-faq-container {
    width: 80vw;
    max-width: 80vw;
    margin: 0 auto;
}

.cel-header {
    width: 100%;
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.3s, box-shadow 0.3s;
}

.cel-header.scrolled {
    background: var(--secondary);
    box-shadow: 0 2px 5px var(--shadow-dark);
}

.cel-header-inner {
    max-width: 80vw;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 12vh;
    padding: 0 4vw;
}

.cel-logo-area {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 25vw;
}

.cel-logo {
    height: 3vw;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter 0.3s;
}

.cel-logo-text {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 900;
    font-size: 1vw;
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.cel-menu {
    display: flex;
    border: 0.06vw solid var(--text-light);
    border-radius: 999px;
    width: max-content;
}

.cel-menu a {
    text-decoration: none;
    font-size: 1vw;
    padding: 0 0.6vw;
    display: flex;
    align-items: center;
    transition: color 0.2s;
    position: relative;
    height: 4vh;
    overflow: hidden;
    white-space: nowrap;
}

.cel-menu a::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(55, 37, 44, 0.3);
    z-index: -1;
}

.cel-menu a:hover::before {
    top: 0;
}

.cel-menu a:first-child:hover {
    border-radius: 999px 0 0 999px;
}

.cel-menu a:last-child:hover {
    border-radius: 0 999px 999px 0;
}

.cel-menu a:not(:last-child):not(.dropdown-trigger)::after {
    content: '';
    width: 0.1vw;
    height: 2.2vh;
    background: var(--text-light);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
}

.cel-header-buttons {
    display: flex;
    max-width: 15vw;
    align-items: center;
    background: var(--text-light);
    border-radius: 999px;
    box-shadow: 0 0.2vw 0.8vw var(--shadow-light);
    height: 4vh;
}

.cel-btn {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.8vw;
    border: none;
    cursor: pointer;
    padding: 0 1vh;
    background: var(--text-light);
    transition: all 0.3s ease;
    border-radius: 999px;
    height: 100%;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cel-btn-outline {
    border-right: 0.15vw solid var(--primary);
    border-radius: 999px 0 0 999px;
}

.cel-btn-outline:hover {
    background: var(--accent) !important;
    color: var(--text-light) !important;
}

.cel-btn-filled {
    background: var(--text-light);
    border-radius: 0 999px 999px 0;
}

.cel-btn-filled:hover {
    background: var(--accent) !important;
    color: var(--text-light) !important;
}

.cel-btn-icon {
    margin-right: 0.2vw;
    font-size: 1.2em;
}

.cel-btn-icon img {
    height: 0.8em;
}

.cel-hero {
    background: linear-gradient(to bottom, var(--primary) 50%, var(--secondary) 50%);
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cel-hero-content {
    width: 80vw;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 4vh;
}

.cel-hero-text {
    max-width: 15vw;
    font-weight: 400;
    line-height: 1.3;
    margin-left: 10vw;
    padding-bottom: 1vw;
    text-decoration: none;
}

.demo-button {
    display: flex;
    width: 100%;
    background: var(--accent);
    padding: 0.1vw;
    text-decoration: none;
    justify-content: center;
    font-weight: 700;
    text-align: center;
    margin-top: 1vw;
}

.demo-button:hover {
    background: var(--gradient-end);
}

.cel-hero-title {
    font-size: 3vw;
    font-family: 'Camera Obscura', cursive;
    font-weight: 900;
    letter-spacing: 0.2vw;
    text-shadow: 0.2vw 0.4vw 1.2vw var(--shadow-dark);
    align-self: flex-end;
    text-align: left;
}

.cel-hero-image {
    width: 80vw;
    max-width: 100vw;
    margin: 0 auto;
    border-radius: 2vw;
    overflow: hidden;
    box-shadow: 0 0.8vw 3.2vw var(--shadow-dark);
}

.cel-hero-image img {
    width: 100%;
    max-height: 64vh;
    display: block;
    border-radius: 2vw;
    object-fit: cover;
}

.cel-hero-image2 {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    max-height: 80vh;
}

.cel-hero-image2 img {
    width: 100%;
    display: block;
}

.scrolling-marquee {
    width: 100vw;
    overflow: hidden;
    position: relative;
    z-index: 10;
    padding: 3vw 0 0 0;
    left: 50%;
    transform: translateX(-50%);
}

.scrolling-marquee-inner {
    display: flex;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
}

.scrolling-marquee-item {
    display: flex;
    align-items: center;
    font-size: 3rem;
    color: var(--text-dark);
    margin: 0 32px;
    font-weight: 500;
}

.scrolling-marquee-logo {
    width: 3vw;
    height: 3vw;
    margin: 0 1vw;
    display: inline-block;
}

.scrolling-marquee-item.fill {
    color: var(--primary);
    font-weight: 700;
    -webkit-text-stroke: 0;
}

.scrolling-marquee-item.stroke {
    position: relative;
    display: inline-block;
}

.stroke-text {
    color: var(--secondary);
    -webkit-text-stroke: 1.5px var(--primary);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.stroke-fill-text {
    color: var(--secondary);
    -webkit-text-stroke: 0;
    font-weight: 700;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-faq {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: var(--secondary);
    padding: 3vw 0;
}

.about-faq .container {
    display: flex;
    flex-wrap: wrap;
}

.about {
    flex: 1;
    background: var(--primary);
    border-radius: 1.5vw 0 0 1.5vw;
    padding: 4vw;
    box-shadow: 0 6px 32px var(--shadow);
    z-index: 1;
}

.about-zemin {
    background-color: var(--text-light);
    margin-top: -3vw;
    height: 18vw;
    border-radius: 0 0 1.5vw 1.5vw;
    font-size: 0.8vw;
    box-shadow: 0 6px 32px var(--shadow);
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-zemin-img {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 1vw;
    width: 100%;
    height: auto;
    margin: 0 3vw;
    margin-top: 2vw;
}

.about-zemin-img img {
    width: 100%;
    height: 5vw;
    object-fit: contain;
}

.about-zemin-text {
    font-size: 0.7vw;
    text-align: center;
    padding: 0.5vw;
}

.about-zemin-img .item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
}

.about-zemin-img .item p {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0.5vw;
    background: var(--text-light);
    font-size: 0.5vw;
    text-align: center;
    font-style: italic;
    border-radius: 1vw;
    border: 0.05vw solid var(--gradient-end);
    box-shadow: 0 0.2vw 0.8vw var(--shadow);
    box-sizing: border-box;
    overflow: auto;
}

.about-zemin-img .item:hover p {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: scale(1.2);
}

.about-zemin-img .item:hover img,
.about-zemin-img .item:hover .about-zemin-text {
    display: none;
}


.carousel {
    flex: 1;
    position: relative;
    width: 100%;
    border-radius: 0 22px 22px 0;
    overflow: hidden;
    box-shadow: 0 6px 32px var(--shadow);
    z-index: 1;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-item {
    flex: 0 0 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(108, 99, 255, 0.7);
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.carousel-control:hover {
    background: var(--primary);
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}


.chapter {
    border-radius: 1.5vw;
    background-image: url(../img/image-sinav.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    padding: 3vw 0;
    margin-top: 3vw;
}

.chapter h2 {
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-align: left;
}

/* Eğitimlerimiz Section */
.our-courses {
    background: var(--secondary);
    padding: 5vw 0;
}

.courses-content {
    display: flex;
    align-items: flex-start;
}

.courses-text {
    flex: 1;
    padding-right: 2vw;
}

.courses-text h2 {
    margin-bottom: 1.5vw;
    text-align: left;
    letter-spacing: 1PX;
}

.courses-text p {
    line-height: 1.6;
    margin-bottom: 1.5vw;
}

.course-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5vw;
}

.course-card {
    background: var(--text-light);
    border-radius: 1vw;
    box-shadow: 0 0.6vw 2vw var(--shadow);
    padding: 1.5vw;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 0.1vw solid var(--primary);
    flex-direction: column;
}

.course-image {
    margin-bottom: 1vw;
}

.course-image img {
    width: 100%;
    border-radius: 0.8vw;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.course-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1vw;
}

.course-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5vw;
    flex-grow: 1;
}

.course-card ul li {
    position: relative;
    padding-left: 1.5vw;
    margin-bottom: 0.5vw;
}

.course-card ul li::before {
    content: '✔';
    color: var(--primary);
    position: absolute;
    left: 0;
}

.details-btn {
    width: 100%;
    background: var(--primary);
    border: none;
    padding: 0.8vw;
    border-radius: 0.5vw;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: auto;
}

.details-btn:hover {
    background: var(--accent);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--text-light);
    transition: all 0.3s ease;
}

.cel-header.scrolled .hamburger span {
    background: var(--primary);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.cel-header:not(.scrolled) .cel-menu {
    border-color: var(--text-light);
}

.cel-header:not(.scrolled) .cel-menu a {
    color: var(--text-light);
}

.cel-header:not(.scrolled) .cel-menu a:not(:last-child):not(.dropdown-trigger)::after {
    background: var(--text-light);
}

.cel-header:not(.scrolled) .cel-logo-text {
    color: var(--text-light);
}

.cel-header:not(.scrolled) .cel-header-buttons {
    background: var(--text-light);
    box-shadow: 0 2px 8px var(--shadow-light);
}

.cel-header:not(.scrolled) .cel-btn {
    color: var(--primary);
    background: var(--text-light);
}

.cel-header:not(.scrolled) .cel-btn-outline {
    border-right: 1.2px solid var(--primary);
}

.cel-header:not(.scrolled) .cel-btn-filled {
    background: var(--text-light);
}

.cel-header:not(.scrolled) .cel-btn-icon {
    color: var(--primary);
}

.cel-header.scrolled .cel-menu {
    border-color: var(--primary);
}

.cel-header.scrolled .cel-menu a {
    color: var(--primary);
}

.cel-header.scrolled .cel-menu a:not(:last-child):not(.dropdown-trigger)::after {
    background: var(--primary);
}

.cel-header.scrolled .cel-logo-text {
    color: var(--primary);
}

.cel-header.scrolled .cel-header-buttons {
    background: var(--primary);
    box-shadow: 0 2px 8px var(--shadow);
}

.cel-header.scrolled .cel-btn {
    color: var(--text-light);
    background: transparent;
}

.cel-header.scrolled .cel-btn-outline {
    border-right: 1.2px solid var(--text-light);
}

.cel-header.scrolled .cel-btn-filled {
    background: transparent;
}

.cel-header.scrolled .cel-btn-filled:hover {
    background: linear-gradient(to bottom, var(--gradient-start), var(--gradient-end));
    color: var(--text-light);
    border-color: var(--gradient-end);
}

.cel-header.scrolled .cel-btn-icon {
    color: var(--text-light);
}

.cel-btn,
.cel-menu,
.cel-logo-text,
.cel-header-buttons {
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: max-content;
    min-width: 100%;
    box-shadow: 0 8px 16px var(--shadow-dark);
    border-radius: 16px;
    z-index: 1000;
    border: 1px solid #ece8ff;
    overflow: hidden;
    background: var(--secondary) !important;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-trigger {
    position: relative;
    width: 100%;
    text-align: center;
}

.dropdown-content a {
    color: var(--primary) !important;
    padding: 6px 16px !important;
    text-decoration: none;
    display: block;
    font-size: 0.8vw !important;
    border: none !important;
    height: auto !important;
    text-align: left;
    transition: background-color 0.2s ease;
    white-space: nowrap;
    background: var(--secondary) !important;
}

.dropdown-content a:hover {
    background: #f5f5f5;
    color: var(--accent) !important;
    font-weight: bold;
}

.dropdown-content a::after {
    display: none !important;
}

.dropdown-trigger::after {
    content: '▼';
    font-size: 0.5vw;
    margin-left: 5px;
    display: inline-block;
    transition: transform 0.3s;
}

.dropdown:hover .dropdown-trigger::after {
    transform: rotate(180deg);
}

.dropdown::after {
    content: '';
    width: 0.1vw;
    height: 2.2vh;
    background: inherit;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
}

.dropdown-trigger::before {
    display: none;
}

.cel-header.scrolled .dropdown::after {
    background: var(--primary);
}

.cel-header:not(.scrolled) .dropdown::after {
    background: var(--text-light);
}

.cel-header.scrolled .dropdown-content {
    background: var(--text-light);
}

.cel-header.scrolled .dropdown-content a {
    color: var(--primary) !important;
}

.cel-header.scrolled .dropdown-content a:hover {
    background: #f5f5f5;
}

.dropdown-group-title {
    font-weight: bold;
    color: var(--primary);
    padding: 10px 16px 4px 40px;
    background: none;
    cursor: default;
    font-size: 0.7vw;
    position: relative;
}

.flag-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 3px;
    object-fit: cover;
}

.dropdown-group a {
    padding: 6px 16px 6px 40px !important;
}

.cel-header.scrolled .cel-logo {
    filter: none;
}

.camera-obscura {
    font-family: 'Camera Obscura', cursive;
}


.details-btn {
    width: 100%;
    background: var(--primary);
    color: var(--text-light);
    letter-spacing: 0.05vw;
    font-family: 'Camera Obscura', cursive;
    border: none;
    padding: 0.8vw;
    border-radius: 0 0 0.9vw 0.9vw;
    font-size: 0.9vw;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
    word-break: break-word;
    overflow-wrap: break-word;
    position: absolute;
    bottom: 0;
    left: 0;
}

.details-btn:hover {
    background: var(--accent);
}