/* 
   Bek Bilişim - Agency Theme (High-End)
   Style: Dark Mode, Dynamic, Parallax, Neon Accents
*/

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@100;200;300;400;500;600;700;800&display=swap');

:root {
    /* Kumsal Ajans Replica Colors */
    --bg-dark: #030407;
    /* Deep luxurious dark */
    --bg-card: rgba(3, 4, 7, 0.33);
    /* Glassy dark */
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-muted-dark: rgba(255, 255, 255, 0.5);

    /* Accents */
    --accent-color: #EE3B68;
    /* Kumsal Red/Pink */
    --accent-secondary: #22427D;
    /* Kumsal Blue */
    --accent-gradient: linear-gradient(90deg, #EE3B68 0%, #22427D 100%);

    --border-color: #152749;
    /* Dark Blue Border */

    /* Spacing */
    --container-width: 1440px;
    /* Wider standard */
    --header-height: 100px;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Sora', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography - Agency Style */
/* Typography - Kumsal Style */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

h1 {
    font-size: 4rem;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.5) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 3.5rem;
}

h3 {
    font-size: 2.2rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.8;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 4rem;
}

.text-gradient {
    color: var(--text-main);
    /* Default to white if gradient fails */
}

/* Buttons - Agency Style */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    /* Rounded pill shape */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--transition-smooth);
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary:hover {
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.6);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Header */
/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(3, 4, 7, 0.7);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    transition: var(--transition-fast);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 50px;
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

nav a {
    font-size: 1rem;
    font-weight: 400;
    /* Sora Light/Regular */
    color: var(--text-muted);
    position: relative;
    transition: var(--transition-fast);
}

nav a:hover,
nav a.active {
    color: var(--text-main);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
}

.customer-login-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.customer-login-btn:hover {
    background: rgba(34, 66, 125, 0.2);
    /* Blue tint */
    border-color: var(--accent-secondary);
}

.customer-login-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--accent-secondary);
    filter: blur(40px);
    opacity: 0;
    transition: var(--transition-fast);
    z-index: -1;
}

.customer-login-btn:hover::before {
    opacity: 0.4;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Parallax Wrapper */
.parallax-wrapper {
    perspective: 1px;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Dynamic Hero Section */
/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
    overflow: visible;
    /* Allow floating elements to extend */
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 2rem;
}

.hero-text {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-text h1 span {
    font-weight: 300;
    opacity: 0.5;
}

.hero-visuals {
    flex: 1;
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Floating Cards in Hero */
.hero-card {
    position: absolute;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(238, 59, 104, 0.3);
    /* Reddish border */
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

.hero-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

/* Specific Positions */
.card-1 {
    top: 10%;
    right: 20%;
    width: 180px;
    height: 180px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    right: 10%;
    width: 140px;
    height: 140px;
    animation-delay: 1s;
    border-color: rgba(34, 66, 125, 0.3);
    /* Blueish border */
}

.card-3 {
    top: 40%;
    left: 10%;
    width: 120px;
    height: 120px;
    animation-delay: 2s;
}

.hero-main-img {
    width: 400px;
    height: 550px;
    object-fit: cover;
    border-radius: 30px;
    transform: rotate(-5deg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Sections */
section {
    padding: 8rem 0;
    position: relative;
}

.section-title {
    margin-bottom: 5rem;
    max-width: 700px;
}

.section-title span {
    color: var(--accent-color);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

/* Modern Card Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Service / Feature Card */
/* Service Card - Large Square Grid */
.feature-card {
    background: rgba(255, 255, 255, 0.02);
    aspect-ratio: 1/1;
    /* Square */
    border-radius: 40px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: var(--transition-fast);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.card-icon-lg {
    position: absolute;
    top: 3rem;
    right: 3rem;
    font-size: 2.5rem;
    transition: var(--transition-smooth);
}

.feature-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    color: var(--text-muted);
}

.feature-card p {
    font-size: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    margin: 0;
}

.feature-card:hover h3 {
    transform: translateY(0);
    color: var(--text-main);
}

.feature-card:hover p {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover .card-icon-lg {
    opacity: 0;
    transform: translateX(20px);
}

/* Project Cards */
.project-card {
    height: 400px;
    background: #111;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
    opacity: 0.6;
}

.project-card:hover .project-img {
    transform: scale(1.1);
    opacity: 0.3;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

/* Rich Footer (4 Columns) */
footer {
    background: #080808;
    border-top: 1px solid var(--border-color);
    padding: 6rem 0 2rem;
    font-size: 0.95rem;
    color: #888;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: #888;
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--text-main);
    padding-left: 5px;
    /* Slide effect */
}

/* Subscribe Form */
.subscribe-form {
    display: flex;
    margin-top: 1.5rem;
}

.subscribe-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 50px 0 0 50px;
    color: white;
    outline: none;
}

.subscribe-btn {
    background: var(--accent-color);
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    font-weight: 700;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
}

/* Animations & Keyframes */
@keyframes floatOrb {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

@keyframes zoomOutEnter {
    from {
        opacity: 0;
        transform: scale(1.1);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

[data-scroll] {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-scroll="in"] {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    h1 {
        font-size: 3.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.95);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition-smooth);
        z-index: 999;
        pointer-events: none;
    }

    nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}