/* RESET VE TEMEL STİLLER */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #c9a961;
    --accent-color: #e74c3c;
    --text-color: #333;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
    overflow-x: hidden;
}

body.lightbox-open {
    overflow: hidden;
}

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

/* HEADER */
header {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.3rem;
    font-weight: bold;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary-color);
}

.logo-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c9a961 0%, #f4e4c1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 2px solid var(--secondary-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    border-radius: 5px;
}

nav ul li a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* HERO BÖLÜMÜ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
    padding: 2rem 0;
    overflow: hidden;
}

/* Hero arka plan resimleri */
.hero-backgrounds {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
}

.hero-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    opacity: 0 !important;
    visibility: hidden;
    transition: opacity 1.5s ease-in-out, visibility 1.5s ease-in-out;
    z-index: 1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6));
    z-index: 2;
}

.hero-bg.active {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.hero-content .subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
    font-size: 1.1rem;
}

.cta-button:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.5);
}

/* KATEGORİ FİLTRELERİ */
.filters {
    padding: 3rem 0;
    text-align: center;
    background: var(--white);
}

.filters h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 1rem;
}

.filter-btn {
    background: var(--bg-color);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 1rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* GALERİ */
.gallery {
    padding: 4rem 0;
    background: var(--bg-color);
}

.gallery h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transition: var(--transition);
    background: var(--white);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* FİLİGRAN */
.watermark {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(44, 62, 80, 0.7);
    color: var(--secondary-color);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    pointer-events: none;
    z-index: 2;
    backdrop-filter: blur(5px);
}

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: var(--white);
    padding: 3rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .item-overlay {
    transform: translateY(0);
}

.item-category {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.item-overlay h3 {
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

.zoom-hint {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    opacity: 0.9;
}

/* HAKKIMIZDA */
.about {
    padding: 4rem 0;
    background: var(--white);
}

.about h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

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

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

/* FOOTER */
footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

footer h3 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

footer p {
    margin: 0.8rem 0;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 2rem 0 1.5rem;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.copyright {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .filters h2,
    .gallery h2,
    .about h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .logo span {
        font-size: 1rem;
    }
    
    .logo img {
        width: 40px;
        height: 40px;
    }
    
    nav ul li a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* LIGHTBOX - TAM ORTADA DİALOG */
.lightbox {
    display: none;
    position: fixed !important;
    z-index: 99999 !important;
    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.95) !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

.lightbox.active {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    animation: fadeIn 0.3s;
}

.lightbox-content {
    position: relative !important;
    max-width: 80vw !important;
    max-height: 80vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 60px rgba(0,0,0,0.8) !important;
    animation: zoomIn 0.3s;
    margin: 0 !important;
    display: block !important;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 45px;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10001;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(44, 62, 80, 0.9);
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 20px rgba(201, 169, 97, 0.6);
}

.lightbox-caption {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.3rem;
    text-align: center;
    background: rgba(44, 62, 80, 0.95);
    padding: 18px 40px;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    max-width: 80%;
    border: 2px solid rgba(201, 169, 97, 0.3);
    box-shadow: 0 5px 30px rgba(0,0,0,0.5);
    z-index: 10000;
}

.lightbox-watermark {
    position: fixed;
    bottom: 110px;
    right: 30px;
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 0.9;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.9);
    pointer-events: none;
    letter-spacing: 2px;
    z-index: 10000;
    background: rgba(44, 62, 80, 0.6);
    padding: 10px 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

/* LIGHTBOX NAVİGASYON */
.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(44, 62, 80, 0.9);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    font-size: 35px;
    padding: 20px 25px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 12px;
    font-weight: bold;
    z-index: 10001;
    backdrop-filter: blur(10px);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 0 25px rgba(201, 169, 97, 0.6);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* LOADING ANİMASYONU */
.gallery-item {
    animation: fadeInUp 0.6s ease-out;
}

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

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

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* MOBİL RESPONSIVE - LIGHTBOX */
@media (max-width: 768px) {
    .lightbox {
        padding: 10px;
    }
    
    .lightbox-content {
        max-width: 95%;
        max-height: 80vh;
        border-radius: 10px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 30px;
        width: 50px;
        height: 50px;
    }
    
    .lightbox-caption {
        font-size: 0.95rem;
        padding: 12px 20px;
        bottom: 15px;
        max-width: 90%;
    }
    
    .lightbox-watermark {
        font-size: 0.85rem;
        bottom: 70px;
        right: 15px;
        padding: 6px 12px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        font-size: 25px;
        padding: 12px 15px;
        width: 50px;
        height: 50px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .watermark {
        font-size: 0.7rem;
        padding: 5px 10px;
        bottom: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .lightbox-content {
        max-width: 98%;
        max-height: 75vh;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
}
