@import url(navbar_and_body.css);
oter için stil */
.eliven-link {
    text-decoration: none;
}

.eliven {
    color: #ffd700;
    font-weight: bold;
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
    animation: glow 2s ease-in-out infinite;
}

.eliven:hover {
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

@keyframes glow {
    0%, 100% {
        color: #ffd700;
        text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    }
    50% {
        color: #fff;
        text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
    }
}

/* Parlayan başlık animasyonu */
@keyframes titleGlow {
    0%, 100% {
        color: #ffd700;
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    }
    50% {
        color: #fff5c0;
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.8),
                     0 0 30px rgba(255, 215, 0, 0.6),
                     0 0 40px rgba(255, 215, 0, 0.4);
    }
}

/* Ana container */
.sac-container {
    max-width: 2000px;
    margin: 100px auto 0;
    padding: 20px;
}

/* Sayfa başlığı */
.sayfa-baslik {
    text-align: center;
    color: #ffd700;
    font-size: 2.5rem;
    margin-bottom: 40px;
    animation: titleGlow 2s ease-in-out infinite;
}

/* Grid yapısı - masaüstü için */
.sac-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 sütunlu grid yapısı */
    gap: 20px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Saç model kartı */
.sac-kart {
    background: rgba(15, 23, 42, 0.7);
    border-radius: calc(15px * (100vw / var(--iphone14-width)));
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 215, 0, 0.1);
    height: calc(400px * (100vh / var(--iphone14-height)));
}

.sac-kart:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

/* Resim ve video container - ortak boyut */
.sac-resim, .video-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Resim ve video - ortak stil */
.sac-resim img, .video-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-transform: translateZ(0); /* iOS performans iyileştirmesi */
    transform: translateZ(0);
}

/* Hover efekti - ikisi için ortak */
.sac-resim:hover img, .video-container:hover img {
    transform: scale(1.05);
}

/* Bilgi alanı */
.sac-bilgi {
    padding: 20px;
    color: #fff;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.95));
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

.sac-bilgi h3 {
    color: #ffd700;
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    animation: titleGlow 2s ease-in-out infinite;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sac-bilgi h3::before {
    content: '✨';
    font-size: 0.9rem;
}

.sac-bilgi p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
    border-left: 2px solid rgba(255, 215, 0, 0.3);
}

.sac-kart:hover .sac-bilgi {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 1));
}

.sac-kart:hover .sac-bilgi p {
    border-left-color: rgba(255, 215, 0, 0.8);
    padding-left: 18px;
}

/* Mobil için düzenlemeler */
@media (max-width: 768px) {
    .sac-bilgi {
        padding: 15px;
    }

    .sac-bilgi h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .sac-bilgi p {
        font-size: 0.85rem;
        line-height: 1.5;
        padding-left: 12px;
    }
}

/* Lightbox modal stilleri */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    z-index: 1000;
}

.lightbox-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    margin: auto;
}

/* iOS için özel düzenleme */
@supports (-webkit-touch-callout: none) {
    .lightbox-image {
        width: 90%;
        height: 90vh;
        object-fit: contain;
    }
}

/* Kapatma butonu */
.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
}

/* Mobil cihazlar için özel düzenlemeler */
@media (max-width: 768px) {
    .lightbox-modal {
        padding: 10px;
    }

    .lightbox-content {
        width: 95%;
    }

    .lightbox-content img,
    .lightbox-content video {
        max-height: 80vh; /* Mobil için biraz daha küçük */
    }

    .lightbox-close {
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
        font-size: 24px;
    }

    .sac-grid-container {
        grid-template-columns: 1fr; /* Mobil için tek sütun */
        gap: 10px;
        padding: 10px;
    }

    .sac-resim, .video-container {
        height: 250px;
    }
}

/* Dikey ekranlar için özel düzenleme */
@media (orientation: portrait) {
    .lightbox-content img,
    .lightbox-content video {
        width: 100%;
        height: auto;
        max-height: 70vh;
    }
}

/* Yatay ekranlar için özel düzenleme */
@media (orientation: landscape) {
    .lightbox-content img,
    .lightbox-content video {
        width: auto;
        height: 90vh;
        max-width: 95vw;
    }
}

/* iOS ve Android için özel düzenlemeler */
@supports (-webkit-touch-callout: none) {
    .lightbox-content {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .lightbox-content img,
    .lightbox-content video {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Mobil cihazlar için dokunma alanı iyileştirmesi */
@media (max-width: 768px) {
    .lightbox-close {
        padding: 15px;
        touch-action: manipulation;
    }

    .video-container {
        touch-action: manipulation;
    }
}

/* Mobil uyumluluk */
@media (max-width: 20000px) {
    .sac-grid-container {
        grid-template-columns: repeat(4, 1fr); /* 4 sütunlu grid yapısı */
        gap: 20px;
    }

    .sac-resim, .video-container {
        height: 400px;
    }
}

/* Tablet için düzenleme */
@media (max-width: 1024px) {
    .sac-grid-container {
        grid-template-columns: repeat(2, 1fr); /* Tablet için 2 sütun */
    }
}

@media screen and (max-width: 375px) {
    .sac-grid-container {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 10px;
    }
    
    .sac-kart {
        min-height: 250px;
    }
    
    .sac-bilgi h3 {
        font-size: 1rem;
    }
    
    .sac-bilgi p {
        font-size: 0.8rem;
    }
}

/* Video container temel stilleri */
.video-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

/* Video thumbnail (kapak resmi) stilleri */
.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Play butonu stilleri */
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 2;
    border: 2px solid rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
}

.video-play-button i {
    color: #FFD700;
    font-size: 24px;
    margin-left: 4px;
}

.video-play-button:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
    border-color: rgba(255, 215, 0, 0.8);
}

/* Modal video stilleri */
.lightbox-content video {
    max-width: 100%;
    max-height: 90vh;
    display: block;
}

/* Mobil için özel düzenlemeler */
@media (max-width: 768px) {
    .video-container {
        height: 300px;
    }
    
    .video-thumbnail {
        height: 100%;
    }

    .video-play-button {
        width: 50px;
        height: 50px;
    }

    .video-play-button i {
        font-size: 20px;
    }
}

/* Her kartın başlığı için farklı gecikme ekleyelim */
.sac-kart:nth-child(1) h3 { animation-delay: 0s; }
.sac-kart:nth-child(2) h3 { animation-delay: 0.3s; }
.sac-kart:nth-child(3) h3 { animation-delay: 0.6s; }
.sac-kart:nth-child(4) h3 { animation-delay: 0.9s; }
.sac-kart:nth-child(5) h3 { animation-delay: 1.2s; }
.sac-kart:nth-child(6) h3 { animation-delay: 1.5s; }
.sac-kart:nth-child(7) h3 { animation-delay: 1.8s; }

/* Hover durumunda animasyonu hızlandır */
.sac-kart:hover h3 {
    animation-duration: 1s;
}

/* Mobil için animasyonu hafiflet */
@media (max-width: 768px) {
    @keyframes titleGlow {
        0%, 100% {
            color: #ffd700;
            text-shadow: 0 0 5px rgba(255, 215, 0, 0.2);
        }
        50% {
            color: #fff5c0;
            text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
        }
    }

    .video-container {
        height: 400px;
        background-size: cover;
        background-position: center;
    }
    
    .video-container img {
        height: 100%;
        object-fit: cover;
        -webkit-object-fit: cover;
    }
}

/* Pull-to-refresh stili */
.refresh-indicator {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: rgba(255, 215, 0, 0.9);
    color: #000;
    padding: 15px;
    border-radius: 50%;
    z-index: 9999;
    transition: all 0.3s ease;
    opacity: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.refresh-indicator i {
    font-size: 24px;
    display: block;
}

.refresh-indicator.loading i {
    animation: spin 1s linear infinite;
}

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

/* Mobil için ek düzenlemeler */
@media (max-width: 768px) {
    .refresh-indicator {
        padding: 12px;
    }
    
    .refresh-indicator i {
        font-size: 20px;
    }
}

/* Navbar stilleri */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1000;
}

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

/* Menu icon stilini güncelle */
.menu-icon {
    display: none;
    cursor: pointer;
    width: 25px;
    height: 16px;
    position: fixed;
    top: 10px;
    left: 20px;
    z-index: 1002;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #FFD700;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-icon span:first-child { top: 0; }
.menu-icon span:nth-child(2) { top: 7px; }
.menu-icon span:last-child { top: 14px; }

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #FFD700;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 10px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #FFD700;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-links a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links a:hover {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
}

.nav-links a.active {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 4px;
}

/* Mobil menü paneli */
.mobile-menu {
    position: fixed;
    top: 35px;
    left: 20px;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(8px);
    padding: 10px;
    border-radius: 8px;
    transition: 0.3s ease;
    opacity: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 180px;
    transform: translateX(-110%);
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.mobile-menu a {
    color: #FFD700;
    text-decoration: none;
    padding: 10px 15px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: 0.3s ease;
    border-radius: 4px;
}

.mobile-menu a:hover {
    background: rgba(255, 215, 0, 0.1);
    padding-left: 20px;
}

/* Mobil görünüm için */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu.active {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Video container için pointer cursor */
.video-container,
.sac-resim {
    cursor: pointer;
}

/* Modal içindeki video için özel stil */
.lightbox-content video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    background-color: #000;
}

/* Mobil için video boyutları */
@media (max-width: 768px) {
    .video-container {
        height: 400px;
    }
    
    .lightbox-content video {
        max-height: 70vh;
    }
}

@media (max-width: 500px) {
    .video-container {
        height: 500px;
    }
}

/* Resim ve video hover efektleri */
.sac-resim, .video-container {
    position: relative;
    overflow: hidden;
}

/* Sadece resimler için hover efekti uygula */
.sac-resim::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.2), transparent);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.sac-resim:hover::before {
    opacity: 1;
}

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

/* Video için hover efektini kaldır */
.video-container img {
    transition: none;
}

.video-container:hover img {
    transform: none;
}

.video-container::before {
    display: none;
}

/* Yükleme animasyonu */
.loading-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-top: 3px solid #ffd700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Retina ekranlar için */
@media 
(-webkit-min-device-pixel-ratio: 2), 
(min-resolution: 192dpi) {
    .video-container {
        -webkit-background-size: cover;
        background-size: cover;
    }
}

/* Lightbox trigger için stil */
.lightbox-trigger {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

/* Lightbox resmi için stil güncellemesi */
.lightbox-modal img.lightbox-image {
    max-width: 95%;
    max-height: 85vh;
    object-fit: contain;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    touch-action: none;
}

/* iOS için özel düzenleme */
@supports (-webkit-touch-callout: none) {
    .lightbox-modal img.lightbox-image {
        width: auto;
        height: auto;
        max-width: 95%;
        max-height: 85vh;
        -webkit-transform: translateZ(0);
    }
}

/* Video modal stilleri güncelleme */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Sadece video kontrollerini aktif et */
.video-modal video {
    pointer-events: auto;
}

/* Lightbox modal ve resim stilleri */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.lightbox-image {
    max-width: 95%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    transform: scale(1);
    -webkit-transform: scale(1);
}

/* iOS için özel düzenleme */
@supports (-webkit-touch-callout: none) {
    .lightbox-modal {
        -webkit-overflow-scrolling: touch;
    }
    
    .lightbox-image {
        width: auto !important;
        height: auto !important;
        max-width: 95% !important;
        max-height: 85vh !important;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

/* Android için özel düzenleme */
@supports not (-webkit-touch-callout: none) {
    .lightbox-image {
        width: auto;
        height: auto;
        max-width: 95%;
        max-height: 85vh;
        transform: scale(1);
    }
}

/* Mobil cihazlar için düzenleme */
@media (max-width: 768px) {
    .lightbox-modal {
        padding: 0;
    }
    
    .lightbox-image {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 90vh;
    }
}

/* Lightbox trigger için stil */
.lightbox-trigger {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

/* Yatay mod için özel düzenleme */
@media (orientation: landscape) {
    .lightbox-image {
        max-height: 90vh;
        max-width: 95vw;
        width: auto;
        height: auto;
    }
}

/* Lightbox Stili */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    cursor: pointer;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Mobil için lightbox düzenlemesi */
@media (max-width: 768px) {
    .lightbox img {
        max-width: 95%;
        max-height: 80vh;
    }
}

/* Büyütme butonu stili */
.image-zoom-button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.image-zoom-button i {
    color: #ffd700;
    font-size: 18px;
}

.image-zoom-button:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Resim container'ı için relative position */
.sac-resim {
    position: relative;
}

/* Lightbox modal stili */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.image-modal img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.image-modal .close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}