/* GENEL STİLLER */
:root {
    --primary: #2c3e50;
    --secondary: #e74c3c;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --yellow: #f1c40f;
    --gray: #95a5a6;
    --light-gray: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title span {
    color: var(--secondary);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary);
}

/* NAVBAR */
nav {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s;
}

nav.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

nav h1 {
    font-size: 1.8rem;
    color: var(--primary);
}

nav h1 span {
    color: var(--secondary);
    transition: color 0.3s;
}

.logo-link:hover h1 span {
    color: #e74c3c;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* HERO BANNER */
.hero {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(44, 62, 80, 0.95) 100%), 
                url('assets/math-bg-pattern.png');
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
    color: white;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-text h1 span {
    color: var(--yellow);
    display: inline-block;
}

.hero-text h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--yellow);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.hero-image {
    flex: 1;
    position: relative;
    z-index: 1;
}

.hero-image {
    flex: 1;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center; /* İçeriği yatayda ortalar */
}

.hero-image img {
    width: 100%;
    max-width: 330px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transform: perspective(1000px) rotateY(-10deg);
    transition: all 0.5s ease;
    margin-top: 80px;
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-badge {
    /* Artık absolute değil, normal akışta olacak */
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: pulse 2s infinite;
    margin-top: 20px; /* Fotoğraf ile arasına boşluk ekler */
    text-align: center; /* Yazıyı içerde de ortalar */
}

.hero-badge i {
    color: var(--yellow);
    font-size: 1.5rem;
}

.hero-scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-20px) translateX(-50%);}
    60% {transform: translateY(-10px) translateX(-50%);}
}

@keyframes pulse {
    0% {transform: scale(1);}
    50% {transform: scale(1.05);}
    100% {transform: scale(1);}
}

/* ÖNE ÇIKAN ÖZELLİKLER */
.features {
    padding: 80px 0;
    background: var(--light-gray);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/math-pattern-light.png');
    opacity: 0.03;
    z-index: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(231, 76, 60, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(231, 76, 60, 0.1);
    border-color: rgba(231, 76, 60, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e74c3c 0%, #f1c40f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 1.8rem;
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* HAKKIMDA */
.hakkimda {
    padding: 100px 0;
    background: white;
    position: relative;
}

.hakkimda::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/concrete-wall.png');
    opacity: 0.03;
    z-index: 0;
}

.hakkimda-content {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.hakkimda-content img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 500px;
    height: 500px;
    object-fit: cover;
    border: 5px solid white;
    transform: rotate(-3deg);
    transition: all 0.5s ease;
}

.hakkimda-content img:hover {
    transform: rotate(0deg) scale(1.02);
}

.hakkimda-text {
    flex: 1;
}

.hakkimda-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* BAŞARI HİKAYELERİ */
.success-stories {
    padding: 100px 0;
    background: white;
}

.success-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 0;
    scrollbar-width: none;
    align-items: stretch; /* Tüm kartlar aynı hizada */
}

.success-slider::-webkit-scrollbar {
    display: none;
}

.story-card {
    flex: 0 0 350px; /* sabit genişlik */
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    scroll-snap-align: start;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.story-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* kare görünüm */
    overflow: hidden;
    flex-shrink: 0;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.story-card:hover .story-image img {
    transform: scale(1.05);
}

.story-score {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: 600;
}

.story-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px;
    flex-grow: 1;
}

.story-content h3 {
    color: var(--primary);
    margin: 0 0 5px;
}

.story-meta {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.story-text {
    color: #555;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 20px;
}

.story-progress {
    margin-top: auto;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #ecf0f1;
    border-radius: 4px;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #e74c3c, #f39c12);
    border-radius: 4px;
}

.story-progress span {
    color: var(--gray);
    font-size: 0.85rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.slider-prev, .slider-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 1px solid #ddd;
    color: var(--secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-prev:hover, .slider-next:hover {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

/* TEOMAN HOCA SİSTEM BÖLÜMÜ */
.teoman-sistem {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
}

.sistem-kutulari {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.sistem-kutu {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #e0e0e0;
}

.sistem-kutu:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(231, 76, 60, 0.15);
    border-color: rgba(231, 76, 60, 0.3);
}

.kutu-resim {
    height: 180px;
    background: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.kutu-resim img {
    max-width: 120px;
    max-height: 120px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    transition: transform 0.3s;
}

.sistem-kutu:hover .kutu-resim img {
    transform: scale(1.1);
}

.kutu-icerik {
    padding: 25px;
    text-align: center;
}

.kutu-icerik h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4rem;
    position: relative;
    display: inline-block;
}

.kutu-icerik h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #e74c3c;
}

.kutu-icerik p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* VELİ YORUMLARI */
.yorumlar {
    padding: 100px 0;
    background: #f1f1f1;
}

.yorum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.yorum-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.yorum-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.yorum-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
    opacity: 0.7;
}

.yorum-card p {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.yorum-card h4 {
    color: var(--primary);
    font-weight: 600;
}

/* SIK SORULAN SORULAR */
.faq {
    padding: 100px 0;
    background: var(--light-gray);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: white;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f5f5f5;
    color: var(--secondary);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    background: white;
    transition: all 0.3s ease;
}

.faq-answer p {
    padding: 0 25px 0;
    margin-bottom: 20px;
    line-height: 1.7;
    color: #555;
}

.faq-item.active .faq-answer {
    padding: 0 25px;
    max-height: 500px;
}

/* İLETİŞİM */
.iletisim {
    padding: 100px 0;
    background: var(--light-gray);
}

.iletisim-flex {
    display: flex;
    gap: 50px;
}

.iletisim-bilgileri {
    flex: 1;
}

.iletisim-bilgileri p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.social-link {
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    margin-left: 10px;
    position: relative;
}

.social-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary);
    transition: width 0.3s;
}

.social-link:hover::after {
    width: 100%;
}

.social-link:hover {
    color: var(--secondary);
}

a[href*="instagram.com"]:hover {
    color: #E1306C !important;
}

a[href*="whatsapp"]:hover {
    color: #25D366 !important;
}

.iletisim-bilgileri i {
    color: var(--secondary);
    font-size: 1.5rem;
    min-width: 30px;
}

.student-panel {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-top: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.iletisim-formu {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.iletisim-formu input,
.iletisim-formu textarea,
.iletisim-formu select {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
    font-size: 1rem;
}

.iletisim-formu input:focus,
.iletisim-formu textarea:focus,
.iletisim-formu select:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

.iletisim-formu textarea {
    height: 150px;
    resize: vertical;
}

/* INSTAGRAM FEED */
.instagram-feed {
    padding: 80px 0;
    background: white;
}

.feed-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

/* FOOTER */
footer {
    background: var(--primary);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-logo h1 span {
    color: var(--secondary);
}

.footer-logo p {
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-links h3, 
.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    opacity: 0.8;
}

.footer-contact a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: white;
}

.footer-contact i {
    width: 20px;
    color: var(--secondary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* ==================== MOBİL UYUM RESPONSIVE STİLLERİ ==================== */

@media (max-width: 1200px) {
  .hero-text h1 {
    font-size: 3rem;
  }
  
  .hero-image img {
    max-width: 400px;
  }
}

@media (max-width: 992px) {
  .container {
    width: 90%;
  }
  
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image {
    margin-top: 40px;
  }
  
  .hakkimda-content img {
    width: 350px;
    height: 350px;
  }
  
  .iletisim-flex {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  /* NAVBAR */
  nav ul {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  nav ul.show {
    display: flex;
  }
  
  nav ul li {
    margin: 15px 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  /* HERO BANNER */
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 80px 0 60px;
  }
  
  .hero-text h1 {
    font-size: 2.2rem;
    line-height: 1.3;
  }
  
  .hero-text h2 {
    font-size: 1.3rem;
  }
  
  .hero-image img {
    max-width: 280px;
    margin-top: 0;
  }
  
  .hero-badge {
    position: relative;
    margin: 20px auto 30px;
    width: fit-content;
    left: auto;
    transform: none;
  }
  
  /* HAKKIMDA */
  .hakkimda-content {
    flex-direction: column;
  }
  
  .hakkimda-content img {
    width: 100%;
    height: auto;
    max-width: 400px;
    margin: 0 auto 30px;
  }
  
  /* GENEL */
  .section-title {
    font-size: 2rem;
  }
  
  /* FOOTER */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  /* BAŞARI HİKAYELERİ */
  .story-card {
    flex: 0 0 85%;
  }
  
  /* İLETİŞİM FORM */
  .iletisim-formu input,
  .iletisim-formu select,
  .iletisim-formu textarea {
    padding: 12px;
  }
}

@media (max-width: 576px) {
  /* HERO BANNER */
  .hero-text h1 {
    font-size: 1.8rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  /* ÖZELLİKLER */
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  /* INSTAGRAM FEED */
  .feed-container iframe {
    width: 100%;
  }
  
  /* SİSTEM KUTULARI */
  .sistem-kutulari {
    grid-template-columns: 1fr;
  }
  
  /* VELİ YORUMLARI */
  .yorum-grid {
    grid-template-columns: 1fr;
  }
}

/* EKSTRA KÜÇÜK CİHAZLAR (Örneğin iPhone 5/SE) */
@media (max-width: 375px) {
  .hero-text h1 {
    font-size: 1.6rem;
  }
  
  .hero-text h2 {
    font-size: 1rem;
  }
  
  .hero-image img {
    max-width: 220px;
  }
  
  .hero-badge {
    font-size: 0.8rem;
    padding: 8px 12px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .hakkimda-text p {
    font-size: 1rem;
  }
}
