/*
Theme Name: Fotoğraf Tema
Description: Elegant ve minimal fotoğrafçılık teması Dancing Script fontu ile
Version: 1.2
Author: Your Name
Text Domain: fotograf-tema
Tags: photography, portfolio, responsive, dancing-script
Requires at least: 5.0
Tested up to: 6.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Reset ve temel stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Dancing Script", cursive !important;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Tüm metin elementleri için Dancing Script */
h1, h2, h3, h4, h5, h6, p, span, div, a, li, td, th, input, textarea, select, button {
    font-family: "Dancing Script", cursive !important;
}

/* Dancing Script Font Sınıfı */
.dancing-script {
    font-family: "Dancing Script", cursive !important;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

/* Test için direkt hero başlığına da uygula */
.hero-content h1 {
    font-family: "Dancing Script", cursive !important;
}

.dancing-script-light {
    font-family: "Dancing Script", cursive !important;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.dancing-script-bold {
    font-family: "Dancing Script", cursive !important;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}


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

/* Premium Clean Header Design */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    transform: none !important;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.site-branding .site-title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 600;
    position: relative;
}

.site-branding .site-title a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.25s ease;
    position: relative;
    display: inline-block;
    letter-spacing: -0.025em;
}

.site-branding .site-title a:hover {
    color: #1a202c;
}

.site-branding .custom-logo-link img {
    max-height: 45px;
    width: auto;
    transition: all 0.25s ease;
}

.site-branding .custom-logo-link:hover img {
    opacity: 0.8;
}

/* Hero Bölümü */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

/* Slideshow arka plan */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide:nth-child(1) {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1606216794074-735e91aa2c92?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2126&q=80');
}

.hero-slide:nth-child(2) {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1519741497674-611481863552?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
}

.hero-slide:nth-child(3) {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1465495976277-4387d4b0e4a6?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2074&q=80');
}

.hero-slide:nth-child(4) {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1583939003579-730e3918a45a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2080&q=80');
}

.hero-slide:nth-child(5) {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1516035069371-29a1b244cc32?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2064&q=80');
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1.5s ease-out;
    position: relative;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #ffffff;
    letter-spacing: 2px;
    animation: slideInLeft 1s ease-out 0.5s both;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #f8f9fa;
    font-weight: 300;
    animation: slideInRight 1s ease-out 0.8s both;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-services {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-out 1.2s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.service-item {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    color: #ffffff;
    text-decoration: none;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, rgba(255,255,255,0.2), rgba(240,240,240,0.3));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(255, 255, 255, 0.1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.cta-button:hover {
    background: linear-gradient(45deg, rgba(255,255,255,0.3), rgba(250,250,250,0.4));
    transform: translateY(-3px);
    box-shadow: 0 3px 8px rgba(255, 255, 255, 0.15);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.scroll-indicator::after {
    content: '↓';
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        padding: 15px 20px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.2rem;
    }
    
    .hero-services {
        gap: 1rem;
    }
    
    .service-item {
        font-size: 0.8rem;
        padding: 8px 16px;
        margin: 4px;
    }
}

/* ========================================================== */
/* HOMEPAGE YOUTUBE PORTFOLIO STYLES                        */
/* ========================================================== */

.portfolio-media {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.portfolio-youtube-preview {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.youtube-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .youtube-thumbnail-img {
    transform: scale(1.05);
}

.youtube-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(255, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-item:hover .youtube-play-overlay {
    opacity: 1;
}

.youtube-play-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.3);
}

.portfolio-item:hover .youtube-play-icon {
    background: rgb(255, 0, 0);
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(255, 0, 0, 0.4);
}

.youtube-video-title {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    padding: 0 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .youtube-play-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .youtube-video-title {
        font-size: 0.9rem;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .youtube-play-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .youtube-video-title {
        font-size: 0.8rem;
        padding: 0 10px;
    }
}