/* ============================================
   ULUSLARARASI LEGAL FIRM TASARIMI
   Modern, Profesyonel, Güven Veren
   ============================================ */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Profesyonel Legal Firm Renkleri */
    --navy: #0a2540;
    --navy-dark: #051a2e;
    --navy-light: #1a3a5f;
    --gold: #8b6a2f;
    --gold-dark: #7d6230;
    --gold-light: #c9a961;
    --white: #ffffff;
    --gray-50: #fafbfc;
    --gray-100: #f4f6f8;
    --gray-200: #e8ecef;
    --gray-300: #d1d9e0;
    --gray-600: #6b7280;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --text: #1f2937;
    --text-light: #6b7280;
    --success: #10b981;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-md: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.15);
    --radius: 6px;
    --radius-lg: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    font-size: 16px;
}

/* SEO Accordion Links */
.seo-accordion a.gold-link {
    color: var(--gold);
    text-decoration: none;
}

.seo-accordion a.gold-link:hover {
    text-decoration: underline;
}

/* Hero paragraph links */
.hero-description a.subtle-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.hero-description a.subtle-link:hover {
    border-bottom-color: var(--gold);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HEADER - Modern & Sticky
   ============================================ */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    margin-bottom: 0;
}

/* Main content spacing - Minimal */
main {
    margin-top: 0;
}

/* Ana sayfa için boşluk olmasın */
body.home-page main {
    margin-top: 0;
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.navbar {
    padding: 0.75rem 0 0 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand .brand-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.navbar-brand .logo {
    height: 55px;
    width: auto;
    transition: var(--transition);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.brand-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.2;
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.navbar-brand:hover .logo {
    opacity: 0.8;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.navbar-menu a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 500;
    font-size: 0.9375rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.navbar-menu a:hover {
    color: var(--navy);
}

.navbar-menu a:hover::after {
    width: 100%;
}

.lang-switcher {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid var(--gray-200);
}

.lang-switcher a {
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.lang-switcher a.active {
    background: var(--navy);
    color: var(--white);
}

.lang-switcher a:hover:not(.active) {
    background: var(--gray-100);
    color: var(--navy);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
    padding: 0.5rem;
}

.navbar-toggle span {
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 1px;
    transition: var(--transition);
}

/* CTA Bar - Hidden (Using Floating WhatsApp instead) */
.cta-bar {
    display: none !important;
}

.cta-bar,
.cta-content,
.cta-text,
.btn-whatsapp {
    display: none !important;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cta-text {
    font-weight: 500;
}

.cta-text a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.cta-text a:hover {
    color: var(--gold-light);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #1fb855;
    transform: translateY(-1px);
}

.whatsapp-icon {
    width: 18px;
    height: 18px;
}

/* Responsive - Mobilde sadece logo göster */
@media (max-width: 768px) {
    .brand-text {
        display: none !important;
    }
    
    .navbar-brand .brand-link {
        gap: 0;
    }
    
    .navbar-brand .logo {
        height: 50px;
    }
}

/* Eski stil (backup) */
.old-cta-text-a-hover {
    color: var(--gold-light);
}

.btn-whatsapp {
    background: var(--success);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

/* ============================================
   HERO SECTION - Etkileyici & Modern
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
    color: var(--white);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(201, 169, 97, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(201, 169, 97, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
}

.hero-section h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 600;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.375rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   BUTTONS - Modern & Elegant
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   SERVICES SECTION - Grid Layout
   ============================================ */
.services-section {
    padding: 7rem 0;
    background: var(--gray-50);
}

.services-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.services-section > .container > p {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card h3 {
    color: var(--navy);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex-grow: 1;
}

.btn-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    font-size: 0.9375rem;
    margin-top: auto;
}

.btn-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.btn-link:hover {
    gap: 0.75rem;
    color: var(--gold-dark);
}

.btn-link:hover::after {
    transform: translateX(4px);
}

/* ============================================
   CONTENT SECTION - Clean & Readable
   ============================================ */
.content-section,
.about-section {
    padding: 6rem 0;
    background: var(--white);
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--text);
}

.page-title {
    color: var(--navy);
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 600;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--gray-200);
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: var(--gold);
}

.content-heading {
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    color: var(--navy);
    font-weight: 600;
}

.content-wrapper h1.content-heading {
    font-size: 2.5rem;
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 0.75rem;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
}

.content-wrapper h2.content-heading {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
}

.content-wrapper h3.content-heading {
    font-size: 1.5rem;
    color: var(--navy-light);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.content-wrapper h4.content-heading {
    font-size: 1.25rem;
    color: var(--navy-light);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.content-paragraph {
    margin-bottom: 1.75rem;
    line-height: 1.85;
    color: var(--text);
    text-align: left;
}

.content-list {
    margin: 2rem 0;
    padding-left: 2rem;
    color: var(--text);
}

.content-list-item {
    margin-bottom: 0.875rem;
    line-height: 1.8;
}

.content-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: 2.5rem auto;
    display: block;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.content-link {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
    font-weight: 500;
}

.content-link:hover {
    border-bottom-color: var(--gold);
    color: var(--gold-dark);
}

.content-link.external::after {
    content: ' ↗';
    font-size: 0.85em;
    opacity: 0.7;
    margin-left: 2px;
}

.content-strong {
    font-weight: 600;
    color: var(--navy);
}

.content-em {
    font-style: italic;
    color: var(--text-light);
}

/* Görsel düzenlemeleri */
.content-wrapper p:has(img),
.content-image-wrapper {
    text-align: center;
    margin: 3rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.content-wrapper p:has(img) img,
.content-image-wrapper img {
    flex: 0 1 auto;
    max-width: 280px;
    margin: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.content-wrapper > *:first-child {
    margin-top: 0;
}

.content-wrapper > *:last-child {
    margin-bottom: 0;
}

/* ============================================
   CTA SECTION - Prominent
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 5rem 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: 5rem;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(201, 169, 97, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 600;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-size: 1.25rem;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: var(--gold);
    color: var(--navy);
}

.cta-section .btn-secondary {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   FOOTER - Professional
   ============================================ */
.footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.9);
    padding: 5rem 0 2rem;
    margin-top: 6rem;
    border-top: 3px solid var(--gold);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: var(--gold);
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-section a:hover {
    color: var(--gold);
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-bottom a {
    color: var(--gold);
    text-decoration: none;
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog-section {
    padding: 6rem 0;
    background: var(--gray-50);
}

.blog-intro {
    text-align: center;
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    font-weight: 300;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.blog-card h2 {
    margin-bottom: 1rem;
}

.blog-card h2 a {
    color: var(--navy);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.5rem;
    font-weight: 600;
}

.blog-card h2 a:hover {
    color: var(--gold);
}

.blog-date {
    display: block;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.blog-excerpt {
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.blog-post {
    padding: 5rem 0;
    background: var(--white);
}

.blog-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gray-200);
}

.blog-header h1 {
    color: var(--navy);
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.blog-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.0625rem;
    line-height: 1.85;
    padding: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .navbar-toggle {
        display: flex;
    }
    
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        border-top: 2px solid var(--gold);
    }
    
    .navbar-menu.active {
        display: flex;
    }
    
    .lang-switcher {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        margin-top: 1rem;
    }
    
    .hero-section {
        padding: 5rem 0 4rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .services-section {
        padding: 5rem 0;
    }
    
    .services-section h2 {
        font-size: 2.25rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .page-title {
        font-size: 2.25rem;
    }
    
    .content-wrapper {
        font-size: 1rem;
    }
    
    .content-wrapper h1.content-heading {
        font-size: 2rem;
    }
    
    .content-wrapper h2.content-heading {
        font-size: 1.75rem;
    }
    
    .cta-section {
        padding: 3rem 2rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp svg {
    width: 35px;
    height: 35px;
    fill: white;
    position: relative;
    z-index: 2;
}

.floating-whatsapp::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    animation: whatsapp-pulse 2s infinite;
    z-index: 1;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Mobil için ayarlamalar */
@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .floating-whatsapp svg {
        width: 30px;
        height: 30px;
    }
}
