/*
Theme Name: Örnek Mimari Yapılar
Theme URI: https://www.ornekmimariyapilar.com/
Author: Bekir Yılmazörnek
Description: Örnek Mimari Yapılar Tasarım ve İmalat Ofisi için özel tasarlanmış premium ve modern WordPress teması.
Version: 1.0.0
Text Domain: ornekmimari
*/

/* ==========================================================================
   1. GLOBAL VARIABLES & DESIGN SYSTEM
   ========================================================================== */
:root {
    /* Color Palette */
    --color-gold: #C5A880;       /* Antique Gold / Bronze Accent */
    --color-gold-hover: #E5C8A0;
    --color-dark: #121212;       /* Deep Charcoal for backgrounds */
    --color-dark-surface: #1A1A1A; /* Surface color for cards/menus */
    --color-light: #F9F9F7;      /* Ivory White for body backgrounds */
    --color-light-surface: #FFFFFF;
    --color-border-dark: rgba(197, 168, 128, 0.15);
    --color-border-light: rgba(0, 0, 0, 0.08);
    
    /* Text Colors */
    --text-dark-primary: #1A1A1A;
    --text-dark-secondary: #5A5A5A;
    --text-light-primary: #F5F5F5;
    --text-light-secondary: #B0B0B0;
    
    /* Fonts */
    --font-headings: 'EB Garamond', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --box-shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.05);
    --box-shadow-hover: 0 20px 40px rgba(197, 168, 128, 0.1);
}

/* ==========================================================================
   2. CSS RESET & BASICS
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-dark-primary);
    background-color: var(--color-light);
    overflow-x: hidden;
    position: relative;
    width: 100%;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#page, .site {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body.dark-mode {
    color: var(--text-light-primary);
    background-color: var(--color-dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 500;
    line-height: 1.2;
    color: inherit;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.85rem; }
h4 { font-size: 1.4rem; }

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-gold-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ==========================================================================
   3. STRUCTURAL LAYOUT
   ========================================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title h2 {
    display: inline-block;
    padding-bottom: 1rem;
    font-size: 2.75rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

.section:hover .section-title h2::after {
    width: 100px;
}

.section-subtitle {
    font-family: var(--font-headings);
    font-size: 1.25rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    border: 1px solid var(--color-gold);
    background: transparent;
    color: var(--color-gold);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn:hover {
    background-color: var(--color-gold);
    color: var(--color-dark) !important;
}

.btn-filled {
    background-color: var(--color-gold);
    color: var(--color-dark);
}

.btn-filled:hover {
    background-color: transparent;
    color: var(--color-gold) !important;
}

/* ==========================================================================
   4. HEADER & NAV STYLING
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(249, 249, 247, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border-light);
    transition: var(--transition-smooth);
}

body.dark-mode .site-header {
    background-color: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: var(--transition-smooth);
}

/* Branding Logo */
.site-branding a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-branding img,
.site-logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition-smooth);
}

body.dark-mode .site-branding img,
body.dark-mode .site-logo-img {
    filter: brightness(0) invert(1);
}

.site-title-logo {
    font-family: var(--font-headings);
    font-size: 1.8rem;
    background-color: var(--color-gold);
    color: var(--color-dark);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.site-title-text {
    font-family: var(--font-headings);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-dark-primary);
}

body.dark-mode .site-title-text {
    color: var(--text-light-primary);
}

/* Nav Menu */
.main-navigation {
    display: flex;
    align-items: center;
}

.menu-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

#primary-menu {
    display: flex;
    gap: 2rem;
}

.nav-link,
#primary-menu a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark-secondary) !important;
    position: relative;
    padding: 0.5rem 0;
}

body.dark-mode .nav-link,
body.dark-mode #primary-menu a {
    color: var(--text-light-secondary) !important;
}

.nav-link::after,
#primary-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
#primary-menu a:hover::after,
.current-menu-item > a::after {
    width: 100%;
}

.nav-link:hover,
#primary-menu a:hover,
.current-menu-item > a {
    color: var(--color-gold) !important;
}

/* Theme Switcher Button */
.theme-toggle-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-gold);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    border-radius: 50%;
}

.theme-toggle-btn:hover {
    background-color: rgba(197, 168, 128, 0.1);
}

.theme-toggle-btn .sun-icon { display: none; width: 20px; height: 20px; }
.theme-toggle-btn .moon-icon { display: block; width: 20px; height: 20px; }

body.dark-mode .theme-toggle-btn .sun-icon { display: block; }
body.dark-mode .theme-toggle-btn .moon-icon { display: none; }

/* Hamburger Menu Toggle (Mobile) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 24px;
    justify-content: space-between;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   5. HOME PAGE HERO BANNER
   ========================================================================== */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--color-dark);
    color: var(--text-light-primary);
    overflow: hidden;
    padding-top: 90px;
}

/* Base abstract geometric SVG or gradient overlay for background */
.hero-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(18,18,18,1) 0%, rgba(30,30,30,1) 100%);
    z-index: 1;
}

.hero-background-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-size: 40px 40px;
    background-image: linear-gradient(to right, grey 1px, transparent 1px),
                      linear-gradient(to bottom, grey 1px, transparent 1px);
    z-index: 2;
}

.hero-glow-effect {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(197, 168, 128, 0.08) 0%, transparent 70%);
    top: 20%;
    right: 10%;
    z-index: 3;
    filter: blur(50px);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 850px;
}

.hero-motto {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    color: var(--color-gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) 0.2s forwards;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) 0.4s forwards;
}

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

/* ==========================================================================
   6. HOMEPAGE SECTIONS
   ========================================================================== */
/* About/Philosopy Summary */
.about-summary {
    background-color: var(--color-light-surface);
    border-bottom: 1px solid var(--color-border-light);
}

body.dark-mode .about-summary {
    background-color: var(--color-dark-surface);
    border-bottom: 1px solid var(--color-border-dark);
}

.about-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about-summary-text h3 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: var(--color-gold);
}

.about-summary-text p {
    font-size: 1.05rem;
    color: var(--text-dark-secondary);
    margin-bottom: 2rem;
}

body.dark-mode .about-summary-text p {
    color: var(--text-light-secondary);
}

/* Visual Abstract Frame instead of AI Images */
.about-graphic-frame {
    height: 380px;
    border: 1px solid var(--color-gold);
    padding: 1.5rem;
    position: relative;
}

.about-graphic-inner {
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-border-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(197, 168, 128, 0.03);
    text-align: center;
    position: relative;
    overflow: hidden;
}

body.dark-mode .about-graphic-inner {
    border: 1px solid var(--color-border-dark);
}

.about-graphic-year {
    font-family: var(--font-headings);
    font-size: 5rem;
    font-weight: bold;
    color: var(--color-gold);
    line-height: 1;
}

.about-graphic-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 1rem;
    color: var(--text-dark-secondary);
}

body.dark-mode .about-graphic-label {
    color: var(--text-light-secondary);
}

/* Services / Category Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--color-light-surface);
    border: 1px solid var(--color-border-light);
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

body.dark-mode .service-card {
    background-color: var(--color-dark-surface);
    border: 1px solid var(--color-border-dark);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: var(--box-shadow-hover);
}

.service-icon {
    font-family: var(--font-headings);
    font-size: 2.25rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-dark-secondary);
    margin-bottom: 0;
}

body.dark-mode .service-card p {
    color: var(--text-light-secondary);
}

/* Featured Projects Slider */
.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 100%;
}

.slide-item {
    min-width: 33.333%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.project-card {
    background-color: var(--color-light-surface);
    border: 1px solid var(--color-border-light);
    overflow: hidden;
    height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

body.dark-mode .project-card {
    background-color: var(--color-dark-surface);
    border: 1px solid var(--color-border-dark);
}

.project-card:hover {
    border-color: var(--color-gold);
    box-shadow: var(--box-shadow-hover);
}

.project-image-placeholder {
    height: 250px;
    background-color: rgba(197, 168, 128, 0.05);
    border-bottom: 1px solid var(--color-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

body.dark-mode .project-image-placeholder {
    border-bottom: 1px solid var(--color-border-dark);
}

.project-image-placeholder::before {
    content: '[';
    font-family: var(--font-headings);
    font-size: 2rem;
    color: var(--color-gold);
    margin-right: 0.5rem;
}

.project-image-placeholder::after {
    content: ']';
    font-family: var(--font-headings);
    font-size: 2rem;
    color: var(--color-gold);
    margin-left: 0.5rem;
}

.project-info {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-category {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: block;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.project-location {
    font-size: 0.85rem;
    color: var(--text-dark-secondary);
}

body.dark-mode .project-location {
    color: var(--text-light-secondary);
}

/* Slider navigation arrows */
.slider-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.slider-arrow {
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-arrow:hover {
    background-color: var(--color-gold);
    color: var(--color-dark);
}

/* Blog Summary list */
.blog-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background-color: var(--color-light-surface);
    border: 1px solid var(--color-border-light);
    padding: 2.5rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

body.dark-mode .blog-card {
    background-color: var(--color-dark-surface);
    border: 1px solid var(--color-border-dark);
}

.blog-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-5px);
}

.blog-date {
    font-size: 0.8rem;
    color: var(--color-gold);
    margin-bottom: 0.75rem;
    display: block;
}

.blog-card h3 {
    font-size: 1.45rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-excerpt {
    font-size: 0.9rem;
    color: var(--text-dark-secondary);
    margin-bottom: 1.5rem;
}

body.dark-mode .blog-excerpt {
    color: var(--text-light-secondary);
}

.read-more-link {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more-link::after {
    content: '→';
    transition: var(--transition-smooth);
}

.read-more-link:hover::after {
    transform: translateX(5px);
}

/* ==========================================================================
   7. FOOTER STYLING
   ========================================================================== */
.site-footer {
    background-color: #F0F0EE;
    border-top: 1px solid var(--color-border-light);
    padding-top: 5rem;
}

body.dark-mode .site-footer {
    background-color: #0B0B0B;
    border-top: 1px solid var(--color-border-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.footer-column h3 {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-desc {
    color: var(--text-dark-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

body.dark-mode .footer-desc {
    color: var(--text-light-secondary);
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headings);
    font-size: 1.1rem;
    font-weight: bold;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background-color: var(--color-gold);
    color: var(--color-dark);
}

.contact-list li {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-dark-secondary);
}

body.dark-mode .contact-list li {
    color: var(--text-light-secondary);
}

.contact-list a {
    color: inherit;
}

.contact-list a:hover {
    color: var(--color-gold);
}

.contact-label {
    font-weight: 600;
    color: var(--color-gold);
    display: block;
    margin-bottom: 0.2rem;
}

.hours-list li {
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--text-dark-secondary);
}

body.dark-mode .hours-list li {
    color: var(--text-light-secondary);
}

.hours-list .day {
    font-weight: 500;
}

.hours-list .time {
    color: var(--color-gold);
}

/* Footer Bottom Area */
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
}

body.dark-mode .footer-bottom {
    background-color: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(197, 168, 128, 0.05);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-dark-secondary);
    margin-bottom: 0;
}

body.dark-mode .copyright {
    color: var(--text-light-secondary);
}

.designer {
    font-family: var(--font-headings);
    font-size: 1rem;
    color: var(--color-gold);
    margin-bottom: 0;
}

/* ==========================================================================
   7.5. EDITORIAL, ARTICLES & ARCHIVES STYLING (single.php, page.php, home.php, archive.php)
   ========================================================================== */
.page-entry-header {
    background-color: #0b0b0b;
    color: #ffffff;
    padding: 40px 0 15px;
    position: relative;
    overflow: hidden;
    text-align: center;
    border-bottom: 1px solid var(--color-border-dark);
}

body:not(.dark-mode) .page-entry-header {
    background-color: #F0F0EE;
    color: var(--text-dark-primary);
    border-bottom: 1px solid var(--color-border-light);
}

.page-header-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(197, 168, 128, 0.06) 0%, transparent 70%);
    z-index: 1;
    filter: blur(40px);
}

.page-header-content {
    position: relative;
    z-index: 5;
}

.page-subtitle-category {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    display: block;
}

.page-entry-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

body:not(.dark-mode) .page-entry-title {
    color: var(--text-dark-primary);
}

.page-header-meta {
    font-size: 0.95rem;
    color: var(--text-light-secondary);
}

body:not(.dark-mode) .page-header-meta {
    color: var(--text-dark-secondary);
}

/* Featured Media Section */
.page-featured-media {
    margin-top: 2rem;
    position: relative;
    z-index: 10;
    margin-bottom: 4rem;
}

.page-featured-media-frame {
    border: 1px solid var(--color-gold);
    padding: 1rem;
    background-color: #0b0b0b;
    box-shadow: var(--box-shadow-premium);
}

body:not(.dark-mode) .page-featured-media-frame {
    background-color: #F0F0EE;
}

.page-hero-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
}

/* Page Content Frame */
.page-entry-content-wrapper {
    padding: 2rem 0 6rem;
}

.page-content-container {
    display: flex;
    justify-content: center;
}

.entry-content {
    width: 100%;
    max-width: 800px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.entry-content.glass-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 5rem 4rem;
    box-shadow: var(--box-shadow-premium);
    margin-bottom: 4rem;
    max-width: 1000px;
}

body:not(.dark-mode) .entry-content.glass-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.entry-content p {
    margin-bottom: 2rem;
    color: var(--text-light-secondary);
}

body:not(.dark-mode) .entry-content p {
    color: var(--text-dark-secondary);
}

.entry-content h2, 
.entry-content h3 {
    clear: both;
    padding-top: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-gold);
    font-family: var(--font-headings);
    font-weight: 500;
}

.entry-content a {
    color: var(--color-gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(197, 168, 128, 0.3);
    transition: var(--transition-smooth);
}

.entry-content a:hover {
    border-bottom-color: var(--color-gold);
}

/* Alternating Zigzag Layout for Article Rows */
.blog-row {
    display: flex;
    align-items: center;
    gap: 4.5rem;
    margin-bottom: 5.5rem;
    padding-bottom: 4.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-row:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

body:not(.dark-mode) .blog-row {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

/* Alternate row directions */
.blog-row:nth-of-type(even) {
    flex-direction: row-reverse;
}

.blog-col-image {
    flex: 1;
    max-width: 48%;
}

.blog-col-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    float: none !important;
    margin: 0 !important;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

body:not(.dark-mode) .blog-col-image img {
    border-color: rgba(0, 0, 0, 0.08);
    background-color: rgba(0, 0, 0, 0.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.blog-col-text {
    flex: 1;
    max-width: 48%;
}

/* Reset headings inside rows */
.blog-col-text h2,
.blog-col-text h3 {
    clear: none !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 1.5rem !important;
}

.blog-col-text p {
    margin-bottom: 1.5rem !important;
}

/* Custom Blog Intro Section (Mihrab Tasarım Denemeleri 3...) */
.blog-intro-section {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 2rem !important; /* Shrunk margin */
    padding-bottom: 1.5rem !important; /* Shrunk bottom padding */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body:not(.dark-mode) .blog-intro-section {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.blog-intro-section h2 {
    font-family: var(--font-body) !important; /* Same font family */
    font-size: 16px !important; /* Exactly 16px */
    font-weight: 500 !important; /* Balanced weight */
    margin-top: 0 !important;
    margin-bottom: 8px !important; /* Tight margin */
    padding-top: 0 !important;
    color: var(--color-gold) !important;
}

.blog-intro-section p {
    font-family: var(--font-body) !important; /* Same font family */
    font-size: 16px !important; /* Exactly 16px */
    font-weight: 400 !important; /* Regular weight */
    margin-top: 0 !important;
    margin-bottom: 15px !important; /* Space before button */
    color: var(--text-light-secondary) !important;
}

body:not(.dark-mode) .blog-intro-section p {
    color: var(--text-dark-secondary) !important;
}

.blog-intro-section p:last-of-type {
    margin-bottom: 0 !important;
}

/* Custom faded watermark background fitted to width for single posts */
.single-post-bg-wrapper .portfolio-bg-image {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover; /* Cover entire screen */
    background-position: center; /* Center the image */
    background-attachment: fixed; /* Fixed position as page scrolls */
    filter: none; /* No blur to make the watermark recognizable */
    opacity: 0.15; /* Highly faded (silik) in dark mode */
}

body:not(.dark-mode) .single-post-bg-wrapper .portfolio-bg-image {
    filter: brightness(1.2) contrast(0.9);
    opacity: 0.08; /* Even lighter in light mode for readability */
}

/* Tighten layout spacing above card in single posts */
.single-post-bg-wrapper .page-entry-content-wrapper {
    padding-top: 1rem !important;
    padding-bottom: 4rem !important;
}

.single-post-bg-wrapper .entry-content.glass-card {
    padding-top: 2.5rem !important;
    padding-bottom: 4rem !important;
}

/* Standard Article Content (Fallback layout for terms, news) */
.standard-article-content {
    line-height: 1.8;
    font-size: 16px;
    color: var(--text-light-secondary);
}

body:not(.dark-mode) .standard-article-content {
    color: var(--text-dark-secondary);
}

.standard-article-content p {
    margin-bottom: 1.5rem !important;
}

/* Post content typography standardization */
.entry-content {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
}

.entry-content p,
.entry-content li {
    font-family: var(--font-body) !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: var(--text-light-secondary) !important;
}

body:not(.dark-mode) .entry-content p,
body:not(.dark-mode) .entry-content li {
    color: var(--text-dark-secondary) !important;
}

/* Links */
.entry-content a {
    color: var(--color-gold) !important;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.entry-content a:hover {
    text-decoration: underline;
}

/* Classical elegant headings (h1, h2, h3) */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.standard-article-content h1,
.standard-article-content h2,
.standard-article-content h3 {
    font-family: var(--font-headings) !important;
    font-size: 24px !important;
    font-weight: 500 !important;
    color: var(--color-gold) !important;
    margin-top: 2.5rem !important;
    margin-bottom: 1rem !important;
    letter-spacing: 0.5px !important;
}

/* Functional headings/subtitles (h4, h5, h6) normalized to match body font */
.entry-content h4,
.entry-content h5,
.entry-content h6,
.standard-article-content h4,
.standard-article-content h5,
.standard-article-content h6 {
    font-family: var(--font-body) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--text-light-primary) !important;
    margin-top: 2rem !important;
    margin-bottom: 0.75rem !important;
}

body:not(.dark-mode) .entry-content h4,
body:not(.dark-mode) .entry-content h5,
body:not(.dark-mode) .entry-content h6,
body:not(.dark-mode) .standard-article-content h4,
body:not(.dark-mode) .standard-article-content h5,
body:not(.dark-mode) .standard-article-content h6 {
    color: var(--text-dark-primary) !important;
}

.standard-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2.5rem auto !important;
    display: block;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

body:not(.dark-mode) .standard-article-content img {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

/* Custom styling for subtitle and author in blog post intros */
.entry-content h2 em,
.entry-content h2 i {
    font-family: var(--font-body) !important;
    font-size: 18px !important; /* Slightly larger */
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.6) !important; /* Soft eye-pleasing gray in dark mode */
    font-style: italic !important;
    display: block;
    text-align: center;
    margin-bottom: 0.5rem !important;
}

body:not(.dark-mode) .entry-content h2 em,
body:not(.dark-mode) .entry-content h2 i {
    color: rgba(0, 0, 0, 0.5) !important; /* Soft gray in light mode */
}

/* Author text under subtitle (e.g. Bekir Yılmazörnek) */
.entry-content h2 + p,
.entry-content h2 + p span,
.entry-content h2 + p em {
    font-family: var(--font-body) !important;
    font-size: 14px !important; /* Slightly smaller for hierarchal contrast */
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.4) !important; /* Lighter soft gray */
    text-align: center !important;
    margin-top: -5px !important;
    margin-bottom: 2.5rem !important;
    display: block;
}

body:not(.dark-mode) .entry-content h2 + p,
body:not(.dark-mode) .entry-content h2 + p span,
body:not(.dark-mode) .entry-content h2 + p em {
    color: rgba(0, 0, 0, 0.4) !important;
}

/* Backwards compatibility for WP default styles in full width block lists */
.entry-content ul {
    list-style: square;
    padding-left: 2rem;
    margin-bottom: 2rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
    color: var(--text-light-secondary);
}

body:not(.dark-mode) .entry-content li {
    color: var(--text-dark-secondary);
}

.entry-content blockquote {
    font-family: var(--font-headings);
    font-size: 1.4rem;
    font-style: italic;
    border-left: 3px solid var(--color-gold);
    padding-left: 2rem;
    margin: 3rem 0;
    color: var(--text-light-secondary);
}

body:not(.dark-mode) .entry-content blockquote {
    color: var(--text-dark-secondary);
}

/* Blog and Category Archive Styles */
.blog-index-section {
    padding: 6rem 0;
}

.blog-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
}

.blog-archive-card {
    background-color: var(--color-light-surface);
    border: 1px solid var(--color-border-light);
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    transition: var(--transition-smooth);
}

body.dark-mode .blog-archive-card {
    background-color: var(--color-dark-surface);
    border: 1px solid var(--color-border-dark);
}

.blog-archive-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.blog-card-date {
    font-size: 0.8rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    display: block;
}

.blog-card-title {
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 1.25rem;
}

.blog-card-title a {
    color: inherit;
}

.blog-card-title a:hover {
    color: var(--color-gold);
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: var(--text-dark-secondary);
    line-height: 1.65;
    margin-bottom: 2rem;
}

body.dark-mode .blog-card-excerpt {
    color: var(--text-light-secondary);
}

.blog-pagination {
    margin-top: 5rem;
    display: flex;
    justify-content: center;
}

/* WordPress core pagination classes overrides */
.blog-pagination .nav-links {
    display: flex;
    gap: 0.5rem;
}

.blog-pagination .page-numbers {
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--color-border-light);
    color: var(--text-dark-secondary);
    font-weight: 500;
    transition: var(--transition-smooth);
}

body.dark-mode .blog-pagination .page-numbers {
    border: 1px solid var(--color-border-dark);
    color: var(--text-light-secondary);
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

/* ==========================================================================
   8. RESPONSIVE DESIGN STYLES
   ========================================================================== */
@media (max-width: 991px) {
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2.1rem; }
    
    .hero-title { font-size: 3.25rem; }
    
    .about-summary-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-info {
        grid-column: span 2;
    }
    
    .slide-item {
        min-width: 50%;
    }
}

@media (max-width: 768px) {
    .site-branding a {
        gap: 0.4rem !important;
    }
    .site-logo-img {
        height: 32px !important;
    }
    .site-title-text {
        font-size: 0.95rem !important;
        letter-spacing: 0.1px;
        white-space: nowrap;
    }
    .site-title-logo {
        width: 28px;
        height: 28px;
        font-size: 1.15rem;
    }
    /* Parallax page header text mobile scale down */
    .page-entry-header-parallax .page-subtitle-category {
        font-size: 0.75rem !important;
        letter-spacing: 2px !important;
        margin-bottom: 0.5rem !important;
    }
    .page-entry-header-parallax .page-entry-title {
        font-size: 2.0rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.5rem !important;
    }
    .page-entry-header-parallax .page-header-meta {
        font-size: 0.8rem !important;
    }
    
    /* Editorial Mobile Scaling */
    .page-entry-header {
        padding: 40px 0 15px !important;
    }
    .page-entry-title {
        font-size: 2.0rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.5rem !important;
    }
    .page-header-meta {
        font-size: 0.8rem !important;
    }
    .entry-content {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }
    .entry-content p {
        margin-bottom: 1.5rem !important;
    }
    .entry-content img {
        padding: 0.5rem !important;
        margin: 1.5rem auto !important;
    }
    .entry-content.glass-card {
        padding: 2.5rem 1.5rem !important;
        margin-bottom: 2rem !important;
    }

    /* Alternating Blog Row Mobile Scaling */
    .blog-row {
        flex-direction: column !important; /* Stack columns vertically */
        gap: 2rem !important;
        margin-bottom: 3.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    .blog-col-image,
    .blog-col-text {
        max-width: 100% !important;
        width: 100% !important;
    }
    .blog-col-image img {
        margin: 0 auto !important;
    }
    
    /* Archive Listing Mobile Scaling */
    .blog-archive-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .blog-archive-card {
        padding: 2rem 1.5rem !important;
        min-height: auto !important;
    }
    /* Mobile Menu Toggle logic */
    .menu-toggle {
        display: flex;
        transform: scale(0.8);
        transform-origin: right center;
    }
    
    .menu-container {
        position: fixed;
        top: 90px;
        left: 100%;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: var(--color-light);
        flex-direction: column;
        justify-content: flex-start;
        padding: 4rem 2rem;
        gap: 3rem;
        transition: var(--transition-smooth);
        z-index: 1000;
        border-top: 1px solid var(--color-border-light);
    }
    
    body.dark-mode .menu-container {
        background-color: var(--color-dark);
        border-top: 1px solid var(--color-border-dark);
    }
    
    .menu-container.open {
        left: 0;
    }
    
    #primary-menu {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }
    
    .nav-link,
    #primary-menu a {
        font-size: 1.1rem;
    }
    
    .menu-toggle.open .line-1 {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-toggle.open .line-2 {
        opacity: 0;
    }
    
    .menu-toggle.open .line-3 {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Hero adjustments */
    .hero-title { font-size: 2.5rem; }
    
    .slide-item {
        min-width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-info {
        grid-column: span 1;
    }
    
    /* Mobile Footer Text Scaling */
    .site-footer {
        padding-top: 3.5rem !important;
    }
    .footer-grid {
        padding-bottom: 2.5rem !important;
    }
    .footer-column h3 {
        font-size: 1.05rem !important;
        margin-bottom: 1rem !important;
    }
    .footer-desc,
    .contact-list li,
    .hours-list li {
        font-size: 0.8rem !important;
        line-height: 1.5 !important;
    }
    .contact-label {
        margin-bottom: 0.1rem !important;
    }
    .footer-bottom-container {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    .copyright {
        font-size: 0.72rem !important;
    }
}

/* ==========================================================================
   9. PORTFOLIO DETAIL PAGES (PARALLAX & MASONRY GALLERY)
   ========================================================================== */
.portfolio-bg-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden; /* Hide blurred edges */
}

.portfolio-bg-image {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    filter: blur(8px) brightness(0.35); /* Blurred and dark background */
    z-index: 0;
    transition: var(--transition-smooth);
}

.portfolio-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 18, 0.4);
    z-index: 1;
}

.portfolio-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.02;
    background-size: 40px 40px;
    background-image: linear-gradient(to right, grey 1px, transparent 1px),
                      linear-gradient(to bottom, grey 1px, transparent 1px);
    z-index: 2;
}

.portfolio-parallax-article {
    position: relative;
    z-index: 5;
    color: #ffffff;
    padding-top: 90px; /* SPACE FOR FIXED HEADER BANNER */
}

.page-entry-header-parallax {
    padding: 8rem 0 4rem;
    text-align: center;
}

/* Project Detail Page Styles */
.project-detail-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.project-specs-sidebar {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    position: sticky;
    top: 120px;
}

.project-specs-sidebar ul li {
    list-style: none !important;
}

.project-narrative {
    font-size: 1.15rem;
    line-height: 1.8;
}

.project-narrative p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.85);
}

.project-narrative h2,
.project-narrative h3 {
    color: var(--color-gold);
    font-family: var(--font-headings);
    font-weight: 500;
    margin-top: 3rem;
    margin-bottom: 1.2rem;
    font-size: 1.8rem;
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 2rem;
    margin-bottom: 5rem;
}

.project-gallery-item {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.02);
}

/* Asymmetric Masonry / Collage grid classes */
.gallery-item-1 {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item-2 {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item-3 {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item-4 {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item-5 {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item-6 {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: block;
}

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

/* Hover overlays */
.gallery-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.2) 70%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    box-sizing: border-box;
}

.project-gallery-item:hover .gallery-hover-overlay {
    opacity: 1;
}

/* Gold border animation on hover */
.project-gallery-item::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid var(--color-gold);
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
    z-index: 3;
}

.project-gallery-item:hover::after {
    opacity: 0.5;
    transform: scale(1);
}

.gallery-hover-content {
    z-index: 4;
    transform: translateY(10px);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.gallery-zoom-icon {
    display: inline-block;
    color: var(--color-gold);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.gallery-hover-text {
    margin: 0;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-family: var(--font-body);
}

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

.lightbox-content {
    position: relative;
    max-width: 85%;
    max-height: 85%;
    text-align: center;
}

#lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    animation: zoomIn 0.3s ease-out;
}

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

#lightbox-caption {
    color: var(--color-gold);
    font-family: var(--font-headings);
    margin-top: 1.5rem;
    font-size: 1.25rem;
    letter-spacing: 1px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #ffffff;
    font-size: 40px;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10002;
}

.lightbox-close:hover {
    color: var(--color-gold);
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    padding: 16px;
    user-select: none;
    transition: color 0.3s;
    z-index: 10001;
}

.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

.lightbox-prev:hover, .lightbox-next:hover {
    color: var(--color-gold);
}

.project-navigation-back {
    text-align: center;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 992px) {
    .project-detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .project-specs-sidebar {
        position: static;
    }
    
    .project-gallery-grid {
        grid-auto-rows: 220px;
        gap: 1.5rem;
    }
    
    .gallery-hover-overlay {
        padding: 1.25rem;
    }
    
    .project-gallery-item::after {
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
}

@media (max-width: 768px) {
    .project-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    
    .gallery-item-1 {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .gallery-item-2, .gallery-item-3, .gallery-item-4, .gallery-item-5, .gallery-item-6 {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .lightbox-close {
        top: 20px;
        right: 25px;
        font-size: 35px;
    }
    
    .lightbox-prev { left: 15px; }
    .lightbox-next { right: 15px; }
}

@media (max-width: 480px) {
    .project-gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
    }
    
    .gallery-item-1, .gallery-item-2, .gallery-item-3, .gallery-item-4, .gallery-item-5, .gallery-item-6 {
        grid-column: span 1;
        grid-row: span 1;
    }
}
