/* --- Reset --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

body.custom-cursor { cursor: none; }

/* --- Özel Mouse İmleci --- */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    display: none;
}

body.custom-cursor .cursor-dot,
body.custom-cursor .cursor-outline {
    display: block;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(200, 169, 126, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* --- Genel Yapı --- */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section-padding { padding: 100px 0; }

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 50px;
    font-weight: 400;
    letter-spacing: 2px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base);
}

img {
    display: block;
    max-width: 100%;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(51, 51, 51, 0.6);
    transition: background var(--transition-base);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo img,
.footer-logo img {
    display: block;
    object-fit: contain;
    object-position: center;
}

.logo--header img {
    height: var(--logo-header-height);
    width: auto;
    max-height: var(--logo-header-height);
    max-width: var(--logo-header-max-width);
    aspect-ratio: 990 / 220;
}

.logo--footer img {
    height: var(--logo-footer-height);
    width: auto;
    max-height: var(--logo-footer-height);
    max-width: var(--logo-footer-max-width);
    aspect-ratio: 420 / 591;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.main-nav ul {
    display: flex;
    gap: 36px;
    list-style: none;
}

.main-nav a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-soft);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width var(--transition-base);
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--accent-color);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--accent-color);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.9)),
        url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=1920&q=80') center/cover;
    padding: calc(var(--header-height) + 40px) 10% 40px;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-soft);
    max-width: 500px;
}

.btn-primary {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    transition: all var(--transition-base);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

/* --- Hakkımızda --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-soft);
}

.about-image img {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: 0.5s;
}

.about-image img:hover {
    filter: grayscale(0%);
}

/* --- Referanslar Carousel --- */
.references-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 48px;
}

.references-intro {
    flex: 1;
}

.references-intro .section-title {
    margin-bottom: 16px;
}

.references-subtitle {
    color: var(--text-soft);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 560px;
}

.carousel-nav {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--accent-color);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: background var(--transition-base), border-color var(--transition-base), opacity var(--transition-base);
}

.carousel-btn:hover:not(:disabled) {
    background: rgba(200, 169, 126, 0.1);
    border-color: var(--accent-color);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.references-carousel-viewport {
    overflow: hidden;
}

.references-carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.reference-card {
    position: relative;
    flex: 0 0 calc((100% - 48px) / 3);
    padding: 36px 28px 32px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.reference-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.reference-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    height: 2px;
    background: var(--accent-color);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.reference-card:hover::before {
    opacity: 1;
}

.reference-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: rgba(200, 169, 126, 0.2);
    line-height: 1;
    margin-bottom: 16px;
}

.reference-tag {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid var(--border-color);
    color: var(--accent-color);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.reference-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 12px;
    line-height: 1.3;
}

.reference-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 36px;
}

.carousel-dot {
    width: 32px;
    height: 3px;
    padding: 0;
    border: none;
    background: var(--border-color);
    cursor: pointer;
    transition: background var(--transition-base), width var(--transition-base);
}

.carousel-dot.is-active {
    background: var(--accent-color);
    width: 48px;
}

@media (max-width: 1100px) {
    .reference-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }
}

@media (max-width: 768px) {
    .references-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .reference-card {
        flex: 0 0 100%;
    }
}

/* --- Galeri CTA (Anasayfa) --- */
.gallery-cta {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.gallery-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.gallery-cta-text .section-title {
    margin-bottom: 16px;
}

.gallery-cta-text p {
    color: var(--text-soft);
    max-width: 520px;
    font-size: 1.05rem;
}

.gallery-cta .btn-primary {
    margin-top: 0;
    flex-shrink: 0;
}

/* --- Galeri Sayfası --- */
.page-hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 40px;
}

.page-hero-desc {
    color: var(--text-soft);
    max-width: 640px;
    font-size: 1.1rem;
}

.gallery-page {
    padding-top: 0;
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-masonry-item {
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    overflow: hidden;
    transition: border-color var(--transition-base);
}

.gallery-masonry-item.is-hidden {
    display: none;
}

.gallery-masonry-item:hover {
    border-color: var(--accent-color);
}

.gallery-masonry-trigger {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    line-height: 0;
}

.gallery-masonry-item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    vertical-align: middle;
    opacity: 0;
    transition: transform 0.6s ease, filter 0.4s ease, opacity 0.5s ease;
    filter: brightness(0.85);
}

.gallery-masonry-item img.is-loaded {
    opacity: 1;
}

.gallery-masonry-item:hover img {
    transform: scale(1.03);
    filter: brightness(1);
}

.gallery-more {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.gallery-more .btn-primary {
    margin-top: 0;
    background: none;
    cursor: pointer;
    font-family: var(--font-body);
}

.gallery-more .btn-primary[hidden] {
    display: none;
}

.gallery-count {
    text-align: center;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 80px;
}

.lightbox[hidden] {
    display: none;
}

.lightbox-content {
    max-width: min(92vw, 1400px);
    max-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: 1px solid rgba(200, 169, 126, 0.4);
    color: var(--accent-color);
    cursor: pointer;
    transition: background var(--transition-base), border-color var(--transition-base);
    z-index: 1;
}

.lightbox-close {
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
    line-height: 1;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    font-size: 1.8rem;
    line-height: 1;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(200, 169, 126, 0.15);
    border-color: var(--accent-color);
}

/* --- Ekip --- */
.team-intro {
    max-width: 680px;
    margin-top: -30px;
    margin-bottom: 50px;
    color: var(--text-soft);
    font-size: 1.05rem;
    line-height: 1.7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.team-card {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.team-img {
    overflow: hidden;
    margin-bottom: 20px;
    background: var(--bg-secondary);
}

.team-img img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.6s ease;
}

.team-card:hover .team-img img {
    filter: grayscale(0%);
    transform: scale(1.03);
}

.team-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.team-info h4 {
    color: var(--accent-color);
    font-weight: 300;
    margin-bottom: 15px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.4;
    min-height: 2.2em;
}

.team-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* --- Çözüm Ortakları --- */
.partners-desc {
    margin-bottom: 48px;
    max-width: 700px;
    color: var(--text-soft);
}

.partners-wall {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border-color);
}

.partner-cell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    padding: 32px 24px;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-base);
}

.partner-cell:nth-child(4n) {
    border-right: none;
}

.partner-cell:nth-last-child(-n+4) {
    border-bottom: none;
}

.partner-cell span {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: var(--text-muted);
    letter-spacing: 1px;
    text-align: center;
    transition: color var(--transition-base);
}

.partner-cell:hover {
    background: rgba(200, 169, 126, 0.04);
}

.partner-cell:hover span {
    color: var(--accent-color);
}

@media (max-width: 992px) {
    .partners-wall {
        grid-template-columns: repeat(2, 1fr);
    }

    .partner-cell:nth-child(4n) {
        border-right: 1px solid var(--border-color);
    }

    .partner-cell:nth-child(2n) {
        border-right: none;
    }

    .partner-cell:nth-last-child(-n+4) {
        border-bottom: 1px solid var(--border-color);
    }

    .partner-cell:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

@media (max-width: 540px) {
    .partners-wall {
        grid-template-columns: 1fr;
    }

    .partner-cell {
        border-right: none;
    }

    .partner-cell:not(:last-child) {
        border-bottom: 1px solid var(--border-color);
    }

    .partner-cell:last-child {
        border-bottom: none;
    }
}

/* --- Footer --- */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-cta {
    border-bottom: 1px solid var(--border-color);
    padding: 48px 0;
    background: linear-gradient(135deg, rgba(200, 169, 126, 0.06) 0%, transparent 60%);
}

.footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-cta-label {
    color: var(--accent-color);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.footer-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: var(--text-color);
    max-width: 520px;
    line-height: 1.4;
}

.footer-cta .btn-primary {
    margin-top: 0;
    flex-shrink: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 48px;
    padding: 72px 0 60px;
}

.footer-brand p {
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 20px;
    margin-top: 24px;
}

.footer-social a {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-social a:hover {
    color: var(--accent-color);
}

.footer-links h3,
.footer-services h3,
.footer-contact h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
    font-weight: 400;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links li,
.footer-services li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-services li {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-left: 14px;
    position: relative;
}

.footer-services li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
}

.footer-contact address {
    font-style: normal;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.footer-contact p {
    margin-bottom: 6px;
}

.footer-contact a {
    color: var(--text-soft);
    font-size: 0.9rem;
}

.footer-contact a:hover {
    color: var(--accent-color);
}

.footer-hours {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.footer-hours h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-weight: 400;
}

.footer-hours p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom-note {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-credit {
    font-size: 0.72rem;
    color: #5a5a5a;
    letter-spacing: 0.5px;
}

.footer-credit a {
    color: #6f6f6f;
    transition: color var(--transition-base);
}

.footer-credit a:hover {
    color: var(--accent-color);
}

/* --- İletişim Sayfası --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-block {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.contact-block h2 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.contact-block address,
.contact-block p {
    font-style: normal;
    color: var(--text-soft);
    font-size: 1rem;
    line-height: 1.8;
}

.contact-block a {
    color: var(--text-soft);
}

.contact-block a:hover {
    color: var(--accent-color);
}

.contact-social {
    display: flex;
    gap: 24px;
}

.contact-social a {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-social a:hover {
    color: var(--accent-color);
}

.contact-services {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 44px 40px;
}

.contact-services h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 16px;
}

.contact-services-intro {
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-services-list {
    list-style: none;
    margin-bottom: 36px;
}

.contact-services-list li {
    position: relative;
    padding: 0 0 24px 28px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.contact-services-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-services-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    transform: rotate(45deg);
}

.contact-services-list h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--text-color);
}

.contact-services-list p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.contact-services .btn-primary {
    margin-top: 0;
}

.contact-map {
    margin-top: 60px;
}

.contact-map iframe {
    display: block;
    border: 1px solid var(--border-color);
    filter: grayscale(60%) contrast(1.05);
    transition: filter var(--transition-base);
}

.contact-map iframe:hover {
    filter: grayscale(0%);
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 88px;
        --logo-header-height: 58px;
        --logo-header-max-width: 260px;
        --logo-footer-height: 180px;
        --logo-footer-max-width: 140px;
    }

    .section-padding {
        padding: 70px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.97);
        border-bottom: 1px solid var(--border-color);
        padding: 24px 0;
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s;
    }

    .main-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .team-info h4 {
        min-height: 0;
    }

    .team-intro {
        margin-top: -10px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
    }

    .lightbox {
        padding: 60px 20px;
    }

    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}

@media (max-width: 540px) {
    .gallery-masonry {
        grid-template-columns: 1fr;
    }

    .gallery-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
