/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.02rem 0;
    transition: all 0.3s ease;
    will-change: opacity, transform;
    transform: translateZ(0);
}

.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 41, 0.98);
    opacity: 0;
    transition: opacity 220ms ease;
    pointer-events: none;
}

.navbar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(79, 195, 247, 0.2);
    opacity: 0;
    transition: opacity 220ms ease;
    pointer-events: none;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar.scrolled::before { opacity: 1; }
.navbar.scrolled::after { opacity: 1; }

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem 0 2rem; /* bir tık sola al */
    position: relative;
    z-index: 1;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: auto;
    margin-left: 0;
    transform: none;
}

.insaat-logo {
    height: 85px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(79, 195, 247, 0.3));
    transition: all 0.3s ease;
}

.nav-logo a:hover .insaat-logo {
    filter: drop-shadow(0 0 15px rgba(79, 195, 247, 0.5));
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    margin-left: auto; /* menüyü sağa it */
    align-items: center;
    background: transparent;
}
@media (min-width: 769px) {
  .nav-menu { background: transparent !important; box-shadow: none !important; border: none !important; }
  .nav-menu .nav-link { background: transparent !important; padding: 0.25rem 0.5rem; border-radius: 0; }
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #4FC3F7;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4FC3F7;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active,
.nav-link[aria-current="page"] {
    color: #4FC3F7;
}

.nav-link.active::after,
.nav-link[aria-current="page"]::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Header */
.hero-header {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0a1929 0%, #1e3a5f 50%, #0a1929 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23333" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(79, 195, 247, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #4FC3F7;
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #4FC3F7;
}

.stat-label {
    font-size: 0.9rem;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a1929 0%, #1e3a5f 100%);
}

/* Şık banner */
.about-banner {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 auto 1.25rem auto;
    background: radial-gradient(80% 80% at 70% 20%, rgba(79,195,247,.25) 0%, rgba(79,195,247,0) 60%),
                linear-gradient(135deg, rgba(30,58,95,.85) 0%, rgba(10,25,41,.85) 100%),
                url('görseller/Nilden sadece yazı -Photoroom.png');
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(79,195,247,.25);
    box-shadow: 0 16px 40px rgba(0,0,0,.25);
}

.about-banner::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(10,25,41,0.6), rgba(10,25,41,0.2), rgba(10,25,41,0.6));
}

.about-banner .banner-text {
    position: relative; z-index: 1; height: 100%;
    display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
    padding: 1.25rem 1.25rem 1.25rem 1.5rem;
}

.about-banner h3 { color: #e6f4ff; margin: 0 0 .35rem; font-size: 1.35rem; letter-spacing: .02em; }
.about-banner p { color: #cfe9ff; margin: 0; opacity: .9; font-size: .95rem; }

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px; /* isteğe göre 4px */
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 0;
}

/* Daha sola kaydırma - büyük ekranlarda */
@media (min-width: 992px) {
  .about-section .container { padding-left: 1rem; padding-right: 2rem; }
  .about-content { margin-left: 0; max-width: 860px; }
}

.about-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    color: #4FC3F7;
    margin: 4px 0; /* 4px boşluk */
}
.about-text h3:first-child { margin-top: 0; }
.about-text p + h3 { margin-top: 4px; }
.about-text h3 + p { margin-top: 4px; }

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    color: #cccccc;
    line-height: 1.38;
    margin: 4px 0; /* 4px boşluk */
}

.about-text ul {
    list-style: none;
    padding: 0;
    margin: 4px 0; /* 4px boşluk */
}

.about-text li {
    color: #cccccc;
    padding: 4px 0; /* 4px madde aralığı */
    position: relative;
    padding-left: 1rem;
}
.about-text li::before { font-size: 0.9rem; }

.about-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4FC3F7;
    font-weight: bold;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(145deg, #1e3a5f, #0a1929);
    border: 2px solid rgba(79, 195, 247, 0.3);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #4FC3F7;
    font-size: 3rem;
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    border-color: #4FC3F7;
    transform: scale(1.05);
}

.image-placeholder p {
    margin-top: 1rem;
    font-size: 1rem;
    color: #cccccc;
}

/* Projects Section */
.projects-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a1929 0%, #1e3a5f 100%);
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid #4FC3F7;
    color: #4FC3F7;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #4FC3F7;
    border-color: #4FC3F7;
    color: #ffffff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Proje sayısı 3'ten fazla olduğunda grid düzenini değiştir */
.projects-grid.many-projects {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* İki proje için yan yana düzen */
.projects-grid.two-projects {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

/* Üç proje için 3 sütun düzen */
.projects-grid.three-projects {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Dört proje için 2x2 düzen */
.projects-grid.four-projects {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Beş proje için 2x3 düzen */
.projects-grid.five-projects {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.projects-grid.five-projects .project-card:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
}

/* Altı proje için 3x2 düzen */
.projects-grid.six-projects {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Skeleton: projeler yüklenirken gri placeholder kartlar */
.projects-grid.is-loading {
    min-height: 320px;
}
.skeleton-card {
    background: linear-gradient(145deg, rgba(30, 58, 95, 0.6), rgba(10, 25, 41, 0.8));
    border: 1px solid rgba(79, 195, 247, 0.15);
    border-radius: 15px;
    overflow: hidden;
    min-height: 280px;
}
.skeleton-card .skeleton-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(90deg, rgba(79, 195, 247, 0.08) 25%, rgba(79, 195, 247, 0.18) 50%, rgba(79, 195, 247, 0.08) 75%);
    background-size: 200% 100%;
    animation: skeleton-shine 1.2s ease-in-out infinite;
}
.skeleton-card .skeleton-body {
    padding: 1.25rem;
}
.skeleton-card .skeleton-line {
    height: 14px;
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(79, 195, 247, 0.1) 25%, rgba(79, 195, 247, 0.22) 50%, rgba(79, 195, 247, 0.1) 75%);
    background-size: 200% 100%;
    animation: skeleton-shine 1.2s ease-in-out infinite;
    margin-bottom: 0.75rem;
}
.skeleton-card .skeleton-line:first-child {
    width: 85%;
    height: 18px;
}
.skeleton-card .skeleton-line:nth-child(2) {
    width: 100%;
}
.skeleton-card .skeleton-line:nth-child(3) {
    width: 60%;
}
@keyframes skeleton-shine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Az proje olduğunda (2-3 proje) daha büyük kartlar */
.projects-grid.few-projects {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2.5rem;
}

/* Tek proje olduğunda tam genişlik */
.projects-grid.single-project {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 100%;
}

.projects-grid.single-project .project-card {
    max-width: 100%;
    margin: 0;
    display: flex;
    flex-direction: row;
    height: auto;
    min-height: 300px;
}

.projects-grid.single-project .project-image {
    width: 40%;
    height: auto;
    min-height: 300px;
    flex-shrink: 0;
}

.projects-grid.single-project .project-info {
    width: 60%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-card {
    background: linear-gradient(145deg, #1e3a5f, #0a1929);
    border: 1px solid rgba(79, 195, 247, 0.3);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: #4FC3F7;
    box-shadow: 0 20px 40px rgba(79, 195, 247, 0.2);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image .image-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: none;
    font-size: 2rem;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(79, 195, 247, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay span {
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.project-info p {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.project-details {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #888;
}

.project-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a1929 0%, #1e3a5f 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #4FC3F7;
    width: 40px;
    text-align: center;
}

.contact-item h4 {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #cccccc;
}

.contact-form {
    background: linear-gradient(145deg, #1e3a5f, #0a1929);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(79, 195, 247, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(10, 25, 41, 0.8);
    border: 1px solid rgba(79, 195, 247, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4FC3F7;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #4FC3F7;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #29B6F6;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e3a5f 0%, #0a1929 100%);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(79, 195, 247, 0.3);
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.footer-insaat-logo {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(79, 195, 247, 0.4));
    transition: all 0.3s ease;
}

.footer-logo:hover .footer-insaat-logo {
    filter: drop-shadow(0 0 20px rgba(79, 195, 247, 0.6));
    transform: scale(1.02);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    font-family: 'Montserrat', sans-serif;
    color: #4FC3F7;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    color: #cccccc;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #4FC3F7;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(79, 195, 247, 0.1);
    border: 1px solid rgba(79, 195, 247, 0.3);
    border-radius: 50%;
    color: #4FC3F7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(79, 195, 247, 0.2);
    border-color: #4FC3F7;
    color: #4FC3F7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 195, 247, 0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(79, 195, 247, 0.3);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.copyright-text {
    text-align: center;
}

.copyright-text p {
    font-size: 0.95rem;
    color: #cccccc;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin: 0;
}

.footer-actions {
    display: flex;
    justify-content: center;
}

.back-to-main {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: #4FC3F7;
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-to-main:hover {
    background: #29B6F6;
    transform: translateY(-2px);
}

/* Project Modal */
.project-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: linear-gradient(145deg, #1e3a5f, #0a1929);
    margin: 2% auto;
    padding: 0;
    border: 1px solid rgba(79, 195, 247, 0.3);
    border-radius: 15px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(79, 195, 247, 0.3);
}

.modal-header h2 {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    margin: 0;
    font-size: 2rem;
}

.modal-close {
    background: none;
    border: none;
    color: #4FC3F7;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(79, 195, 247, 0.1);
    color: #ffffff;
}

.modal-body {
    padding: 2rem;
}

/* ===== Görsel galerisi – modal ve liste ===== */
.gallery-section-title {
    font-family: 'Montserrat', sans-serif;
    color: #4FC3F7;
    font-size: 1.25rem;
    margin: 0 0 1.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gallery-section-title i {
    opacity: 0.9;
}

.project-gallery {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
    list-style: none;
    padding: 0;
    margin-top: 0;
}

/* 1 görsel: tam genişlik, oranlı */
.project-gallery--count-1 {
    grid-template-columns: 1fr;
}

.project-gallery--count-1 .gallery-item-inner {
    aspect-ratio: 16/9;
    max-height: 380px;
}

/* 2 görsel: yan yana */
.project-gallery--count-2 {
    grid-template-columns: repeat(2, 1fr);
}

.project-gallery--count-2 .gallery-item-inner {
    aspect-ratio: 4/3;
}

/* 3+ görsel: 3 sütun; altta tek kalan görsel satırı doldurur */
.project-gallery--count-3,
.project-gallery--count-4,
.project-gallery--count-5,
.project-gallery--count-6,
.project-gallery--count-7,
.project-gallery--count-8,
.project-gallery--count-9,
.project-gallery--count-10,
.project-gallery.multiple-images {
    grid-template-columns: repeat(3, 1fr);
}

.project-gallery--count-3 .gallery-item-inner,
.project-gallery--count-4 .gallery-item-inner,
.project-gallery--count-5 .gallery-item-inner,
.project-gallery--count-6 .gallery-item-inner,
.project-gallery--count-7 .gallery-item-inner,
.project-gallery--count-8 .gallery-item-inner,
.project-gallery--count-9 .gallery-item-inner,
.project-gallery--count-10 .gallery-item-inner {
    aspect-ratio: 4/3;
}

.project-gallery .gallery-item {
    border-radius: 12px;
    overflow: hidden;
    background: rgba(16, 22, 34, 0.6);
    border: 1px solid rgba(79, 195, 247, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.project-gallery .gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    border-color: rgba(79, 195, 247, 0.4);
}

.project-gallery .gallery-item-inner {
    position: relative;
    overflow: hidden;
    display: block;
}

.project-gallery .gallery-item-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.project-gallery .gallery-item:hover .gallery-item-inner img {
    transform: scale(1.04);
}

.project-gallery .gallery-caption {
    margin: 0;
    padding: 0.65rem 0.75rem;
    font-size: 0.875rem;
    color: #c8e6ff;
    background: rgba(10, 25, 41, 0.85);
    text-align: center;
    line-height: 1.4;
    opacity: 0.95;
}

.project-gallery .image-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(79, 195, 247, 0.5);
    font-size: 2rem;
}

.project-gallery .image-placeholder p {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    color: #8bb8d4;
}

.project-gallery--empty .gallery-item {
    border-style: dashed;
}

@media (max-width: 768px) {
    .project-gallery--count-2,
    .project-gallery--count-3,
    .project-gallery--count-4,
    .project-gallery--count-5,
    .project-gallery--count-6,
    .project-gallery--count-7,
    .project-gallery--count-8,
    .project-gallery--count-9,
    .project-gallery--count-10 {
        grid-template-columns: 1fr;
    }
    .project-gallery--count-1 .gallery-item-inner {
        max-height: 260px;
    }
}

/* WhatsApp CTA – Nilden tasarım (tüm cihazlarda aynı görünsün) */
.project-whatsapp-cta {
    margin: 1rem 0 1.5rem;
    display: block !important;
}
a.whatsapp-cta-btn,
.whatsapp-cta-btn {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 0.75rem 1.5rem !important;
    background: linear-gradient(145deg, #1e3a5f, #0a1929) !important;
    color: #4FC3F7 !important;
    text-decoration: none !important;
    border: 2px solid #4FC3F7 !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.95rem !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
    min-height: 44px;
    box-sizing: border-box;
}
a.whatsapp-cta-btn:hover,
.whatsapp-cta-btn:hover {
    background: #4FC3F7 !important;
    color: #ffffff !important;
    border-color: #4FC3F7 !important;
    box-shadow: 0 6px 20px rgba(79, 195, 247, 0.35) !important;
}
a.whatsapp-cta-btn i,
.whatsapp-cta-btn i {
    font-size: 1.2rem !important;
    color: #25D366 !important;
}
a.whatsapp-cta-btn:hover i,
.whatsapp-cta-btn:hover i {
    color: #ffffff !important;
}
@media (max-width: 768px) {
    .project-whatsapp-cta {
        display: block !important;
        width: 100% !important;
        margin: 1rem 0 1.5rem !important;
    }
    a.whatsapp-cta-btn,
    .whatsapp-cta-btn {
        display: flex !important;
        width: 100% !important;
        min-height: 48px !important;
        padding: 0.85rem 1.25rem !important;
        font-size: 1rem !important;
        -webkit-tap-highlight-color: rgba(79, 195, 247, 0.2);
    }
    a.whatsapp-cta-btn i,
    .whatsapp-cta-btn i {
        font-size: 1.35rem !important;
    }
}
@media (max-width: 480px) {
    a.whatsapp-cta-btn,
    .whatsapp-cta-btn {
        min-height: 48px !important;
        padding: 1rem 1.25rem !important;
        font-size: 0.95rem !important;
    }
}

.project-details-content h3 {
    font-family: 'Montserrat', sans-serif;
    color: #4FC3F7;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.project-details-content h3:first-child {
    margin-top: 0;
}

.project-details-content p {
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.project-details-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.project-details-content li {
    color: #cccccc;
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.project-details-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4FC3F7;
    font-weight: bold;
}

.technical-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(79, 195, 247, 0.1);
    border: 1px solid rgba(79, 195, 247, 0.3);
    border-radius: 8px;
}

.detail-label {
    color: #cccccc;
    font-weight: 500;
}

.detail-value {
    color: #4FC3F7;
    font-weight: 600;
}

/* Modal Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 0.2rem 0;
    }
    
    .nav-container {
        padding: 0 1rem;
        flex-wrap: wrap;
    }
    
    .nav-logo a {
        margin-left: 0;
        transform: none;
    }
    
    .insaat-logo {
        height: 50px;
        max-width: 180px;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 25, 41, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 2rem 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        gap: 1.5rem;
        border-top: 1px solid rgba(79, 195, 247, 0.2);
        margin-left: 0; /* mobilde reset */
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(79, 195, 247, 0.1);
        width: 100%;
        text-align: center;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-toggle {
        display: flex;
        margin-left: auto;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-header {
        height: 90vh;
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-filters {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .filter-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        min-width: 120px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .projects-grid.many-projects,
    .projects-grid.few-projects,
    .projects-grid.single-project,
    .projects-grid.two-projects,
    .projects-grid.three-projects,
    .projects-grid.four-projects,
    .projects-grid.five-projects,
    .projects-grid.six-projects {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card {
        margin-bottom: 1rem;
    }
    
    .project-image {
        height: 250px;
    }
    
    .project-info {
        padding: 1.5rem;
    }
    
    .project-info h3 {
        font-size: 1.3rem;
    }
    
    .project-info p {
        font-size: 0.9rem;
    }
    
    .projects-grid.single-project .project-card,
    .projects-grid.five-projects .project-card:nth-child(5) {
        max-width: 100%;
        margin: 0;
        display: block;
        flex-direction: column;
        min-height: auto;
    }
    
    .projects-grid.single-project .project-image {
        width: 100%;
        height: 250px;
        min-height: 250px;
    }
    
    .projects-grid.single-project .project-info {
        width: 100%;
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 1.25rem 0 0.75rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
        gap: 1rem 1.25rem;
        padding: 0 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-logo {
        justify-content: flex-start;
        margin-bottom: 0.4rem;
    }
    
    .footer-section h3,
    .footer-section h4 {
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
    }
    
    .footer-section p,
    .footer-section li {
        font-size: 0.875rem;
    }
    
    .footer-insaat-logo {
        height: 38px;
        max-width: 110px;
    }
    
    .social-links {
        justify-content: flex-start;
        gap: 0.5rem;
        margin-top: 0.35rem;
        flex-wrap: wrap;
    }
    
    .social-link {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        padding: 0.75rem 0.5rem;
        gap: 0.5rem;
    }
    
    .copyright-text p {
        font-size: 0.8rem;
    }
    
    .back-to-main {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .project-modal {
        padding: 0.5rem;
    }
    
    .modal-content {
        max-width: 98%;
        max-height: 96vh;
        margin: 1% auto;
        border-radius: 12px;
    }
    
    .modal-header {
        padding: 1.25rem 1.25rem 0.75rem;
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
        position: relative;
    }
    
    .modal-header h2 {
        font-size: 1.4rem;
        line-height: 1.3;
        word-wrap: break-word;
        padding-right: 3rem;
    }
    
    .modal-close {
        width: 32px;
        height: 32px;
        font-size: 1.4rem;
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
    
    .modal-body {
        padding: 1.25rem;
    }
    
    .project-gallery {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .project-gallery .gallery-item {
        height: 180px;
        border-radius: 8px;
    }
    
    .project-gallery .image-placeholder {
        height: 180px;
        font-size: 1.5rem;
    }
    
    .project-details-content h3 {
        font-size: 1.1rem;
        margin-top: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .project-details-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .technical-details {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .detail-item {
        padding: 0.75rem;
        border-radius: 8px;
    }
    
    .detail-label {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }
    
    .detail-value {
        font-size: 0.95rem;
    }
    
    .apartment-types-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .apartment-type-card {
        padding: 1.5rem;
    }
    
    .apartment-type-card h4 {
        font-size: 1.2rem;
    }
    
    .apartment-details {
        gap: 0.8rem;
    }
    
    .apartment-details span {
        font-size: 0.8rem;
    }

    /* Apartment Type Image Management Mobile */
    .apartment-type-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.3rem;
    }

    .apartment-type-image {
        height: 60px;
        cursor: pointer;
        transition: transform 0.3s ease;
    }
    
    .apartment-type-image:hover {
        transform: scale(1.05);
    }

    .apartment-type-images-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.8rem;
    }

    .gallery-image {
        height: 150px;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        top: 1rem;
        right: 1rem;
    }
    
    .lightbox-thumbnails {
        gap: 0.5rem;
        padding: 0.5rem;
    }
    
    .lightbox-thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .lightbox-caption {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.2rem 0;
    }
    
    .nav-container {
        padding: 0 0.8rem;
    }
    
    .insaat-logo {
        height: 45px;
        max-width: 150px;
    }
    
    .hero-header {
        height: 90vh;
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .container {
        padding: 0 0.8rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    .about-section,
    .projects-section,
    .contact-section {
        padding: 3rem 0;
    }
    
    .project-filters {
        gap: 0.8rem;
    }
    
    .filter-btn {
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
        min-width: 100px;
    }
    
    .projects-grid {
        gap: 1rem;
    }
    
    .project-card {
        margin-bottom: 0.5rem;
    }
    
    .project-image {
        height: 200px;
    }
    
    .project-info {
        padding: 1rem;
    }
    
    .project-info h3 {
        font-size: 1.1rem;
    }
    
    .project-info p {
        font-size: 0.8rem;
    }
    
    .project-details {
        gap: 0.8rem;
    }
    
    .project-details span {
        font-size: 0.7rem;
    }
    
    .projects-grid.single-project .project-image {
        height: 200px;
        min-height: 200px;
    }
    
    .projects-grid.single-project .project-info {
        padding: 1rem;
    }
    
    .contact-form {
        padding: 1.2rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.7rem;
        font-size: 0.8rem;
    }
    
    .submit-btn {
        padding: 0.7rem;
        font-size: 0.8rem;
    }
    
    .footer {
        padding: 1rem 0 0.6rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem 1rem;
        padding: 0 0.75rem;
        margin-bottom: 0.75rem;
        text-align: left;
    }
    
    .footer-insaat-logo {
        height: 34px;
        max-width: 95px;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 0.9rem;
        margin-bottom: 0.35rem;
    }
    
    .social-links {
        gap: 0.4rem;
        margin-top: 0.35rem;
        justify-content: flex-start;
    }
    
    .social-link {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }
    
    .footer-bottom {
        padding: 0.6rem 0.4rem;
        gap: 0.35rem;
    }
    
    .copyright-text p {
        font-size: 0.75rem;
    }
    
    .back-to-main {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .project-modal {
        padding: 0.25rem;
    }
    
    .modal-content {
        max-width: 99%;
        max-height: 98vh;
        margin: 0.5% auto;
        border-radius: 10px;
    }
    
    .modal-header {
        padding: 1rem 1rem 0.5rem;
        gap: 0.75rem;
    }
    
    .modal-header h2 {
        font-size: 1.2rem;
        line-height: 1.2;
        padding-right: 2.5rem;
    }
    
    .modal-close {
        width: 28px;
        height: 28px;
        font-size: 1.2rem;
        top: 0.75rem;
        right: 0.75rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .project-gallery {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .project-gallery .gallery-item {
        height: 140px;
        border-radius: 6px;
    }
    
    .project-gallery .image-placeholder {
        height: 140px;
        font-size: 1.2rem;
    }
    
    .project-details-content h3 {
        font-size: 1rem;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .project-details-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .technical-details {
        gap: 0.5rem;
    }
    
    .detail-item {
        padding: 0.5rem;
        border-radius: 6px;
    }
    
    .detail-label {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }
    
    .detail-value {
        font-size: 0.9rem;
    }
    
    .apartment-types-grid {
        gap: 1rem;
    }
    
    .apartment-type-card {
        padding: 1rem;
    }
    
    .apartment-type-card h4 {
        font-size: 1rem;
    }
    
    .apartment-details {
        gap: 0.6rem;
    }
    
    .apartment-details span {
        font-size: 0.7rem;
    }
    
    .lightbox-nav {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .lightbox-close {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
        top: 0.5rem;
        right: 0.5rem;
    }
    
    .lightbox-thumbnails {
        gap: 0.3rem;
        padding: 0.3rem;
    }
    
    .lightbox-thumbnail {
        width: 50px;
        height: 50px;
    }
    
    .lightbox-caption {
        font-size: 0.8rem;
        padding: 0.3rem;
    }
}

@media (max-width: 480px) {
    .lightbox-nav {
        padding: 8px 12px;
        font-size: 16px;
    }
    
    .lightbox-thumbnail {
        width: 50px;
        height: 40px;
    }
    
    .lightbox-caption {
        font-size: 12px;
    }
} 

/* Lightbox trigger styling */
.lightbox-trigger {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lightbox-trigger:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
} 



/* Lightbox Modal Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}

.lightbox-modal[style*="block"] {
    display: flex !important;
}

.lightbox-content {
    background: rgba(20, 35, 55, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(79, 195, 247, 0.35);
    border-radius: 16px;
    padding: 2rem;
    max-width: 95%;
    max-height: 95vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.lightbox-header h3 {
    color: #4FC3F7;
    margin: 0;
}

.lightbox-body img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    background: none;
    border: none;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #4FC3F7;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #4FC3F7;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* Zoom toolbar */
.lightbox-zoom-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem 0 0.75rem;
    position: relative;
    z-index: 10002;
}

.lightbox-zoom-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(79, 195, 247, 0.5);
    background: rgba(79, 195, 247, 0.15);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.lightbox-zoom-btn:hover {
    background: rgba(79, 195, 247, 0.35);
    color: #4FC3F7;
    transform: scale(1.08);
}

.lightbox-zoom-level {
    min-width: 4rem;
    text-align: center;
    color: #c8e6ff;
    font-size: 0.9rem;
    font-weight: 600;
}

.lightbox-image-container {
    position: relative;
    max-width: 92%;
    max-height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 0;
    overflow: auto;
}

.lightbox-image-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform-origin: center center;
    transition: transform 0.15s ease-out;
}

#lightboxImage {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    pointer-events: auto;
    user-select: none;
}

.lightbox-caption {
    color: #fff;
    text-align: center;
    margin-top: 15px;
    font-size: 16px;
    max-width: 80%;
    line-height: 1.5;
}

.lightbox-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    max-width: 90%;
    overflow-x: auto;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.lightbox-thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.lightbox-thumbnail:hover,
.lightbox-thumbnail.active {
    border-color: #4FC3F7;
    opacity: 1;
}

/* Gallery image click styles */
.project-gallery img {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Mobil: lightbox tam ekran, büyük ve kullanılabilir */
@media (max-width: 768px) {
    .lightbox-modal {
        padding: 0;
        align-items: stretch;
    }
    .lightbox-modal .lightbox-content {
        max-width: 100%;
        max-height: 100%;
        width: 100%;
        height: 100dvh;
        border-radius: 0;
        padding: 0.75rem;
        display: flex;
        flex-direction: column;
    }
    .lightbox-modal .lightbox-image-container {
        max-width: 100%;
        max-height: calc(100dvh - 140px);
        flex: 1;
        min-height: 200px;
    }
    .lightbox-modal #lightboxImage {
        max-height: calc(100dvh - 160px);
    }
    .lightbox-modal .lightbox-close {
        top: 0.5rem;
        right: 0.75rem;
        font-size: 2rem;
        padding: 0.5rem;
    }
    .lightbox-modal .lightbox-prev {
        left: 0.5rem;
        padding: 0.75rem 1rem;
        font-size: 1.25rem;
    }
    .lightbox-modal .lightbox-next {
        right: 0.5rem;
        padding: 0.75rem 1rem;
        font-size: 1.25rem;
    }
    .lightbox-modal .lightbox-zoom-toolbar {
        padding: 0.5rem;
        flex-shrink: 0;
    }
    .lightbox-modal .lightbox-thumbnails {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        flex-shrink: 0;
        max-width: 100%;
        padding: 0.5rem 0;
    }
    .lightbox-nav {
        padding: 10px 15px;
        font-size: 18px;
    }
    .lightbox-prev { left: 15px; }
    .lightbox-next { right: 15px; }
    .lightbox-close { top: 15px; right: 20px; font-size: 30px; }
    .lightbox-zoom-toolbar { padding: 0.4rem 0 0.5rem; gap: 0.5rem; }
    .lightbox-zoom-btn { width: 36px; height: 36px; font-size: 1rem; }
    .lightbox-zoom-level { font-size: 0.85rem; }
    .lightbox-thumbnails { bottom: 10px; gap: 5px; }
    .lightbox-thumbnail { width: 60px; height: 45px; }
    .lightbox-caption { font-size: 14px; margin-top: 10px; }
}

@media (max-width: 480px) {
    .lightbox-modal .lightbox-content {
        padding: 0.5rem;
    }
    .lightbox-modal .lightbox-close {
        top: 0.35rem;
        right: 0.5rem;
        font-size: 1.75rem;
    }
    .lightbox-modal .lightbox-prev { left: 0.35rem; }
    .lightbox-modal .lightbox-next { right: 0.35rem; }
    .lightbox-nav { padding: 8px 12px; font-size: 16px; }
    .lightbox-thumbnail { width: 50px; height: 40px; }
    .lightbox-caption { font-size: 12px; }
} 

/* Lightbox trigger styling */
.lightbox-trigger {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lightbox-trigger:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

 