/* ============================================
   TELLIOĞLU İNŞAAT - EDIFICO BUILDCRAFT CLONE
   Ana Stil Dosyası
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #1e3a8a;
    --primary-dark: #172554;
    --primary-light: #2563eb;
    --bg-dark: #0D1117;
    --bg-darker: #080B10;
    --bg-card: #151A22;
    --bg-card-hover: #1C222D;
    --bg-section: #111620;
    --bg-section-alt: #0A0E14;
    --text-white: #FFFFFF;
    --text-light: #E5E7EB;
    --text-muted: #9CA3AF;
    --text-dim: #6B7280;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(30, 58, 138, 0.15);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --container-max: 1280px;
    --header-height: 90px;
}

/* Light Theme Variables */
[data-theme="light"] {
    --primary: #1e3a8a;
    --primary-dark: #172554;
    --primary-light: #2563eb;
    --bg-dark: #F3F4F6;
    --bg-darker: #E5E7EB;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F9FAFB;
    --bg-section: #F8FAFC;
    --bg-section-alt: #FFFFFF;
    --text-white: #111827;
    --text-light: #374151;
    --text-muted: #6B7280;
    --text-dim: #9CA3AF;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-light: rgba(0, 0, 0, 0.12);
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 30px rgba(30, 58, 138, 0.25);
}

[data-theme="light"] .header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .header.scrolled .nav-link,
[data-theme="light"] .header.scrolled .logo-text,
[data-theme="light"] .header.scrolled .header-phone-label {
    color: #111827;
}

[data-theme="light"] .header.scrolled .menu-toggle span {
    background: #111827;
}

/* Ensure Logo Span (Orange) remains Orange */
[data-theme="light"] .header.scrolled .logo-text span {
    color: var(--primary);
}

/* 
   Şeffaf header durumunda metinler tema bağımsız olarak 
   hero görseli üzerinde beyaz kalmalı. 
*/
.header:not(.scrolled) .nav-link,
.header:not(.scrolled) .logo-text,
.header:not(.scrolled) .header-phone-label,
.header:not(.scrolled) .header-phone-number,
.header:not(.scrolled) .logo-slogan {
    color: #ffffff !important;
}

.header:not(.scrolled) .menu-toggle span {
    background: #ffffff !important;
}

.header:not(.scrolled) .logo-icon {
    background: var(--primary);
}

[data-theme="light"] .hero-bg::after {
    background: linear-gradient(135deg,
            rgba(243, 244, 246, 0.92) 0%,
            rgba(243, 244, 246, 0.75) 50%,
            rgba(243, 244, 246, 0.6) 100%);
}

[data-theme="light"] .hero-watermark {
    color: rgba(0, 0, 0, 0.04);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    background-color: var(--bg-dark);
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

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

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.2;
}

/* ---------- Utility Classes ---------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-alt {
    background-color: var(--bg-section-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-subtitle::before,
.section-subtitle::after {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.8;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(30, 58, 138, 0.45);
    color: var(--text-white);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-play {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-white);
    font-weight: 600;
    font-size: 15px;
    background: none;
    border: none;
    cursor: pointer;
}

.btn-play .play-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    position: relative;
    transition: var(--transition);
}

.btn-play .play-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: pulse-ring 2s ease-out infinite;
}

.btn-play:hover .play-icon {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* ---------- HEADER ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    /* Reduced gap to save horizontal space */
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    font-weight: 900;
    font-family: var(--font-heading);
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--primary);
    margin-left: 2px;
}

.logo-slogan {
    font-size: 11px;
    color: #ffffff;
    /* Default to white for transparent header over dark hero */
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 2px;
    transition: var(--transition);
}

.header.scrolled .logo-slogan {
    color: var(--primary);
    /* Switch to primary color when scrolled on white bg */
}

[data-theme="light"] .header.scrolled .logo-slogan {
    color: var(--primary-dark);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    /* Reduced from 18px for better fit */
    color: var(--text-light);
    font-size: 14px;
    /* Slightly smaller for premium compact feel */
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link i {
    font-size: 12px;
    transition: var(--transition);
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 100;
}

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

.dropdown a {
    display: block;
    padding: 10px 16px;
    color: var(--text-muted);
    font-size: 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.dropdown a:hover {
    background: rgba(30, 58, 138, 0.1);
    color: var(--primary);
    padding-left: 22px;
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-phone-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(30, 58, 138, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
}

.header-phone-text {
    line-height: 1.3;
}

.header-phone-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.header-phone-number {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: white;
}

.btn-contact .arrow-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-contact:hover .arrow-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(45deg);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

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

/* ---------- HERO Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-darker);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(13, 17, 23, 0.92) 0%,
            rgba(13, 17, 23, 0.75) 50%,
            rgba(13, 17, 23, 0.6) 100%);
}

.hero-watermark {
    position: absolute;
    bottom: -5%;
    left: -2%;
    font-family: var(--font-heading);
    font-size: clamp(120px, 18vw, 280px);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    letter-spacing: 10px;
    z-index: 2;
    user-select: none;
    white-space: nowrap;
    line-height: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    padding-top: var(--header-height);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(30, 58, 138, 0.15);
    border: 1px solid rgba(30, 58, 138, 0.3);
    border-radius: var(--radius-xl);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.hero-badge i {
    font-size: 16px;
}

.hero-title {
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-title span {
    color: var(--primary);
    position: relative;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 550px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.hero-stats {
    position: absolute;
    right: 40px;
    bottom: 80px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-stat {
    text-align: right;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.hero-stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Hero Social Bar */
.hero-social {
    position: absolute;
    left: 40px;
    bottom: 40px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-social span {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
}

.hero-social a {
    color: var(--text-muted);
    font-size: 18px;
    transition: var(--transition);
}

.hero-social a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

/* ---------- WHO WE ARE Section ---------- */
.who-we-are {
    position: relative;
    z-index: 5;
    margin-top: -80px;
}

.who-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.who-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
}

.who-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: var(--transition);
}

.who-card:hover {
    border-color: rgba(30, 58, 138, 0.4);
    box-shadow: var(--shadow-glow);
}

.who-card:hover::before {
    opacity: 1;
}

.who-card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.15), rgba(30, 58, 138, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 26px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.who-card:hover .who-card-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    transform: scale(1.1);
}

.who-card h3 {
    font-size: 22px;
    margin-bottom: 14px;
}

.who-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.who-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.who-card-link i {
    transition: var(--transition);
}

.who-card:hover .who-card-link i {
    transform: translateX(5px);
}

/* ---------- ABOUT Section ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: var(--transition-slow);
}

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

.about-image-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 20px 28px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.about-image-badge .number {
    display: block;
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
}

.about-image-badge .label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content .section-subtitle {
    justify-content: flex-start;
}

.about-content .section-subtitle::before {
    display: none;
}

.about-content .section-title {
    text-align: left;
    font-size: 38px;
}

.about-text {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 36px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: rgba(30, 58, 138, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(30, 58, 138, 0.1);
    transition: var(--transition);
}

.about-feature:hover {
    border-color: rgba(30, 58, 138, 0.25);
    background: rgba(30, 58, 138, 0.08);
}

.about-feature i {
    color: var(--primary);
    font-size: 22px;
    margin-top: 2px;
    flex-shrink: 0;
}

.about-feature span {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-white);
}

/* ---------- SERVICES Section ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(30, 58, 138, 0.2);
    box-shadow: var(--shadow-glow);
}

.service-card-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.service-card-img .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(13, 17, 23, 0.8));
}

.service-card-body {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.15), rgba(30, 58, 138, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 14px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
    flex: 1;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.service-card-link:hover {
    gap: 12px;
}

/* ---------- PROJECTS Section ---------- */
.project-featured {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}

.project-featured-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.project-featured-img img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-featured-img:hover img {
    transform: scale(1.03);
}

.project-featured-content h3 {
    font-size: 32px;
    margin-bottom: 12px;
}

.project-featured-content .category {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.project-featured-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

.project-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 28px;
}

.project-meta-item {
    border-left: 2px solid var(--primary);
    padding-left: 16px;
}

.project-meta-item .label {
    font-size: 12px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-meta-item .value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-white);
}

/* Projects Slider */
.projects-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 320px;
    cursor: pointer;
    group: true;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.project-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 17, 23, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    transition: var(--transition);
}

.project-card:hover .project-card-overlay {
    background: linear-gradient(to top, rgba(13, 17, 23, 0.95) 0%, rgba(30, 58, 138, 0.1) 100%);
}

.project-card-category {
    font-size: 12px;
    font-weight: 600;
    color: #60a5fa;
    /* Light blue for better contrast on dark overlay */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.project-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff !important;
}

/* ---------- TESTIMONIALS Section ---------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

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

.testimonials-rating {
    font-family: var(--font-heading);
    font-size: 80px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.testimonials-stars {
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    gap: 4px;
}

.testimonials-count {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.testimonials-count strong {
    color: var(--text-white);
    font-weight: 700;
}

.testimonials-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.testimonial-badge {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition);
}

.testimonial-badge:hover {
    border-color: var(--primary);
    transform: scale(1.1);
}

/* Testimonial Slider */
.testimonial-slider {
    position: relative;
}

.testimonial-item {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border-color);
    position: relative;
}

.testimonial-quote {
    font-size: 40px;
    color: var(--primary);
    opacity: 0.3;
    position: absolute;
    top: 24px;
    right: 32px;
    font-family: serif;
}

.testimonial-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 28px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    font-weight: 700;
    font-family: var(--font-heading);
    flex-shrink: 0;
}

.testimonial-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-white);
}

.testimonial-role {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

.testimonial-nav {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.testimonial-nav button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-white);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-nav button:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* ---------- FEATURES/SKILLS Section ---------- */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.features-tabs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-tab {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-tab:hover,
.feature-tab.active {
    border-color: rgba(30, 58, 138, 0.3);
    background: rgba(30, 58, 138, 0.05);
}

.feature-tab.active {
    border-color: var(--primary);
}

.feature-tab-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.15), rgba(30, 58, 138, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
    transition: var(--transition);
}

.feature-tab.active .feature-tab-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.feature-tab h4 {
    font-size: 17px;
    margin-bottom: 6px;
}

.feature-tab p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Skills */
.skills-section h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.skills-desc {
    color: var(--text-muted);
    margin-bottom: 36px;
    font-size: 15px;
    line-height: 1.7;
}

.skill-item {
    margin-bottom: 28px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.skill-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-white);
}

.skill-percent {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

.skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- BLOG Section ---------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(30, 58, 138, 0.2);
    box-shadow: var(--shadow-glow);
}

.blog-card-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.blog-card-date {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
}

.blog-card-body {
    padding: 28px;
}

.blog-card-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.blog-card h3 {
    font-size: 20px;
    margin-bottom: 14px;
    transition: var(--transition);
}

.blog-card:hover h3 {
    color: var(--primary);
}

.blog-card-excerpt {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.blog-card-link i {
    transition: var(--transition);
}

.blog-card:hover .blog-card-link i {
    transform: translateX(5px);
}

/* ---------- CTA Section ---------- */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta-section h2 {
    font-size: 38px;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.cta-section p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.cta-section .btn {
    position: relative;
    z-index: 2;
    background: rgb(0, 0, 0);
    color: var(--primary);
    font-weight: 700;
}

.cta-section .btn:hover {
    background: var(--bg-dark);
    color: white;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.footer-watermark {
    position: absolute;
    bottom: -5%;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: clamp(80px, 14vw, 220px);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.015);
    letter-spacing: 10px;
    white-space: nowrap;
    user-select: none;
    line-height: 1;
}

.footer-top {
    padding: 80px 0 60px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-contact-item i {
    color: var(--primary);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact-item span {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 24px;
    position: relative;
}

.footer-heading::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--primary);
    margin-top: 12px;
}

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

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-links a:hover::before {
    width: 15px;
}

.footer-bottom {
    padding: 24px 0;
    position: relative;
    z-index: 2;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: var(--text-dim);
    font-size: 14px;
}

.footer-copyright a {
    color: var(--primary);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-social span {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    margin-right: 8px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 15px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* ---------- Scroll to Top ---------- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    border: none;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 25px rgba(30, 58, 138, 0.5);
}

/* ---------- PAGE BANNER (İç Sayfalar) ---------- */
.page-banner {
    padding: 180px 0 100px;
    background: var(--bg-section-alt);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(30, 58, 138, 0.06) 0%, transparent 60%);
}

.page-banner h1 {
    font-size: 44px;
    margin-bottom: 16px;
    position: relative;
}

.page-banner .breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    color: var(--text-muted);
    position: relative;
}

.page-banner .breadcrumb a {
    color: var(--text-muted);
}

.page-banner .breadcrumb a:hover {
    color: var(--primary);
}

.page-banner .breadcrumb .separator {
    color: var(--primary);
}

/* ---------- CONTACT PAGE ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    font-family: var(--font-primary);
    font-size: 15px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(30, 58, 138, 0.03);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-control::placeholder {
    color: var(--text-dim);
}

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

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition);
}

.contact-info-card:hover {
    border-color: rgba(30, 58, 138, 0.2);
}

.contact-info-card .icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.15), rgba(30, 58, 138, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 22px;
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-size: 17px;
    margin-bottom: 6px;
}

.contact-info-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 {
    transition-delay: 0.1s;
}

.animate-on-scroll.delay-2 {
    transition-delay: 0.2s;
}

.animate-on-scroll.delay-3 {
    transition-delay: 0.3s;
}

.animate-on-scroll.delay-4 {
    transition-delay: 0.4s;
}

/* ---------- Dark Mode Toggle (decorative) ---------- */
.dark-toggle {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--primary);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    transition: var(--transition);
}

.dark-toggle:hover {
    border-color: var(--primary);
    transform: rotate(30deg);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    .footer-grid>div:last-child {
        display: none;
    }
}

@media (max-width: 992px) {
    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 34px;
    }

    .nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(13, 17, 23, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
        z-index: 1001;
    }

    .nav.open {
        display: flex;
    }

    .nav-link {
        font-size: 20px;
        padding: 14px 24px;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 20px;
        display: none;
    }

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

    .menu-toggle {
        display: flex;
        z-index: 1002;
    }

    .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(5px, -5px);
    }

    .header-phone {
        display: none;
    }

    .hero-stats {
        display: none;
    }

    .hero-social {
        display: none;
    }

    .who-cards {
        grid-template-columns: 1fr;
    }

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

    .about-image img {
        height: 350px;
    }

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

    .project-featured {
        grid-template-columns: 1fr;
    }

    .projects-slider {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .who-we-are {
        margin-top: -40px;
    }

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

    .projects-slider {
        grid-template-columns: 1fr;
    }

    .project-meta {
        flex-direction: column;
        gap: 16px;
    }

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

    .footer-bottom-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .page-banner {
        padding: 140px 0 70px;
    }

    .page-banner h1 {
        font-size: 32px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .btn-contact {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .who-card {
        padding: 28px 24px;
    }

    .testimonial-item {
        padding: 28px;
    }

    .contact-form {
        padding: 24px;
    }
}

/* ---------- Loading Animation ---------- */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ---------- Alert Messages ---------- */
.alert {
    padding: 16px 24px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #22C55E;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #EF4444;
}

/* ---------- POPUP MODAL ---------- */
.modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--bg-card);
    margin: auto;
    padding: 40px;
    border: 1px solid var(--border-color);
    width: 90%;
    max-width: 600px;
    border-radius: var(--radius-lg);
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.close-modal {
    color: var(--text-dim);
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary);
}

/* ---------- SWIPER PROJECT SLIDER ---------- */
.project-swiper {
    width: 100%;
    padding-bottom: 60px !important;
}

.project-slide-card {
    display: block;
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
}

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

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

.project-slide-card .project-card-overlay {
    background: linear-gradient(to top, rgba(13, 17, 23, 0.95), transparent);
    justify-content: flex-end;
}

.project-slide-card .project-card-category {
    color: #60a5fa;
    margin-bottom: 8px;
}

.project-slide-card .project-card-title {
    font-size: 24px;
    color: #ffffff !important;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.project-slide-card .project-card-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.project-slide-card .project-card-btn {
    color: #60a5fa;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.project-slide-card:hover .project-card-desc,
.project-slide-card:hover .project-card-btn {
    opacity: 1;
    transform: translateY(0);
}

.project-swiper .swiper-pagination-bullet {
    background: var(--text-dim);
    opacity: 0.5;
}

.project-swiper .swiper-pagination-bullet-active {
    background: var(--primary);
    opacity: 1;
    width: 24px;
    border-radius: 4px;
}

.project-swiper .swiper-button-prev,
.project-swiper .swiper-button-next {
    color: var(--text-white);
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.project-swiper .swiper-button-prev::after,
.project-swiper .swiper-button-next::after {
    font-size: 20px;
}

/* ---------- EDIFICO COVER CARD CONCEPT ---------- */
.edifico-card {
    display: block;
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
}

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

.edifico-card:hover img {
    transform: scale(1.08);
}

.edifico-card .card-num {
    position: absolute;
    right: 30px;
    top: 30px;
    color: var(--primary);
    font-size: 22px;
    font-weight: 700;
    z-index: 3;
    transition: var(--transition);
}

.edifico-card .card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 17, 23, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.4s;
    z-index: 2;
}

.edifico-card:hover .card-overlay {
    background: rgba(13, 17, 23, 0.6);
    backdrop-filter: blur(2px);
}

.edifico-card .hover-arrow {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 32px;
    opacity: 0;
    transform: scale(0.5);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.edifico-card:hover .hover-arrow {
    opacity: 1;
    transform: scale(1);
    background: rgba(30, 58, 138, 0.1);
}

.edifico-card .card-content {
    position: absolute;
    left: 30px;
    bottom: 30px;
    z-index: 3;
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.edifico-card .card-content h3 {
    color: #ffffff !important;
    margin: 0;
}

.services-swiper {
    width: 100%;
    padding-bottom: 60px !important;
}

.services-swiper .swiper-pagination-bullet-active {
    background: var(--primary);
}

/* ---------- EDIFICO FEATURES TAB CONCEPT ---------- */
.edifico-tabs-wrapper {
    background: transparent;
    width: 100%;
}

.edifico-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin-bottom: 50px;
}

.edifico-tabs-nav li {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: 30px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.edifico-tabs-nav li:hover {
    border-color: var(--primary);
}

.edifico-tabs-nav li.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.edifico-tabs-content {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.edifico-tab-pane {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.edifico-tab-pane.active {
    display: block;
}

.edifico-tab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.tab-left-content .tab-desc {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 30px;
}

.tab-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.tab-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: dashed 1px var(--border-color);
}

.tab-timeline li {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    position: relative;
}

.tab-timeline li:last-child {
    margin-bottom: 0;
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px dashed var(--primary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    z-index: 2;
}

.tab-timeline p {
    margin: 0;
    font-weight: 500;
    font-size: 15px;
    color: var(--text-color);
}

.tab-right-image {
    position: relative;
    border-radius: var(--radius-lg);
}

.tab-right-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    height: 500px;
    object-fit: cover;
}

/* Deneyim Kutusu */
.experience-badge {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-card);
    padding: 30px 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid var(--border-color);
}

.experience-badge .badge-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 15px auto;
}

.experience-badge h2 {
    font-size: 48px;
    color: var(--text-white);
    line-height: 1;
    margin-bottom: 5px;
}

.experience-badge span {
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 1px;
    font-weight: 600;
}

@media (max-width: 991px) {
    .edifico-tab-grid {
        grid-template-columns: 1fr;
    }

    .experience-badge {
        left: 20px;
        bottom: 20px;
        top: auto;
        transform: none;
        padding: 20px;
    }
}

/* ---------- BUTTON THEME & TEXT FIXES ---------- */
.btn,
.btn-primary,
.edifico-btn,
button[type="submit"],
.admin-nav a.active {
    color: #ffffff !important;
}

.btn i,
.btn-primary i,
.edifico-btn i,
button[type="submit"] i,
.admin-nav a.active i {
    color: #ffffff !important;
}

/* ---------- PREMIUM HERO (EDIFICO STYLE) ---------- */
.hero-premium {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #000;
}

.hero-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.8));
    z-index: 2;
}

.hero-huge-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(80px, 18vw, 320px);
    /* Slightly smaller to prevent overflow */
    font-weight: 900;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.04);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
    z-index: 2;
    pointer-events: none;
    letter-spacing: 15px;
    white-space: nowrap;
}

.hero-premium {
    overflow: hidden;
    /* Prevent huge text from escaping */
}


.hero-container {
    position: relative;
    z-index: 5;
    padding-bottom: 100px;
}

.hero-top-btns {
    position: absolute;
    top: -120px;
    right: 0;
}

@media (max-width: 768px) {
    .hero-top-btns {
        top: -60px;
        right: 20px;
    }
}

.hero-play-btn {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    width: 120px;
    height: 120px;
}

.play-circle {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-circle i {
    font-size: 32px;
    color: #fff;
    background: var(--primary);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 2;
    transition: 0.3s;
}

.hero-play-btn:hover i {
    transform: scale(1.1);
    background: #fff;
    color: var(--primary);
}

.play-circle svg {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotate 15s linear infinite;
    fill: #fff;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2px;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-main-content {
    max-width: 800px;
}

.hero-premium-subtitle {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-size: 14px;
}

.hero-premium-title {
    font-size: clamp(40px, 8vw, 100px);
    font-weight: 900;
    color: #fff;
    line-height: 1;
    text-transform: uppercase;
}

.hero-premium-title span {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1.5px #fff;
}

/* ---------- FLOATING SECTION ---------- */
.floating-section {
    position: relative;
    margin-top: -150px;
    z-index: 10;
}

.floating-content-card {
    background: var(--bg-card);
    border-radius: 50px 50px 0 0;
    padding: 100px 30px 60px;
    /* Added side padding for internal content safety */
    transition: var(--transition);
    width: 100%;
    margin: 0 auto;
}


[data-theme="light"] .floating-content-card {
    background: #ffffff;
}

[data-theme="dark"] .floating-content-card {
    background: var(--bg-card);
}

/* Dynamic text colors for floating content card */
.floating-content-card .section-subtitle {
    color: var(--primary) !important;
}

.floating-content-card .section-title {
    background: linear-gradient(135deg, var(--text-white) 0%, var(--text-muted) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.floating-content-card .section-desc {
    color: var(--text-muted) !important;
}

.premium-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

@media (max-width: 992px) {
    .premium-cards-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .floating-section {
        margin-top: -80px;
    }
}

.prem-card {
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 420px;
    transition: 0.4s;
}

.prem-card:hover {
    transform: translateY(-10px);
}

/* CARD VARIANTS */
.card-white {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.card-white h3 {
    color: #111827;
}

.card-white p {
    color: #4b5563;
}

.card-navy {
    background: var(--primary);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.card-navy h3,
.card-navy p {
    color: #ffffff;
}

.card-dark {
    background: #0D1117;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.card-dark h3,
.card-dark p {
    color: #ffffff;
}

/* CARD BODIES / ELEMENTS */
.prem-card h3 {
    font-size: 26px;
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.prem-card p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.8;
}

.prem-card-graphics {
    margin-bottom: 30px;
}

.circle-graphic {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.circle-graphic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.graphic-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 58, 138, 0.2);
}

.prem-card-image {
    margin-top: auto;
    margin-left: -40px;
    margin-right: -40px;
    margin-bottom: -40px;
    height: 180px;
}

.prem-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prem-card-bg-img {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.15;
}

.prem-card-bg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-dark .prem-card-body {
    position: relative;
    z-index: 2;
}

.prem-card-tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.prem-link {
    color: var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: underline;
}

.prem-link-light {
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prem-link-alt {
    color: var(--primary);
    font-weight: 700;
}

/* ---------- SCROLLING TEXT BACKGROUND ---------- */
.moving-text-wrap {
    background: var(--bg-section);
    padding: 80px 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    position: relative;
    z-index: 5;
}

.moving-text {
    font-size: clamp(60px, 12vw, 150px);
    /* Larger, more cinematic */
    font-weight: 900;
    font-family: var(--font-heading);
    color: transparent;
    -webkit-text-stroke: 1px var(--border-light);
    display: inline-block;
    animation: marquee 30s linear infinite;
    letter-spacing: 5px;
}


@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/* ---------- ABOUT PREMIUM FEATURES ---------- */
.about-features-premium {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

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

.about-feature-prem {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.about-feature-prem .feat-icon {
    width: 50px;
    height: 50px;
    background: rgba(30, 58, 138, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 22px;
    flex-shrink: 0;
    transition: 0.3s;
}

.about-feature-prem:hover .feat-icon {
    background: var(--primary);
    color: #fff;
    transform: translateY(-5px);
}

.feat-text h6 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white) !important;
    margin-bottom: 5px;
}

.feat-text p {
    font-size: 13px;
    color: var(--text-muted) !important;
    line-height: 1.5;
    margin: 0;
}

.section#about .section-title {
    background: linear-gradient(135deg, var(--text-white) 0%, var(--text-muted) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.card-white {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.card-white h3 {
    color: var(--text-white) !important;
}

.card-white p {
    color: var(--text-muted) !important;
}

.card-navy h3,
.card-navy p {
    color: #ffffff !important;
}

.card-dark h3,
.card-dark p {
    color: #ffffff !important;
}