:root {
    --primary: #0f172a;
    --secondary: #334155;
    --accent: #d97706;
    --accent-hover: #b45309;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --radius: 6px;
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
    --container-width: 1200px;
    --border-color: #cbd5e1;
    --border-width: 2px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Manrope', sans-serif;
    color: var(--primary);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    line-height: 1.2;
    white-space: nowrap;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white) !important;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    color: var(--white) !important;
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.full-width {
    width: 100%;
}

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
}

.brand-icon {
    font-size: 1.5rem;
    color: var(--accent);
}

.brand-text {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu ul {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    color: var(--secondary);
    font-size: 1rem;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary);
    transition: 0.3s;
    border-radius: 3px;
}

.hero {
    position: relative;
    padding: 180px 0 120px;
    background-color: var(--primary);
    background-image: url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(2, 12, 27, 0.9) 0%, rgba(15, 23, 42, 0.85) 50%, rgba(30, 58, 138, 0.8) 100%);
    opacity: 1;
    z-index: 1;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(217, 119, 6, 0.15), transparent 40%);
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
    color: var(--white);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(217, 119, 6, 0.15);
    border: 1px solid rgba(217, 119, 6, 0.5);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.stats-bar {
    margin-top: -60px;
    position: relative;
    z-index: 5;
    padding: 0 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-right: 1px solid #e2e8f0;
    text-align: left;
}

.stat-item:last-child {
    border: none;
}

.stat-icon {
    font-size: 1.8rem;
    color: var(--accent);
    background: rgba(217, 119, 6, 0.1);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.img-frame {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4/3;
    background-color: #e2e8f0;
}

.img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-frame.bg-fallback {
    background: linear-gradient(45deg, #cbd5e1, #94a3b8);
}

.section-subtitle {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-subtitle.light {
    color: #fbbf24;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-title.light {
    color: var(--white);
}

.lead-text {
    font-size: 1.1rem;
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 20px;
}

.about-content-col p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.feature-list {
    margin-top: 10px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--primary);
}

.feature-list .list-icon {
    width: 32px;
    height: 32px;
    background: rgba(217, 119, 6, 0.15);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: var(--border-width) solid var(--border-color);
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.card-image {
    height: 200px;
    overflow: hidden;
    background-color: #cbd5e1;
    position: relative;
    /* Üst border sorununu çözmek için görsel maskeleme */
    mask-image: linear-gradient(to bottom, black 100%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 100%, transparent 100%);
    transform: translateZ(0);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.service-card:hover .card-image img {
    transform: scale(1.05);
}

.card-body {
    padding: 25px;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-top: -50px;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(217, 119, 6, 0.2);
}

.card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.card-body p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: var(--border-width) solid var(--border-color);
    transition: 0.3s;
}

.project-card:hover {
    border-color: var(--accent);
}

.project-img {
    height: 250px;
    position: relative;
    background: #e2e8f0;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, black 100%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 100%, transparent 100%);
    transform: translateZ(0);
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-img .overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.project-card:hover .overlay {
    opacity: 1;
}

.overlay .cat {
    color: var(--white);
    border: 1px solid var(--white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
}

.project-content {
    padding: 25px;
}

.location {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.project-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    min-height: 3.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-content p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.team-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 350px;
    border: var(--border-width) solid var(--border-color);
    transition: 0.3s;
}

.team-card:hover {
    border-color: var(--accent);
}

.team-photo {
    height: 320px;
    background: #cbd5e1;
    mask-image: linear-gradient(to bottom, black 100%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 100%, transparent 100%);
    transform: translateZ(0);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.team-details {
    padding: 25px;
    text-align: center;
}

.team-details h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.team-details .role {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.team-details p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.team-socials a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    color: var(--secondary);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: 0.3s;
}

.team-socials a:hover {
    background: var(--primary);
    color: var(--white);
}

.clients-slider-section {
    padding: 60px 0;
    background: #fafafa;
    overflow: hidden;
    border-bottom: 1px solid #e2e8f0;
}

.clients-slider-section h4 {
    margin-bottom: 3.5rem;
}

.slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slide-track {
    display: flex;
    width: calc(250px * 14);
    animation: scroll 40s linear infinite;
}

.slide-track:hover {
    animation-play-state: paused;
}

.slide {
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
}

.client-card {
    width: 100%;
    height: 80px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #64748b;
    font-size: 1.1rem;
    border: var(--border-width) solid var(--border-color);
    transition: 0.3s;
    cursor: pointer;
    user-select: none;
}

.client-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    color: var(--primary);
    border-color: var(--accent);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 7));
    }
}

.contact-section {
    background-color: var(--primary);
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.info-item .icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.info-item .label {
    font-size: 0.8rem;
    opacity: 0.6;
    display: block;
    margin-bottom: 2px;
}

.info-item a,
.info-item p {
    font-size: 1rem;
    font-weight: 600;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    color: var(--text-dark);
}

.contact-form h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.form-info {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius);
    font-family: inherit;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}

footer {
    background: #020617;
    color: var(--white);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    font-weight: 700;
    display: flex;
    gap: 10px;
    align-items: center;
}

.copyright {
    text-align: right;
    font-size: 0.85rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 10px;
}

.credit-sep {
    opacity: 0.5;
}

.designer-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.designer-link:hover {
    text-decoration: underline;
    color: #fff;
}