@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400&family=Montserrat:wght@300;400;500&display=swap');

:root {
    /* Colors - Dark Luxury */
    --bg-dark: #050505;
    --bg-card: #0a0a0a;
    --text-gold: #d4af37;
    /* Antique Gold */
    --text-white: #e0e0e0;
    --text-muted: #888888;
    --border-gold: rgba(212, 175, 55, 0.2);

    /* Fonts */
    --font-display: 'Cinzel', serif;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing */
    --spacing-sm: 2rem;
    --spacing-md: 4rem;
    --spacing-lg: 8rem;
    --container-width: 1400px;

    /* Design Tokens */
    --border-radius: 30px;
    /* Soft, organic feel */
    --border-radius-sm: 15px;
    --shadow-glow: 0 0 40px rgba(212, 175, 55, 0.08);

    /* Transitions */
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 140px;
    /* Fix for sticky header */
}

body {
    font-family: var(--font-body);
    color: var(--text-muted);
    line-height: 1.8;
    background-color: var(--bg-dark);
    overflow-x: hidden;
}

.section {
    padding: var(--spacing-xl) 0;
    scroll-margin-top: 140px;
    /* Backup fix for sections */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    color: var(--text-white);
    line-height: 1.1;
    letter-spacing: 0.05em;
    font-weight: 400;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.text-center {
    text-align: center;
}

.gold-text {
    color: var(--text-gold);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    /* Azaltıldı: 1.2rem 3rem'den */
    border: 1px solid var(--border-gold);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    /* Azaltıldı: 0.8rem'den */
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-gold);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--text-gold);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover {
    color: var(--bg-dark);
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: var(--text-gold);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-gold);
}

.btn-primary:hover::before {
    width: 0%;
}

/* Header */
.header {
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Header when scrolled - fades out */
.header.scrolled {
    background: rgba(5, 5, 5, 0.1);
    backdrop-filter: blur(5px);
    border-bottom-color: transparent;
}

/* Navigation fades out on scroll */
.header.scrolled .nav {
    opacity: 0;
    pointer-events: none;
}

/* Logo stays visible */
.header.scrolled .logo,
.header.scrolled .header-logo-group {
    opacity: 1;
    pointer-events: auto;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
    width: 180px;
    height: auto;
    transition: opacity 0.4s ease;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Premium Logo Animations */
@keyframes shimmer-logo {
    100% {
        background-position: 200% center;
    }
}

/* Header Premium Logo */
.premium-logo-link {
    text-decoration: none;
}

.header-logo-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-premium-monogram {
    width: 45px;
    height: 65px;
    /* Scaled down rectangular aspect */
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #d4af37;
    position: relative;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(5, 5, 5, 0.98));
    border: 1px solid #d4af37;
    flex-shrink: 0;
    transition: all 0.5s ease;
}

.header-premium-monogram::after {
    content: '';
    position: absolute;
    inset: 3px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    pointer-events: none;
}

.header-monogram-letter {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.5));
}

.header-text-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.header-firm-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: #e8e8e8;
    letter-spacing: 0.2em;
    font-weight: 400;
    line-height: 1;
}

.header-subtitle-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.5rem;
    color: #d4af37;
    letter-spacing: 0.3em;
    font-weight: 500;
    text-transform: uppercase;
    padding-left: 0.2rem;
}

/* Hover Animations for Both Logos */
.header-logo-group:hover,
.hero-logo-group:hover {
    transform: scale(1.02) translateY(-2px);
    cursor: pointer;
}

.header-logo-group:hover .header-premium-monogram,
.hero-logo-group:hover .hero-premium-monogram {
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
    border-color: #f3e5ab;
}

.header-logo-group:hover .header-firm-name,
.hero-logo-group:hover .hero-firm-name {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

body {
    top: 0 !important;
}

/* Navigation Container */
.nav {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    flex-direction: column;
    transition: opacity 0.4s ease;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 0.2rem;
}

.lang-btn {
    background: none;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.6rem;
    padding: 0.25rem 0.45rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 3px;
    letter-spacing: 0.05em;
    min-width: 28px;
}

.lang-btn:hover {
    color: var(--text-gold);
    border-color: var(--text-gold);
    background: rgba(212, 175, 55, 0.1);
}

.lang-btn.active {
    background: var(--text-gold);
    color: var(--bg-dark);
    border-color: var(--text-gold);
}

/* RTL Support for Arabic */
[dir="rtl"] {
    direction: rtl;
}

[dir="rtl"] .nav-list {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav {
    align-items: flex-start;
}

.nav-list {
    display: flex;
    gap: 4rem;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

.nav-link:hover {
    color: var(--text-gold);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 30px;
    height: 1px;
    background-color: var(--text-gold);
    margin: 8px 0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    /* Üst-alt padding dengeli */
}

.hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    filter: grayscale(100%) contrast(1.1) brightness(0.85);
    /* Slightly lighter */
    z-index: -2;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.hero-fade-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Much darker gradient for readability */
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.15) 0%,
            rgba(0, 0, 0, 0.4) 40%,
            rgba(0, 0, 0, 0.8) 85%,
            rgba(0, 0, 0, 0.95) 100%);
    z-index: -1;
    pointer-events: none;
}



.hero-content {
    font-style: italic;
    color: var(--text-gold);
    margin-bottom: 4rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hero Premium Logo Group */
.hero-logo-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    /* 3rem'den azaltıldı */
    padding: 2rem;
    border-radius: 10px;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.4) 0%, transparent 70%);
}

.hero-premium-monogram {
    width: 130px;
    height: 180px;
    /* Rectangular vertical aspect */
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: 5rem;
    font-weight: 700;
    color: #d4af37;
    position: relative;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(5, 5, 5, 0.98));
    border: 3px solid #d4af37;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    flex-shrink: 0;
    font-style: normal;
    /* Fix inherited italic */
}

/* Inner border effect for monogram */
.hero-premium-monogram::after {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    pointer-events: none;
}

.hero-shimmer-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg,
            transparent 30%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 70%);
    background-size: 200% 100%;
    animation: shimmer-logo 5s ease-in-out infinite;
    pointer-events: none;
}

.hero-monogram-letter {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}

.hero-text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.5rem;
}

.hero-firm-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    color: #e8e8e8;
    letter-spacing: 0.2em;
    /* Matched to header */
    font-weight: 400;
    /* Matched to header */
    line-height: 1;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-style: normal;
    /* Override parent italic */
}

.hero-subtitle-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #d4af37;
    letter-spacing: 0.5em;
    /* Wide spacing */
    font-weight: 500;
    text-transform: uppercase;
    margin: 0;
    padding-left: 0.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding-top: 1rem;
    width: 100%;
    font-style: normal;
    /* Override parent italic */
}

@media (max-width: 900px) {
    .hero-logo-group {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-text-content {
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .hero-firm-name {
        font-size: 2.5rem;
        letter-spacing: 0.15em;
    }

    .hero-subtitle-text {
        font-size: 0.9rem;
        padding-left: 0;
        border-top: none;
        padding-top: 0;
    }
}

/* Sections */
.section {
    padding: var(--spacing-lg) 0;
}



.section-header {
    margin-bottom: var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-line {
    width: 100px;
    height: 1px;
    background-color: var(--text-gold);
    margin-bottom: 2rem;
}

.section-desc {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-muted);
    max-width: 600px;
}

/* Practice Areas - 2 Column Grid Layout */
.practice-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 sütun */
    gap: 2rem;
}

.practice-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 1.5rem;
    /* 3rem 2rem'den azaltıldı */
    display: grid;
    grid-template-columns: 50px 1fr auto;
    /* Icon biraz küçük */
    gap: 1.5rem;
    align-items: center;
    transition: var(--transition);
    cursor: pointer;
    border-radius: var(--border-radius);
}

.practice-icon {
    font-size: 2rem;
    /* 2.5rem'den azaltıldı */
    color: #d4af37;
    text-align: center;
    transition: all 0.5s ease;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.practice-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.practice-content p {
    font-size: 0.95rem;
    color: #999;
    line-height: 1.6;
    margin: 0;
}


.practice-item h3 {
    font-size: 1.5rem;
    /* 2rem'den azaltıldı */
    color: var(--text-muted);
    transition: var(--transition);
}

.practice-item span {
    font-size: 1.2rem;
    /* 1.5rem'den azaltıldı */
    color: var(--text-gold);
    opacity: 0;
    transform: translateX(-20px);
    transition: var(--transition);
}

.practice-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(212, 175, 55, 0.2);
}

.practice-item:hover .practice-icon {
    transform: scale(1.15) rotate(5deg);
    /* Scale biraz azaltıldı */
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.8));
}

.practice-item:hover h3 {
    color: var(--text-white);
    padding-left: 1rem;
    /* 2rem'den azaltıldı */
}

.practice-item:hover span {
    opacity: 1;
    transform: translateX(0);
}

/* About - Editorial Layout */
.editorial-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-text p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.about-legal-note {
    font-size: 0.95rem !important;
    color: #d4af37 !important;
    border-left: 3px solid #d4af37;
    padding-left: 1.5rem;
    margin-top: 2.5rem !important;
    font-style: italic;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    filter: grayscale(100%);
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.about-image:hover {
    filter: grayscale(0%);
}

/* Stats - Minimal */
.stats-section {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--spacing-md) 0;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--text-gold);
    display: block;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Contact - Dark Form */
.contact-section {
    background: #080808;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    padding: 1.5rem;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1.1rem;
    transition: var(--transition);
    margin-top: 0.5rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--text-gold);
    background: rgba(255, 255, 255, 0.05);
}

.contact-form label {
    display: block;
    margin-top: 2rem;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: #000;
    padding: var(--spacing-md) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 1rem;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .editorial-layout {
        grid-template-columns: 1fr;
    }

    /* Practice areas mobilde tek sütun */
    .practice-list {
        grid-template-columns: 1fr;
    }

    .nav-list {
        display: none;
    }

    /* Mobile menu logic needed in JS */
    .mobile-menu-btn {
        display: block;
    }

    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }
}