/* Genel Ayarlar */
:root {
    --primary-color: #2ACFCF;
    --dark-color: #111418;
    --light-color: #F5F6F7;
    --gray-color: #888;
    --transition: all 0.3s ease;
    --navbar-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-color);
    color: var(--light-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.section {
    padding: 80px 0;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--light-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.btn-primary:hover {
    background-color: #1eaaaa;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(42, 207, 207, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

/* Navigasyon */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(17, 20, 24, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    height: var(--navbar-height);
    padding: 0;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(17, 20, 24, 0.98);
    height: var(--navbar-height);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand a {
    color: var(--light-color);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.navbar-brand a span {
    color: var(--primary-color);
}

.navbar-menu {
    display: flex;
    list-style: none;
}

.navbar-menu li {
    margin-left: 30px;
}

.navbar-menu li a {
    color: var(--light-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.navbar-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.navbar-menu li a:hover,
.navbar-menu li a.active {
    color: var(--primary-color);
}

.navbar-menu li a:hover::after,
.navbar-menu li a.active::after {
    width: 100%;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--light-color);
    margin: 3px 0;
    transition: var(--transition);
}

.blog-link {
    background-color: var(--primary-color);
    color: var(--dark-color) !important;
    padding: 5px 15px;
    border-radius: 20px;
}

.blog-link:hover {
    background-color: #1eaaaa !important;
}

/* Ana Sayfa (Hero) */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--navbar-height);
    background: linear-gradient(135deg, rgba(17, 20, 24, 0.9), rgba(17, 20, 24, 0.7)), url('../images/gymk_gamechanger.avif') no-repeat center center/cover;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ddd;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Hero Karusel */
.hero-carousel {
    flex: 1;
    max-width: 500px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.hero-carousel.is-ready {
    opacity: 1;
    transform: translateX(0);
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in, visibility 0.3s ease-in;
}
.carousel-container {
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
}

.carousel-container.loaded {
    opacity: 1;
    visibility: visible;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 60vh;
    min-height: 400px;
    max-height: 80vh;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    position: relative;
    overflow: hidden;
}

.carousel-slide.loaded {
    opacity: 1;
}

/* Carousel Slide Spinner */
.carousel-slide-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.carousel-slide-spinner .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(42, 207, 207, 0.2);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Carousel Loading Spinner */
.hero-carousel-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease-in, visibility 0.3s ease-in;
}

.hero-carousel-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(42, 207, 207, 0.2);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    /* DÜZELTME: Tek bir 'spin' animasyonu kullanıldı. */
    animation: spin 1s linear infinite;
}

.carousel-container.loaded .hero-carousel-loading {
    opacity: 0;
    visibility: hidden;
}

/* Carousel Navigasyon Butonları */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(17, 20, 24, 0.7);
    color: var(--light-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
}

.carousel-container.loaded:hover .carousel-btn {
    opacity: 1;
    visibility: visible;
}

.carousel-btn:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.carousel-btn-prev {
    left: 15px;
}

.carousel-btn-next {
    right: 15px;
}

/* Carousel İndikatörler */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in, visibility 0.3s ease-in;
}

.carousel-container.loaded .carousel-indicators {
    opacity: 1;
    visibility: visible;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-indicator.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}


/* Hakkımızda */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #ddd;
}

.about-image {
    flex: 1;
    max-width: 500px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Hizmetler */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--dark-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-card p {
    color: #ddd;
}

.services-note {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(42, 207, 207, 0.1);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.services-note p {
    color: #ddd;
}

/* Üyelik Paketleri */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.package-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.package-card.bronze {
    border-top: 4px solid #cd7f32;
}

.package-card.silver {
    border-top: 4px solid #c0c0c0;
}

.package-card.gold {
    border-top: 4px solid #ffd700;
    transform: scale(1.05);
}

.package-card.gold:hover {
    transform: scale(1.05) translateY(-10px);
}

.package-header {
    padding: 30px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.02);
}

.package-header h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.package-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.package-features {
    padding: 30px;
}

.package-features ul {
    list-style: none;
}

.package-features ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 25px;
}

.package-features ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.package-footer {
    margin-top: auto;
    padding: 20px 30px 30px;
    text-align: center;
}

/* İletişim */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;            /* shrink olmasın, daire bozulmasın */
    aspect-ratio: 1 / 1;       /* her zaman kare taban */
    background-color: var(--primary-color);
    color: var(--dark-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.2rem;
    box-sizing: content-box;   /* olası border/padding genişliği bozmasın */
  }

.contact-icon i {
    line-height: 1;
    transform: none;
}

.contact-text h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-text p {
    color: #ddd;
}

.contact-text a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-text a:hover {
    text-decoration: underline;
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--light-color);
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-message {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid #4caf50;
}

.form-message.error {
    background-color: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid #f44336;
}

/* SSS */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.faq-question i {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 20px;
    color: #ddd;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    /* DÜZELTME: 'max-height' ile animasyon yaparken 'min-height' kullanmak animasyonu bozar. Bu yüzden kaldırıldı. */
    max-height: 300px;
}

/* Blog */
.blog-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}


.blog-intro p {
    color: #ddd;
    font-size: 1.1rem;
}

.no-posts-message {
    text-align: center;
    font-size: 1.1rem;
    color: #ddd;
    padding: 40px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.blog-image {
    aspect-ratio: 3 / 2;
    width: 100%;
    height: auto; /* let aspect-ratio control height */
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.blog-content p {
    color: #ddd;
    margin-bottom: 20px;
}

.blog-read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.blog-read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.blog-read-more:hover {
    text-decoration: underline;
}

.blog-read-more:hover i {
    transform: translateX(5px);
}

/* Blog Hero */
.blog-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, rgba(17, 20, 24, 0.9), rgba(17, 20, 24, 0.7)), url('../images/gymk_gamechanger.avif') no-repeat center center/cover;
    margin-bottom: 40px;
}

.blog-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.blog-hero-subtitle {
    font-size: 1.2rem;
    color: #ddd;
}

/* Blog Ana Sayfa */
.blog-main {
    padding: 40px 0;
}

/* Blog Detay Sayfası */
.blog-detail {
    padding: 40px 0;
}

.blog-back {
    margin-bottom: 30px;
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.blog-back-link i {
    margin-right: 10px;
}

.blog-back-link:hover {
    text-decoration: underline;
}

.blog-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.blog-meta {
    color: #aaa;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.blog-detail-image {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.blog-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-detail-text {
    line-height: 1.8;
    color: #ddd;
}

.blog-detail-text h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--light-color);
}

.blog-detail-text p {
    margin-bottom: 20px;
}

.blog-detail-text strong {
    color: var(--light-color);
}

.loading, .error {
    text-align: center;
    padding: 40px;
    font-size: 1.2rem;
}

.error {
    color: #f44336;
}

/* Footer */
.footer {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 70px 0 20px;
}

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

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.footer-logo p {
    color: #ddd;
}

.footer-links h3,
.footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

/* BİRLEŞTİRME: İki seçici de aynı özelliklere sahip olduğu için birleştirildi. */
.footer-links h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ddd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-5px);
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto; /* solda telif, sağda imza tek satır */
  align-items: center;
  padding: 1rem 0;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
  color: #cfd3d7;
  column-gap: 16px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom .left { text-align: left; overflow: hidden; text-overflow: ellipsis; }
.footer-bottom .right { text-align: right; overflow: hidden; text-overflow: ellipsis; }

.footer-bottom a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Mobilde ortala */
@media (max-width: 768px) {
  .footer-bottom { grid-template-columns: 1fr; text-align: center; }
  .footer-bottom p { margin: 0.3rem 0; }
  .footer-bottom .left,
  .footer-bottom .right { text-align: center; overflow: visible; }
}

/* Responsive Tasarım */
@media (max-width: 1200px) {
    .hero-carousel {
        max-width: 450px;
    }
    
    .carousel-slide {
        height: 65vh;
        min-height: 350px;
    }
}

@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 50px;
    }
    
    .hero-carousel {
        max-width: 100%;
        width: 100%;
    }
    
    .carousel-slide {
        height: 50vh;
        min-height: 300px;
    }
    
    .carousel-container {
        margin: 0 auto;
        max-width: 90%;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar-menu {
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        width: 100%;
        background-color: rgba(17, 20, 24, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .navbar-menu.active {
        transform: translateY(0);
    }
    
    .navbar-menu li {
        margin: 15px 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    /* Mobile: Hero üst/alt padding boşlukları */
    .hero {
        padding-top: calc(var(--navbar-height) + 16px); /* üstte ekstra boşluk */
        padding-bottom: 28px;                            /* carusel sonrası içeride boşluk */
    }
    
    .carousel-slide {
        height: 55vh;
        min-height: 250px;
    }
    
    .carousel-container {
        touch-action: pan-y;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
        max-width: 95%;
    }
    
    .carousel-container.loaded .carousel-btn {
        opacity: 1;
        visibility: visible;
        background-color: rgba(17, 20, 24, 0.8);
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-btn-prev {
        left: 10px;
    }
    
    .carousel-btn-next {
        right: 10px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .package-card.gold {
        transform: none;
    }
    
    .package-card.gold:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    /* Small Mobile: Hero padding'leri biraz daha artır */
    .hero {
        padding-top: calc(var(--navbar-height) + 20px);
        padding-bottom: 32px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .carousel-slide {
        height: 45vh;
        min-height: 200px;
        max-height: 300px;
    }
    
    .carousel-container {
        max-width: 100%;
        border-radius: 8px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        background-color: rgba(17, 20, 24, 0.9);
    }
    
    .carousel-btn-prev {
        left: 8px;
    }
    
    .carousel-btn-next {
        right: 8px;
    }
    
    .carousel-indicators {
        bottom: 12px;
        gap: 6px;
    }
    
    .carousel-indicator {
        width: 8px;
        height: 8px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .services-grid,
    .packages-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* BİRLEŞTİRME: İki seçici de aynı özelliklere sahip olduğu için birleştirildi. */
    .footer-links h3::after,
    .footer-social h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .carousel-slide {
        height: 40vh;
        min-height: 180px;
        max-height: 250px;
    }
    
    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .carousel-btn-prev {
        left: 5px;
    }
    
    .carousel-btn-next {
        right: 5px;
    }
    
    .carousel-indicators {
        bottom: 10px;
        gap: 5px;
    }
    
    .carousel-indicator {
        width: 6px;
        height: 6px;
    }
}

/* Sayfa Yükleme Göstergesi */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-container {
    text-align: center;
}

.spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border: 4px solid rgba(42, 207, 207, 0.2);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* BİRLEŞTİRME: Bu animasyon 'carousel-spin' ile aynıydı. Tek bir animasyon kullanmak daha verimli. */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--light-color);
    letter-spacing: 1px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* Ana İçerik */
.main-content {
    transition: opacity 0.5s ease;
}

.main-content.hidden {
    opacity: 0;
}

/* Kaydırma Animasyonları */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Animasyon Gecikmeleri */
.section-title.animate-on-scroll { transition-delay: 0.1s; }
.services-grid .service-card.animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.services-grid .service-card.animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.services-grid .service-card.animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.services-grid .service-card.animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }
.packages-grid .package-card.animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.packages-grid .package-card.animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.packages-grid .package-card.animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.contact-item.animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.contact-item.animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.contact-item.animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.contact-item.animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }
.faq-item.animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.faq-item.animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.faq-item.animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.hero-content.animate-on-scroll { transition-delay: 0.2s; }
.hero-image.animate-on-scroll { transition-delay: 0.4s; }
.about-text.animate-on-scroll { transition-delay: 0.1s; }
.about-image.animate-on-scroll { transition-delay: 0.3s; }
.contact-form.animate-on-scroll { transition-delay: 0.5s; }
.footer-logo.animate-on-scroll { transition-delay: 0.1s; }
.footer-links.animate-on-scroll { transition-delay: 0.2s; }
.footer-social.animate-on-scroll { transition-delay: 0.3s; }

/* Genel Animasyon Sınıfları */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.fade-in.animated {
    opacity: 1;
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-up.animated {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-right.animated {
    opacity: 1;
    transform: translateX(0);
}

.scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale.animated {
    opacity: 1;
    transform: scale(1);
}
