/* Main Layout */
.main-wrapper {
    display: flex;
    min-height: 100vh;
}



:root {
    --bg-dark: #0a0a0a;
    --bg-panel: #141414;
    --text-main: #e0e0e0;
    --text-muted: #888;
    --accent: #c5a059;
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-arabic: 'Tajawal', sans-serif;
    --sidebar-width: 0px;
    --transition-slow: 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Changed from pointer to none for custom cursor */
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    pointer-events: none;
}

.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.cursor-circle {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s;
}

.cursor-text {
    position: fixed;
    font-size: 12px;
    font-weight: 600;
    color: #000;
    background: var(--accent);
    padding: 4px 8px;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}

/* Cursor Hover States */
body.hovering .cursor-dot {
    width: 0;
    height: 0;
}

body.hovering .cursor-circle {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
}

body.hovering .cursor-text {
    opacity: 1;
}



a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
    cursor: pointer;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* Custom Cursor */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10000;
}


/* Layout */
.main-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

/* Sidebar styles removed */

/* Content Area */
.content-area {
    flex: 1;
    margin-left: 0;
    position: relative;
    width: 100%;
    min-height: 100vh;
}

/* Header (Transparent Overlay) */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 60px;
    z-index: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: block;
    z-index: 501;
}

.header-logo img.desktop-logo {
    height: 120px;
    width: auto;
    display: block;
}

.header-logo img.mobile-favicon {
    display: none;
}

@media (max-width: 768px) {
    .header-logo img.desktop-logo {
        height: 65px;
        width: auto;
    }
}

.main-nav {
    display: flex;
    gap: 3rem;
    align-items: center;
}

/* RTL Support */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
    font-family: var(--font-arabic);
}

[dir="rtl"] .site-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .main-nav {
    flex-direction: row-reverse;
}

[dir="rtl"] .service-card,
[dir="rtl"] .work-content,
[dir="rtl"] .blog-card,
[dir="rtl"] .testimonial-card {
    text-align: right;
}

[dir="rtl"] .service-features li i,
[dir="rtl"] .work-features li i {
    margin-left: 10px;
    margin-right: 0;
}

[dir="rtl"] .slide-content {
    left: auto;
    right: 10%;
    text-align: right;
}

[dir="rtl"] .slider-controls {
    right: auto;
    left: 50px;
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-links {
    flex-direction: row-reverse;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #d4af37;
    border-radius: 2px;
    transition: all 0.3s;
}

@media (max-width: 992px) {
    .site-header {
        padding: 20px;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

.main-nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
}

.main-nav a.active,
.main-nav a:hover {
    color: #fff;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Advanced Hero Slider */
.hero-slider-container {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.slider-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 6s ease;
}

.hero-slide.active .slide-bg {
    transform: scale(1);
}

.slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 10;
    max-width: 600px;
    color: #fff;
}

.slide-subtitle {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.2s;
}

.slide-title {
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.4s;
}

.slide-title em {
    font-style: italic;
    color: var(--accent);
}

.slide-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.6s;
}

.slide-btn {
    display: inline-block;
    padding: 15px 35px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.8s;
}

.slide-btn:hover {
    background: #fff;
    color: var(--bg-dark);
    border-color: #fff;
}

.hero-slide.active .slide-subtitle,
.hero-slide.active .slide-title,
.hero-slide.active .slide-desc,
.hero-slide.active .slide-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 50px;
    right: 50px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 20;
}

.slider-controls button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.slider-controls button:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-dark);
}

.slide-counter {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: #fff;
    display: flex;
    gap: 5px;
}

.slide-counter .divider,
.slide-counter .total {
    color: rgba(255, 255, 255, 0.5);
}

/* Portfolio Archive */
.portfolio-archive {
    padding: 10rem 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.archive-header {
    margin-bottom: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.archive-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 1rem;
}

.archive-title {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 400;
    color: #fff;
}

/* Portfolio Navigation Arrows */
.portfolio-nav {
    display: flex;
    gap: 1rem;
}

.nav-arrow {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    background: transparent;
}

.nav-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-dark);
}

.project-list {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
}

.project-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.project-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.project-item:hover,
.project-item.active {
    padding-left: 20px;
    border-color: var(--accent);
}

.project-year {
    font-size: 1rem;
    color: var(--text-muted);
    width: 100px;
}

.project-name {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 400;
    color: #fff;
    flex: 1;
    transition: color 0.3s;
}

.project-item:hover .project-name,
.project-item.active .project-name {
    color: var(--accent);
    font-style: italic;
}

.project-category {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* Floating Reveal Image */
.reveal-image-container {
    position: fixed;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 500px;
    height: 600px;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.5s;
    overflow: hidden;
}

.reveal-image-container.active {
    opacity: 1;
}

.reveal-image-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    padding: 0 40px;
}

.section {
    padding: 8rem 0;
}

.section-header {
    margin-bottom: 5rem;
    text-align: center !important;
}

.section-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-heading {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 400;
    color: #fff;
}

/* Solutions List */
.solutions-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.solution-item {
    display: flex;
    align-items: baseline;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s;
}

.solution-item:hover {
    border-color: var(--accent);
    transform: translateX(10px);
}

.item-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-muted);
}

.item-content h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #fff;
}

.item-content p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
}

/* Services Minimal */
.services-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.service-heading {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.service-heading em {
    font-style: italic;
    color: var(--accent);
}

.service-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.text-link {
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 5px;
}

.service-visual img {
    filter: grayscale(100%);
    transition: filter 0.5s;
}

.service-visual:hover img {
    filter: grayscale(0%);
}

/* Footer */
.site-footer {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-brand {
    flex-basis: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: #fff;
}

.footer-partner {
    flex-basis: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-basis: 100%;
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .main-wrapper {
        flex-direction: column;
        overflow-x: hidden;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: sticky;
        top: 0;
        z-index: 1000;
        flex-direction: row;
        padding: 15px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: var(--bg-panel);
    }

    .sidebar-center,
    .sidebar-bottom {
        display: none;
    }

    .brand-logo {
        writing-mode: horizontal-tb;
        transform: none;
    }

    .content-area {
        margin-left: 0;
        width: 100%;
    }

    /* Show header on mobile with hamburger menu */
    .site-header {
        display: flex !important;
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        padding: 15px 20px !important;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        z-index: 999 !important;
    }

    /* Hide desktop navigation on mobile, show hamburger */
    .main-nav {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .hero-slider-container {
        height: 80vh;
    }

    .slide-content {
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        width: 90%;
        padding: 0 20px;
    }

    .slide-title {
        font-size: 3rem;
    }

    .slider-controls {
        bottom: 30px;
        right: 50%;
        transform: translateX(50%);
    }

    /* Portfolio Mobile */
    .portfolio-archive {
        padding: 5rem 0;
    }

    .archive-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .archive-title {
        font-size: 2.5rem;
    }

    .project-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 2rem 0;
    }

    .project-name {
        font-size: 2rem;
    }

    .project-year {
        width: auto;
    }

    .reveal-image-container {
        display: none;
    }

    .services-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .service-heading {
        font-size: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Touch Device Support */
@media (hover: none) and (pointer: coarse) {
    * {
        cursor: auto !important;
    }
}

.service-heading {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.service-heading em {
    font-style: italic;
    color: var(--accent);
}

.service-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.text-link {
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 5px;
}

.service-visual img {
    filter: grayscale(100%);
    transition: filter 0.5s;
}

.service-visual:hover img {
    filter: grayscale(0%);
}

/* Mobile Responsive - Additional Rules */
@media (max-width: 992px) {
    .hero-slider-container {
        height: 80vh;
        margin-top: 70px;
        /* Account for fixed header */
    }

    .slide-content {
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        width: 90%;
        padding: 0 20px;
    }

    .slide-title {
        font-size: 2.5rem;
    }

    .slider-controls {
        bottom: 30px;
        right: 50%;
        transform: translateX(50%);
    }

    /* Portfolio Mobile */
    .portfolio-archive {
        padding: 5rem 0;
        margin-top: 70px;
        /* Account for fixed header */
    }

    .archive-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .archive-title {
        font-size: 2.5rem;
    }

    .project-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 2rem 0;
    }

    .project-name {
        font-size: 2rem;
    }

    .project-year {
        width: auto;
    }

    .reveal-image-container {
        display: none;
    }

    .services-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .service-heading {
        font-size: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-brand,
    .footer-links,
    .footer-partner,
    .footer-copy {
        text-align: center;
        width: 100%;
    }

    .footer-links {
        justify-content: center;
    }
}

/* Touch Device Support */
@media (hover: none) and (pointer: coarse) {
    * {
        cursor: auto !important;
    }

    .cursor {
        display: none;
    }

    .hero-slider-container {
        touch-action: pan-y;
    }
}

/* Portfolio Split Layout */
.portfolio-split-layout {
    display: flex;
    min-height: 100vh;
    position: relative;
}

.portfolio-content-left {
    width: 50%;
    padding: 10rem 4rem 4rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.portfolio-content-left .archive-header {
    margin-bottom: 3rem;
}

.portfolio-content-left .portfolio-nav {
    margin-bottom: 4rem;
}

.portfolio-content-left .project-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.portfolio-content-left .project-item {
    display: block;
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.portfolio-content-left .project-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-content-left .project-item:hover,
.portfolio-content-left .project-item.active {
    padding-left: 20px;
    border-color: var(--accent);
}

.portfolio-content-left .project-year {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.portfolio-content-left .project-name {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}

.portfolio-content-left .project-item:hover .project-name,
.portfolio-content-left .project-item.active .project-name {
    color: var(--accent);
    font-style: italic;
}

.portfolio-content-left .project-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 500px;
}

.portfolio-image-right {
    position: fixed;
    right: 0;
    top: 0;
    width: 50%;
    height: 100vh;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s;
}

.portfolio-image-right.active {
    opacity: 1;
}

.portfolio-image-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 0.5s;
}

.portfolio-image-right.active .portfolio-image-inner {
    transform: scale(1);
}

/* Project Detail Page */
.project-detail-section {
    padding: 8rem 0 4rem;
    min-height: 100vh;
}

.project-detail-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.project-detail-header {
    margin-bottom: 4rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--accent);
}

.project-meta {
    max-width: 800px;
}

.project-meta .project-year {
    display: block;
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.project-title {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 1.5rem;
}

.project-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-muted);
}

/* Four Column Interactive Gallery */
.image-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
    perspective: 1000px;
}

.gallery-column {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.gallery-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-column:hover .image-overlay {
    opacity: 1;
}

.image-label {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Hover Effects - Bring to Front & Zoom Out Others */
.gallery-column:hover {
    transform: scale(1.15) translateZ(50px);
    z-index: 10;
}

.image-gallery-grid:hover .gallery-column:not(:hover) {
    transform: scale(0.92);
    opacity: 0.6;
}

/* Project Info Grid */
.project-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 1rem;
}

.info-item p {
    font-size: 1.1rem;
    color: #fff;
}

/* Mobile Responsive for New Layouts */
@media (max-width: 992px) {
    .portfolio-split-layout {
        flex-direction: column;
    }

    .portfolio-content-left {
        width: 100%;
        padding: 5rem 2rem;
    }

    .portfolio-content-left .project-name {
        font-size: 2rem;
    }

    .portfolio-image-right {
        position: relative;
        width: 100%;
        height: 400px;
        margin-top: 2rem;
    }

    .image-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .gallery-column:hover {
        transform: scale(1.05);
    }

    .image-gallery-grid:hover .gallery-column:not(:hover) {
        transform: scale(0.98);
    }

    .project-title {
        font-size: 2.5rem;
    }

    .project-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Center Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #d4af37;
    margin-bottom: 1rem;
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    text-align: center !important;
}

.section-heading em {
    font-style: italic;
    color: #d4af37;
}


/* Featured Projects Section - Specific Styles */
.featured-projects-section .section-header {
    text-align: center !important;
    margin-bottom: 3rem;
}

.featured-projects-section .section-label {
    text-align: center !important;
}

.featured-projects-section .section-heading {
    text-align: center !important;
}

.featured-projects-section .container {
    max-width: 1200px;
    padding: 0 3rem;
}

@media (max-width: 768px) {
    .featured-projects-section .container {
        padding: 0 2rem;
    }
}

/* Force ALL section headings to be centered */
.services-section .section-heading,
.featured-projects-section .section-heading,
.section .section-heading,
h2.section-heading {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Center the services grid container */
.services-section .container,
.services-section .services-grid {
    text-align: center;
}

.services-section .section-heading {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
}

/* Adjust container to prevent indent */
.section .container {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
}

@media (max-width: 768px) {
    .section .container {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

/* Fix "Uzmanlık Alanlarımız" Heading */
.section-heading {
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Fix Works Tabs Centering */
.works-tabs {
    display: flex !important;
    justify-content: center !important;
    gap: 1rem !important;
    margin: 3rem auto !important;
    flex-wrap: wrap !important;
    max-width: 1000px !important;
}

/* Fix Work Content Layout & Indentation */

/* Floating Call Button */
.floating-call-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background: #d4af37;
    /* Gold Accent */
    color: #000;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px 12px 12px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    cursor: pointer;
    /* Ensure pointer cursor */
}

/* Ensure it overrides the pointer-events: none from * rule if needed, though cursor: pointer above handles the visual */
.floating-call-btn {
    pointer-events: auto;
}

.floating-call-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
    background: #fff;
}

.call-icon-wrapper {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #d4af37;
    transition: all 0.3s;
}

.floating-call-btn:hover .call-icon-wrapper {
    background: #d4af37;
    color: #fff;
    animation: phone-shake 0.5s ease-in-out infinite;
}

.call-text {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

@keyframes phone-shake {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-15deg);
    }

    50% {
        transform: rotate(15deg);
    }

    75% {
        transform: rotate(-10deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* Mobile Responsiveness for Floating Button */
@media (max-width: 768px) {
    .floating-call-btn {
        bottom: 20px;
        right: 20px;
        padding: 10px 20px 10px 10px;
    }

    .call-icon-wrapper {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }


    .call-text {
        font-size: 0.85rem;
    }
}

/* Force Footer Layout Vertical */
.footer-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center;
    gap: 1.5rem !important;
}

.footer-brand {
    order: 1;
    margin-bottom: 0.5rem;
}

.footer-links {
    order: 2;
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

/* Ensure Logo Size */
.footer-brand img {
    height: 80px;
    /* Gently reduced from 100px for better vertical balance */
    width: auto;
}

/* Responsive adjustment for links if needed */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}