/*
Theme Name: COA - NK Tema
Theme URI: https://coarikan.goodaddysites.com/
Description: Çocuk doktorları için özel tasarlanmış, renkli ve eğlenceli WordPress teması
Author: Pediatric Theme Developer
Version: 3.6
Requires at least: 6.0
Tested up to: 6.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pediatric-theme
Last Update: 2025-01-03 (v3.6 - Orbital Popup Support)
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    line-height: 1.6;
    font-family: 'Fredoka', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FF6B9D 0%, #4ECDC4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.dancing-child {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    animation: dance 1s ease-in-out infinite;
}

.dancing-child svg {
    width: 100%;
    height: 100%;
}

@keyframes dance {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(0) rotate(-5deg);
    }
    75% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.preloader-text {
    font-size: 24px;
    color: white;
    font-weight: 700;
    margin-top: 20px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* ==========================================================================
   HEADER & MENÜ
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 999;
    background: #fff;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-title {
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
}

.site-title a {
    text-decoration: none;
}

.custom-logo-link {
    display: block;
    line-height: 0;
}

.custom-logo-link img {
    max-height: 80px;
    width: auto;
    height: auto;
}

/* ==========================================================================
   HAMBURGER MENÜ
   ========================================================================== */

.menu-toggle.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 45px;
    height: 45px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: currentColor;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.hamburger-menu:hover .hamburger-line {
    background: rgba(255, 255, 255, 0.8);
}

.menu-toggle.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-toggle.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.main-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: inherit;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    z-index: 1000;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    padding-top: 80px;
}

.main-navigation.toggled {
    right: 0;
}

.main-navigation ul,
.primary-menu {
    list-style: none;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.main-navigation li {
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-navigation a {
    display: block;
    padding: 15px 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    padding-left: 20px;
    opacity: 1;
    background: rgba(255, 0, 0, 0.1);
}

.main-navigation ul ul,
.main-navigation .sub-menu {
    position: static;
    box-shadow: none;
    padding: 0 0 0 20px;
    display: none;
    background: transparent;
    min-width: auto;
    border-radius: 0;
}

.main-navigation li:hover > ul,
.main-navigation li:hover > .sub-menu {
    display: flex;
    flex-direction: column;
}

.main-navigation ul ul a,
.main-navigation .sub-menu a {
    padding: 10px;
    font-size: 0.95em;
    white-space: normal;
}

.main-navigation.toggled::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

@media screen and (min-width: 769px) and (max-width: 1023px) {
    .main-navigation {
        width: 350px;
    }
}

@media screen and (max-width: 768px) {
    .main-navigation {
        width: 280px;
    }
    
    .site-header .container {
        justify-content: space-between;
    }
}

/* ==========================================================================
   SAYFA İÇERİĞİ - ANİMASYONLU YAZI
   ========================================================================== */

.site-main {
    min-height: 60vh;
    padding: 2rem 0;
}

.entry-header {
    margin-bottom: 2rem;
}

.entry-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.entry-content,
.page-content {
    line-height: 1.8;
}

.entry-content p,
.page-content p {
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.entry-content p:nth-child(1) { animation-delay: 0.1s; }
.entry-content p:nth-child(2) { animation-delay: 0.2s; }
.entry-content p:nth-child(3) { animation-delay: 0.3s; }
.entry-content p:nth-child(4) { animation-delay: 0.4s; }
.entry-content p:nth-child(5) { animation-delay: 0.5s; }
.entry-content p:nth-child(n+6) { animation-delay: 0.6s; }

.entry-content h2,
.entry-content h3,
.entry-content h4,
.page-content h2,
.page-content h3,
.page-content h4 {
    opacity: 0;
    animation: fadeInLeft 0.8s ease forwards;
    animation-delay: 0.2s;
    margin: 1.5rem 0 1rem;
}

.entry-content ul,
.entry-content ol,
.page-content ul,
.page-content ol {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.entry-content img,
.page-content img {
    max-width: 100%;
    height: auto;
}

.text-center {
    text-align: center;
}

/* ==========================================================================
   GALERİ - KONUM AYARLARI
   ========================================================================== */

.page-gallery {
    margin: 2rem 0;
    width: 100%;
    clear: both;
}

.page-gallery.gallery-above_title {
    margin-bottom: 2rem;
}

.page-gallery.gallery-below_title {
    margin: 2rem 0;
}

.page-gallery.gallery-below_content {
    margin-top: 2rem;
}

.page-gallery.gallery-content_left {
    float: left;
    width: 45%;
    margin: 0 2rem 2rem 0;
}

.page-gallery.gallery-content_right {
    float: right;
    width: 45%;
    margin: 0 0 2rem 2rem;
}

.entry-content.with-inline-gallery,
.page-content.with-inline-gallery {
    overflow: hidden;
}

.gallery-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f0f0f0;
}

/* ==========================================================================
   GALERİ - ANİMASYONLAR
   ========================================================================== */

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    z-index: 0;
    pointer-events: none;
}

.gallery-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.animation-fade .gallery-slide {
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
}

.animation-fade .gallery-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    pointer-events: auto;
}

.animation-slide .gallery-slide {
    left: 100%;
    opacity: 1;
    visibility: visible;
    transition: left 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.animation-slide .gallery-slide.active {
    left: 0;
    z-index: 1;
    pointer-events: auto;
}

.animation-zoom .gallery-slide {
    opacity: 1;
    visibility: visible;
    transform: scale(0.3);
    transition: transform 0.8s ease-in-out;
}

.animation-zoom .gallery-slide.active {
    transform: scale(1);
    z-index: 1;
    pointer-events: auto;
}

.animation-flip {
    perspective: 1500px;
}

.animation-flip .gallery-slide {
    opacity: 1;
    visibility: visible;
    transform: rotateY(90deg);
    backface-visibility: hidden;
    transition: transform 0.9s ease-in-out;
}

.animation-flip .gallery-slide.active {
    transform: rotateY(0deg);
    z-index: 1;
    pointer-events: auto;
}

.animation-rotate .gallery-slide {
    opacity: 1;
    visibility: visible;
    transform: rotate(180deg) scale(0.3);
    transition: transform 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.animation-rotate .gallery-slide.active {
    transform: rotate(0deg) scale(1);
    z-index: 1;
    pointer-events: auto;
}

.animation-bounce .gallery-slide {
    opacity: 1;
    visibility: visible;
    top: -150%;
    transition: top 0.9s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.animation-bounce .gallery-slide.active {
    top: 0;
    z-index: 1;
    pointer-events: auto;
}

.animation-kenburns .gallery-slide {
    transition: opacity 1.2s ease-in-out, visibility 1.2s;
}

.animation-kenburns .gallery-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    pointer-events: auto;
}

.animation-kenburns .gallery-slide.active img {
    animation: kenburnsZoom 10s ease-out forwards;
}

@keyframes kenburnsZoom {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.3) translate(-5%, -3%);
    }
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    border-radius: 4px;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: 10px;
}

.gallery-nav.next {
    right: 10px;
}

.gallery-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.gallery-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-indicator:hover,
.gallery-indicator.active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.3);
}

/* ==========================================================================
   RESİMLİ ÇERÇEVE ŞABLONU
   ========================================================================== */

.framed-content-wrapper {
    display: grid;
    grid-template-areas:
        "top-left top-center top-right"
        "mid-left content mid-right"
        "bottom-left bottom-center bottom-right";
    grid-template-columns: 200px 1fr 200px;
    grid-template-rows: auto 1fr auto;
    gap: 20px;
    min-height: 70vh;
    padding: 2rem 0;
}

.framed-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: fadeInScale 0.6s ease forwards;
}

.framed-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.framed-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.frame-top-left { 
    grid-area: top-left; 
    animation-delay: 0.1s; 
}

.frame-top-center { 
    grid-area: top-center; 
    animation-delay: 0.2s;
    justify-self: center;
    max-width: 300px;
}

.frame-top-right { 
    grid-area: top-right; 
    animation-delay: 0.3s; 
}

.frame-mid-left { 
    grid-area: mid-left; 
    animation-delay: 0.4s;
    position: relative;
    margin: auto;
}

.frame-mid-right { 
    grid-area: mid-right; 
    animation-delay: 0.5s;
    position: relative;
    margin: auto;
}

.frame-bottom-left { 
    grid-area: bottom-left; 
    animation-delay: 0.6s; 
}

.frame-bottom-center { 
    grid-area: bottom-center; 
    animation-delay: 0.7s;
    justify-self: center;
    max-width: 300px;
}

.frame-bottom-right { 
    grid-area: bottom-right; 
    animation-delay: 0.8s; 
}

.framed-content-area {
    grid-area: content;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

@media screen and (max-width: 1024px) {
    .framed-content-wrapper {
        grid-template-areas:
            "top-left top-right"
            "content content"
            "bottom-left bottom-right";
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto 1fr auto;
    }
    
    .frame-top-center,
    .frame-mid-left,
    .frame-mid-right,
    .frame-bottom-center {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .framed-content-wrapper {
        grid-template-areas:
            "top-left"
            "content"
            "bottom-right";
        grid-template-columns: 1fr;
    }
    
    .frame-top-right,
    .frame-bottom-left {
        display: none;
    }
}

/* ==========================================================================
   SAYFA ARKA PLAN İNFOGRAFİKLERİ
   ========================================================================== */

.page-bg-images {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.page-bg-image {
    position: absolute;
    width: 120px;
    height: 120px;
    opacity: 0.3;
    animation: floatRandom 4s ease-in-out infinite;
}

.page-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.page-bg-image.pos-top-left {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.page-bg-image.pos-top-right {
    top: 10%;
    right: 5%;
    animation-delay: 0.5s;
}

.page-bg-image.pos-bottom-left {
    bottom: 10%;
    left: 5%;
    animation-delay: 1s;
}

.page-bg-image.pos-bottom-right {
    bottom: 10%;
    right: 5%;
    animation-delay: 1.5s;
}

.container {
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
}

/* ==========================================================================
   ORBITAL SYSTEM
   ========================================================================== */

.orbital-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    position: relative;
}

.orbital-container {
    position: relative;
    width: 90vw;
    max-width: 1000px;
    height: 90vw;
    max-height: 1000px;
}

.center-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 10;
    transition: border-radius 0.3s ease;
}

.center-image.square {
    border-radius: 100px;
}

.center-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.orbital-bg-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.orbital-bg-image {
    position: absolute;
    width: 120px;
    height: 120px;
    opacity: 0.3;
    animation: floatRandom 4s ease-in-out infinite;
}

.orbital-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.orbital-bg-image.pos-top-left {
    top: 5%;
    left: 5%;
    animation-delay: 0s;
}

.orbital-bg-image.pos-top-right {
    top: 5%;
    right: 5%;
    animation-delay: 0.5s;
}

.orbital-bg-image.pos-bottom-left {
    bottom: 5%;
    left: 5%;
    animation-delay: 1s;
}

.orbital-bg-image.pos-bottom-right {
    bottom: 5%;
    right: 5%;
    animation-delay: 1.5s;
}

@keyframes floatRandom {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, -10px) rotate(5deg);
    }
    50% {
        transform: translate(-5px, 5px) rotate(-3deg);
    }
    75% {
        transform: translate(5px, 10px) rotate(3deg);
    }
}

.orbit-item {
    position: absolute;
    transform: translate(-50%, -50%);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 5;
}

.orbit-item:hover {
    transform: translate(-50%, -50%) scale(1.1);
    z-index: 100;
}

.orbit-icon {
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    background: #E8F5E9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ==========================================================================
   ORBITAL POPUP - YENİ
   ========================================================================== */

.orbital-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.orbital-popup-overlay.active {
    display: flex;
    opacity: 1;
}

.orbital-popup-container {
    position: relative;
    width: 90%;
    height: 85%;
    max-width: 1400px;
    max-height: 900px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    transform: scale(0.7) translateY(-50px) rotateX(20deg);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.orbital-popup-overlay.active .orbital-popup-container {
    transform: scale(1) translateY(0) rotateX(0deg);
    opacity: 1;
}

.orbital-popup-close {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b9d, #ff4757);
    border: 4px solid white;
    color: white;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.5);
}

.orbital-popup-close:hover {
    background: linear-gradient(135deg, #ff4757, #ff3838);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.7);
}

.orbital-popup-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
    display: none;
}

.orbital-popup-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: #2271b1;
    font-weight: 600;
    display: none;
}

.orbital-popup-overlay.loading .orbital-popup-loading {
    display: block;
}

.orbital-popup-overlay.loading .orbital-popup-loading::after {
    content: '';
    display: block;
    width: 50px;
    height: 50px;
    margin: 20px auto 0;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2271b1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.orbit-popup-link {
    cursor: pointer;
}

.orbit-popup-link .orbit-icon {
    transition: all 0.3s ease;
}

.orbit-popup-link:hover .orbit-icon {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.3);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media screen and (max-width: 768px) {
    .orbital-container {
        width: 95vw;
        height: 95vw;
    }
    
    .center-image {
        width: 120px;
        height: 120px;
    }
    
    .orbital-bg-image {
        width: 80px;
        height: 80px;
    }
    
    .entry-title {
        font-size: 1.8rem;
    }
    
    .orbital-popup-container {
        width: 95%;
        height: 90%;
        border-radius: 15px;
    }
    
    .orbital-popup-close {
        top: -15px;
        right: -15px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .orbital-popup-loading {
        font-size: 18px;
    }
    
    .gallery-slider {
        height: 300px !important;
    }
    
    .page-gallery.gallery-content_left,
    .page-gallery.gallery-content_right {
        float: none;
        width: 100%;
        margin: 2rem 0;
    }
    
    .gallery-nav {
        font-size: 1.5rem;
        padding: 0.5rem 1rem;
    }
}

@media screen and (max-width: 480px) {
    .orbital-popup-container {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
    
    .orbital-popup-close {
        top: 10px;
        right: 10px;
        border: 2px solid white;
    }
    
    .orbital-popup-iframe {
        border-radius: 0;
    }
}

/* ==========================================================================
   YARDIMCI SINIFLAR
   ========================================================================== */

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.no-content {
    text-align: center;
    padding: 3rem 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff; /* Arka plan ekleyin ki içerik görünmesin */
}

body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* ==========================================================================
   ORBITAL POPUP - KÜÇÜK BOYUT (style.css'teki eski popup bölümünü SİL, bunu EKLE)
   ========================================================================== */

.orbital-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.orbital-popup-overlay.active {
    display: flex;
    opacity: 1;
}

.orbital-popup-container {
    position: relative;
    width: 80%;
    height: 75%;
    max-width: 1100px;
    max-height: 700px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transform: scale(0.8) translateY(-30px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.orbital-popup-overlay.active .orbital-popup-container {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.orbital-popup-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b9d, #ff4757);
    border: 3px solid white;
    color: white;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.5);
}

.orbital-popup-close:hover {
    background: linear-gradient(135deg, #ff4757, #ff3838);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.7);
}

.orbital-popup-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
    display: none;
}

.orbital-popup-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: #2271b1;
    font-weight: 600;
    display: none;
    text-align: center;
}

.orbital-popup-overlay.loading .orbital-popup-loading {
    display: block;
}

.orbital-popup-overlay.loading .orbital-popup-loading::after {
    content: '';
    display: block;
    width: 45px;
    height: 45px;
    margin: 15px auto 0;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2271b1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.orbit-popup-link {
    cursor: pointer;
}

.orbit-popup-link .orbit-icon {
    transition: all 0.3s ease;
}

.orbit-popup-link:hover .orbit-icon {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.3);
}

/* ==========================================================================
   POPUP RESPONSIVE - KÜÇÜK BOYUT
   ========================================================================== */

@media screen and (max-width: 1200px) {
    .orbital-popup-container {
        width: 85%;
        height: 80%;
    }
}

@media screen and (max-width: 768px) {
    .orbital-popup-overlay {
        padding: 15px;
    }
    
    .orbital-popup-container {
        width: 90%;
        height: 85%;
        border-radius: 12px;
    }
    
    .orbital-popup-close {
        top: -12px;
        right: -12px;
        width: 38px;
        height: 38px;
        font-size: 22px;
        border: 2px solid white;
    }
    
    .orbital-popup-loading {
        font-size: 16px;
    }
    
    .orbital-popup-loading::after {
        width: 35px;
        height: 35px;
    }
}

@media screen and (max-width: 480px) {
    .orbital-popup-overlay {
        padding: 10px;
    }
    
    .orbital-popup-container {
        width: 95%;
        height: 90%;
        border-radius: 10px;
    }
    
    .orbital-popup-close {
        top: 5px;
        right: 5px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}
