﻿/* ==========================================
   CONSTRUCTION WEBSITE - MAIN CSS
   Premium Design System
   ========================================== */

/* ==========================================
   CSS VARIABLES & DESIGN TOKENS
   ========================================== */
:root {
    /* Primary Colors - Blue & Gray Theme */
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --accent-blue: #60a5fa;
    --dark-blue: #1e40af;

    /* Gray Scale */
    --dark-gray: #1f2937;
    --medium-gray: #6b7280;
    --light-gray: #f3f4f6;
    --border-gray: #e5e7eb;

    /* Neutral Colors */
    --white: #ffffff;
    --black: #000000;
    --off-white: #f9fafb;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(30, 58, 138, 0.8) 0%, rgba(59, 130, 246, 0.6) 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Custom Tokens */
    --split-top-bg: #1a1b26;
    --split-bottom-bg: #16161e;
    --accent-gold: #9d7d5d;
}

/* Universal Page Layout Wrap */
.universal-page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--split-bottom-bg);
    color: #fff;
}

.universal-top-section {
    background-color: var(--split-top-bg);
    padding: 130px 0 40px 0;
    width: 100%;
}

.universal-main-section {
    background-color: var(--split-bottom-bg);
    padding: 60px 0 120px 0;
    flex: 1;
    width: 100%;
}

.universal-big-title {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 200;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -2px;
    color: #fff;
    font-family: var(--font-primary);
}

.universal-divider {
    width: 45px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 25px 0;
}

.universal-pill-nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pill-item {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    padding: 6px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pill-item:hover,
.pill-item.active {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.pill-item.active {
    background: var(--accent-gold);
    border-color: #fff;
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-gray);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
}

h2 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

h3 {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
}

h4 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--medium-gray);
    font-size: 0.9375rem;
}

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

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--spacing-xl);
}

.section {
    padding: var(--spacing-3xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: var(--spacing-sm);
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
}

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

.text-primary {
    color: var(--primary-blue);
}

.bg-light {
    background-color: var(--light-gray);
}

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

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

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

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

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

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

.btn-white:hover {
    background: var(--light-gray);
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-base);
}

.header-transparent {
    background: transparent;
    box-shadow: none !important;
    border-bottom: none !important;
    /* Çizgi kaldırıldı */
}

.header-transparent .nav-link {
    color: var(--white);
}

.header-transparent .logo,
.header-transparent .nav-link {
    color: var(--white);
}

.header-transparent .header-phone {
    color: var(--white);
}

.header-transparent .search-toggle {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.header.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 0.25rem 0;
}

.header.scrolled .nav-link,
.header.scrolled .logo,
.header.scrolled .header-phone {
    color: #16161e;
}

.header.scrolled .search-toggle {
    color: #16161e;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    gap: var(--spacing-lg);
}

/* Navbar Left: Logo + Menu */
.navbar-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    /* 1.5rem - daha eşit boşluklar */
    margin: 0;
}

.nav-link {
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition-base);
}

.nav-link:hover::after {
    width: 0 !important;
}

.nav-link.active::after {
    width: 100% !important;
}

/* Navbar Right: Phone + Language + Search */
.navbar-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

/* Header Phone */
.header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 0;
}

.header-phone i {
    font-size: 0.875rem;
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 0.25rem;
    background: var(--light-gray);
    padding: 0.25rem;
    border-radius: var(--radius-md);
}

.lang-btn {
    display: flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border: none;
    background: transparent;
    color: var(--dark-gray);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-base);
}

.lang-btn:hover {
    background: rgba(30, 58, 138, 0.1);
}

.lang-btn.active {
    background: var(--white);
    color: var(--primary-blue);
    box-shadow: var(--shadow-sm);
}

/* Search Toggle Button */
.search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #16161e;
    /* Beyaz background'da görünür olması için */
    background: var(--white);
    color: #16161e;
    /* İkon rengi */
    border-radius: var(--radius-md);
    cursor: pointer;
    /* Hover efekti kaldırıldı */
}

.search-toggle i {
    color: #16161e !important;
    /* İkon rengi kesin */
}

/* Search Box */
.search-box {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 1rem;
    display: none;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.75rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 300px;
    z-index: 100;
}

.search-box.active {
    display: flex;
}

.search-input {
    flex: 1;
    padding: 0.625rem 1rem;
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.search-submit,
.search-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-base);
}

.search-submit:hover {
    background: var(--dark-blue);
}

.search-close {
    background: var(--medium-gray);
}

.search-close:hover {
    background: var(--dark-gray);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-gray);
    transition: var(--transition-base);
}


/* ==========================================
   HERO SLIDER
   ========================================== */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    padding: 100px var(--spacing-xl);
}

.slide-content {
    color: var(--white);
    max-width: 800px;
    animation: slideUp 1s ease-out;
    display: flex;
    flex-direction: column;
}

/* Text Position Alignments */
.slide-content.center {
    margin: auto;
    text-align: center;
    align-items: center;
}

.slide-content.left-center {
    margin: auto auto auto 0;
    text-align: left;
    align-items: flex-start;
}

.slide-content.right-center {
    margin: auto 0 auto auto;
    text-align: right;
    align-items: flex-end;
}

.slide-content.top-center {
    margin: 40px auto auto auto;
    text-align: center;
    align-items: center;
}

.slide-content.top-left {
    margin: 40px auto auto 0;
    text-align: left;
    align-items: flex-start;
}

.slide-content.top-right {
    margin: 40px 0 auto auto;
    text-align: right;
    align-items: flex-end;
}

/* Features Section */
.features-section {
    background: #fff;
    padding: 3rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.feature-item:hover .feature-icon {
    background: var(--primary-blue);
}

.feature-item:hover .feature-icon i {
    color: #fff;
}

.feature-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-content p {
    font-size: 0.95rem;
    color: var(--medium-gray);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .features-section {
        padding: 2rem 0;
    }
}

/* Homepage Gallery */
.homepage-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

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

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

@media (max-width: 991px) {
    .homepage-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .homepage-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
}

.slide-content.bottom-center {
    margin: auto auto 0 auto;
    text-align: center;
    align-items: center;
}

.slide-content.bottom-left {
    margin: auto auto 0 0;
    text-align: left;
    align-items: flex-start;
}

.slide-content.bottom-right {
    margin: auto 0 0 auto;
    text-align: right;
    align-items: flex-end;
}

.slide-content h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    color: var(--white);
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: var(--spacing-xl);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-base);
}

.slider-dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 6px;
}

/* ==========================================
   CARDS
   ========================================== */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

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

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: var(--spacing-lg);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.card-text {
    color: var(--medium-gray);
    margin-bottom: var(--spacing-md);
}

/* ==========================================
   GRID LAYOUTS
   ========================================== */
.grid {
    display: grid;
    gap: var(--spacing-lg);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ==========================================
   FORMS
   ========================================== */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--dark-gray);
}

.form-control {
    width: 100%;
    padding: 0.75rem 0.875rem;
    font-size: 0.875rem;
    border: 2px solid var(--border-gray);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    font-family: var(--font-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section a:hover {
    color: var(--accent-blue);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 60px;
    margin-bottom: 60px;
    justify-items: start;
}

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-grid div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-grid ul li a {
        display: block;
        padding: 5px 0;
    }
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #1a1b26;
        /* Dark background for mobile menu */
        flex-direction: column;
        padding: var(--spacing-xl);
        box-shadow: var(--shadow-lg);
        transition: var(--transition-base);
        z-index: 2000;
        overflow-y: auto;
    }

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

    .nav-link {
        color: #fff !important;
        font-size: 1.25rem;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    .mobile-toggle {
        display: flex;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .navbar-left {
        gap: var(--spacing-md);
    }

    .header-phone span {
        display: none;
    }

    .header-phone {
        padding: 0.5rem;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        justify-content: center;
    }

    .language-selector {
        display: none;
        /* Hide on mobile to save space */
    }

    .hero-slider {
        height: 70vh;
        min-height: 500px;
    }

    .section {
        padding: var(--spacing-2xl) 0;
    }

    .container-fluid {
        padding: 0 var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .navbar-right {
        gap: 8px;
    }

    .logo img {
        height: 30px;
    }

    .search-toggle {
        width: 36px;
        height: 36px;
    }
}



/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* ==========================================
   LOADING & STATES
   ========================================== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================
   MESSAGES & ALERTS
   ========================================== */
.messages {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.alert {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
    box-shadow: var(--shadow-lg);
    animation: slideInRight 0.3s ease-out;
}

.alert-success {
    background: #10b981;
    color: var(--white);
}

.alert-error {
    background: #ef4444;
    color: var(--white);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ==========================================
   STICKY CONTACT BUTTON & PANEL
   ========================================== */
.sticky-contact-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1.5rem 1rem;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    box-shadow: var(--shadow-xl);
    cursor: pointer;
    transition: all var(--transition-base);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    border: none;
}

.sticky-contact-btn:hover {
    padding-right: 1.5rem;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.4);
}

.sticky-contact-btn i {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.contact-panel {
    position: fixed;
    right: -450px;
    top: 0;
    width: 450px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow-y: auto;
}

.contact-panel.active {
    right: 0;
}

.contact-panel-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 2rem;
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-panel-header h3 {
    color: var(--white);
    margin: 0;
    font-size: 1.5rem;
}

.close-panel {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    font-size: 1.5rem;
}


.close-panel:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.contact-panel-body {
    padding: 2rem;
}

.contact-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.contact-panel-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile responsive for contact panel */
@media (max-width: 768px) {
    .contact-panel {
        width: 100%;
        right: -100%;
    }

    .sticky-contact-btn {
        padding: 1rem 0.5rem;
        font-size: 0.75rem;
        top: auto;
        bottom: 80px;
        right: 15px;
        transform: none;
        writing-mode: horizontal-tb;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        line-height: 1;
    }

    .sticky-contact-btn span {
        display: none;
        /* Hide text on mobile */
    }

    .sticky-contact-btn i {
        margin: 0;
        font-size: 1.5rem;
    }
}

/* ==========================================
   DROPDOWN MENU
   ========================================== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .fa-chevron-down {
    font-size: 0.75rem;
    margin-left: 4px;
    transition: transform var(--transition-base);
}

.nav-dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-md);
    padding: var(--spacing-xs) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: 1000;
}

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

.dropdown-menu li {
    list-style: none;
    margin: 0;
    /* Reset default margin */
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--dark-gray);
    font-size: 0.9rem;
    transition: var(--transition-base);
    white-space: nowrap;
    text-transform: none;
    /* Override potential uppercase */
    font-weight: 500;
}

.dropdown-menu li a:hover {
    background: var(--light-gray);
    color: var(--primary-blue);
    padding-left: 1.75rem;
}

/* Mobile Dropdown Support */
@media (max-width: 768px) {
    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        padding: 0;
        width: 100%;
    }

    .nav-dropdown.open .dropdown-menu {
        display: block;
    }

    .nav-dropdown.open .fa-chevron-down {
        transform: rotate(180deg);
    }

    .dropdown-menu li a {
        color: #fff !important;
        padding: 0.75rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* Redesigned Footer Styles */
.footer {
    background: #0f1016 !important;
    color: #fff !important;
    padding: 60px 0 0 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 60px;
    margin-bottom: 60px;
    justify-items: start;
}

.footer-section h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--accent-blue);
    width: 20px;
}

.footer-bottom {
    background: #090a0e;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    text-align: left;
}

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Homepage Specific Styles */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-item h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: #16161e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #16161e;
    width: 100%;
}

.feature-item p {
    font-size: 0.9rem;
    color: #16161e;
    line-height: 1.6;
    margin: 0;
}

/* Concept Section */
.concept-section {
    background-color: #fff;
    color: #16161e;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.concept-container {
    padding: 0 4%;
    max-width: 100%;
}

.concept-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 5rem;
    line-height: 1.1;
    text-transform: uppercase;
    color: #16161e;
}

.concept-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 8rem;
    align-items: start;
}

.concept-collage {
    position: relative;
    width: max-content;
}

.concept-img-1 {
    width: 365px;
    height: 440px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 4px;
}

.concept-img-2 {
    position: absolute;
    bottom: -50px;
    right: -80px;
    width: 250px;
    height: 300px;
    z-index: 2;
    border: 8px solid #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.concept-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 440px;
}

.concept-text {
    color: #16161e;
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.concept-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #1a1b26;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: 0.3s;
    border: 2px solid #1a1b26;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.concept-btn:hover {
    background: transparent;
    color: #1a1b26;
}

.shadow-watermark {
    position: absolute;
    bottom: 0;
    transform: translateY(30%);
    left: -2%;
    font-size: 16rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 3px #16161e;
    opacity: 0.15;
    line-height: 1;
    pointer-events: none;
    white-space: nowrap;
    z-index: 0;
    text-transform: lowercase;
}

/* Home Projects Section */
.home-projects-section {
    background: #16161e;
    padding: 40px 0 0 0;
    position: relative;
    overflow: hidden;
}

.home-projects-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
}

.home-project-card {
    position: relative;
    height: 500px;
    text-decoration: none;
    overflow: hidden;
    display: block;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.home-project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.home-project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px 15px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.home-project-card:hover .home-project-overlay {
    background: rgba(0, 0, 0, 0.4);
    padding-bottom: 35px;
}

.home-project-title {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    text-align: center;
}

.vertical-projects-text {
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 500px;
}

.vertical-title {
    writing-mode: vertical-rl;
    font-size: 5rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 15px;
    margin: 0;
    transform: rotate(180deg);
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 1200px) {
    .home-projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .concept-grid {
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .home-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .concept-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .concept-collage {
        margin: 0 auto;
    }

    .concept-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .vertical-projects-text {
        display: none;
    }
}


/* ==========================================
   PREMIUM GALLERY (DARK THEME)
   ========================================== */
.premium-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 4rem;
    padding: 2rem 5%;
}

.premium-content {
    flex: 1;
    max-width: 500px;
    padding: 2rem 0;
    z-index: 2;
}

.brand-tag {
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.premium-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #fff;
    font-family: var(--font-heading);
}

.premium-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.premium-links {
    display: flex;
    gap: 2rem;
}

.premium-link {
    color: #fff;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-base);
    border-bottom: 1px solid transparent;
}

.premium-link:hover {
    color: var(--accent-blue);
    border-bottom-color: var(--accent-blue);
}

/* Slider Right Side */
.premium-slider-wrapper {
    flex: 1.5;
    position: relative;
    height: 500px;
    /* Sabit yükseklik veya responsive ayarlanabilir */
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.premium-slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.premium-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.premium-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 4px;
    color: #fff;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
}

/* Controls */
.premium-controls {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 10px;
}

.control-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-base);
}

.control-btn:hover {
    background: #fff;
    color: #000;
}

@media (max-width: 991px) {
    .premium-layout {
        flex-direction: column;
        padding: 4rem 1rem;
    }

    .premium-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 2rem;
    }

    .premium-links {
        justify-content: center;
    }

    .premium-slider-wrapper {
        width: 100%;
        height: 300px;
    }

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

/* Global Icon Color Fix */
.fas,
.fab,
.far,
[class*="fa-"] {
    color: #fff !important;
}

/* ==========================================
   LANGUAGE DROPDOWN
   ========================================== */
.language-selector {
    position: relative;
}

.lang-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-base);
    font-size: 0.875rem;
    font-weight: 600;
}

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

.lang-dropdown-btn img {
    width: 20px;
    height: 15px;
}

.lang-dropdown-btn i {
    font-size: 0.75rem;
    color: var(--dark-gray) !important;
    transition: transform var(--transition-base);
}

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

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    z-index: 1000;
}

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

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: var(--transition-base);
    font-size: 0.875rem;
    text-align: left;
}

.lang-option:hover {
    background: var(--light-gray);
}

.lang-option.active {
    background: var(--primary-blue);
    color: var(--white);
}

.lang-option img {
    width: 24px;
    height: 18px;
}

.lang-option span {
    flex: 1;
}

/* Header transparent i�in */
.header-transparent .lang-dropdown-btn {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.header-transparent .lang-dropdown-btn .current-lang {
    color: var(--white);
}

.header-transparent .lang-dropdown-btn i {
    color: var(--white) !important;
}

.header.scrolled .lang-dropdown-btn {
    background: var(--white);
    border-color: var(--border-gray);
}

.header.scrolled .lang-dropdown-btn .current-lang {
    color: var(--dark-gray);
}

.header.scrolled .lang-dropdown-btn i {
    color: var(--dark-gray) !important;
}

/* Language Dropdown - Higher z-index */
.lang-dropdown-menu {
    z-index: 10000 !important;
}

.navbar-right {
    position: relative;
    overflow: visible !important;
}

.language-selector {
    position: relative;
    z-index: 10001;
}

/* Language Dropdown Debug - Ensure visibility */
.lang-dropdown-menu.active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    max-height: 500px !important;
    overflow-y: auto !important;
}

.lang-option {
    display: flex !important;
    color: var(--dark-gray) !important;
}

.lang-option span {
    color: inherit !important;
}

/* Language Dropdown Button Text - Dark Color */
.lang-dropdown-btn .current-lang {
    color: var(--dark-gray) !important;
}

.lang-dropdown-btn {
    color: var(--dark-gray) !important;
}

/* Override for transparent header */
.header-transparent .lang-dropdown-btn .current-lang {
    color: var(--white) !important;
}

/* Ensure dark color when scrolled */
.header.scrolled .lang-dropdown-btn .current-lang {
    color: var(--dark-gray) !important;
}