/* ===================================
   La Mira Mimarlık & Tasarım
   Ana Stil Dosyası
   =================================== */

/* CSS Variables */
:root {
    --primary-navy: #0c1929;
    --secondary-navy: #152642;
    --deep-space: #050d1a;
    --accent-gold: #E0C989;
    --accent-gold-text: #C9A54B;
    --accent-gold-light: #F0E0B0;
    --white: #FCFAFA;
    --cream: #EDEBe8;
    --warm-white: #EDEBe8;
    --card-bg: #F5F3F0;
    --light-gray: #e8e0d0;
    --text-dark: #1a1a1a;
    --text-light: #5a5a5a;
    --transition: all 0.3s ease;
}

/* Reset & Base */

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--deep-space) 0%, var(--primary-navy) 50%, var(--secondary-navy) 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.preloader-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--white);
    border-radius: 50%;
    opacity: 0;
    animation: twinkle 2s infinite;
}

.preloader-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.preloader-logo {
    width: 140px;
    height: auto;
    animation: preloaderFadeIn 1s ease forwards, preloaderFloat 2.5s ease-in-out infinite 1s;
    opacity: 0;
}

.preloader-bar {
    width: 180px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
    border-radius: 2px;
    animation: preloaderProgress 2.4s ease-in-out forwards;
}

@keyframes preloaderFadeIn {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes preloaderFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes preloaderProgress {
    0% { width: 0%; }
    50% { width: 60%; }
    100% { width: 100%; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--warm-white);
    overflow-x: hidden;
}

/* Genel taşma koruması */
*, *::before, *::after {
    box-sizing: border-box;
}

img, video, iframe, svg {
    max-width: 100%;
    height: auto;
}

.section, .footer, .page-header {
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    line-height: 1.2;
}

p {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.8;
}

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

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(10, 22, 40, 0.93);
    padding: 12px 60px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.navbar-logo img {
    height: 70px;
    transition: var(--transition);
}

.navbar.scrolled .navbar-logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    color: var(--white);
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-gold);
    transition: var(--transition);
}

/* Hover - altın rengi + alt çizgi */
.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent-gold-text);
}

/* Aktif sayfa - altın rengi + kalıcı alt çizgi */
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--accent-gold-text);
}

/* Navbar'da herhangi bir linke hover olunca aktif linki gizle */
.nav-links:hover a.active {
    color: var(--white);
}

.nav-links:hover a.active::after {
    width: 0;
}

/* Ama aktif linkin kendisine hover olunca yine göster */
.nav-links a.active:hover {
    color: var(--accent-gold-text);
}

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

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

/* ===================================
   Hero Section with Stars
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/backgrounds/gokyuzu-arkaplan.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.85;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 13, 26, 0.3) 0%, rgba(12, 25, 41, 0.6) 100%);
}

/* Stars Animation */
.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.constellation-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Meteor / Shooting Star — artık canvas ile çiziliyor, CSS stili gerekmiyor */


.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-logo {
    width: 250px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.hero-title {
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: 8px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-gold-text);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.hero-tagline {
    font-size: 1rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

.hero-cta {
    display: inline-block;
    padding: 18px 50px;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold-text);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.8s forwards;
    opacity: 0;
}

.hero-cta:hover {
    background-color: var(--accent-gold);
    color: var(--primary-navy);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 20px;
    height: 30px;
    border: 2px solid var(--white);
    border-radius: 10px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background-color: var(--white);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes scroll {
    0%, 100% { opacity: 1; top: 6px; }
    50% { opacity: 0; top: 14px; }
}

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

/* ===================================
   Page Header (For Sub Pages)
   =================================== */
.page-header {
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../assets/images/backgrounds/gokyuzu-arkaplan.jpg');
    background-size: cover;
    background-position: center top;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 13, 26, 0.7) 0%, rgba(5, 13, 26, 0.4) 30%, rgba(12, 25, 41, 0.8) 100%);
}

.page-header .stars-container {
    opacity: 0.7;
}

.page-header-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
}

.page-header-title {
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: 6px;
    margin-bottom: 15px;
}

.page-header-subtitle {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-gold-text);
}

/* ===================================
   Sections
   =================================== */
.section {
    padding: 120px 60px;
    position: relative;
    background-color: var(--warm-white);
}

/* Yumuşak geçiş için gradient overlay */
.section::before {
    content: none;
}

.section-dark {
    background-image: url('../assets/images/backgrounds/gokyuzu-arkaplan.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    position: relative;
}

.section-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 13, 26, 0.75), rgba(5, 13, 26, 0.9));
}

.section-dark > * {
    position: relative;
    z-index: 1;
}

.section-light {
    background-color: var(--cream);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-align: center;
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 300;
    text-align: center;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* ===================================
   About Section
   =================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    position: relative;
}

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

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent-gold);
    z-index: -1;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.stat-item {
    text-align: center;
    padding: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 4px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 600;
    color: var(--accent-gold-text);
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
}

/* ===================================
   Services Section
   =================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid.grid-2col {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1000px;
}

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

.service-card {
    padding: 50px 40px;
    background-color: var(--card-bg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    word-break: break-word;
    min-width: 0;
}

.service-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent-gold);
    stroke-width: 1;
    fill: none;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===================================
   Founder Section
   =================================== */
.founder-section {
    background: var(--white);
}

.founder-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.founder-portrait {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.founder-portrait-inner {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(12, 25, 41, 0.2), 0 0 0 6px rgba(212, 175, 55, 0.15);
}

.founder-avatar-icon {
    width: 100px;
    height: 100px;
    stroke: var(--accent-gold);
    stroke-width: 0.8;
    fill: none;
}

.founder-accent-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-gold), transparent);
    margin-top: 20px;
}

.founder-info {
    padding: 20px 0;
}

.founder-name {
    font-size: 2.4rem;
    font-weight: 300;
    letter-spacing: 3px;
    color: var(--primary-navy);
    margin-bottom: 12px;
    line-height: 1.2;
}

.founder-label {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-gold-text);
    border: 1px solid var(--accent-gold);
    padding: 6px 18px;
    margin-bottom: 24px;
    font-weight: 500;
}

.founder-divider {
    width: 60px;
    height: 2px;
    background: var(--accent-gold);
    margin-bottom: 25px;
}

.founder-bio {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-light);
    margin-bottom: 15px;
}

.founder-details {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 25px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.founder-detail-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.founder-detail-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-gold);
    stroke-width: 1.5;
    fill: none;
    flex-shrink: 0;
}

/* ===================================
   Projects Section
   =================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.9) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

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

.project-overlay h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.project-card:hover .project-overlay h3 {
    transform: translateY(0);
}

.project-overlay span {
    color: var(--accent-gold-text);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transform: translateY(20px);
    transition: transform 0.3s ease 0.1s;
}

.project-card:hover .project-overlay span {
    transform: translateY(0);
}

/* Project Placeholder */
.project-placeholder {
    background: linear-gradient(135deg, var(--secondary-navy) 0%, var(--primary-navy) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: rgba(255, 255, 255, 0.3);
}

.project-placeholder svg {
    width: 50px;
    height: 50px;
    stroke: currentColor;
    stroke-width: 1;
    fill: none;
    margin-bottom: 15px;
}

.project-placeholder span {
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* ===================================
   Project Detail Modal
   =================================== */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.project-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 13, 26, 0.85);
    backdrop-filter: blur(8px);
}

.project-modal-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1100px;
    max-height: 90vh;
    margin: 5vh auto;
    background: var(--warm-white);
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    transform: translateY(30px);
    transition: transform 0.4s ease;
}

.project-modal.active .project-modal-content {
    transform: translateY(0);
}

.project-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: var(--primary-navy);
    color: var(--warm-white);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.project-modal-close:hover {
    background: var(--accent-gold);
    color: var(--primary-navy);
}

.project-modal-close svg {
    width: 18px;
    height: 18px;
}

/* Modal Gallery */
.project-modal-gallery {
    position: relative;
    background: var(--primary-navy);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.project-modal-main-img {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: 300px;
    overflow: hidden;
}

.project-modal-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(12, 25, 41, 0.7);
    color: var(--warm-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-nav:hover {
    background: var(--accent-gold);
    color: var(--primary-navy);
}

.gallery-nav svg {
    width: 18px;
    height: 18px;
}

.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }

.project-modal-thumbs {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: var(--deep-space);
}

.project-modal-thumbs img {
    width: 70px;
    height: 50px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.project-modal-thumbs img.active,
.project-modal-thumbs img:hover {
    opacity: 1;
}

/* Modal Info */
.project-modal-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
}

.project-modal-category {
    color: var(--accent-gold-text);
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
}

.project-modal-title {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--primary-navy);
    line-height: 1.3;
}

.project-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 16px 0;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.meta-item svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent-gold);
    flex-shrink: 0;
}

.project-modal-story {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.story-block h4 {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-gold-text);
    margin-bottom: 8px;
    font-weight: 500;
}

.story-block p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
}

.project-modal-cta {
    display: inline-block;
    margin-top: auto;
    padding: 14px 28px;
    background: var(--primary-navy);
    color: var(--accent-gold-text);
    border: 1px solid var(--accent-gold);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    transition: all 0.3s ease;
}

.project-modal-cta:hover {
    background: var(--accent-gold);
    color: var(--primary-navy);
}

/* Modal Responsive */
@media (max-width: 900px) {
    .project-modal-content {
        grid-template-columns: 1fr;
        width: 95%;
        max-height: 95vh;
        margin: 2.5vh auto;
    }

    .project-modal-gallery {
        position: relative;
        min-height: auto;
    }

    .project-modal-main-img {
        position: relative;
        aspect-ratio: 4/3;
        flex: none;
        min-height: auto;
    }

    .project-modal-main-img img {
        position: static;
    }

    .project-modal-info {
        padding: 28px 24px;
    }

    .project-modal-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .project-modal-meta {
        flex-direction: column;
        gap: 12px;
    }

    .project-modal-info {
        padding: 24px 20px;
    }
}

/* ===================================
   Contact Section
   =================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-details svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-gold);
    stroke-width: 1.5;
    fill: none;
    flex-shrink: 0;
}

.contact-details span {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    padding: 18px 50px;
    background-color: var(--accent-gold);
    color: var(--primary-navy);
    border: none;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    align-self: flex-start;
}

.submit-btn:hover {
    background-color: var(--accent-gold-light);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-image: url('../assets/images/backgrounds/gokyuzu-arkaplan.jpg');
    background-size: cover;
    background-position: bottom center;
    background-attachment: fixed;
    padding: 80px 60px 40px;
    color: var(--white);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 13, 26, 0.9);
}

.footer > * {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto 60px;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 25px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: var(--accent-gold-text);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    border-color: var(--accent-gold);
    background-color: var(--accent-gold);
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
}

.social-links a:hover svg {
    fill: var(--primary-navy);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-map {
    margin-top: 12px;
    border-radius: 8px;
    overflow: hidden;
    line-height: 0;
}

.footer-map iframe {
    width: 100%;
    height: 150px;
    border: 0;
    border-radius: 8px;
}

.footer-contact ul li a {
    word-break: break-word;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .services-grid,
    .services-grid.grid-2col,
    .services-grid.grid-4col,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .navbar {
        padding: 20px 30px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--primary-navy);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: transform 0.3s ease, visibility 0.3s ease;
        transform: translateX(100%);
        visibility: hidden;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
    }
    
    .nav-links a {
        font-size: 1.2rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .section {
        padding: 80px 30px;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }

    .founder-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .founder-portrait {
        justify-self: center;
    }

    .founder-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .founder-details {
        align-items: flex-start;
        text-align: left;
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .founder-portrait-inner {
        width: 220px;
        height: 220px;
    }

    .founder-avatar-icon {
        width: 80px;
        height: 80px;
    }

    .founder-name {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .founder-container {
        gap: 35px;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 3px;
    }
    
    .page-header-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid,
    .services-grid.grid-2col,
    .services-grid.grid-4col,
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-card {
        padding: 35px 25px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-logo {
        width: 120px;
    }
    
    .section {
        padding: 60px 20px;
    }
}

/* WhatsApp Sticky Button */
.whatsapp-sticky {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-sticky:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
    background-color: #20b857;
}

.whatsapp-sticky svg {
    width: 35px;
    height: 35px;
    fill: #fff;
}

/* Back to Top Button */

/* Map Section */
.map-section {
    padding: 60px 0 0 0;
    background-color: var(--warm-white);
}

.map-section .map-header {
    text-align: center;
    margin-bottom: 40px;
}

.map-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 450px;
    filter: grayscale(30%) contrast(1.05);
    transition: filter 0.3s ease;
}

.map-container:hover iframe {
    filter: grayscale(0%) contrast(1);
}

.map-directions-btn {
    position: absolute;
    bottom: 24px;
    left: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: var(--primary-navy);
    color: var(--accent-gold-text);
    border: 1px solid var(--accent-gold);
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    z-index: 10;
}

.map-directions-btn:hover {
    background-color: var(--accent-gold);
    color: var(--primary-navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .map-container iframe {
        height: 350px;
    }
    
    .map-directions-btn {
        bottom: 16px;
        left: 16px;
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background-color: var(--primary-navy);
    color: var(--warm-white);
    border: 1.5px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(12, 25, 41, 0.35);
    z-index: 1000;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.whatsapp-btn:hover {
    background-color: var(--accent-gold);
    color: var(--primary-navy);
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.whatsapp-btn.hidden-on-hero {
    opacity: 0;
    visibility: hidden;
}

.whatsapp-btn.hidden-on-hero.visible {
    opacity: 1;
    visibility: visible;
}

.whatsapp-btn svg {
    width: 28px;
    height: 28px;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 92px; /* Above WhatsApp button */
    right: 27px;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.85);
    color: var(--accent-gold-text);
    border: 1px solid var(--accent-gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-gold-light);
    color: var(--primary-navy);
    transform: translateY(-5px);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}
