/* Clean Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --bg-color: #0c0c0c;
    /* Slightly richer black */
    --text-color: #ffffff;
    --primary-color: #fbbf24;
    /* Brand Yellow Main */
    --secondary-color: #d97706;
    /* Darker Orange/Amber for gradients */
    --accent-color: #fffbeb;
    /* Very light yellow for accents */
    --brand-yellow: #fbbf24;
    --card-bg: rgba(255, 255, 255, 0.03);
    --glass-bg: rgba(10, 10, 10, 0.9);
    --glass-border: rgba(251, 191, 36, 0.15);
    /* Subtle yellow border */
    --font-main: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    backdrop-filter: blur(10px);
    background: rgba(10, 10, 10, 0.9);
    /* Dark glass header */
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

/* Header Logo: White Pill */
.logo img {
    height: 40px;
    width: auto;
    filter: none;
    /* Remove previous Invert */
    background: #ffffff;
    /* Pure white bg to show black logo */
    padding: 4px 12px;
    border-radius: 4px;
    /* Slight rounded corners */
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.2);
    /* Brand glow */
}

/* ... nav links ... */

/* Hero Logo: Floating Panel */
.hero-logo {
    max-width: 320px;
    margin-bottom: 50px;
    background: rgba(255, 255, 255, 0.92);
    /* Slightly opaque */
    padding: 25px 45px;
    border-radius: 24px;
    /* Much softer, rounder corners */
    /* Softer, more integrated shadow */
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.15),
        0 0 25px rgba(251, 191, 36, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    color: rgba(255, 255, 255, 0.8);
    /* Revert to light text */
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 0;
    position: relative;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary-color);
    /* Active link is now yellow */
    text-shadow: 0 0 15px rgba(251, 191, 36, 0.4);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    /* Underline is yellow */
    transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    /* Lighter charcoal grey instead of pure black */
    background: radial-gradient(circle at 50% 50%, #2a2a2a 0%, #1a1a1a 100%);
    color: #ffffff;
}

/* Gradient overlay for smooth transition to next section */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent 0%, #0c0c0c 100%);
    pointer-events: none;
    z-index: 1;
}

/* Update gradient text for light bg */
.gradient-text {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientMove 5s ease infinite;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), #fff, var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientMove 5s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    padding: 16px 32px;
    background: var(--primary-color);
    color: #000;
    /* Dark text for contrast on yellow btn */
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.5);
    background: #fff;
    /* Hover to white */
}

/* Hero Background Blobs */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    /* Tighter blur for better definition on light bg */
    opacity: 0.15;
    /* Subtle blend */
    animation: float 10s infinite alternate;
    mix-blend-mode: multiply;
    /* Better blending on light bg */
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-color);
    /* Yellow */
    top: -150px;
    left: -150px;
}

.blob-2 {
    width: 700px;
    height: 700px;
    background: #fbbf24;
    /* Solid Yellow */
    bottom: -150px;
    right: -150px;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* General Sections */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    /* Wider */
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    /* Yellow gradient */
    margin: 15px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
    /* Glow */
}

.text-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}


/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Partners Section */
.partners-container {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Center vertically if heights differ */
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.partner-logo {
    background: rgba(255, 255, 255, 0.05);
    /* Slight container bg */
    padding: 20px 40px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.partner-logo img {
    height: 80px;
    /* Fixed height for consistency */
    width: auto;
    object-fit: contain;
    /* Optional: filter: grayscale(100%); transition: filter 0.3s; */
}

/* .partner-logo:hover img { filter: grayscale(0%); } */

/* Featured partner (Altinyildiz) - larger */
.partner-logo.featured img {
    height: 120px;
    /* 50% larger than others */
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-top: 3px solid var(--glass-border);
    /* Default top border */
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border-top-color: var(--primary-color);
    /* Yellow accent on hover */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-card {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.icon-box {
    margin-bottom: 20px;
    color: var(--brand-yellow);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Footer Section */
.footer-section {
    text-align: center;
    padding-bottom: 20px;
}

.contact-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto 60px;
}

/* Profile Card Design */
.profile-card {
    display: grid;
    grid-template-columns: 200px 180px 1fr;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    text-align: right;
    padding-right: 20px;
    color: #fff;
}

.profile-image-container {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 5px solid var(--brand-yellow);
    overflow: hidden;
    z-index: 10;
    background: #000;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

.profile-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-bio {
    background: linear-gradient(90deg, var(--brand-yellow) 0%, #d97706 100%);
    padding: 30px 30px 30px 60px;
    /* Extra padding left for circle overlap */
    border-radius: 0 50px 50px 0;
    color: #000;
    /* Dark text on yellow bg */
    margin-left: -50px;
    /* Pull left to overlap with image */
    min-height: 140px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.profile-bio p {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    white-space: pre-line;
}

/* Contact Details Row */
.contact-details-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: -20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 25px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s;
}

.contact-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
}

.contact-item img,
.contact-item i {
    font-size: 1.5rem;
    color: var(--brand-yellow);
}

.contact-item a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    height: 400px;
    width: 100%;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.footer {
    border-top: 1px solid var(--glass-border);
    padding-top: 40px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* About Section Styles */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-lead {
    font-size: 1.3rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 20px;
}

.about-lead .highlight {
    color: var(--secondary-color);
    font-weight: 700;
}

.about-text {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.about-features {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.about-features h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
    display: inline-block;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.feature-list li::before {
    content: '✦';
    color: var(--accent-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Mobile Responsive */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 30px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .nav-links {
        display: flex;
        position: fixed;
        flex-direction: column;
        top: 70px;
        /* Below header */
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        padding: 40px;
        transition: right 0.3s ease;
        text-align: center;
        gap: 40px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li a {
        font-size: 1.2rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .contact-container {
        gap: 30px;
    }

    .profile-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        justify-items: center;
        gap: 20px;
    }

    .profile-name {
        text-align: center;
        padding-right: 0;
        font-size: 2rem;
    }

    .profile-image-container {
        width: 150px;
        height: 150px;
    }

    .profile-bio {
        margin-left: 0;
        border-radius: 20px;
        padding: 30px;
        text-align: center;
        width: 100%;
    }

    .contact-details-row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .info-item {
        text-align: center;
    }
}