/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #64748b;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo a img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo a:hover {
    opacity: 0.8;
}

.logo a span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s;
}

/* Language Dropdown */
.lang-switcher {
    position: relative;
}

.lang-dropdown {
    position: relative;
}

.lang-dropdown-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.lang-dropdown-btn:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
}

.lang-dropdown-btn svg {
    transition: transform 0.3s;
}

.lang-dropdown.active .lang-dropdown-btn svg {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    list-style: none;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
    padding: 0.5rem 0;
}

.lang-dropdown.active .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown-menu li {
    margin: 0;
}

.lang-dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.2s;
    font-size: 0.875rem;
}

.lang-dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.lang-dropdown-menu a::after {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: none;
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: auto;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-container {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
}

.hero-content {
    position: relative;
    text-align: right;
    max-width: 500px;
    margin-left: auto;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem 0 0 0;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    border-left: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-logo {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.6;
    color: var(--white);
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.services-section .container {
    max-width: 1400px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.service-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    width: 100%;
    height: 250px;
    margin-bottom: 1.5rem;
    border-radius: 0.75rem;
    overflow: hidden;
}

.service-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    display: block;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-title-link {
    text-decoration: none;
    display: block;
    margin-bottom: 1rem;
}

.service-title-link:hover .service-title {
    color: var(--primary-color);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0;
    transition: color 0.3s;
}

.service-description {
    color: var(--text-light);
    line-height: 1.7;
}

/* Projects Section */
.projects-section {
    padding: 5rem 0;
    background: var(--white);
}

.projects-section .container {
    max-width: 1400px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 1.5rem;
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15), 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

/* Farklı boyutlarda kartlar için grid span */
.project-item:nth-child(1),
.project-item:nth-child(6) {
    grid-column: span 2;
    grid-row: span 1;
}

.project-item:nth-child(4),
.project-item:nth-child(5) {
    grid-row: span 2;
}

.project-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25), 0 8px 20px rgba(0, 0, 0, 0.15);
}

.project-item a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

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

/* Overlay efekti */
.project-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
    pointer-events: none;
}

.project-item:hover::before {
    opacity: 1;
}

/* Project Overlay - Başlık gösterimi */
.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 70%, transparent 100%);
    padding: 2rem 1.5rem 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    pointer-events: none;
}

.project-item:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-title {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

/* Hover'da görünecek ok işareti */
.project-item::after {
    content: '→';
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s;
    z-index: 3;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-item:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

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

.about-image {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    text-align: left;
}

.about-description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-list {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
    display: inline-block;
}

.about-list li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    font-size: 1.125rem;
    position: relative;
    padding-left: 2rem;
}

.about-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.25rem;
}

.about-mission {
    font-size: 1.125rem;
    color: var(--text-light);
    margin: 2rem 0;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer-content p {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 720px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        padding: 1rem;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
        padding: 1rem;
        border-radius: 0.75rem;
        background: rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(3px);
    }

    .hero-logo {
        display: none !important;
    }

    .hero-title {
        display: none !important;
    }

    .hero-subtitle {
        display: none !important;
    }

    .hero-buttons {
        justify-content: center;
        gap: 0.5rem;
        margin-top: 0;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .hero-overlay {
        background: rgba(0, 0, 0, 0.1);
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons .btn {
        width: auto;
        flex: 0 1 auto;
    }
    
    .btn {
        text-align: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

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

    .lang-dropdown-menu {
        right: auto;
        left: 0;
    }
}

/* RTL Support for Language Dropdown */
[dir="rtl"] .lang-dropdown-menu {
    right: auto;
    left: 0;
}

[dir="rtl"] .lang-dropdown-btn {
    flex-direction: row-reverse;
}

@media (max-width: 720px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 250px;
        gap: 1rem;
    }
    
    .project-item:nth-child(1),
    .project-item:nth-child(6) {
        grid-column: span 1;
    }
    
    .project-item:nth-child(4),
    .project-item:nth-child(5) {
        grid-row: span 1;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero {
        min-height: 600px;
    }
    
    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .hero-buttons .btn {
        flex: 0 1 auto;
        width: auto;
    }

    .services-section,
    .about-section {
        padding: 3rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
        gap: 0.75rem;
    }
    
    .project-item:nth-child(1),
    .project-item:nth-child(6) {
        grid-column: span 1;
    }
    
    .project-item:nth-child(4),
    .project-item:nth-child(5) {
        grid-row: span 1;
    }
}


/* Project Modal Styles */
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    overflow-y: auto;
}

.project-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1;
}

.project-modal-content {
    position: relative;
    background: var(--white);
    border-radius: 0.75rem;
    max-width: 1400px;
    width: 98%;
    max-height: 95vh;
    margin: 2rem auto;
    z-index: 2;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(0, 0, 0, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.75rem;
    color: var(--text-color);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
    font-weight: 300;
}

.project-modal-close:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Project Modal Banner Image */
.project-modal-banner-image {
    position: relative;
    width: 80%;
    max-width: 900px;
    margin: 0 auto 2rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: flex-end;
    min-height: 300px;
}

.project-modal-banner-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.project-modal-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.project-modal-header {
    position: relative;
    z-index: 2;
    padding: 2.5rem 3rem;
    width: 100%;
    border-bottom: none;
    background: transparent;
    margin: 0;
}

.project-modal-header h2 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.project-modal-body {
    padding: 3rem;
    overflow-y: auto;
    flex: 1;
    background: var(--white);
}

.project-modal-body > .project-modal-header {
    margin-top: 0;
}

.project-modal-body img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 0;
}

.project-modal-body p {
    line-height: 1.9;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.project-modal-body h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.4;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-light);
}

.project-modal-body h4 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-color);
}

.project-modal-body h3 br {
    display: block;
    content: "";
    margin-top: 0.5rem;
}

/* Project Gallery Styles */
.project-gallery {
    margin-top: 3rem;
    padding-top: 0;
    border-top: none;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, rgba(118, 75, 162, 0.02) 100%);
    padding: 0 2.5rem 2.5rem;
    border-radius: 0 0 1rem 1rem;
    margin-left: -3rem;
    margin-right: -3rem;
    margin-bottom: -3rem;
}

.project-gallery h4 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    text-align: center;
    padding: 1.5rem 2rem;
    border-bottom: 3px solid var(--bg-light);
    position: relative;
    background: var(--white);
    border-radius: 0.75rem 0.75rem 0 0;
    margin-left: -2.5rem;
    margin-right: -2.5rem;
    margin-top: -2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.project-gallery h4::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    object-fit: cover;
    aspect-ratio: 4 / 3;
    border: 3px solid transparent;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    background: var(--white);
    padding: 4px;
}

.gallery-grid img:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
    border-color: var(--primary-color);
    z-index: 1;
    position: relative;
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
    
    .project-gallery {
        padding: 0 2rem 2rem;
        margin-left: -2rem;
        margin-right: -2rem;
    }
    
    .project-gallery h4 {
        margin-left: -2rem;
        margin-right: -2rem;
        margin-top: -2rem;
    }
}

@media (max-width: 720px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .project-gallery {
        padding: 0 1.5rem 1.5rem;
        margin-left: -1.5rem;
        margin-right: -1.5rem;
    }
    
    .project-gallery h4 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
        padding: 1.25rem 1.5rem;
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        margin-top: -1.5rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .project-gallery {
        padding: 0 1rem 1.5rem;
        margin-left: -1.5rem;
        margin-right: -1.5rem;
    }
    
    .project-gallery h4 {
        padding: 1rem;
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        margin-top: -1.5rem;
    }
}

@media (max-width: 720px) {
    .project-modal-content {
        width: 98%;
        margin: 1rem auto;
        max-height: 98vh;
        border-radius: 1rem;
    }
    
    .project-modal-body {
        padding: 2rem 1.5rem;
    }
    
    .project-modal-banner-image {
        width: 95%;
        min-height: 250px;
        margin: 0 auto 1.5rem;
    }
    
    .project-modal-header {
        padding: 2rem 1.5rem;
        margin: 0;
    }
    
    .project-modal-header h2 {
        font-size: 1.75rem;
    }
    
    .project-modal-body h3 {
        font-size: 1.5rem;
    }
    
    .project-modal-body h4 {
        font-size: 1.2rem;
    }
    
    .project-title {
        font-size: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

.projects-view-all {
    text-align: center;
    margin-top: 2rem;
}

.projects-view-all .btn {
    padding: 0.875rem 2.5rem;
    font-size: 1rem;
    background: var(--primary-color) !important;
    color: var(--white) !important;
}

.projects-view-all .btn:hover {
    background: var(--primary-dark) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: var(--white);
}

.contact-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
    text-align: center;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-map {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-map iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
}

.contact-info-item {
    padding: 0;
    border-bottom: none;
}

.contact-info-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-info-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.contact-email {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-email:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-portfolio {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-portfolio-image {
    display: block;
    width: 100%;
    max-width: 300px;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-portfolio-image:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.contact-portfolio-image img {
    width: 100%;
    height: auto;
    display: block;
}

.contact-portfolio-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-portfolio-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 50%;
    color: var(--text-dark);
    transition: all 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 968px) {
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .contact-map iframe {
        height: 400px;
    }
}

@media (max-width: 720px) {
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .contact-map iframe {
        height: 350px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

