/* ==========================================================================
   01. VARIABLES & RESET
   ========================================================================== */
:root {
    /* Color Palette */
    --clr-primary: #D4AF37;
    --clr-secondary: #BB8F00;
    --clr-bg: #21201D;
    /* ← Site ve logo arka planı piksel piksele eşit */
    --clr-bg-alt: #1A1A1A;
    --clr-text: #F0F0F0;
    --clr-muted: #666666;

    /* Typography */
    --font-base: 'Poppins', sans-serif;
    --fz-xl: 3rem;
    --fz-lg: 2.4rem;
    --fz-md: 1.6rem;
    --fz-sm: 1rem;
    --letter-spacing: 0.05em;

    /* Transitions */
    --transition-slow: 0.6s ease;
    --transition: 0.4s ease;
    --transition-fast: 0.2s ease;

    /* Z-Indices */
    --z-header: 1000;
    --z-social: 900;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-base);
    background: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   02. ULTRA HEADER VE NAVİGASYON
   ========================================================================== */
.ultra-header {
    position: sticky;
    top: -120px;
    left: 0;
    right: 0;
    background: var(--clr-bg);
    /* ← Tamamen aynı ton */
    backdrop-filter: none;
    /* ← Blur’u kaldırdık, tam opak oldu */
    box-shadow: 0 3px 16px rgba(0, 0, 0, 0.8);
    z-index: var(--z-header);
    transition: top var(--transition-slow), background var(--transition);
}

body.loaded .ultra-header {
    top: 0;
}

.ultra-header .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem 1rem 1rem;
}

/* Logoyu 1 cm sola kaydırdık */
.ultra-header .logo {
    margin-left: -1cm;
}

.ultra-header .logo img {
    height: 100px !important;
    max-height: 100px !important;
    width: auto !important;
}

/* Menü */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 0.75rem;
    flex-wrap: nowrap;
}

.main-nav li {
    opacity: 0;
    transform: translateY(-10px);
}

body.loaded .main-nav li {
    animation: navFadeIn 0.4s forwards ease-out;
}

body.loaded .main-nav li:nth-child(1) {
    animation-delay: 0.6s;
}

body.loaded .main-nav li:nth-child(2) {
    animation-delay: 0.7s;
}

body.loaded .main-nav li:nth-child(3) {
    animation-delay: 0.8s;
}

body.loaded .main-nav li:nth-child(4) {
    animation-delay: 0.9s;
}

body.loaded .main-nav li:nth-child(5) {
    animation-delay: 1.0s;
}

body.loaded .main-nav li:nth-child(6) {
    animation-delay: 1.1s;
}

body.loaded .main-nav li:nth-child(7) {
    animation-delay: 1.2s;
}

body.loaded .main-nav li:nth-child(8) {
    animation-delay: 1.3s;
}

@keyframes navFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-nav a {
    white-space: nowrap;
    color: var(--clr-text);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.06em;
    font-size: var(--fz-sm);
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    text-decoration: none !important;
    transition:
        color var(--transition-fast),
        background var(--transition-fast),
        transform var(--transition-fast);
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a.active {
    color: var(--clr-primary);
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-1px) scale(1.03);
}

.main-nav a::before,
.main-nav a::after {
    content: none !important;
}

/* ==========================================================================
   03. HAMBURGER MENU (MOBILE)
   ========================================================================== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: var(--z-header);
}

.hamburger span {
    display: block;
    height: 3px;
    background: var(--clr-text);
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 992px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 260px;
        background: var(--clr-bg-alt);
        flex-direction: column;
        padding-top: 5rem;
        gap: 2rem;
        transition: right var(--transition);
    }

    .main-nav.open {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hamburger {
        display: flex;
    }
}

/* ==========================================================================
   04. SOCIAL BAR (LEFT SLIDE)
   ========================================================================== */
.social-bar {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translate(-200px, -50%);
    width: 200px;
    background: var(--clr-bg-alt);
    border-radius: 0 8px 8px 0;
    transition: transform var(--transition);
    z-index: var(--z-social);
}

.social-bar.open {
    transform: translate(0, -50%);
}

.social-bar .toggle-btn {
    position: absolute;
    top: 50%;
    right: -40px;
    transform: translateY(-50%);
    width: 40px;
    height: 80px;
    background: var(--clr-primary);
    color: var(--clr-bg);
    border: none;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition);
}

.social-bar .toggle-btn:hover {
    background: var(--clr-secondary);
}

.social-bar ul {
    list-style: none;
    margin-top: 2rem;
}

.social-bar li {
    margin: 1rem 0;
}

.social-bar a {
    display: flex;
    align-items: center;
    color: var(--clr-text);
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-size: var(--fz-sm);
    transition: background var(--transition), color var(--transition);
    border-radius: 4px;
}

.social-bar a:hover {
    background: var(--clr-primary);
    color: var(--clr-bg);
}

.social-bar i {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

/* ==========================================================================
   05. HERO SECTION
   ========================================================================== */
.hero {
    height: 60vh;
    background: var(--clr-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
}

.hero-logo img {
    height: 220px;
    opacity: 0;
    animation: heroFade 1s ease-out forwards;
}

@keyframes heroFade {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero h1,
.hero p {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

.hero h1 {
    animation-delay: 0.6s;
    font-size: var(--fz-xl);
    margin-top: 1rem;
}

.hero p {
    animation-delay: 0.9s;
    font-size: var(--fz-md);
    max-width: 600px;
    margin-top: 0.75rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   06. ÖNE ÇIKANLAR (FEATURED GRID)
   ========================================================================== */
.featured-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.featured-title {
    font-size: var(--fz-lg);
    color: var(--clr-primary);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.featured-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--clr-primary);
    border-radius: 2px;
}

.featured-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
    perspective: 1000px;
}

.featured-card {
    background: var(--clr-bg-alt);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.8);
    transform: translateY(40px) scale(0.98);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition),
        box-shadow 0.3s ease;
    cursor: pointer;
}

.featured-card.visible {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.featured-card:hover {
    transform: translateY(-8px) rotateX(8deg) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
}

/* Öne Çıkan içerik yazısını sarı yaptık */
.featured-card .content {
    padding: 2rem;
    text-align: center;
    color: var(--clr-primary);
}

.featured-card h3 {
    font-size: 1.5rem;
    margin: 1.2rem 0 0.6rem;
    color: var(--clr-primary);
}

.featured-card p {
    font-size: var(--fz-sm);
    color: var(--clr-primary);
    line-height: 1.6;
}

/* ==========================================================================
   07. SECTION (GENERAL CONTENT)
   ========================================================================== */
.section {
    max-width: 900px;
    margin: 3rem auto;
    background: var(--clr-bg-alt);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.7);
    transform: translateY(40px);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
}

.section.visible {
    transform: translateY(0);
    opacity: 1;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--clr-primary);
}

.section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

ul.simple-list {
    list-style: none;
    padding-left: 0;
}

ul.simple-list li {
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    background: var(--clr-muted);
    border-radius: 6px;
    transition: background var(--transition), transform var(--transition);
}

ul.simple-list li:hover {
    background: var(--clr-bg);
    transform: translateX(5px);
}

/* ==========================================================================
   08. EKİBİMİZ GRID
   ========================================================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin: 2rem auto 0;
}

.team-member {
    background: var(--clr-bg);
    padding: 2rem;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.7);
    transform: translateY(40px);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
}

.team-member.visible {
    transform: translateY(0);
    opacity: 1;
}

.avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    background: var(--clr-primary);
    color: var(--clr-bg);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   09. FOOTER
   ========================================================================== */
footer {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--clr-bg-alt);
    color: #777;
}

/* ==========================================================================
   10. RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    .ultra-header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: var(--fz-lg);
    }

    .featured-cards {
        grid-template-columns: 1fr;
    }
}