:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --text-main: #f0f0f0;
    --text-muted: #a0a0a0;
    --gold: #D4AF37;
    --gold-hover: #b5952f;
    --white: #ffffff;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
    --transition: all 0.4s ease;
}

body.light-mode {
    --bg-dark: #ffffff;
    --bg-card: #ffffff;
    --text-main: #1a1a1a;
    --text-muted: #555555;
    --gold: #b5952f;
    /* Darker gold for better contrast on white */
    --gold-hover: #967d25;
}

body.light-mode .overlay span {
    color: #ffffff;
    /* Keep overlay text white */
}

body.light-mode .navbar {
    background: #ffffff;
    border-bottom: 1px solid rgba(181, 149, 47, 0.2);
}

body.light-mode .section.dark-bg {
    /* Override dark sections for light mode if needed, or keep them dark for contrast */
    background-color: #ffffff;
}

body.light-mode input,
body.light-mode textarea {
    border-color: #ccc;
    color: #333;
}

body.light-mode footer {
    background: #ffffff;
    color: #333;
    border-top: 1px solid #ccc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0 40px;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.navbar-spacer {
    height: 80px;
}

/* Projeler sayfası için özel navbar spacer */
body[data-lang] #projects ~ * .navbar-spacer,
#projects .navbar-spacer {
    height: 20px;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    opacity: 0.7;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
    color: var(--gold);
}

.logo {
    display: flex;
    align-items: flex-end;
    align-self: flex-end;
}

.site-logo {
    height: 70px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.logo a:hover .site-logo {
    transform: scale(1.05);
}


/* Language Dropdown */
.hamburger {
    display: none;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-dropdown {
    position: relative;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
}

.selected-lang {
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.selected-lang:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.lang-options {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
    min-width: 100%;
    display: none;
    flex-direction: column;
    z-index: 1001;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lang-options.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.lang-options div {
    padding: 10px 15px;
    color: var(--text-muted);
    transition: var(--transition);
    text-align: center;
}

.lang-options div:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
}

.theme-switch {
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.7;
}

.theme-switch:hover {
    opacity: 1;
    transform: rotate(15deg);
}

/* Light Mode Overrides for Dropdown */
body.light-mode .selected-lang {
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .lang-options {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/image/hero.png') no-repeat center center/cover;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    animation: fadeIn 1.5s ease-out;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--gold);
    color: var(--bg-dark);
}

/* Sections */
.section {
    padding: 40px 0;
}

/* Projeler sayfası için özel section padding */
#projects.section {
    padding: 20px 0 40px 0;
}

.dark-bg {
    background-color: #0f0f0f;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--gold);
    text-align: center;
}

.section-desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Services Grid */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-card);
    padding: 40px 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.card.active {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card h3 {
    margin-bottom: 15px;
    font-family: var(--font-serif);
}

.card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Service Details */
.service-detail-inline {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    animation: fadeIn 0.5s ease;
}

.card.active .service-detail-inline {
    display: block;
}

.divider-small {
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto 15px;
}

.service-details h3 {
    font-family: var(--font-serif);
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 20px;
}

.service-details p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-main);
}

.divider-small {
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto 20px;
}

/* Light Mode Overrides */
body.light-mode .card.active {
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Projects Grid */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 20px;
}

.project-item {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.project-item:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    text-align: center;
    padding: 20px;
}

.project-item:hover .overlay {
    opacity: 1;
}

.overlay h3 {
    color: var(--gold);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.overlay p {
    color: var(--white);
    font-size: 1rem;
    font-weight: 300;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.2s;
}

.project-item:hover .overlay h3,
.project-item:hover .overlay p {
    transform: translateY(0);
}

.project-item.coming-soon {
    background: var(--bg-card);
    border: 1px dashed var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.project-item.coming-soon:hover {
    border-style: solid;
    background: rgba(212, 175, 55, 0.03);
}

.coming-soon-content {
    text-align: center;
    padding: 30px;
}

.coming-soon-content h3 {
    font-family: var(--font-serif);
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 15px;
}

.coming-soon-content p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Yeni Projeler Grid - Ortalanmış ve Esnek */
.projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

/* Büyük Proje Kartı */
.project-item-large {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 600px;
    overflow: hidden;
    border: 2px solid var(--gold);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.project-item-large:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(212, 175, 55, 0.3);
}

/* Slayt Gösterisi Container */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
    touch-action: pan-y pinch-zoom; /* Dikey scroll'a izin ver, yatay swipe için */
    user-select: none; /* Metin seçimini engelle */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Slayt Resimleri */
.slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slideshow-image.active {
    opacity: 1;
    z-index: 2;
}

/* Proje Overlay - Slayt üzerinde görünür */
.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.4) 70%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 50px 60px;
    z-index: 3;
}

.project-location {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.location-city {
    font-family: var(--font-serif);
    color: var(--gold);
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 2px;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.9);
    line-height: 1.1;
}

.location-street {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 300;
    margin: 0;
    letter-spacing: 4px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
    opacity: 0.95;
}

.project-overlay h3 {
    font-family: var(--font-serif);
    color: var(--gold);
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.project-overlay p {
    color: var(--white);
    font-size: 1.2rem;
    max-width: 600px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

/* Slayt Göstergeleri - Daha Transparan */
.slideshow-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 4;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: rgba(212, 175, 55, 0.4);
    border-color: rgba(212, 175, 55, 0.6);
    transform: scale(1.2);
}

.indicator.active {
    background: rgba(212, 175, 55, 0.7);
    border-color: rgba(212, 175, 55, 0.8);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Responsive Tasarım */
@media (max-width: 1024px) {
    .project-item-large {
        max-width: 100%;
        height: 500px;
    }
    
    .location-city {
        font-size: 2.5rem;
    }
    
    .location-street {
        font-size: 1.5rem;
        letter-spacing: 3px;
    }
    
    .project-overlay {
        padding: 40px 50px;
    }
    
    .project-overlay h3 {
        font-size: 2rem;
    }
    
    .project-overlay p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .project-item-large {
        height: 400px;
    }
    
    .project-overlay {
        padding: 30px 30px;
    }
    
    .location-city {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .location-street {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }
    
    .project-overlay h3 {
        font-size: 1.8rem;
    }
    
    .project-overlay p {
        font-size: 0.95rem;
    }
    
    .slideshow-indicators {
        bottom: 15px;
        gap: 8px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .project-item-large {
        height: 350px;
    }
    
    .project-overlay {
        padding: 25px 20px;
    }
    
    .location-city {
        font-size: 1.6rem;
        letter-spacing: 0.5px;
    }
    
    .location-street {
        font-size: 1rem;
        letter-spacing: 1.5px;
    }
    
    .project-overlay h3 {
        font-size: 1.5rem;
    }
    
    .project-overlay p {
        font-size: 0.9rem;
    }
}

/* Video Styling */
.video-wrapper {
    max-width: 95%;
    max-height: 85vh;
    /* Limit height so it fits on screen */
    margin: 20px auto;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.project-video {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

/* Why Us */
.feature {
    text-align: center;
}

.feature .icon {
    font-size: 2rem;
    color: var(--gold);
    display: block;
    margin-bottom: 15px;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-brand {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.contact-detail-item:hover {
    transform: translateX(10px);
}

.contact-detail-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--gold);
}

.contact-info p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 400;
}

body.light-mode .contact-detail-icon {
    background: rgba(181, 149, 47, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

input,
textarea {
    background: transparent;
    border: 1px solid #333;
    padding: 15px;
    color: var(--white);
    font-family: var(--font-sans);
    outline: none;
    transition: var(--transition);
}

input:focus,
textarea:focus {
    border-color: var(--gold);
}

button[type="submit"] {
    background: var(--gold);
    color: var(--bg-dark);
    border: none;
    padding: 15px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

button[type="submit"]:hover {
    background: var(--gold-hover);
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    background: var(--bg-dark);
    border-top: 1px solid #1a1a1a;
    color: #555;
    font-size: 0.8rem;
}

/* Social Sidebar */
.social-sidebar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.social-item {
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--white);
    text-decoration: none;
}

.social-item svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
    transition: var(--transition);
}

.social-item:hover {
    background: var(--gold);
    transform: translateX(5px) scale(1.1);
    box-shadow: 0 0 15px rgba(181, 149, 47, 0.4);
}

.social-item:hover svg {
    fill: #000;
}

/* Brand Colors */
.social-item[title="WhatsApp"] {
    border-color: #25D366;
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.2);
}

.social-item[title="WhatsApp"] svg {
    fill: #25D366;
}

.social-item[title="WhatsApp"]:hover {
    background: #25D366;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
}

.social-item[title="WhatsApp"]:hover svg {
    fill: #fff;
}

.social-item[title="Instagram"] {
    border-color: #E1306C;
    box-shadow: 0 0 10px rgba(225, 48, 108, 0.2);
}

.social-item[title="Instagram"] svg {
    fill: #E1306C;
}

.social-item[title="Instagram"]:hover {
    background: #E1306C;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 0 20px rgba(225, 48, 108, 0.6);
    border: none;
}

.social-item[title="Instagram"]:hover svg {
    fill: #fff;
}

.social-item[title="Phone"] {
    border-color: #007bff;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.2);
}

.social-item[title="Phone"] svg {
    fill: #007bff;
}

.social-item[title="Phone"]:hover {
    background: #007bff;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.6);
}

.social-item[title="Phone"]:hover svg {
    fill: #fff;
}

.social-item[title="Location"] {
    border-color: #ff5722;
    box-shadow: 0 0 10px rgba(255, 87, 34, 0.2);
}

.social-item[title="Location"] svg {
    fill: #ff5722;
}

.social-item[title="Location"]:hover {
    background: #ff5722;
    box-shadow: 0 0 20px rgba(255, 87, 34, 0.6);
}

.social-item[title="Location"]:hover svg {
    fill: #fff;
    /* Hoverda okunabilirlik için beyaz kalabilir veya tamamen farklı bir ton seçilebilir */
}

.social-item[title="Email"] {
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.social-item[title="Email"] svg {
    fill: var(--gold);
}

.social-item[title="Email"]:hover {
    background: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.social-item[title="Email"]:hover svg {
    fill: #000;
}

/* Light Mode Override */

/* Responsive */
/* Responsive Sidebar for Mobile */
@media (max-width: 768px) {
    .social-sidebar {
        left: 0;
        top: auto;
        bottom: 0;
        transform: none;
        width: 100%;
        flex-direction: row;
        justify-content: space-evenly;
        padding: 10px 0;
        background: rgba(0, 0, 0, 0.9);
        border-top: 1px solid var(--gold);
        gap: 0;
        border-radius: 15px 15px 0 0;
    }

    /* Mobilde de arka planın koyu kalmasını sağlıyoruz */

    .social-item {
        width: 60px;
        height: 60px;
        border: none;
        background: transparent;
    }

    .social-item svg {
        width: 32px;
        height: 32px;
    }

    .social-item:hover {
        transform: scale(1.1);
        background: transparent;
        box-shadow: none;
    }

    .social-item:hover svg {
        fill: var(--gold);
    }

    /* Adjust footer margin to prevent coverage */
    footer {
        padding-bottom: 80px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
        height: 60px;
        display: flex;
        justify-content: flex-end;
        /* Align right side items */
        align-items: center;
    }

    .logo {
        margin-right: auto;
        /* Push logo to the far left */
    }

    .lang-switch {
        order: 1;
        margin-right: 15px;
    }

    .hamburger {
        order: 2;
        display: block;
        cursor: pointer;
        z-index: 1100;
        /* Higher than menu */
    }

    .navbar-spacer {
        height: 60px;
    }
    
    /* Projeler sayfası için mobilde daha az boşluk */
    #projects.section {
        padding: 10px 0 30px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 0.3rem;
    }
    
    .section-desc {
        margin: 0 auto 1rem;
        font-size: 0.85rem;
        padding: 0 15px;
    }

    .site-logo {
        height: 50px;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 2px;
        background: var(--gold);
        margin: 6px 0;
        transition: var(--transition);
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        /* Slightly wider */
        height: 100vh;
        background: rgba(8, 8, 8, 0.98);
        /* Darker and more premium */
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        /* Start from top */
        padding-top: 80px;
        /* Balanced space for logo area */
        align-items: center;
        transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 1050;
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.8);
        border-left: 1px solid rgba(212, 175, 55, 0.1);
    }

    body.light-mode .nav-links {
        background: rgba(255, 255, 255, 0.98);
        border-left: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        /* Elegant size */
        margin: 6px 0;
        /* Tighter vertical spacing */
        width: 100%;
        text-align: center;
        letter-spacing: 2px;
        text-transform: uppercase;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.4s ease;
    }

    .nav-links.active a {
        opacity: 0.8;
        transform: translateX(0);
    }

    /* Staggered animation for links */
    .nav-links.active a:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active a:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-links.active a:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-links.active a:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-links.active a:nth-child(5) {
        transition-delay: 0.5s;
    }

    .nav-links.active a:nth-child(6) {
        transition-delay: 0.6s;
    }

    .nav-links a.active {
        color: var(--gold);
        opacity: 1;
        background: rgba(212, 175, 55, 0.05);
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Küçük mobil cihazlar için ekstra optimizasyon */
@media (max-width: 480px) {
    .navbar-spacer {
        height: 60px;
    }
    
    /* Projeler sayfası için çok küçük mobilde minimal boşluk */
    #projects.section {
        padding: 5px 0 25px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.2rem;
    }
    
    .section-desc {
        margin: 0 auto 0.8rem;
        font-size: 0.8rem;
        padding: 0 10px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}