/* ===== MOBILE FIRST CSS ===== */
/* ===== RESET & BASE STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Color Palette */
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --highlight-color: #e94560;
    --light-color: #f9f9f9;
    --dark-color: #0d0d1a;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding-mobile: 40px 20px;
    --section-padding-tablet: 60px 30px;
    --section-padding-desktop: 80px 30px;
    
    /* Effects */
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--light-color);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.loaded {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    text-align: center;
    color: var(--light-color);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--highlight-color);
    border-radius: 50%;
    margin: 0 auto 15px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== MOBILE HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(5px);
    z-index: 2000;
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.navbar-brand h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-color);
    letter-spacing: 1px;
}

.logo-subtitle {
    font-size: 0.6rem;
    color: var(--highlight-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: -3px;
}

/* Desktop navigation - Mobile'de gizli */
.nav-list,
.social-icons {
    display: none;
}

/* ===== MOBILE HAMBURGER MENU ===== */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 2000;
    position: relative;
    background: none;
    border: none;
    padding: 0;
}

.hamburger .bar {
    width: 100%;
    height: 3px;
    background: var(--light-color);
    border-radius: 2px;
    transition: var(--transition);
    position: absolute;
    left: 0;
}

.hamburger .bar.top {
    top: 0;
}

.hamburger .bar.middle {
    top: 9px;
}

.hamburger .bar.bottom {
    top: 18px;
}

.hamburger.open .bar.top {
    transform: rotate(45deg);
    top: 9px;
}

.hamburger.open .bar.middle {
    opacity: 0;
}

.hamburger.open .bar.bottom {
    transform: rotate(-45deg);
    top: 9px;
}

/* ===== MOBILE NAVIGATION MENU ===== */
.openNav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1900;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

.openNav.open {
    transform: translateX(0);
}

.openNav .nav-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 300px;
}

.nav-linkMobile {
    color: var(--light-color);
    font-size: 1.3rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-linkMobile:hover {
    background: rgba(233, 69, 96, 0.1);
    color: var(--highlight-color);
    transform: translateX(10px);
}

.nav-linkMobile i {
    font-size: 1.1rem;
    width: 25px;
    text-align: center;
}

.mobile-social {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.mobile-social .social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--light-color);
    transition: var(--transition);
}

.mobile-social .social-icon:hover {
    background: var(--highlight-color);
    transform: translateY(-3px);
}

/* ===== MOBILE HERO SECTION ===== */
.mainScreen {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1770&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--light-color);
    padding: var(--section-padding-mobile);
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(26, 26, 46, 0.8), rgba(15, 52, 96, 0.6));
}

.landingText {
    position: relative;
    z-index: 1;
    max-width: 100%;
    padding: 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards 0.3s;
}

.highlight {
    color: var(--highlight-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(233, 69, 96, 0.3);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards 0.6s;
}

.hero-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
    opacity: 0.9;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards 0.9s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--highlight-color);
    color: var(--light-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards 1.2s;
}

.cta-button:hover {
    background: #d43a55;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--light-color);
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--light-color);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 6px;
    background: var(--light-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

@keyframes scroll {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(15px); opacity: 0; }
}

/* ===== MOBILE SECTIONS ===== */
section {
    padding: var(--section-padding-mobile);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--highlight-color);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 100%;
    margin: 0 auto;
}

/* ===== MOBILE ABOUT SECTION ===== */
.aboutMe {
    background: var(--light-color);
}

.aboutAndPicture {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-text {
    font-size: 1rem;
    line-height: 1.7;
}

.about-text p {
    margin-bottom: 20px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 30px 0;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--highlight-color);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.specialties {
    margin-top: 30px;
}

.specialties h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.specialty-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: rgba(233, 69, 96, 0.1);
    color: var(--highlight-color);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(233, 69, 96, 0.2);
}

.about-image {
    position: relative;
    order: -1; /* Mobile'de resim üstte */
}

.image-frame {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.image-frame img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.image-frame:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: -15px;
    right: -10px;
    background: var(--highlight-color);
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.experience-badge span {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.experience-badge small {
    font-size: 0.7rem;
    opacity: 0.9;
}

/* ===== MOBILE PORTFOLIO SECTION ===== */
.portfolio {
    background: var(--secondary-color);
    color: var(--light-color);
}

.portfolio .section-header h1 {
    color: var(--light-color);
}

.portfolio .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.pictures {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 0 auto 40px;
    max-width: 400px;
}

.pictureTypes {
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.pictureTypes:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.pictureTypes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
}

.linkText {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.portfolio-count {
    font-size: 0.8rem;
    opacity: 0.8;
}

#link1 {
    background-image: url('https://images.unsplash.com/photo-1461896836934-ffe607ba8211?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80');
}

#link2 {
    background-image: url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80');
}

#link3 {
    background-image: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w-800&q=80');
}

#link4 {
    background-image: url('https://images.unsplash.com/photo-1501785888041-af3ef285b470?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80');
}

.portfolio-cta {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 400px;
    margin: 0 auto;
}

.portfolio-cta p {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--light-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.secondary-button:hover {
    background: var(--highlight-color);
    border-color: var(--highlight-color);
    transform: translateY(-3px);
}

/* ===== MOBILE CONTACT SECTION ===== */
.contact {
    background: var(--light-color);
}

.contactInfoAndForm {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.contact-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(233, 69, 96, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--highlight-color);
}

.contact-details {
    flex: 1;
}

.contact-details h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-details span {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.formOfContact {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.contact-input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    background: white;
    color: var(--text-color);
}

.contact-input:focus {
    outline: none;
    border-color: var(--highlight-color);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.contact-input::placeholder {
    color: var(--text-light);
    font-size: 0.9rem;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-input:focus + .input-icon {
    color: var(--highlight-color);
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--highlight-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    justify-content: center;
}

.button:hover {
    background: #d43a55;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* ===== MOBILE FOOTER ===== */
footer {
    background: var(--primary-color);
    color: var(--light-color);
    padding: 40px 20px 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-brand p {
    opacity: 0.8;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--highlight-color);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-links a {
    opacity: 0.8;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--highlight-color);
    padding-left: 5px;
}

.footer-newsletter h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-newsletter p {
    opacity: 0.8;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    background: transparent;
    color: white;
    font-size: 0.9rem;
}

.newsletter-form button {
    width: 45px;
    height: 45px;
    background: var(--highlight-color);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #d43a55;
    transform: rotate(15deg);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.8;
}

.footer-credits i {
    color: var(--highlight-color);
    margin: 0 3px;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--highlight-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #d43a55;
    transform: translateY(-5px) scale(1.1);
}

/* ===== GALLERY PAGE STYLES ===== */

/* Back to Portfolio Button */
.back-to-portfolio {
    padding: 20px;
    background: var(--light-color);
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(233, 69, 96, 0.1);
    transition: var(--transition);
}

.back-button:hover {
    background: rgba(233, 69, 96, 0.2);
    transform: translateX(-5px);
}

.back-button i {
    font-size: 0.9rem;
}

/* Gallery Header */
.gallery-section {
    padding: var(--section-padding-mobile);
    background: var(--light-color);
}

.gallery-header {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.gallery-subtitle {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1rem;
}

.gallery-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border-radius: 50px;
    box-shadow: var(--shadow);
}

.stat-item i {
    color: var(--highlight-color);
}

/* Gallery Filter */
.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid #eee;
    background: white;
    color: var(--text-color);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--highlight-color);
    color: white;
    border-color: var(--highlight-color);
}

/* Gallery Grid - Mobile First (1 column) */
.gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: white;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    transform: translateY(10px);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.gallery-overlay p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.view-btn {
    width: 40px;
    height: 40px;
    background: var(--highlight-color);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.view-btn:hover {
    background: #d43a55;
    transform: scale(1.1);
}

/* Load More Button */
.load-more-container {
    text-align: center;
    padding: 30px 0;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.load-more-btn:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    width: 100%;
    max-width: 1000px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: var(--highlight-color);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--highlight-color);
}

.lightbox-image-container {
    width: 100%;
    height: 70vh;
}

.lightbox-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f5f5f5;
}

.lightbox-info {
    padding: 20px;
    background: white;
}

.lightbox-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.lightbox-description {
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.6;
}

.lightbox-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.lightbox-meta i {
    margin-right: 5px;
    color: var(--highlight-color);
}

/* Active link in footer */
.footer-links a.active {
    color: var(--highlight-color);
    font-weight: 600;
}





/* ===== TABLET STYLES (min-width: 768px) ===== */
@media (min-width: 768px) {
    html {
        font-size: 15px;
    }
    
    header {
        height: 70px;
    }
    
    nav {
        padding: 0 25px;
    }
    
    .navbar-brand h2 {
        font-size: 2rem;
    }
    
    .logo-subtitle {
        font-size: 0.7rem;
    }
    
    /* Hero Section */
    .mainScreen {
        padding: var(--section-padding-tablet);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1.05rem;
    }
    
    .cta-button {
        padding: 14px 35px;
        font-size: 1rem;
    }
    
    /* Sections */
    section {
        padding: var(--section-padding-tablet);
    }
    
    .section-header h1 {
        font-size: 2.5rem;
    }
    
    .section-header h1::after {
        width: 70px;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    /* About Section */
    .aboutAndPicture {
        flex-direction: row;
        align-items: center;
        gap: 40px;
    }
    
    .about-image {
        order: 0; /* Tablet'de resim sağda */
        flex: 1;
    }
    
    .about-text {
        flex: 1;
    }
    
    .stats-container {
        gap: 20px;
        padding: 25px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* Portfolio Section */
    .pictures {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
        gap: 25px;
    }
    
    .pictureTypes {
        height: 300px;
    }
    
    /* Contact Section */
    .info {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Footer */
    .footer-content {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .footer-brand,
    .footer-links,
    .footer-newsletter {
        flex: 1;
        min-width: 200px;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }


    /* for gallery pages css codes */

     .gallery-section {
        padding: var(--section-padding-tablet);
    }
    
    .gallery-title {
        font-size: 2.5rem;
    }
    
    .gallery-subtitle {
        font-size: 1.1rem;
    }
    
    /* 2 column grid for tablet */
    .gallery-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .gallery-column {
        flex: 1;
        min-width: calc(50% - 10px);
    }
    
    .gallery-item img {
        height: 350px;
    }
    
    .lightbox-image-container {
        height: 75vh;
    }



}

/* ===== DESKTOP STYLES (min-width: 992px) ===== */
@media (min-width: 992px) {
    html {
        font-size: 16px;
    }
    
    /* Desktop Navigation */
    .hamburger,
    .openNav {
        display: none;
    }
    
    .nav-list,
    .social-icons {
        display: flex;
    }
    
    .nav-list {
        gap: 30px;
    }
    
    .nav-link {
        color: var(--light-color);
        font-weight: 500;
        padding: 8px 0;
        position: relative;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--highlight-color);
        transition: width 0.3s ease;
    }
    
    .nav-link:hover::after {
        width: 100%;
    }
    
    .nav-link:hover {
        color: var(--highlight-color);
    }
    
    .social-icons {
        gap: 15px;
    }
    
    .social-icon {
        color: var(--light-color);
        font-size: 1.1rem;
        transition: var(--transition);
    }
    
    .social-icon:hover {
        color: var(--highlight-color);
        transform: translateY(-3px);
    }
    
    /* Desktop Layout */
    .allBox {
        margin-left: 300px; /* Sidebar için boşluk */
    }
    
    header {
        width: 300px;
        height: 100vh;
        background: var(--primary-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
    }
    
    nav {
        flex-direction: column;
        justify-content: flex-start;
        gap: 60px;
        height: auto;
        padding: 0;
    }
    
    .logo-container {
        align-items: center;
    }
    
    .navbar-brand h2 {
        font-size: 2.5rem;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 25px;
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        padding: 15px 30px;
        justify-content: flex-start;
    }
    
    .social-icons {
        margin-top: auto;
    }
    
    /* Hero Section */
    .mainScreen {
        padding: var(--section-padding-desktop);
        background-attachment: fixed;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    /* Sections */
    section {
        padding: var(--section-padding-desktop);
    }
    
    .section-header h1 {
        font-size: 3rem;
    }
    
    /* About Section */
    .aboutAndPicture {
        max-width: 1200px;
        margin: 0 auto;
        gap: 60px;
    }
    
    .stats-container {
        gap: 30px;
        padding: 30px;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    /* Portfolio Section */
    .pictures {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1200px;
        gap: 30px;
    }
    
    .pictureTypes {
        height: 350px;
    }
    
    /* Contact Section */
    .contactInfoAndForm {
        flex-direction: row;
        max-width: 1200px;
        margin: 0 auto;
        gap: 60px;
    }
    
    .info {
        flex: 1;
    }
    
    .formOfContact {
        flex: 1;
        padding: 40px;
    }
    
    /* Footer */
    .footer-content {
        max-width: 1200px;
        margin: 0 auto 50px;
    }
    
    .back-to-top {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }


    /* for gallery pages css code */

     .gallery-section {
        padding: var(--section-padding-desktop);
    }
    
    .gallery-title {
        font-size: 3rem;
    }
    
    /* 3 column grid for desktop */
    .gallery-column {
        min-width: calc(33.333% - 14px);
    }
    
    .gallery-item img {
        height: 400px;
    }
    
    .lightbox-image-container {
        height: 80vh;
    }
    
    .lightbox-info {
        padding: 30px;
    }
    
    .lightbox-title {
        font-size: 1.8rem;
    }
}

/* ===== LARGE DESKTOP (min-width: 1200px) ===== */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .section-header h1 {
        font-size: 3.5rem;
    }
    
    .pictureTypes {
        height: 400px;
    }
    
    .linkText {
        font-size: 1.8rem;
    }

    /* for gallery pages css code */

     .gallery-item img {
        height: 450px;
    }
    
    .lightbox-content {
        max-width: 1200px;
    }
}