/**
 * Linaft Agency - Custom CSS
 * Kreatif İçerik & Dijital Çözümler için özel stil tanımlamaları
 */

:root {
    /* Ana renkler */
    --lightest: #E9E9E9;
    --lighter: #A7A7A7;
    --light: #646464;
    --primary: #222222;
    --dark: #181818;
    --darker: #111111;
    --white: #ffffff;
    
    /* Nötr renkler */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Durum renkleri */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    /* Font ailesi */
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Font boyutları */
    --fs-xs: 0.75rem;   /* 12px */
    --fs-sm: 0.875rem;  /* 14px */
    --fs-base: 1rem;    /* 16px */
    --fs-lg: 1.125rem;  /* 18px */
    --fs-xl: 1.25rem;   /* 20px */
    --fs-2xl: 1.5rem;   /* 24px */
    --fs-3xl: 1.875rem; /* 30px */
    --fs-4xl: 2.25rem;  /* 36px */
    --fs-5xl: 3rem;     /* 48px */
    --fs-6xl: 3.75rem;  /* 60px */
    
    /* Geçiş süreleri */
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* 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), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ===== Genel Stiller ===== */
body {
    font-family: var(--font-sans);
    color: var(--light);
    background-color: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
}

a {
    color: var(--primary);
    transition: var(--transition);
    text-decoration: none;
}

a:hover {
    color: var(--dark);
}

::selection {
    background-color: var(--primary);
    color: var(--white);
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary), var(--dark));
}

/* ===== Preloader ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    position: relative;
    text-align: center;
}

.loader .circular {
    width: 60px;
    height: 60px;
    animation: rotate 2s linear infinite;
}

.loader .path {
    stroke: var(--primary);
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

.loader p {
    margin-top: 1rem;
    font-size: var(--fs-sm);
    color: var(--primary);
    font-weight: 500;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35px;
    }
    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -124px;
    }
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--dark);
    color: var(--lightest);
    font-size: var(--fs-sm);
}

.top-info {
    font-weight: 500;
}

.top-link {
    color: var(--lightest);
    transition: var(--transition);
}

.top-link:hover {
    color: var(--white);
}

.top-bar .social-icons a {
    color: var(--lightest);
    font-size: var(--fs-sm);
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.top-bar .social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* ===== Header ===== */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.main-logo {
    height: 55px;
    width: auto;
}

.nav-link {
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    color: var(--light);
    position: relative;
}

.nav-text {
    position: relative;
    display: inline-block;
    padding: 0.25rem 0;
}

.nav-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover .nav-text::after,
.nav-link.active .nav-text::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.dropdown-menu {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.75rem 0;
}

.dropdown-item {
    padding: 0.625rem 1.5rem;
    font-weight: 500;
    color: var(--light);
    transition: var(--transition);
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
    background-color: rgba(34, 34, 34, 0.1);
    color: var(--primary);
}

/* ===== Buttons ===== */
.btn {
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    border-radius: var(--radius-md);
    text-transform: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition-slow);
    transform: skewX(-15deg);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--dark);
    border-color: var(--dark);
    box-shadow: 0 4px 10px rgba(34, 34, 34, 0.3);
}

.btn-secondary {
    background-color: var(--light);
    border-color: var(--light);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--lighter);
    border-color: var(--lighter);
    box-shadow: 0 4px 10px rgba(100, 100, 100, 0.3);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(34, 34, 34, 0.3);
}

.btn-outline-light {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--primary);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: var(--fs-lg);
}

.btn-rounded {
    border-radius: 50px;
}

.rounded-pill {
    border-radius: 50px !important;
}

/* ===== Newsletter Section ===== */
.newsletter-section {
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/pattern-light.svg');
    background-repeat: repeat;
    opacity: 0.1;
}

.newsletter-input {
    max-width: 500px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    border-radius: 50px;
    overflow: hidden;
}

.newsletter-input .form-control {
    border: none;
    padding: 1rem 1.5rem;
    height: 60px;
    border-radius: 50px 0 0 50px;
}

.newsletter-input .btn {
    padding: 0 1.5rem;
    border-radius: 0 50px 50px 0;
    background-color: var(--primary);
    color: var(--white);
    font-weight: 600;
}

.newsletter-input .btn:hover {
    background-color: var(--dark);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--darker);
    color: var(--lighter);
    overflow: hidden;
}



.footer-widget {
    margin-bottom: 2rem;
}

.footer-widget-title {
    color: var(--white);
    font-size: var(--fs-xl);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--dark));
}

.footer-logo {
    max-height: 40px;
    width: auto;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--lighter);
    transition: var(--transition);
    position: relative;
    padding-left: 1rem;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: var(--fs-sm);
    color: var(--light);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 1.25rem;
}

.footer-links a:hover::before {
    left: 0.25rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.contact-text {
    line-height: 1.5;
}

.contact-text a {
    color: var(--lighter);
    transition: var(--transition);
}

.contact-text a:hover {
    color: var(--white);
}

.footer .social-icons {
    display: flex;
    gap: 0.75rem;
}

.footer .social-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer .social-icon:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

.copyright {
    color: var(--lighter);
    font-size: var(--fs-sm);
}

.footer-legal {
    font-size: var(--fs-sm);
}

.footer-legal .list-inline-item:not(:last-child) {
    margin-right: 1.5rem;
}

.footer-legal a {
    color: var(--lighter);
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--white);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--dark);
    color: var(--white);
    transform: translateY(-5px);
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background-color: var(--darker);
    overflow: hidden;
}

.hero-slide {
    height: 100%;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 1s ease;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.8), rgba(24, 24, 24, 0.7));
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-badge span {
    font-size: var(--fs-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
}

.hero-title {
    font-size: var(--fs-6xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.text-gradient {
    background: linear-gradient(to right, var(--lightest), var(--white));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.text-gradient::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--primary), var(--dark));
    border-radius: 3px;
    opacity: 0.3;
    z-index: -1;
}

.hero-description {
    font-size: var(--fs-lg);
    margin-bottom: 2rem;
    color: var(--lightest);
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-stats {
    margin-top: 3rem;
}

.hero-stat {
    margin-right: 3rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: var(--fs-3xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
    background: linear-gradient(to right, var(--lightest), var(--white));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-text {
    font-size: var(--fs-sm);
    color: var(--lighter);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image {
    position: relative;
    padding: 2rem;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    z-index: -1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    top: -50px;
    right: 0;
    width: 300px;
    height: 300px;
    background: rgba(34, 34, 34, 0.3);
    animation-delay: 0s;
}

.shape-2 {
    bottom: 50px;
    right: 150px;
    width: 200px;
    height: 200px;
    background: rgba(24, 24, 24, 0.3);
    animation-delay: 2s;
}

.shape-3 {
    bottom: -70px;
    left: 50px;
    width: 250px;
    height: 250px;
    background: rgba(17, 17, 17, 0.3);
    animation-delay: 4s;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

.hero-scroll-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
}

.scroll-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    transition: var(--transition);
}

.scroll-btn span {
    font-size: var(--fs-sm);
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-btn i {
    font-size: var(--fs-lg);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===== Clients Section ===== */
.clients-section {
    padding: 4rem 0;
    background-color: var(--lightest);
}

.section-subtitle {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0.6;
    transition: var(--transition);
    filter: grayscale(100%);
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.client-logo img {
    max-height: 40px;
    width: auto;
}

/* ===== Section Styles ===== */
.section-title {
    font-size: var(--fs-4xl);
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--dark));
    border-radius: 3px;
}

.section-description {
    font-size: var(--fs-lg);
    color: var(--light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Services Section ===== */
.service-card {
    position: relative;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 1;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    opacity: 0.05;
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--lightest), var(--lighter));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    border-radius: 20px;
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover .service-icon::before {
    opacity: 1;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-card h3 {
    font-size: var(--fs-xl);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: var(--light);
    margin-bottom: 1.5rem;
}

.read-more {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    transition: var(--transition);
}

.read-more i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--dark);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* ===== About Section ===== */
.about-section {
    padding: 6rem 0;
    background-color: var(--lightest);
}

/* ===== Media Queries ===== */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: var(--fs-5xl);
    }
    .section-title {
        font-size: var(--fs-3xl);
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 600px;
    }
    .hero-title {
        font-size: var(--fs-4xl);
    }
    .hero-subtitle {
        font-size: var(--fs-xl);
    }
    .section-title {
        font-size: var(--fs-2xl);
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        min-height: 500px;
    }
    .hero-title {
        font-size: var(--fs-3xl);
    }
    .service-card,
    .blog-card,
    .team-member {
        margin-bottom: 2rem;
    }
} 