﻿/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #0a0a0a;
    overflow-x: hidden;
    transform: none !important;
    /* Ensure no transforms break fixed positioning */
}

/* partiman Style Page Transition - Yukarıdan Aşağıya Sayfa Geçişi */
.page-transition-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    pointer-events: none;
    overflow: hidden;
}

.page-transition-slide {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: #f5f5f0;
    transform: translateX(100%) translateY(-100%) rotate(45deg);
    transform-origin: center;
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
}

.page-transition-slide.second {
    transform: translateX(-100%) translateY(-100%) rotate(-45deg);
    transform-origin: center;
}

.page-transition-slide.active {
    transform: translateX(0) translateY(0) rotate(0deg);
}

.page-transition-slide.second.active {
    transform: translateX(0) translateY(0) rotate(0deg);
}

.page-transition-slide.exit {
    transform: translateX(100%) translateY(100%) rotate(45deg);
    transform-origin: bottom right;
}

.page-transition-slide.second.exit {
    transform: translateX(-100%) translateY(100%) rotate(-45deg);
    transform-origin: bottom left;
}

/* partiman tarzı karakter animasyonu - KALDIRILDI */

/* Sayfa yükleme animasyonu */
.page-loading {
    overflow: hidden;
}

.page-content {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page-content.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Yeni sayfa yüklendiğinde çıkış animasyonu - Diagonal */
.page-transition-slide.exit {
    transform: translateX(-100%) translateY(100%) rotate(-45deg);
    transform-origin: center;
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.page-transition-slide.second.exit {
    transform: translateX(100%) translateY(100%) rotate(45deg);
    transform-origin: center;
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Link hover efektleri - KALDIRILDI */

/* Mobil optimizasyonlar */
@media (max-width: 768px) {
    .page-transition-slide {
        transition: transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
    }
}

/* Reduced motion desteği */
@media (prefers-reduced-motion: reduce) {

    .page-transition-slide,
    .page-content {
        transition: none;
        animation: none;
    }
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1.0), opacity 0.6s ease, background-color 0.6s ease;
    background: transparent;
    backdrop-filter: none;

    /* Header yukarıdan gelsin */
    animation: headerSlideDown 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    transform: translateY(-100%);
}

/* Header yukarıdan kayma animasyonu */
@keyframes headerSlideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.header.scrolled {
    /* Scrolled state could have a background if desired, but here we just ensure it's visible unless nav-up is active */
    opacity: 1;
    transform: translateY(0);
}

.header.nav-up {
    /* Hide header when scrolling down */
    transform: translateY(-100%) !important;
}

.navbar {
    padding: 2rem 0 1.5rem 0;
    position: relative;
}

/* Blurred Background - Desktop Only - Oval Kenarlar - GÜNCELLENDİ */
.navbar-blur-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    /* Genişlik artırıldı */
    max-width: 1300px;
    /* Container'dan (1200px) biraz daha geniş olsun */
    height: 70px;
    /* Yükseklik biraz artırıldı */
    /* Daha opak background - yazılar için daha iyi kontrast */
    background: rgba(255, 255, 255, 0.55);
    /* Biraz daha görünür yapıldı */
    backdrop-filter: blur(20px);
    /* Blur artırıldı */
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    z-index: 0;

    /* Oval kenarlar */
    border-radius: 50px;

    /* Blur da yukarıdan gelsin - header ile birlikte */
    animation: blurSlideDown 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
    opacity: 0;
    transform: translate(-50%, -200%);
}

/* Blur yukarıdan kayma animasyonu */
@keyframes blurSlideDown {
    0% {
        transform: translate(-50%, -200%);
        opacity: 0;
    }

    60% {
        transform: translate(-50%, -45%);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

/* Mobil ve tablet'te blur'u gizle */
@media screen and (max-width: 1024px) {
    .navbar-blur-bg {
        display: none;
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    z-index: 1;
}

.nav-logo {
    display: flex;
    align-items: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.logo-img {
    height: 45px;
    /* Logo boyutu biraz küçültüldü (Eski: 50px) */
    width: auto;
    transition: all 0.3s ease;
}

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

.nav-menu {
    display: flex !important;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    opacity: 1 !important;
    visibility: visible !important;
}

.nav-left {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    opacity: 1 !important;
    visibility: visible !important;
}

.nav-right {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    opacity: 1 !important;
    visibility: visible !important;
}

.nav-link {
    /* Daha koyu renk - daha belirgin */
    color: #1a1a1a !important;
    text-decoration: none;
    /* Daha kalın font */
    font-weight: 600;
    font-size: 0.9rem;
    /* Font boyutu biraz daha azaltıldı (0.95 -> 0.9rem) */
    padding: 0.5rem 0.8rem;
    /* Padding biraz daha sıkılaştırıldı */
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 100 !important;
    /* Text shadow - daha net görünüm */
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before {
    width: 80%;
}

.nav-link:hover {
    color: #e83a57;
    transform: translateY(-2px);
    background: rgba(102, 126, 234, 0.1);
}

.nav-link.active {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.hero-content {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    z-index: 2;
    text-align: left;
    max-width: 600px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.highlight {
    background: linear-gradient(45deg, #FFE600, #FF3333, #1a1a1a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 230, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 500px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    cursor: pointer;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 50px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        top: 8px;
        opacity: 0;
    }

    10%,
    90% {
        opacity: 1;
    }

    100% {
        top: 32px;
        opacity: 0;
    }
}


/* Main Content */
.main-content {
    background: #fff;
    padding-top: 3rem;
}

/* Page Container - Basit ve Temiz Sistem */
.page-container {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 0;
    padding: 8rem 0;
}

/* Hakkımızda Görseller */
.hakkimizda-images {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.hakkimizda-character {
    max-width: 150px;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

.hakkimizda-button {
    display: inline-block;
    transition: transform 0.3s ease;
    border-radius: 0;
    overflow: visible;
}

.hakkimizda-button:hover {
    transform: translateY(-5px) scale(1.05);
}

.hakkimizda-button img {
    max-width: 200px;
    height: auto;
    display: block;
    border-radius: 0;
    transition: transform 0.3s ease;
    pointer-events: none;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Medya Görseller */
.medya-images {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    overflow: visible;
}

.medya-button {
    display: inline-block;
    transition: transform 0.3s ease;
    border-radius: 0;
    overflow: visible;
}

.medya-button:hover {
    transform: translateY(-5px) scale(1.05);
}

.medya-button img {
    max-width: 300px;
    height: auto;
    display: block;
    border-radius: 0;
    transition: transform 0.3s ease;
    pointer-events: none;
}

/* Hizmetler Görseller */
.hizmetler-images {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    overflow: visible;
}

.hizmetler-button {
    display: inline-block;
    transition: transform 0.3s ease;
    border-radius: 0;
    overflow: visible;
}

.hizmetler-button:hover {
    transform: translateY(-5px) scale(1.05);
}

.hizmetler-button img {
    max-width: 250px;
    height: auto;
    display: block;
    border-radius: 0;
    transition: transform 0.3s ease;
    pointer-events: none;
}

/* İletişim Görseller */
.iletisim-images {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    overflow: visible;
}

.iletisim-button {
    display: inline-block;
    transition: transform 0.3s ease;
    border-radius: 0;
    overflow: visible;
}

.iletisim-button:hover {
    transform: translateY(-5px) scale(1.05);
}

.iletisim-button img {
    max-width: 280px;
    height: auto;
    display: block;
    border-radius: 0;
    transition: transform 0.3s ease;
    pointer-events: none;
}

/* Yamuk tasarımlar - Birleşik container'lar - Desktop optimized */
#hakkimizda {
    clip-path: polygon(0 0%, 100% 15%, 100% 85%, 0% 100%);
}

#medya {
    clip-path: polygon(0 15%, 100% 0%, 100% 100%, 0% 85%);
}

#hizmetlerimiz {
    clip-path: polygon(0 0%, 100% 15%, 100% 85%, 0% 100%);
}

#iletisim {
    clip-path: polygon(0 15%, 100% 0%, 100% 100%, 0% 85%);
}

/* Arka Plan Görselleri - Kendi görsellerini buraya ekleyebilirsin */
.container-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Container Background Colors - Modern Soft Gradients */
#hakkimizda {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

#medya {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

#hizmetlerimiz {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

#iletisim {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.container-background[data-bg="hakkimizda"],
.container-background[data-bg="medya"],
.container-background[data-bg="hizmetlerimiz"],
.container-background[data-bg="iletisim"] {
    background: none;
}


/* Arka plan overlay - görsel üzerine renk katmanı */
.container-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.container-content {
    z-index: 2;
}

/* Container İçerik */
.container-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 30vh;
}

/* Reverse Layout */
.container-content.reverse {
    direction: rtl;
}

.container-content.reverse .content-left {
    direction: ltr;
}

/* Sol İçerik */
.content-left {
    color: #fff;
    text-align: left;
}

.content-tag {
    color: #fbbf24;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
}

.content-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #fff;
}

.content-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: #fff;
}

/* Content Button Styles */
.content-btn {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    color: #fff;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
    border: none;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.content-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: left 0.5s;
}

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

.content-btn:hover {
    background: linear-gradient(45deg, #f59e0b, #fbbf24);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(251, 191, 36, 0.6);
}

.btn {
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: #fff;
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

/* Sağ İçerik - Moleküler Yapı */
.content-right {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.molecular-structure {
    position: relative;
    width: 280px;
    height: 280px;
}

/* 3D Molekül Daireleri */
.molecule-circle {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 4px 8px rgba(255, 255, 255, 0.3),
        inset 0 -4px 8px rgba(0, 0, 0, 0.2);
    animation: moleculeFloat 6s ease-in-out infinite;
}

/* İç Küre - 3D Efekt */
.inner-sphere {
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1));
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.5);
}

/* Renkli 3D Daireler */
.orange-3d {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at 30% 30%, #ff8c42, #ff6b35);
    top: 0;
    right: 0;
    animation-delay: 0s;
}

.blue-3d {
    width: 90px;
    height: 90px;
    background: radial-gradient(circle at 30% 30%, #4facfe, #00d4ff);
    bottom: 20px;
    left: 20px;
    animation-delay: 2s;
}

.yellow-3d {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at 30% 30%, #ffd700, #ffb347);
    top: 50%;
    right: 35%;
    animation-delay: 4s;
}

/* Hizmetlerimiz için farklı renkler */
.pink-3d {
    width: 110px;
    height: 110px;
    background: radial-gradient(circle at 30% 30%, #f093fb, #f5576c);
    top: 10px;
    left: 10px;
    animation-delay: 1s;
}

.green-3d {
    width: 85px;
    height: 85px;
    background: radial-gradient(circle at 30% 30%, #4ecdc4, #44a08d);
    bottom: 30px;
    right: 20px;
    animation-delay: 3s;
}

.purple-3d {
    width: 95px;
    height: 95px;
    background: radial-gradient(circle at 30% 30%, #667eea, #764ba2);
    top: 40%;
    left: 40%;
    animation-delay: 5s;
}

/* İletişim için farklı renkler */
.cyan-3d {
    width: 105px;
    height: 105px;
    background: radial-gradient(circle at 30% 30%, #06b6d4, #0891b2);
    top: 5px;
    right: 5px;
    animation-delay: 0.5s;
}

.red-3d {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 30% 30%, #ef4444, #dc2626);
    bottom: 10px;
    left: 30px;
    animation-delay: 2.5s;
}

.lime-3d {
    width: 90px;
    height: 90px;
    background: radial-gradient(circle at 30% 30%, #84cc16, #65a30d);
    top: 45%;
    right: 35%;
    animation-delay: 4.5s;
}

.teal-3d {
    width: 70px;
    height: 70px;
    background: radial-gradient(circle at 30% 30%, #00cec9, #00b894);
    top: 20%;
    left: 40%;
    animation-delay: 1s;
}

.violet-3d {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at 30% 30%, #a29bfe, #6c5ce7);
    top: 60%;
    right: 20%;
    animation-delay: 2.5s;
}

/* Molekül Bağları */
.molecule-bond {
    position: absolute;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.3),
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.3));
    border-radius: 2px;
    z-index: -1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.bond-1 {
    width: 80px;
    height: 4px;
    top: 25%;
    left: 30%;
    transform: rotate(45deg);
}

.bond-2 {
    width: 70px;
    height: 4px;
    bottom: 35%;
    right: 25%;
    transform: rotate(-30deg);
}

@keyframes moleculeFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }

    25% {
        transform: translateY(-10px) rotate(2deg) scale(1.02);
    }

    50% {
        transform: translateY(-5px) rotate(-1deg) scale(1);
    }

    75% {
        transform: translateY(5px) rotate(1deg) scale(0.98);
    }
}

/* ===========================
   NEW PAGES STYLES
   =========================== */

/* Page Hero Styles */
.page-hero {
    position: relative;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 4rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('anasayfafoto.webp');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
}

.hero-content-center {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
}

.page-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Page Main */
.page-main {
    background: #fff;
}

/* Container Large */
.container-large {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Titles */
.section-title-dark {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

/* Contact section title override */
.contact-section .section-title-dark {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Contact section tag override */
.contact-section .section-tag {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Active Navigation Link */
.nav-link.active {
    color: #e83a57;
}

.nav-link.active::before {
    width: 80%;
}

/* ===========================
   ABOUT PAGE STYLES
   =========================== */

.about-section {
    padding: 6rem 0;
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-text {
    padding-right: 2rem;
    margin-top: 3rem;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #6b7280;
}

.about-features {
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.feature-icon i {
    font-size: 1.5rem;
}

.feature-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.feature-text p {
    color: #6b7280;
    font-size: 0.9rem;
}

.about-visual {
    position: relative;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.about-img.active {
    opacity: 1;
}

.about-image-carousel {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.about-experience {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    color: #fff;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

.experience-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    transition: all 0.3s ease;
}

.experience-text {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    text-align: center;
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card-content {
    position: relative;
    z-index: 2;
}

.stat-rotating-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg,
            rgba(59, 130, 246, 0.1),
            rgba(245, 158, 11, 0.1),
            rgba(239, 68, 68, 0.1),
            rgba(16, 185, 129, 0.1),
            rgba(59, 130, 246, 0.1));
    animation: rotateBackground 8s linear infinite;
    z-index: 1;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(45deg, #f0f9ff, #e0f2fe);
    animation: bounceIcon 3s ease-in-out infinite;
    position: relative;
    z-index: 3;
}

.stat-icon img {
    width: 40px;
    height: 40px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: countUp 2s ease-out;
    position: relative;
    z-index: 3;
}

.stat-card:nth-child(2) .stat-number {
    background: linear-gradient(45deg, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card:nth-child(3) .stat-number {
    background: linear-gradient(45deg, #f97316, #ea580c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card:nth-child(4) .stat-number {
    background: linear-gradient(45deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #6b7280;
    position: relative;
    z-index: 3;
}

/* Animasyon keyframes */
@keyframes rotateBackground {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes bounceIcon {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Mission Section */
.mission-section {
    padding: 6rem 0;
    background: #fff;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.mission-card {
    background: #fff;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.mission-card-content {
    position: relative;
    z-index: 2;
}

.mission-rotating-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg,
            rgba(102, 126, 234, 0.08),
            rgba(118, 75, 162, 0.08),
            rgba(240, 147, 251, 0.08),
            rgba(245, 87, 108, 0.08),
            rgba(79, 172, 254, 0.08),
            rgba(102, 126, 234, 0.08));
    animation: rotateBackground 12s linear infinite;
    z-index: 1;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: bounceIcon 4s ease-in-out infinite;
    position: relative;
    z-index: 3;
}

.mission-icon i {
    font-size: 2rem;
    color: #fff;
}

.mission-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #333;
    font-weight: 600;
    position: relative;
    z-index: 3;
    animation: countUp 2.5s ease-out;
}

.mission-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    position: relative;
    z-index: 3;
}

/* ===========================
   SERVICES PAGE STYLES
   =========================== */

.services-intro {
    padding: 16rem 0 4rem 0;
    background: #f9fafb;
}

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

.intro-description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #6b7280;
    margin-top: 1.5rem;
}

.services-grid-section {
    padding: 6rem 0;
    background: #fff;
}

.services-grid-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-image {
    position: relative;
    height: 350px;
    /* 250px'den 350px'e çıkarıldı */
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Görselin merkezi görünsün */
    transition: all 0.3s ease;
}

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

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 0;
}

.service-icon-large {
    font-size: 4rem;
    color: #fff;
}

.service-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.service-description {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: #6b7280;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.service-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: auto;
    align-self: center;
}

.service-btn:hover {
    background: linear-gradient(45deg, #764ba2, #667eea);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
    color: #fff;
}

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

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-btn {
    background: #fff;
    color: #1f2937;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-btn:hover {
    background: #f3f4f6;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* ===========================
   QUOTE FORM STYLES
   =========================== */

/* Quote Form Section */
.quote-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.quote-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.quote-form-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.quote-form-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px;
    text-align: center;
    color: white;
}

.quote-form-header .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.quote-form-header .section-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.quote-form-intro {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
}

.quote-form {
    padding: 50px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

/* Standardize input heights and styles */
.form-group input,
.form-group select,
.form-group textarea,
.custom-select-trigger,
.age-display {
    padding: 15px 18px;
    border: 2px solid #e8ecf3;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: #fafbfc;
    color: #2c3e50;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;

    /* Critical for alignment */
    min-height: 54px;
    display: flex;
    align-items: center;
}

/* Specific overrides for inputs that are not flex containers by default */
.form-group input,
.form-group textarea {
    display: block;
    /* maintain block for text inputs */
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.form-group input:required:valid {
    border-color: #2ecc71;
}

.form-group input:required:invalid:not(:placeholder-shown) {
    border-color: #e74c3c;
}

/* Time Input Placeholder Simulation */
.form-group input[type="time"]:not(:valid):before {
    content: attr(placeholder);
    color: #999;
    margin-right: 0.5em;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.form-group input[type="time"]:invalid,
.form-group input[type="time"][value=""] {
    color: transparent;
    /* Hide default dashes if needed, or keep #999 */
}

.form-group input[type="time"]:focus,
.form-group input[type="time"]:valid {
    color: #2c3e50;
}

/* Animated Time Input Styling - Updated to match Dropdowns */
.form-group input[type="time"] {
    position: relative;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    /* Match padding */
    background-size: 20px;
    /* Subtle icon size */
    padding-right: 45px;
    transition: all 0.3s ease;

    /* Ensure height matches */
    height: 54px;
    display: block;
    /* Time input needs block display for text */
    line-height: normal;
    /* Reset line-height */
}

.form-group input[type="time"]:hover {
    background-position: right 15px center;
    /* Subtle shift */
    background-color: #fff;
    border-color: #bdc3c7;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    /* Match dropdown hover */
}

.form-group input[type="time"]:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23764ba2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 22px;
    border-color: #667eea;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    /* Match dropdown focus */
}

/* Hide default indicator but make full input clickable */
.form-group input[type="time"]::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

/* Modern Checkbox Item */
.checkbox-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px 15px;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8f9fa;
    border: 2px solid transparent;
    font-weight: 500;
    color: #2c3e50;
    position: relative;
    overflow: hidden;
}

.checkbox-item:hover {
    background: #fff;
    border-color: #bdc3c7;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Selected State for Checkbox Item */
.checkbox-item:has(input:checked) {
    background: rgba(102, 126, 234, 0.05);
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

/* Animated Checkmark Box */
.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid #bdc3c7;
    border-radius: 8px;
    margin-right: 12px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    flex-shrink: 0;
}

.checkbox-item:hover .checkmark {
    border-color: #667eea;
}

.checkbox-item input[type="checkbox"]:checked+.checkmark {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: transparent;
    transform: rotate(360deg) scale(1.1);
}

/* Checkmark Icon Animation */
.checkmark::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.checkbox-item input[type="checkbox"]:checked+.checkmark::after {
    transform: rotate(45deg) scale(1);
    opacity: 1;
}

/* Text Selected State */
.checkbox-item input[type="checkbox"]:checked~span:not(.checkmark) {
    color: #667eea;
    font-weight: 700;
}


/* Age Picker Grid Styling - Enhanced */
.age-picker-container {
    position: relative;
    width: 100%;
}

.age-display {
    padding: 15px 18px;
    border: 2px solid #e8ecf3;
    border-radius: 12px;
    background: #fafbfc;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 54px;
    transition: all 0.3s ease;
}

.age-display:hover {
    background: #fff;
    border-color: #bdc3c7;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.age-display.active {
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.age-icon {
    font-size: 0.8rem;
    color: #666;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.age-display.active .age-icon {
    transform: rotate(180deg);
    color: #667eea;
}

.age-grid-popup {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 100;
    padding: 20px;
    border-radius: 16px;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    backdrop-filter: blur(10px);
}

.age-grid-popup.show {
    display: grid;
    animation: slideUpFade 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }

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

.age-number {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 10px;
    font-weight: 500;
    color: #2c3e50;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    background: #f1f3f5;
    border: 1px solid transparent;
}

.age-number:hover {
    background: #fff;
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.15);
}

.age-number.selected {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.4);
    transform: scale(1.1);
    border-color: transparent;
    z-index: 2;
}

/* Range background styling */
.age-number.in-range {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border-radius: 4px;
    transform: scale(1);
}

/* Round corners for range ends */
.age-number.range-start {
    border-radius: 10px 4px 4px 10px;
}

.age-number.range-end {
    border-radius: 4px 10px 10px 4px;
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

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

.btn-icon {
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-5px);
    }

    60% {
        transform: translateY(-3px);
    }
}

.form-note {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-top: 15px;
    font-style: italic;
}

/* ===========================
   CONTACT PAGE STYLES
   =========================== */

.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.contact-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.contact-intro {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 1.5rem;
}

/* Modern Contact Grid */
.contact-modern-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-cards-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.modern-contact-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.modern-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.modern-contact-card:hover::before {
    transform: scaleX(1);
}

.modern-contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.phone-card .card-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.email-card .card-icon {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.location-card .card-icon {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.hours-card .card-icon {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.card-header h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.card-content {
    padding-left: 65px;
}

.main-info {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    word-break: break-all;
}

.sub-info {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.card-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 0;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.card-action-btn:hover {
    color: #764ba2;
    border-bottom-color: #667eea;
    transform: translateX(5px);
}

/* Social Media Cards Below Map */
.social-media-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

/* WhatsApp Contact Card */
.whatsapp-contact-card {
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.3);
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.whatsapp-contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.whatsapp-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(37, 211, 102, 0.4);
}

.whatsapp-content {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.whatsapp-text {
    flex: 1;
}

.whatsapp-text h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
}

.whatsapp-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
}

.whatsapp-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.whatsapp-btn:hover {
    background: white;
    color: #25d366;
    transform: translateX(5px);
}

/* Instagram Contact Card */
.instagram-contact-card {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(131, 58, 180, 0.3);
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.instagram-contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.instagram-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(131, 58, 180, 0.4);
}

.instagram-content {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.instagram-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.instagram-text {
    flex: 1;
}

.instagram-text h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
}

.instagram-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
}

.instagram-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.instagram-btn:hover {
    background: white;
    color: #833ab4;
    transform: translateX(5px);
}

/* Map Area Modern */
.map-area-modern {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
}

.map-container-modern {
    position: relative;
    min-height: 600px;
    display: flex;
    flex-direction: column;
}

.map-header {
    padding: 30px 30px 20px 30px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.map-header h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.map-header p {
    color: #7f8c8d;
    font-size: 1rem;
    margin: 0;
}

.map-container-modern iframe {
    display: block;
    width: 100%;
    flex: 1;
    min-height: 450px;
}

/* Responsive Design for Contact Cards */
@media (max-width: 1024px) {
    .contact-modern-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-cards-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .modern-contact-card {
        padding: 25px;
    }

    .card-content {
        padding-left: 0;
        margin-top: 15px;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .social-media-cards {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .whatsapp-content,
    .instagram-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .map-header {
        padding: 20px;
    }

    .map-container-modern {
        min-height: auto !important;
    }

    .map-container-modern iframe {
        height: 300px;
        flex: none !important;
    }
}

.map-area {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container {
    position: relative;
    width: 100%;
    height: 400px;
}

/* Custom Select Dropdown Styling */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}

.custom-select-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 18px;
    font-size: 1rem;
    font-weight: 400;
    color: #2c3e50;
    background: #fafbfc;
    border: 2px solid #e8ecf3;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 24px;
    /* Ensure height matches other inputs */
}

.custom-select-trigger:hover {
    background: #fff;
    border-color: #bdc3c7;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.custom-select-wrapper.open .custom-select-trigger {
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    border-bottom-left-radius: 0;
    /* Optional: connect with dropdown */
    border-bottom-right-radius: 0;
}

.custom-select-arrow {
    font-size: 0.8rem;
    color: #666;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.custom-select-wrapper.open .custom-select-arrow {
    transform: rotate(180deg);
    color: #667eea;
}

.custom-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-top: 0;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 100;
    /* Above other content */
    border-radius: 0 0 16px 16px;
    /* Rounded bottom */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    padding: 8px;
    transform: translateY(-10px) scale(0.98);
}

.custom-select-wrapper.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0) scale(1);
}

.custom-option {
    position: relative;
    display: block;
    padding: 12px 15px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin-bottom: 4px;
}

.custom-option:last-child {
    margin-bottom: 0;
}

.custom-option:hover {
    background-color: #f0f9ff;
    color: #667eea;
    transform: translateX(5px);
}

.custom-option.selected {
    background-color: #667eea;
    color: #fff;
}

.form-header {
    margin-bottom: 3rem;
}

.form-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #6b7280;
    margin-top: 1rem;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4ecdc4;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit-btn {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: #fff;
    padding: 1.2rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.form-submit-btn:hover {
    background: linear-gradient(45deg, #4ecdc4, #ff6b6b);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
}

/* Contact Info */
.contact-info-area {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1f2937;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.contact-details p {
    color: #6b7280;
    margin-bottom: 0.3rem;
}

.contact-details small {
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Quick Contact */
.quick-contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    color: #fff;
}

.quick-contact h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.quick-contact p {
    opacity: 0.9;
    margin-bottom: 2rem;
}

.quick-contact-btn {
    display: block;
    background: #fff;
    color: #1f2937;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.quick-contact-btn:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.quick-contact-btn.whatsapp {
    background: #25d366;
    color: #fff;
}

.quick-contact-btn.whatsapp:hover {
    background: #22c55e;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background: #fff;
}

/* Custom Time Picker Styling */
.custom-time-popup {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 320px;
    /* Wider for two columns */
    background: #fff;
    border: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 100;
    padding: 20px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    grid-template-columns: 1.5fr 1fr;
    /* Hours wider than minutes */
    gap: 15px;
}

.custom-select-wrapper.open .custom-time-popup {
    display: grid;
    animation: slideUpFade 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.time-column {
    display: flex;
    flex-direction: column;
}

.time-column-header {
    font-size: 0.85rem;
    font-weight: 600;
    color: #7f8c8d;
    margin-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.time-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns for hours */
    gap: 6px;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 5px;
    /* For scrollbar space */
}

/* Custom Scrollbar for time grid */
.time-grid::-webkit-scrollbar {
    width: 4px;
}

.time-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.time-grid::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.time-grid::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

.minute-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns for minutes */
    gap: 6px;
}

.time-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2c3e50;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.time-option:hover {
    background: #fff;
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.time-option.selected {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
    border-color: transparent;
}

.faq-header {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-description {
    font-size: 1.2rem;
    color: #6b7280;
    margin-top: 1rem;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #f9fafb;
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    background: #fff;
    transition: all 0.3s ease;
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4ecdc4;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 2rem 1.5rem;
    color: #6b7280;
    line-height: 1.7;
    background: #f9fafb;
}

/* Responsive Styles for New Pages */
@media screen and (max-width: 768px) {
    .page-hero-title {
        font-size: 2.5rem;
    }

    .page-hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title-dark {
        font-size: 2rem;
    }

    .about-grid,
    .contact-grid-new {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .mission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .mission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid-large {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .about-text {
        padding-right: 0;
    }

    .contact-form-area,
    .contact-info-card {
        padding: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .page-hero {
        height: 40vh;
        margin-bottom: 2rem;
    }

    .page-hero-title {
        font-size: 2rem;
    }

    .section-title-dark {
        font-size: 1.8rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 2rem 1rem;
    }

    .about-section,
    .mission-section,
    .services-grid-section,
    .cta-section,
    .contact-section,
    .faq-section {
        padding: 3rem 0;
    }

    .services-intro {
        padding: 7rem 0 3rem 0;
    }

    .container-large {
        padding: 0 1rem;
    }
}

/* Section Visual Elements */
.section-visual {
    position: relative;
    height: 300px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.float-circle {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 120px;
    height: 120px;
    background: #ff6b6b;
    top: 0;
    right: 0;
    animation-delay: 0s;
}

.circle-2 {
    width: 80px;
    height: 80px;
    background: #4ecdc4;
    bottom: 20px;
    left: 20px;
    animation-delay: 2s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    background: #ffd700;
    top: 50%;
    right: 30%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-20px) rotate(5deg);
    }

    66% {
        transform: translateY(10px) rotate(-5deg);
    }
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.service-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.service-item p {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.contact-icon {
    font-size: 2rem;
}

.contact-details h4 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.contact-details p {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #E83A57;
    color: #fff;
    padding: 4rem 0 2rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Desktop'ta footer-content-row'u düz flex yap */
.footer-content-row {
    display: contents;
}

.footer-pages {
    order: 1;
    text-align: left;
}

.footer-section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    order: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo-img {
    height: 400px;
    width: auto;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateY(20px);
    opacity: 0.7;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.footer-logo-img.animate {
    transform: translateY(0);
    opacity: 1;
}

.footer-contact {
    order: 3;
    text-align: right;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}


.footer-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: #fff;
    transform: translateY(-2px);
}

.footer-contact p {
    margin: 0.3rem 0;
    opacity: 0.9;
    font-size: 0.9rem;
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #fff;
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Responsive Design */
/* Masaüstü için nav-menu stilleri - mobil olmayan cihazlarda */
@media screen and (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }

    .nav-menu {
        position: static !important;
        display: flex !important;
        flex-direction: row !important;
        background: none !important;
        backdrop-filter: none !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        text-align: left !important;
        transition: none !important;
        padding: 0 !important;
        gap: 0 !important;
        box-shadow: none !important;
        z-index: auto !important;
        border-radius: 0 !important;
        pointer-events: all !important;
        clip-path: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav-left,
    .nav-right {
        display: flex !important;
        flex-direction: row !important;
        gap: 2rem !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav-link {
        color: #333 !important;
        text-decoration: none;
        font-weight: 500;
        font-size: 1rem;
        padding: 0.5rem 1rem;
        border-radius: 50px;
        transition: all 0.3s ease;
        position: relative;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: block !important;
        text-align: center;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 100 !important;
    }

    .nav-link:hover {
        background: rgba(102, 126, 234, 0.1) !important;
        color: #667eea !important;
        transform: translateY(-2px);
    }

    .nav-link.active {
        background: linear-gradient(45deg, #667eea, #764ba2) !important;
        color: white !important;
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        padding: 2.5rem 0 1.5rem 0;
    }

    .footer-main {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-logo {
        order: 1;
        margin-bottom: 1rem;
    }

    .footer-content-row {
        order: 2;
        display: flex;
        justify-content: space-between;
        gap: 2rem;
    }

    .footer-pages,
    .footer-contact {
        flex: 1;
        text-align: left;
    }

    .footer-logo-img {
        height: 200px;
    }

    .nav-menu {
        position: fixed;
        left: 0;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        height: auto;
        max-height: 450px;
        text-align: center;
        transition: clip-path 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 1.5rem 0;
        gap: 0.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        border-radius: 20px;
        /* clip-path JavaScript'te dinamik olarak ayarlanıyor */
        pointer-events: none;
        clip-path: circle(0px at 50% 50px);
    }

    /* Active durumu JavaScript'te clip-path ile yönetiliyor */

    .hamburger {
        display: flex;
        z-index: 1001;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 8px;
        padding: 8px;
        position: relative;
        overflow: hidden;
    }

    .hamburger::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        transform: scale(0);
        transition: transform 0.3s ease;
        z-index: -1;
    }

    .hamburger.active::before {
        transform: scale(1);
    }

    .hamburger.active {
        transform: scale(1.1);
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
    }

    .hamburger .bar {
        background-color: #333;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .hamburger.active .bar {
        background-color: #667eea;
    }

    /* Mobil menü link renkleri */
    .nav-menu .nav-link {
        color: #333;
        font-weight: 600;
        padding: 0.8rem 2rem;
        margin: 0.3rem 1rem;
        border-radius: 12px;
        transition: all 0.3s ease;
        display: block;
        text-align: center;
    }

    .nav-menu .nav-link:hover {
        background: rgba(102, 126, 234, 0.1);
        color: #667eea;
        transform: translateY(-2px);
    }

    .nav-menu .nav-link.active {
        background: linear-gradient(45deg, #667eea, #764ba2);
        color: white;
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    }

    /* Mobil menü animasyon geliştirme */
    .nav-menu .nav-left,
    .nav-menu .nav-right {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .nav-menu .nav-item {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.3s ease;
    }

    .nav-menu.active .nav-item {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu.active .nav-item:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-menu.active .nav-item:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-menu.active .nav-item:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-menu.active .nav-item:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-menu.active .nav-item:nth-child(5) {
        transition-delay: 0.5s;
    }

    /* Mobil menü overlay efekti - sadece menü alanı için */
    body.nav-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.2);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.4s ease;
        pointer-events: none;
    }

    body.nav-open.nav-active::before {
        opacity: 1;
        pointer-events: all;
    }

    /* Hamburger ripple efekti */
    .hamburger::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 20px;
        background: rgba(102, 126, 234, 0.3);
        border-radius: 50%;
        transform: translate(-50%, -50%) scale(0);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: -1;
        pointer-events: none;
        opacity: 1;
    }

    .hamburger.active::after {
        transform: translate(-50%, -50%) scale(15);
        opacity: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-content {
        left: 1rem;
        right: 1rem;
        max-width: none;
    }

    .container-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 1rem;
    }

    .container-content.reverse {
        direction: ltr;
    }

    .content-right {
        height: 200px;
        margin-top: 2rem;
    }

    .molecular-structure {
        width: 200px;
        height: 200px;
    }

    .molecule-circle {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    }

    .main-content {
        padding-top: 2rem;
    }

    .page-container {
        margin-bottom: 0;
        padding: 4rem 0;
    }

    #hakkimizda {
        clip-path: polygon(0 0%, 100% 10%, 100% 90%, 0% 100%);
    }

    #medya {
        clip-path: polygon(0 10%, 100% 0%, 100% 100%, 0% 90%);
    }

    #hizmetlerimiz {
        clip-path: polygon(0 0%, 100% 10%, 100% 90%, 0% 100%);
    }

    #iletisim {
        clip-path: polygon(0 10%, 100% 0%, 100% 100%, 0% 90%);
    }

    .content-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        order: 1;
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }

    .footer-logo {
        order: 2;
    }

    .footer-logo-img {
        height: 300px;
    }

    .footer-contact {
        order: 3;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .navbar {
        padding: 2rem 0 1.2rem 0;
    }

    .footer-container {
        padding: 0 1rem;
    }

    .footer-logo-img {
        height: 200px;
    }

    .footer-section-title {
        font-size: 1rem;
    }

    .footer-social {
        align-items: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .content-title {
        font-size: 1.8rem;
    }

    .main-content {
        padding-top: 1.5rem;
    }

    .page-container {
        margin-bottom: 0;
        padding: 3rem 0;
    }

    #hakkimizda {
        clip-path: polygon(0 0%, 100% 6%, 100% 94%, 0% 100%);
    }

    #medya {
        clip-path: polygon(0 6%, 100% 0%, 100% 100%, 0% 94%);
    }

    #hizmetlerimiz {
        clip-path: polygon(0 0%, 100% 6%, 100% 94%, 0% 100%);
    }

    #iletisim {
        clip-path: polygon(0 6%, 100% 0%, 100% 100%, 0% 94%);
    }
}

/* partiman Style Media Section */
.partiman-media-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
    position: relative;
}

.partiman-wrapper {
    width: calc(100% - 6.25rem);
    max-width: 83.75rem;
    margin: 0 auto;
    position: relative;
    height: 85vh;
    min-height: 600px;
}

.partiman-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Big Titles */
.partiman-title-left,
.partiman-title-right {
    position: absolute;
    z-index: 2;
}

.partiman-title-left {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    animation: slideInFromTop 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.2s both;
}

.partiman-title-right {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    animation: slideInFromBottom 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.4s both;
}

.big-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(4rem, 15vw, 12rem);
    font-weight: 900;
    color: #e83a57;
    line-height: 0.8;
    letter-spacing: -0.02em;
    margin: 0;
    text-transform: uppercase;
    pointer-events: none;
    user-select: none;
}

/* Parti yazısı siyah renk */
.partiman-title-left .big-title {
    color: #000;
}

/* Center Images Container */
.partiman-images {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60vw;
    height: 60vh;
    max-width: 800px;
    max-height: 600px;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.partiman-image-pivot {
    position: absolute;
    width: 300px;
    height: 225px;
    cursor: pointer;

    /* Başlangıç pozisyonu - tam merkeze toplanmış */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.1) rotate(0deg);
    opacity: 0;

    /* Animasyon geçiş özellikleri */
    transition: all 3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.partiman-image-pivot.animate {
    /* Son pozisyon - farklı yönlere dağılmış */
    opacity: 1;
}

/* Her görselin kendine özel konumu */
.partiman-image-pivot:nth-child(1).animate {
    transform: translate(calc(-50% - 400px), calc(-50% - 200px)) scale(var(--scale)) rotate(var(--rotate));
}

.partiman-image-pivot:nth-child(2).animate {
    transform: translate(calc(-50% - 250px), calc(-50% + 250px)) scale(var(--scale)) rotate(var(--rotate));
}

.partiman-image-pivot:nth-child(3).animate {
    transform: translate(calc(-50% + 450px), calc(-50% - 150px)) scale(var(--scale)) rotate(var(--rotate));
}

.partiman-image-pivot:nth-child(4).animate {
    transform: translate(calc(-50% + 350px), calc(-50% + 200px)) scale(var(--scale)) rotate(var(--rotate));
}

.partiman-image-pivot:nth-child(5).animate {
    transform: translate(calc(-50% + 50px), calc(-50% - 50px)) scale(var(--scale)) rotate(var(--rotate));
}

.partiman-image-pivot:nth-child(6).animate {
    transform: translate(calc(-50% - 500px), calc(-50% + 100px)) scale(var(--scale)) rotate(var(--rotate));
}

/* 7. Görsel - Tam ortada üste */
.partiman-image-pivot:nth-child(7).animate {
    transform: translate(calc(-50% + 0px), calc(-50% - 200px)) scale(var(--scale)) rotate(var(--rotate));
}

/* 8. Görsel - Tam ortada alta */
.partiman-image-pivot:nth-child(8).animate {
    transform: translate(calc(-50% + 0px), calc(-50% + 200px)) scale(var(--scale)) rotate(var(--rotate));
}

.partiman-image {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    transform-origin: center center;
}

.partiman-image:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.partiman-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Right Action Button */
.partiman-actions {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    animation: fadeInScale 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) 1.2s both;
}

.circle-cta {
    position: relative;
    width: 120px;
    height: 120px;
    display: block;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.circle-cta:hover {
    transform: scale(1.1);
}

.circle-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #e83a57;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.circle-cta:hover .circle-cta-bg {
    background: #d12a4a;
}

.circle-cta-orbit {
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    fill: none;
    stroke: #e83a57;
    stroke-width: 1;
    opacity: 0.3;
    animation: rotate 20s linear infinite;
}

.circle-cta-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

/* Animasyon Keyframes - Dikey Hareket */
@keyframes slideInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-200px);
    }

    50% {
        opacity: 0.7;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(-50%);
    }
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(150px);
    }

    50% {
        opacity: 0.7;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(-50%);
    }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: translateY(-50%) scale(0.5);
    }

    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .big-title {
        font-size: clamp(3rem, 12vw, 8rem);
    }

    .partiman-images {
        width: 70vw;
        height: 50vh;
    }

    .partiman-image-pivot {
        width: 180px;
        height: 135px;
    }

    /* Tablet için daha küçük dağılım */
    .partiman-image-pivot:nth-child(1).animate {
        transform: translate(calc(-50% - 300px), calc(-50% - 150px)) scale(var(--scale)) rotate(var(--rotate));
    }

    .partiman-image-pivot:nth-child(2).animate {
        transform: translate(calc(-50% - 200px), calc(-50% + 200px)) scale(var(--scale)) rotate(var(--rotate));
    }

    .partiman-image-pivot:nth-child(3).animate {
        transform: translate(calc(-50% + 320px), calc(-50% - 120px)) scale(var(--scale)) rotate(var(--rotate));
    }

    .partiman-image-pivot:nth-child(4).animate {
        transform: translate(calc(-50% + 280px), calc(-50% + 180px)) scale(var(--scale)) rotate(var(--rotate));
    }

    .partiman-image-pivot:nth-child(5).animate {
        transform: translate(calc(-50% + 40px), calc(-50% - 40px)) scale(var(--scale)) rotate(var(--rotate));
    }

    .partiman-image-pivot:nth-child(6).animate {
        transform: translate(calc(-50% - 350px), calc(-50% + 80px)) scale(var(--scale)) rotate(var(--rotate));
    }

    /* 7. Görsel - Tam ortada üste (mobil) */
    .partiman-image-pivot:nth-child(7).animate {
        transform: translate(calc(-50% + 0px), calc(-50% - 150px)) scale(var(--scale)) rotate(var(--rotate));
    }

    /* 8. Görsel - Tam ortada alta (mobil) */
    .partiman-image-pivot:nth-child(8).animate {
        transform: translate(calc(-50% + 0px), calc(-50% + 150px)) scale(var(--scale)) rotate(var(--rotate));
    }

    .circle-cta {
        width: 100px;
        height: 100px;
    }

    .circle-cta-text {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 768px) {
    .partiman-wrapper {
        width: calc(100% - 2rem);
        height: 80vh;
    }

    /* Responsive buton boyutları */
    .hakkimizda-button img {
        max-width: 200px;
    }

    .hizmetler-button img {
        max-width: 220px;
    }

    .big-title {
        font-size: clamp(2.5rem, 10vw, 6rem);
    }

    /* Mobil için dikey animasyon düzenlemeleri */
    @keyframes slideInFromTop {
        0% {
            opacity: 0;
            transform: translateY(-120px);
        }

        50% {
            opacity: 0.7;
            transform: translateY(-20px);
        }

        100% {
            opacity: 1;
            transform: translateY(-50%);
        }
    }

    @keyframes slideInFromBottom {
        0% {
            opacity: 0;
            transform: translateY(100px);
        }

        50% {
            opacity: 0.7;
            transform: translateY(-15px);
        }

        100% {
            opacity: 1;
            transform: translateY(-50%);
        }
    }

    .partiman-images {
        width: 80vw;
        height: 45vh;
    }

    .partiman-image-pivot {
        width: 225px;
        height: 169px;
    }

    /* Mobil için daha yakın dağılım */
    .partiman-image-pivot:nth-child(1).animate {
        transform: translate(calc(-50% - 200px), calc(-50% - 100px)) scale(var(--scale)) rotate(var(--rotate));
    }

    .partiman-image-pivot:nth-child(2).animate {
        transform: translate(calc(-50% - 150px), calc(-50% + 150px)) scale(var(--scale)) rotate(var(--rotate));
    }

    .partiman-image-pivot:nth-child(3).animate {
        transform: translate(calc(-50% + 220px), calc(-50% - 80px)) scale(var(--scale)) rotate(var(--rotate));
    }

    .partiman-image-pivot:nth-child(4).animate {
        transform: translate(calc(-50% + 180px), calc(-50% + 130px)) scale(var(--scale)) rotate(var(--rotate));
    }

    .partiman-image-pivot:nth-child(5).animate {
        transform: translate(calc(-50% + 30px), calc(-50% - 30px)) scale(var(--scale)) rotate(var(--rotate));
    }

    .partiman-image-pivot:nth-child(6).animate {
        transform: translate(calc(-50% - 250px), calc(-50% + 60px)) scale(var(--scale)) rotate(var(--rotate));
    }

    /* 7. Görsel - Tam ortada üste (tablet) */
    .partiman-image-pivot:nth-child(7).animate {
        transform: translate(calc(-50% + 0px), calc(-50% - 120px)) scale(var(--scale)) rotate(var(--rotate));
    }

    /* 8. Görsel - Tam ortada alta (tablet) */
    .partiman-image-pivot:nth-child(8).animate {
        transform: translate(calc(-50% + 0px), calc(-50% + 120px)) scale(var(--scale)) rotate(var(--rotate));
    }

    /* Mobil düzenleme: PARTI üstte, MAN altta (Tablet/Large Phone) - ORTALANMIŞ (Reset Left) */
    .partiman-title-left {
        position: absolute;
        left: 0;
        top: 10%;
        transform: translateY(-50%);
        width: 100%;
        text-align: center;
        right: 0;
    }

    .partiman-title-right {
        position: absolute;
        left: 0;
        top: auto;
        bottom: 10%;
        transform: translateY(50%);
        width: 100%;
        text-align: center;
        right: 0;
    }

    .partiman-actions {
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .circle-cta {
        width: 80px;
        height: 80px;
    }

    .circle-cta-text {
        font-size: 0.7rem;
    }
}

@media screen and (max-width: 480px) {
    .big-title {
        font-size: clamp(2rem, 8vw, 4rem);
    }

    .partiman-images {
        width: 90vw;
        height: 40vh;
    }

    .partiman-image-pivot {
        width: 120px;
        height: 90px;
    }

    /* Küçük ekran için kompakt dağılım */
    .partiman-image-pivot:nth-child(1).animate {
        transform: translate(calc(-50% - 150px), calc(-50% - 80px)) scale(var(--scale)) rotate(var(--rotate));
    }

    .partiman-image-pivot:nth-child(2).animate {
        transform: translate(calc(-50% - 120px), calc(-50% + 120px)) scale(var(--scale)) rotate(var(--rotate));
    }

    .partiman-image-pivot:nth-child(3).animate {
        transform: translate(calc(-50% + 160px), calc(-50% - 60px)) scale(var(--scale)) rotate(var(--rotate));
    }

    .partiman-image-pivot:nth-child(4).animate {
        transform: translate(calc(-50% + 140px), calc(-50% + 100px)) scale(var(--scale)) rotate(var(--rotate));
    }

    /* Mobil düzenleme: PARTI üstte, MAN altta - ORTALANMIŞ */
    /* Mobil düzenleme: PARTI üstte, MAN altta - ORTALANMIŞ (Reset Left) */
    .partiman-title-left {
        left: 0;
        top: 15%;
        right: 0;
        transform: translateY(-50%);
        width: 100%;
        text-align: center;
    }

    .partiman-title-right {
        left: 0;
        right: 0;
        top: auto;
        bottom: 15%;
        transform: translateY(50%);
        width: 100%;
        text-align: center;
    }

    /* Balanced Image Distribution for Mobile - SHIFTED LEFT */
    /* Item 1: Top Left */
    .partiman-image-pivot:nth-child(1).animate {
        transform: translate(calc(-50% - 80px), calc(-50% - 80px)) scale(var(--scale)) rotate(var(--rotate));
    }

    /* Item 2: Bottom Left */
    .partiman-image-pivot:nth-child(2).animate {
        transform: translate(calc(-50% - 70px), calc(-50% + 100px)) scale(var(--scale)) rotate(var(--rotate));
    }

    /* Item 3: Top Right */
    .partiman-image-pivot:nth-child(3).animate {
        transform: translate(calc(-50% + 120px), calc(-50% - 60px)) scale(var(--scale)) rotate(var(--rotate));
    }

    /* Item 4: Bottom Right */
    .partiman-image-pivot:nth-child(4).animate {
        transform: translate(calc(-50% + 110px), calc(-50% + 80px)) scale(var(--scale)) rotate(var(--rotate));
    }

    /* Item 5: Center */
    .partiman-image-pivot:nth-child(5).animate {
        transform: translate(calc(-50% + 20px), calc(-50% - 10px)) scale(var(--scale)) rotate(var(--rotate));
    }

    /* Item 6: Left Side */
    .partiman-image-pivot:nth-child(6).animate {
        transform: translate(calc(-50% - 130px), calc(-50% + 20px)) scale(var(--scale)) rotate(var(--rotate));
    }

    /* 7. Görsel - Center Top */
    .partiman-image-pivot:nth-child(7).animate {
        transform: translate(calc(-50% + 10px), calc(-50% - 120px)) scale(var(--scale)) rotate(var(--rotate));
    }

    /* 8. Görsel - Center Bottom */
    .partiman-image-pivot:nth-child(8).animate {
        transform: translate(calc(-50% + 10px), calc(-50% + 120px)) scale(var(--scale)) rotate(var(--rotate));
    }

    /* Titles - Larger Font Size for Mobile */
    .partiman-title-left .big-title,
    .partiman-title-right .big-title {
        font-size: clamp(4rem, 15vw, 6rem);
    }

    .circle-cta {
        width: 70px;
        height: 70px;
    }

    .circle-cta-text {
        font-size: 0.6rem;
    }

    /* Responsive buton boyutları */
    .hakkimizda-button img {
        max-width: 180px;
    }

    .hizmetler-button img {
        max-width: 200px;
    }
}

/* 3D Cover Flow Carousel Section */
.cover-flow-section {
    padding: 8rem 0;
    background: #f8f9fa;
    overflow: hidden;
}

.section-title-container {
    text-align: center;
    margin-bottom: 6rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    opacity: 0.8;
}

.cover-flow-container {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    perspective-origin: center center;
}

.cover-flow-carousel {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.cover-flow-item {
    position: absolute;
    width: 500px;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    background: #fff;
}

.cover-flow-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.media-speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid #2c3e50;
}

.media-speech-bubble h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.main-media-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 6px solid #2c3e50;
    background: #fff;
}

.main-media-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.main-media-container:hover .media-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
    background: #fff;
    transform: scale(1.1);
}

.play-icon {
    font-size: 2rem;
    color: #e83a57;
    margin-left: 5px;
}

/* Cover Flow 3D Positioning - Z-index ve opacity sadece */
.cover-flow-item.active {
    z-index: 10;
    opacity: 1;
}

.cover-flow-item.prev-1,
.cover-flow-item.next-1 {
    z-index: 8;
    opacity: 0.9;
}

.cover-flow-item.prev-2,
.cover-flow-item.next-2 {
    z-index: 6;
    opacity: 0.7;
}

.cover-flow-item.hidden {
    z-index: 4;
    opacity: 0.5;
}

.cover-flow-item:hover img {
    transform: scale(1.05);
}


/* Cover Flow Responsive Design */
@media screen and (max-width: 768px) {
    .cover-flow-section {
        padding: 6rem 0;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .cover-flow-container {
        height: 400px;
    }

    .cover-flow-item {
        width: 350px;
        height: 210px;
    }
}

@media screen and (max-width: 480px) {
    .cover-flow-section {
        padding: 4rem 0;
        touch-action: pan-y pinch-zoom;
    }

    .section-title {
        font-size: 2rem;
    }

    .cover-flow-container {
        height: 300px;
        overflow: hidden;
        touch-action: pan-x;
    }

    .cover-flow-carousel {
        touch-action: pan-x;
    }

    .cover-flow-item {
        width: 280px;
        height: 168px;
        touch-action: manipulation;
    }

    .cover-flow-item img {
        pointer-events: none;
        user-select: none;
    }
}

/* ============================================
   Service Detail Page Styles
   ============================================ */

/* Service Detail Overlay */
.service-detail-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            #667eea 0%,
            #764ba2 25%,
            #f093fb 50%,
            #f5576c 75%,
            #4facfe 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto;
}

/* Gradient Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.service-detail-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Service Detail Container */
.service-detail-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
    /* Üst padding artırıldı */
    position: relative;
    min-height: 100vh;
}

/* Service Detail Header */
.service-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    margin-bottom: 60px;
    /* Daha fazla boşluk */
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    padding: 25px 30px;
    /* İç padding eklendi */
}

.detail-back-btn,
.detail-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.detail-back-btn:hover,
.detail-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.detail-main-title {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    /* Biraz küçültüldü */
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin: 0;
    /* Margin sıfırlandı */
    flex: 1;
    padding: 0 20px;
    /* Yan boşluklar */
}

/* Service Detail Hero */
.service-detail-hero {
    text-align: center;
    padding: 50px 30px;
    /* Padding'i normale döndür */
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.08), rgba(78, 205, 196, 0.08));
    border-radius: 20px;
    margin-top: 50px;
    /* Kutuyu aşağı taşı */
    margin-bottom: 50px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    color: #fff;
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    /* Biraz küçültüldü */
    font-weight: 600;
    margin-bottom: 15px;
    /* Margin azaltıldı */
    opacity: 0.95;
}

.hero-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    /* Biraz küçültüldü */
    max-width: 700px;
    /* Genişlik azaltıldı */
    margin: 0 auto;
    line-height: 1.5;
    /* Line height azaltıldı */
}

/* Catalog Section */
.service-catalog {
    padding: 40px 0;
}

.catalog-container {
    max-width: 1200px;
    margin: 0 auto;
}

.catalog-title {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
}

.catalog-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    border-radius: 2px;
}

/* Comic Catalog Grid */
.comic-catalog-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Her satırda bir panel */
    gap: 40px;
    margin-bottom: 40px;
    padding: 20px;
}

/* Catalog Grid - Eski stil (yedek) */
.catalog-grid {
    display: grid;
    gap: 40px;
    margin-bottom: 40px;
}

/* Catalog Card */
.catalog-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.catalog-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Catalog Card Inner - 3 bölümlü düzen */
.catalog-card-inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* Sol video, sağ iki görsel */
    height: 300px;
}

/* Video Section - Sol taraf */
.catalog-video-section {
    position: relative;
    overflow: hidden;
}

.catalog-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.catalog-card:hover .catalog-video {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.catalog-card:hover .video-overlay {
    opacity: 1;
}

.catalog-card-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Images Section - Sağ taraf */
.catalog-images-section {
    display: grid;
    grid-template-rows: 1fr 1fr;
    /* Üst alt iki görsel */
    gap: 1px;
}

.catalog-image-item {
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.catalog-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.catalog-card:hover .image-overlay {
    opacity: 1;
}

.overlay-text {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

/* Catalog Features - Alt kısım */
.catalog-features {
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.features-list li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4ecdc4;
    font-weight: bold;
}

.catalog-btn {
    width: 100%;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    border: none;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.catalog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.4);
}

/* Responsive Catalog Design */
@media screen and (max-width: 768px) {
    .service-detail-header {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        margin-bottom: 40px;
    }

    .detail-back-btn,
    .detail-close-btn {
        padding: 10px 20px;
        font-size: 14px;
        min-width: 120px;
    }

    .detail-main-title {
        font-size: clamp(1.3rem, 4vw, 1.8rem);
        padding: 0 10px;
    }

    .service-detail-hero {
        padding: 30px 20px;
        margin-top: 40px;
        margin-bottom: 30px;
    }

    .catalog-card-inner {
        grid-template-columns: 1fr;
        grid-template-rows: 200px auto;
        height: auto;
    }

    .catalog-images-section {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
        height: 150px;
    }
}

@media screen and (max-width: 480px) {
    .service-detail-container {
        padding: 20px 15px;
    }

    .service-detail-header {
        padding: 15px;
        margin-bottom: 30px;
    }

    .detail-back-btn,
    .detail-close-btn {
        padding: 8px 16px;
        font-size: 13px;
        min-width: 100px;
    }

    .service-detail-hero {
        padding: 25px 15px;
        margin-top: 30px;
        margin-bottom: 25px;
    }

    .catalog-features {
        padding: 20px;
    }
}

/* ============================================
   Comic Panel Styles
   ============================================ */

/* Birleşik Çizgi Roman Panel */
.comic-unified-panel {
    position: relative;
    width: 100%;
    max-width: 900px;
    /* Genişlik artırıldı */
    height: 400px;
    /* Yükseklik de artırıldı */
    background: rgba(255, 255, 255, 0.95);
    border: 4px solid #000;
    border-radius: 20px;
    box-shadow: 8px 8px 0px #000;
    overflow: hidden;
    transform: rotate(-1deg);
    transition: all 0.4s ease;
    animation: panelFloat 4s ease-in-out infinite;
    cursor: pointer;
    opacity: 0;
    transform: translateY(50px) rotate(-1deg);
    margin: 0 auto;
}

.comic-unified-panel.animate {
    opacity: 1;
    transform: translateY(0) rotate(-1deg);
    transition: all 0.8s ease;
}

.comic-unified-panel:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 12px 12px 0px #000;
}

@keyframes panelFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(-1deg);
    }

    50% {
        transform: translateY(-8px) rotate(-1deg);
    }
}

.comic-unified-panel.animate {
    animation: panelFloat 4s ease-in-out infinite;
}

/* Video Bölümü - Sol Yamuk Şekil */
.panel-video-area {
    position: absolute;
    left: 0;
    top: 0;
    width: 60%;
    height: 100%;
    background: #000;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
}

.panel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    pointer-events: none;
}

.panel-video-area:hover .panel-video {
    transform: scale(1.05);
}

.panel-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.1), transparent);
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Görsel 1 - Sağ Üst Yamuk Şekil */
.panel-image1-area {
    position: absolute;
    right: 0;
    top: 0;
    width: 55%;
    height: 55%;
    overflow: hidden;
    clip-path: polygon(28.5% 0, 100% 0, 100% 90%, 10.5% 100%);
}

.panel-image1-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.panel-image1-area:hover img {
    transform: scale(1.05);
}

/* Görsel 2 - Sağ Alt Yamuk Şekil */
.panel-image2-area {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 58%;
    height: 55%;
    overflow: hidden;
    clip-path: polygon(15% 20%, 100% 10%, 100% 100%, 1% 100%);
}

.panel-image2-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.panel-image2-area:hover img {
    transform: scale(1.05);
}

/* Panel Numarası */
.panel-number {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 45px;
    height: 45px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    border: 3px solid #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Comic Sans MS', 'Poppins', cursive, sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #000;
    text-shadow: 1px 1px 0px #fff;
    box-shadow: 3px 3px 0px #000;
    z-index: 20;
}

/* Panel Bilgi Overlay */
.panel-info-overlay {
    position: absolute;
    bottom: 70px;
    left: 15px;
    right: 15px;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9));
    border: 2px solid #fff;
    border-radius: 12px;
    padding: 12px;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 15;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.comic-unified-panel:hover .panel-info-overlay {
    opacity: 1;
    transform: translateY(0);
}

.panel-variety-name {
    font-family: 'Poppins', 'Comic Sans MS', cursive, sans-serif;
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 6px 0;
    color: #fff;
    text-shadow: 2px 2px 0px #000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.panel-variety-desc {
    font-family: 'Poppins', 'Comic Sans MS', cursive, sans-serif;
    font-size: 11px;
    line-height: 1.4;
    margin: 0;
    color: #fff;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.8);
    opacity: 0.95;
}

/* Action Buttons */
.panel-actions {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 25;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
}

.comic-unified-panel:hover .panel-actions {
    opacity: 1;
    pointer-events: all;
}

.panel-detay-btn {
    background: linear-gradient(45deg, #a8e6cf, #7fcdcd);
    color: #000;
    font-family: 'Poppins', 'Comic Sans MS', cursive, sans-serif;
    font-size: 12px;
    /* Tek buton olduğu için biraz büyütüldü */
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px 20px;
    /* Padding artırıldı */
    border: 2px solid #000;
    border-radius: 8px;
    /* Radius artırıldı */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 2px 2px 0px #000;
    min-width: 140px;
    /* Genişlik artırıldı */
    text-align: center;
    letter-spacing: 1px;
}

.panel-detay-btn:hover {
    background: linear-gradient(45deg, #c1f0d8, #95d6d6);
    transform: scale(1.05);
    box-shadow: 3px 3px 0px #000;
}

/* Mobile Active State */
.comic-unified-panel.mobile-active .panel-info-overlay {
    opacity: 1;
    transform: translateY(0);
}

.comic-unified-panel.mobile-active .panel-actions {
    opacity: 1;
    pointer-events: all;
}

/* Comic Panel Responsive Tasarım */
@media (max-width: 1024px) {
    .comic-unified-panel {
        max-width: 100%;
        height: 380px;
    }
}

@media (max-width: 768px) {
    .comic-catalog-grid {
        gap: 30px;
        padding: 10px;
    }

    .comic-unified-panel {
        height: 320px;
        /* Biraz daha büyük */
        max-width: 100%;
        border-radius: 15px;
        box-shadow: 6px 6px 0px #000;
    }

    .comic-unified-panel:hover {
        box-shadow: 10px 10px 0px #000;
    }

    .panel-video-area {
        width: 100%;
        height: 60%;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .panel-image1-area {
        width: 52%;
        height: 45%;
        top: 58%;
        left: 0;
        clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 90%);
    }

    .panel-image2-area {
        width: 52%;
        height: 45%;
        top: 58%;
        right: 0;
        clip-path: polygon(10% 9%, 100% 0%, 100% 100%, 10% 100%);
    }

    .panel-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
        top: 8px;
        left: 8px;
    }

    .panel-variety-name {
        font-size: 14px;
    }

    .panel-variety-desc {
        font-size: 10px;
    }

    .panel-info-overlay {
        bottom: 50px;
        left: 10px;
        right: 10px;
        padding: 10px;
        opacity: 1;
        transform: translateY(0);
    }

    .panel-actions {
        opacity: 1;
        pointer-events: all;
    }
}

@media (max-width: 480px) {
    .comic-unified-panel {
        height: 280px;
        border-radius: 12px;
        box-shadow: 5px 5px 0px #000;
    }

    .panel-variety-name {
        font-size: 13px;
    }

    .panel-variety-desc {
        font-size: 9px;
    }

    .panel-number {
        width: 30px;
        height: 30px;
        font-size: 12px;
        top: 6px;
        left: 6px;
    }

    .panel-detay-btn {
        font-size: 11px;
        padding: 8px 16px;
        min-width: 120px;
    }
}

/* ============================================
   Service Variety Detail Page Styles
   ============================================ */

/* Variety Detail Content */
.variety-detail-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Text Section */
.variety-text-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.variety-intro {
    margin-bottom: 40px;
    text-align: center;
}

.variety-subtitle {
    color: #fff;
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.variety-main-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.features-title {
    color: #fff;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.features-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    border-radius: 2px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.feature-content {
    flex: 1;
}

.feature-name {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.feature-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Variety Media Section */
.variety-media-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Variety Main Media Display */
.variety-main-media-display {
    position: relative;
    margin-bottom: 40px;
}

.variety-media-speech-bubble {
    position: absolute;
    top: -20px;
    left: 30px;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    color: #fff;
    padding: 15px 30px;
    border-radius: 25px;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.variety-media-speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #4ecdc4;
}

.variety-media-speech-bubble h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.variety-main-media-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    height: 400px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.variety-main-media-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.variety-media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.variety-main-media-container:hover .variety-media-overlay {
    opacity: 1;
}

.variety-play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.variety-play-button:hover {
    background: #fff;
    transform: scale(1.1);
}

.variety-play-icon {
    font-size: 2rem;
    color: #333;
    margin-left: 5px;
}

/* Variety Media Slider */
.variety-media-slider {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(0, 0, 0, 0.2);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.variety-slider-container {
    flex: 1;
    overflow: hidden;
    border-radius: 10px;
}

.variety-slider-track {
    display: flex;
    gap: 15px;
    transition: transform 0.3s ease;
    padding: 5px;
}

.variety-thumbnail-item {
    flex: 0 0 140px;
    height: 100px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.variety-thumbnail-item.active {
    border-color: #4ecdc4;
    transform: scale(1.05);
}

.variety-thumbnail-item:hover {
    transform: scale(1.02);
}

.variety-thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.variety-thumbnail-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 8px;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.variety-thumbnail-item:hover .variety-thumbnail-overlay {
    transform: translateY(0);
}

.variety-thumbnail-overlay span {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    display: block;
}

.variety-slider-nav {
    width: 50px;
    height: 50px;
    border: none;
    background: #e83a57;
    color: #fff;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(232, 58, 87, 0.3);
}

.variety-slider-nav:hover {
    background: #d12a4a;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(232, 58, 87, 0.5);
}

/* Responsive Design for Variety Detail */
@media screen and (max-width: 768px) {

    .variety-text-section,
    .variety-media-section {
        padding: 25px;
    }

    .variety-main-media-container {
        height: 300px;
        max-width: 100%;
    }

    .variety-media-speech-bubble h2 {
        font-size: 1rem;
    }

    .variety-play-button {
        width: 60px;
        height: 60px;
    }

    .variety-play-icon {
        font-size: 1.5rem;
    }

    .variety-media-slider {
        padding: 15px;
        gap: 10px;
    }

    .variety-thumbnail-item {
        flex: 0 0 120px;
        height: 90px;
    }

    .variety-slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-item {
        padding: 15px;
    }
}

@media screen and (max-width: 480px) {
    .variety-detail-content {
        gap: 30px;
    }

    .variety-text-section,
    .variety-media-section {
        padding: 20px;
    }

    .variety-main-media-container {
        height: 250px;
        border-width: 3px;
    }

    .variety-thumbnail-item {
        flex: 0 0 100px;
        height: 75px;
    }

    .variety-media-slider {
        padding: 10px;
        border-radius: 10px;
    }

    .variety-thumbnail-overlay span {
        font-size: 0.7rem;
    }
}

/* Desktop'ta geri butonu boyutunu büyüt */
.back-button img {
    max-width: 170px !important;
    height: auto !important;
}

/* Mobil tasarımda geri butonu boyutunu küçült ve yukarı taşı */
@media screen and (max-width: 768px) {
    .back-button img {
        max-width: 80px !important;
        height: auto !important;
    }

    .back-button {
        top: 1px !important;
        left: 10px !important;
    }
}

/* ============================================
   Image Quality Improvements
   ============================================ */

/* partiman ve Cover Flow görselleri için kalite artırıcı özellikler */
.partiman-image img,
.partiman-image video,
.cover-flow-item img {
    image-rendering: -webkit-optimize-contrast;
    /* Webkit tarayıcılar için kontrast optimizasyonu */
    image-rendering: high-quality;
    /* Modern tarayıcılar için yüksek kalite */
    transform: translateZ(0);
    /* Donanım hızlandırması */
    backface-visibility: hidden;
    /* Titremeyi önler */
    -webkit-font-smoothing: antialiased;
    /* Yazı tipi yumuşatma (etkisi olabilir) */
}

/* partiman animasyonu için performans ve kalite iyileştirmeleri */
.partiman-image-pivot {
    will-change: transform, opacity;
    /* Tarayıcıya değişiklik olacağını bildir */
    transform-style: preserve-3d;
    /* 3D dönüşümler için */
}

/* Video elementi için özel ayarlar */
#partiman-video-player {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    transform: translateZ(0);
}

/* ============================================
   References Section Styles
   ============================================ */
.references-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.section-header-center {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title-dark {
    color: #1f2937;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title-dark::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    border-radius: 2px;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* ============================================
   Lightbox Gallery Styles
   ============================================ */
/* ============================================
   Lightbox Gallery Styles
   ============================================ */
#lightbox-modal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2147483647;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    margin: 0;
    transform: translate(0, 0);
    /* Force GPU layer */
    opacity: 0;
    transition: opacity 0.3s ease;
}

#lightbox-modal.active {
    display: flex !important;
    opacity: 1;
}

.lightbox-content-wrapper {
    position: relative;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-media {
    max-width: 100%;
    max-height: 90vh;
    /* Leave some space */
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 1);
    display: block;
}

.lightbox-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 24px;
    transition: all 0.3s ease;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    backdrop-filter: blur(5px);
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-close {
    top: 20px;
    right: 30px;
    position: absolute;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Hide navigation on touch devices if desired, or keep generic */
@media (max-width: 768px) {
    .lightbox-btn {
        padding: 10px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
    }
}

/* Reference Grid Items */
.reference-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 200px;
    position: relative;
    cursor: pointer;
}

.reference-item:hover {
    transform: translateY(-5px);
}

.reference-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    /* Let the container handle clicks */
}

/* Performance Optimizations */
.cover-flow-item {
    will-change: transform, opacity;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.partiman-image-pivot {
    will-change: transform, opacity;
}

.reference-item {
    will-change: transform;
}

/* Footer Credits Styling */
.footer-separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-credit {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.footer-credit:hover {
    color: #ff6b6b;
    opacity: 1;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}
