/* ==========================================================================
   AVUKAT HUKUK BÜROSU - PREMIUM STYLESHEET
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400&display=swap');

:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #c5a880;
    --accent-hover: #b39369;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-dark: #0f172a;
    --text-gray: #475569;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-premium: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

header {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(197, 168, 128, 0.2);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-symbol {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    border: 2px solid var(--accent);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: linear-gradient(135deg, rgba(197,168,128,0.1), rgba(15,23,42,0.5));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--bg-white);
    letter-spacing: 0.5px;
}

.logo-subtitle {
    font-size: 10px;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: -2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent);
}

.btn-contact-nav {
    background-color: var(--accent);
    color: var(--primary) !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600 !important;
    transition: var(--transition);
}

.btn-contact-nav:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    padding: 100px 0 120px;
    color: var(--bg-white);
    border-bottom: 3px solid var(--accent);
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(197, 168, 128, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(197, 168, 128, 0.1);
    border: 1px solid rgba(197, 168, 128, 0.3);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 48px;
    color: var(--bg-white);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 650px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary);
    padding: 16px 32px;
    font-weight: 600;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(197, 168, 128, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    color: var(--primary);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    padding: 16px 32px;
    font-weight: 600;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    transform: translateY(-2px);
}

/* Booking Form Box */
.booking-card {
    background-color: var(--bg-white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--accent);
    color: var(--text-dark);
}

.booking-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--primary);
}

.booking-card p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--primary-light);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
}

.btn-submit {
    width: 100%;
    background-color: var(--primary);
    color: var(--bg-white);
    border: none;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: var(--accent);
    color: var(--primary);
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 16px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

.section-desc {
    color: var(--text-gray);
    font-size: 16px;
}

/* ==========================================================================
   GRID LAYOUTS & CARDS (CATEGORIES & AREAS)
   ========================================================================== */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--bg-white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(197, 168, 128, 0.3);
}

.card:hover::after {
    transform: scaleX(1);
    background-color: var(--accent);
}

.card-icon {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 20px;
}

.card-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.card-desc {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 20px;
}

.card-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-link:hover {
    color: var(--accent);
}

.card-link i {
    transition: var(--transition);
}

.card:hover .card-link i {
    transform: translateX(4px);
}

/* ==========================================================================
   CONTENT PAGE STYLES (Dynamic SEO Pages)
   ========================================================================== */

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.article-content {
    background-color: var(--bg-white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.article-body {
    margin-top: 24px;
}

.article-body p {
    margin-bottom: 20px;
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.8;
}

.article-body strong {
    color: var(--primary);
}

.article-body h2, .article-body h3 {
    margin: 36px 0 16px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-gray);
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb span {
    color: var(--accent);
    font-weight: 500;
}

/* Sidebar styling */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-box {
    background-color: var(--bg-white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.sidebar-title {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
}

.sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    padding: 10px;
    background-color: var(--bg-light);
    border-radius: 6px;
    border: 1px solid transparent;
}

.sidebar-list-item:hover {
    border-color: rgba(197, 168, 128, 0.3);
    background-color: var(--bg-white);
}

/* ==========================================================================
   PEOPLE ALSO ASK (FAQ ACCORDION) SECTION
   ========================================================================== */

.related-qa-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.qa-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.accordion-item {
    background-color: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: rgba(197, 168, 128, 0.4);
    box-shadow: var(--shadow-sm);
}

.accordion-item details {
    width: 100%;
}

.accordion-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    list-style: none;
}

.accordion-header::-webkit-details-marker {
    display: none;
}

.accordion-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
    flex: 1;
    padding-right: 16px;
}

.accordion-header .toggle-icon {
    font-size: 14px;
    color: var(--text-gray);
    transition: transform 0.3s ease;
}

.accordion-item details[open] .accordion-header .toggle-icon {
    transform: rotate(180deg);
    color: var(--accent);
}

.accordion-content {
    padding: 0 20px 20px 20px;
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.7;
}

.accordion-item details[open] .accordion-content {
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

/* ==========================================================================
   RENTAL / CTA BANNER (For Programmatic SEO monetization/Lead capture)
   ========================================================================== */

.rental-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%);
    border-left: 5px solid var(--accent);
    padding: 30px;
    border-radius: var(--radius);
    color: var(--bg-white);
    margin: 40px 0;
    box-shadow: var(--shadow-md);
}

.rental-banner h4 {
    color: var(--accent);
    font-size: 22px;
    margin-bottom: 12px;
}

.rental-banner p {
    font-size: 15px;
    margin-bottom: 24px;
    color: var(--text-light);
}

.btn-rental {
    background-color: var(--accent);
    color: var(--primary);
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 4px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(197, 168, 128, 0.2);
}

.btn-rental:hover {
    background-color: var(--accent-hover);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 80px 0 40px;
    border-top: 4px solid var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-box h4 {
    color: var(--bg-white);
    font-size: 18px;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-box h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-box p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.footer-box ul {
    list-style: none;
}

.footer-box ul li {
    margin-bottom: 12px;
}

.footer-box ul li a {
    color: var(--text-light);
    font-size: 14px;
}

.footer-box ul li a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-light);
}

.footer-contact-item i {
    color: var(--accent);
    font-size: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-light);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--text-light);
    font-size: 13px;
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

/* ==========================================================================
   MOBILE STICKY ACTION BAR & ACCORDION ANIMATIONS
   ========================================================================== */

.sticky-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary);
    display: grid;
    grid-template-columns: 1fr 1fr;
    z-index: 999;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    border-top: 2px solid var(--accent);
    display: none;
}

.sticky-action-btn {
    text-align: center;
    padding: 16px;
    font-size: 14px;
    font-weight: 700;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sticky-action-btn.call {
    background-color: var(--primary);
}

.sticky-action-btn.whatsapp {
    background-color: #25D366;
    color: var(--bg-white);
}

/* Modal styling for lead captures */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    padding: 20px;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--bg-white);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--accent);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-gray);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--accent);
}

/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .nav-links {
        display: none; /* Can add hamburger menu in JS later if needed */
    }
    
    .sticky-action-bar {
        display: grid;
    }
    
    body {
        padding-bottom: 56px; /* Space for sticky bar */
    }
    
    .article-content {
        padding: 24px;
    }
}
