/* ==========================================================================
   Doğru Hukuk - Modern, Premium Law Firm Styles
   ========================================================================== */

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

:root {
    --primary-color: #1a2942;     /* Navy Blue */
    --secondary-color: #c5a47e;   /* Elegant Gold */
    --accent-color: #dcb382;      /* Lighter Gold for Hover */
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-gray: #777777;
    --bg-light: #f9f9fb;
    --bg-dark: #121c2d;
    --border-color: #eaeaea;
    --transition-speed: 0.3s;
    
    --font-primary: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed) ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    background: rgba(26, 41, 66, 0.98);
    position: relative;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all var(--transition-speed) ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
    padding: 0;
}

.logo h1 {
    font-family: var(--font-serif);
    color: var(--secondary-color);
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1.1;
}

.logo span {
    color: var(--text-light);
    font-size: 16px;
    font-family: var(--font-primary);
    display: block;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 2px;
}

.main-nav > ul {
    display: flex;
    align-items: center;
    gap: 15px;
}

.main-nav > ul > li > a {
    color: var(--text-light);
    font-size: 16px;
    font-weight: 500;
    text-shadow: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 10px 0;
    white-space: nowrap;
}

.main-nav > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width var(--transition-speed) ease;
}

.main-nav > ul > li > a:hover {
    color: var(--secondary-color);
}

.main-nav > ul > li > a:hover::after,
.main-nav > ul > li.active > a::after {
    width: 100%;
}

.main-nav > ul > li.active > a {
    color: var(--secondary-color);
}

/* ==========================================================================
   Hero Slider Section
   ========================================================================== */
.hero-slider {
    position: relative;
    height: calc(100vh - 130px); /* Fill remaining screen height so no white space is visible initially */
    min-height: 500px;
    background-color: var(--primary-color);
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: flex-end;
    padding-bottom: 100px;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
}

.slide-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(17,28,48,0.9) 0%, rgba(17,28,48,0.4) 50%, rgba(0,0,0,0) 100%);
    z-index: -1;
}

.slide-content {
    color: var(--text-light);
    max-width: 700px;
}

.slide-title, .slide-text, .outline-btn {
    opacity: 0;
}

.slide.active .slide-title {
    animation: slideUpIn 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    animation-delay: 0.4s;
}

.slide.active .slide-text {
    animation: slideUpIn 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    animation-delay: 0.6s;
}

.slide.active .outline-btn {
    animation: slideUpIn 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    animation-delay: 0.8s;
}

@keyframes slideUpIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.slide-title {
    font-family: var(--font-primary);
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    text-transform: uppercase;
}

.slide-text {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
}

.outline-btn {
    background-color: rgba(17,26,44, 0.95);
    color: var(--text-light);
    border: none;
    padding: 15px 40px;
    transition: all 0.3s;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
    letter-spacing: 1px;
}

.outline-btn:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(17,28,48,0.5);
    color: white;
    border: none;
    width: 50px; height: 50px;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
    transition: background 0.3s;
}
.slider-arrow:hover { background: var(--secondary-color); color: var(--primary-color); }
.slider-arrow.prev { left: 0; }
.slider-arrow.next { right: 0; }

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 40px;
    right: 50px;
    z-index: 10;
    display: flex;
    gap: 12px;
}
.dot {
    width: 10px; height: 10px;
    border: 1px solid white;
    transform: rotate(45deg);
    cursor: pointer;
    transition: background 0.3s;
}
.dot.active, .dot:hover {
    background: white;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--secondary-color);
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    border: 2px solid var(--secondary-color);
    transition: all var(--transition-speed) ease;
}

.btn:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

/* ==========================================================================
   Sections & Content
   ========================================================================== */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h3 {
    font-family: var(--font-serif);
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title .divider {
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 0 auto;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Cards */
.card {
    background: var(--text-light);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    border-bottom: 3px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--secondary-color);
}

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

.card h4 {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card p {
    color: var(--text-gray);
    font-size: 15px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: #3c5885;
    color: var(--text-light);
    padding: 70px 0 20px;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.brand-col .footer-logo h2 {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 400;
    margin: 0;
    letter-spacing: 2px;
    color: var(--secondary-color);
}
.brand-col .footer-logo span {
    display: block;
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-desc {
    margin-bottom: 25px;
    line-height: 1.8;
    font-weight: 500;
}

.footer-contact-table {
    width: 100%;
    margin-bottom: 25px;
    border-collapse: collapse;
}
.footer-contact-table td {
    padding: 5px 0;
    vertical-align: top;
    font-weight: 500;
}
.footer-contact-table td:first-child {
    width: 80px;
    color: var(--secondary-color);
    font-weight: 600;
}

.footer-socials {
    display: flex;
    gap: 10px;
}
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #900;
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
    font-size: 14px;
    transition: background-color var(--transition-speed);
}
.social-icon:hover {
    background-color: #c00;
}

.footer-title {
    font-family: var(--font-serif);
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(255,255,255,0.1);
}

.footer-list {
    list-style: none; /* Removing default discs to use custom ones or clean list like screenshot */
}
.footer-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 15px;
}
.footer-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}
.footer-list a {
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s;
}
.footer-list a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer-small-text {
    line-height: 1.6;
    margin-bottom: 15px;
    font-weight: 500;
}
.mt-20 {
    margin-top: 30px;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #b30000;
    color: #fff;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s;
    width: 100%;
}
.footer-btn:hover {
    background-color: #d60000;
    color: #fff;
}
.btn-icon {
    margin-right: 10px;
    font-size: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

/* ==========================================================================
   Internal Pages
   ========================================================================== */
.page-header {
    background: #3c5885;
    padding: 25px 0;
    text-align: center;
    color: var(--text-light);
}

.page-header h2 {
    font-family: var(--font-serif);
    font-size: 32px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.page-content {
    padding: 60px 0;
    min-height: 50vh;
}

.page-content p {
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--text-gray);
}

.page-content h3 {
    font-family: var(--font-serif);
    color: var(--primary-color);
    margin: 30px 0 15px;
    font-size: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 40px;
    }
    
    .section-title h3 {
        font-size: 32px;
    }
}

/* ==========================================================================
   Online Danışmanlık & Header Button & Dropdown Menu
   ========================================================================== */

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(26, 41, 66, 0.98);
    min-width: 260px;
    display: flex !important;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    border-top: 3px solid var(--secondary-color);
    padding: 10px 0 !important;
    z-index: 100;
}
.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu li {
    margin: 0 !important;
}
.dropdown-menu li a {
    padding: 12px 25px !important;
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.8) !important;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-transform: none !important;
    font-weight: 400 !important;
}
.dropdown-menu li:last-child a {
    border-bottom: none;
}
.dropdown-menu li a:hover {
    background-color: rgba(255,255,255,0.05);
    color: var(--secondary-color) !important;
    padding-left: 30px !important;
}

.nav-btn {
    background-color: var(--secondary-color);
    color: var(--primary-color) !important;
    padding: 8px 15px !important;
    border-radius: 4px;
    font-weight: 600;
    margin-left: 10px;
    transition: all 0.3s ease;
}
.nav-btn::after {
    display: none !important;
}
.nav-btn:hover {
    background-color: var(--accent-color);
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.consultancy-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    margin: 50px 0;
}
@media (max-width: 992px) {
    .consultancy-wrapper {
        grid-template-columns: 1fr;
    }
}

.steps-container {
    margin-top: 40px;
}
.step-box {
    display: flex;
    margin-bottom: 30px;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.step-num {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-family: var(--font-serif);
    margin-right: 20px;
}
.step-text h4 {
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--primary-color);
}
.step-text p {
    color: var(--text-gray);
    margin-bottom: 0;
}

.action-card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 4px solid var(--primary-color);
}
.action-card h3 {
    color: var(--primary-color);
}
.payment-card {
    border-top: 4px solid #b30000;
}
.payment-card h3 {
    color: #b30000;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Policy Pages (KVKK & Çerez) Redesign
   ========================================================================== */
.policy-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}
.policy-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}
.sticky-sidebar {
    position: sticky;
    top: 120px;
    background: #fff;
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border-top: 4px solid var(--secondary-color);
}
.policy-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}
.policy-nav li {
    margin-bottom: 15px;
}
.policy-nav li:last-child {
    margin-bottom: 0;
}
.policy-nav li a {
    color: var(--text-gray);
    font-weight: 500;
    font-size: 15px;
    display: block;
    transition: all 0.3s;
    border-left: 2px solid transparent;
    padding-left: 15px;
}
.policy-nav li a:hover {
    color: var(--secondary-color);
    border-left-color: var(--secondary-color);
    transform: translateX(5px);
}
.policy-card {
    background: #fff;
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    color: var(--text-gray);
    line-height: 1.9;
    font-size: 16px;
}
.policy-card h3 {
    font-family: var(--font-serif);
    color: var(--primary-color);
    font-size: 26px;
    margin-top: 60px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}
.policy-card h3:first-child {
    margin-top: 0;
}
.policy-card p {
    margin-bottom: 25px;
}
@media (max-width: 992px) {
    .policy-layout {
        grid-template-columns: 1fr;
    }
    .sticky-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }
    .policy-card {
        padding: 40px 30px;
    }
}

/* ==========================================================================
   Online Danışmanlık Redesign
   ========================================================================== */
.online-hero {
    background: linear-gradient(rgba(26,41,66,0.8), rgba(26,41,66,0.9)), url('images/bina.jpg') top/cover;
    height: 60vh;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 20px;
}
.online-hero h1 {
    font-family: var(--font-serif);
    font-size: 48px;
    margin-bottom: 30px;
    font-weight: 700;
}
.online-hero .btn {
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 50px;
}

.online-intro {
    padding: 80px 20px;
    max-width: 900px;
    margin: 0 auto;
}
.online-intro h5 {
    color: var(--secondary-color);
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 600;
}
.online-intro h2 {
    font-family: var(--font-serif);
    color: var(--primary-color);
    font-size: 36px;
    margin-bottom: 20px;
}
.online-intro h4 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}
.online-intro p {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.8;
}

.online-steps {
    padding: 80px 0;
}
.online-steps h2 {
    font-family: var(--font-serif);
    color: var(--primary-color);
    font-size: 36px;
    margin-bottom: 50px;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}
.step-card {
    background: #fff;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.step-card:hover {
    transform: translateY(-5px);
}
.step-card .icon {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}
.step-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 18px;
}
.step-card p {
    color: var(--text-gray);
    font-size: 14px;
}

.online-lawyers {
    padding: 80px 0;
}
.lawyer-card {
    display: flex;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    gap: 30px;
}
.lawyer-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #eee;
    background-color: #fff;
}
.lawyer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lawyer-info {
    flex-grow: 1;
}
.lawyer-info h4 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-family: var(--font-serif);
}
.lawyer-info .title {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 15px;
}
.lawyer-info .tags span {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-weight: 500;
}
.lawyer-price {
    text-align: right;
    flex-shrink: 0;
    min-width: 150px;
}
.lawyer-price p {
    margin-bottom: 5px;
    color: var(--text-gray);
    font-size: 14px;
}
.lawyer-price strong {
    color: var(--primary-color);
    font-size: 20px;
}
.lawyer-action {
    flex-shrink: 0;
}
.lawyer-action .btn {
    padding: 12px 25px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .lawyer-card {
        flex-direction: column;
        text-align: center;
    }
    .lawyer-price {
        text-align: center;
    }
    .online-hero h1 {
        font-size: 32px;
    }
    .main-nav {
        display: none; /* Add hamburger menu in real implementation */
    }
    .hero-content h2 {
        font-size: 32px;
    }
}

/* ==========================================================================
   FAQ Section Styles
   ========================================================================== */
.faq-teaser-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #fff;
    border: 1px solid #eaeaea;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}
.faq-teaser-item:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateX(5px);
}
.faq-teaser-item:hover i {
    color: var(--secondary-color);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}
.faq-category-title {
    font-family: var(--font-serif);
    color: var(--primary-color);
    margin-top: 50px;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--secondary-color);
    font-size: 24px;
}
.faq-item {
    background: #fff;
    border: 1px solid #eaeaea;
    margin-bottom: 10px;
    border-radius: 4px;
}
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 25px;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}
.faq-question:hover {
    background-color: rgba(0,0,0,0.02);
}
.faq-question::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 14px;
    transition: transform 0.3s;
    color: var(--secondary-color);
}
.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
}
.faq-item.active .faq-answer {
    padding: 10px 25px 25px;
    max-height: 1000px;
}
