/* Add custom font declaration */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* LAWFIRM - Professional Legal Services Website Style
------------------------------------------------------ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

:root {
    --primary: #1a365d;
    --secondary: #b9a875;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --white: #ffffff;
    --aktif-blue: #1d4b7c;
    --main-font: 'Montserrat', 'Segoe UI', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--main-font);
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--white);
    font-weight: 500;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
}

/* Aktif Logo Styling */
.aktif-logo {
    font-family: var(--main-font);
    font-weight: 700;
    color: var(--aktif-blue);
    text-transform: lowercase;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0.5rem 0;
}

/* Line 2 - Under Logo */
.aktif-logo::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    left: -1000px;
    height: 2px;
    background-color: transparent;
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    position: relative;
}

/* Line 1 - Under Navigation */
.nav-links::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -1.5rem;
    right: -670px;
    height: 2px;
    background-color: var(--aktif-blue);
}

.nav-links li {
    margin-left: 1.5rem;
    position: relative;
}

.nav-links li a {
    color: var(--dark);
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--secondary);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.3s ease;
    z-index: 2;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

/* Ensure hover effects work even when link is active */
.nav-links li a.active:hover {
    color: var(--secondary);
}

.nav-links li a.active:hover::after {
    width: 100%;
    background-color: var(--secondary);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 220px;
    padding: 1rem 0;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 0.5rem 1.5rem;
    color: var(--dark);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
    background-color: var(--light);
    color: var(--secondary);
    padding-left: 2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 54, 93, 0.8), rgba(26, 54, 93, 0.9)), url('../images/hero-bg.jpg') no-repeat center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    margin-top: 0;
    padding-top: 5rem;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--light);
    padding: 5rem 0 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--main-font);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

p {
    margin-bottom: 1.5rem;
    font-family: var(--main-font);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
    font-family: var(--main-font);
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 5rem 0;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h6 {
    color: var(--secondary);
    font-family: var(--main-font);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 1.5rem;
    font-weight: 700;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--secondary);
}

/* Logo image styling */
.aktif-image {
    height: 30px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.logo-separator {
    width: 2px;
    height: 30px;
    background-color: var(--aktif-blue);
    display: inline-block;
    margin: 0 10px;
}

.logo-subtitle {
    font-family: var(--main-font);
    font-weight: 500;
    font-size: 1rem;
    color: #666;
    margin-left: 4px;
}

.address-bar {
    background-color: #f5f5f5;
    padding: 0.3rem 0;
    border-bottom: 1px solid #eee;
}

.address-bar p {
    margin-bottom: 0;
    font-size: 0.85rem;
    text-align: right;
    color: #666;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-family: var(--main-font);
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 2rem;
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
    padding: 1rem;
}

.stat-number {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--main-font);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    min-width: 160px; /* Fixed width for number container */
    text-align: center;
}

/* Specific widths for larger numbers */
.stat-item:nth-child(2) .stat-number {
    min-width: 200px; /* Wider for the 600.000+ number */
}

.stat-text {
    font-size: 1rem;
    color: var(--gray);
    display: block;
    font-weight: 500;
    margin-top: 0.5rem;
}

.about-image img {
    border-radius: 5px;
    size: 30%;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
}

/* Practice Areas Section */
.practice-areas {
    background-color: var(--light);
}

.practice-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.practice-area-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.practice-area-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.practice-area-card .icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.practice-area-card h3 {
    font-size: 1.5rem;
}

.practice-area-card .read-more {
    display: inline-block;
    color: var(--primary);
    font-weight: 500;
    margin-top: 1rem;
}

.practice-area-card .read-more i {
    font-size: 0.8rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.practice-area-card .read-more:hover i {
    transform: translateX(5px);
}

/* Contact Section */
.contact {
    background-color: var(--light);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.map-container {
    grid-column: 1 / -1;
    margin-top: 1.5rem;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.map-container iframe {
    display: block;
    width: 100%;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.info-item p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--light);
    padding: 5rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about h3,
.footer-links h3,
.footer-practice h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-about .aktif-logo {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-about .aktif-image {
    height: 25px; /* Slightly smaller in footer */
    filter: brightness(0) invert(1); /* Make the logo white in the footer */
}

.footer-about .logo-separator {
    background-color: var(--white);
    height: 25px;
}

.footer-about .logo-subtitle {
    color: #ccc;
}

.footer-about p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--secondary);
}

.footer-links ul,
.footer-practice ul {
    list-style: none;
}

.footer-links li,
.footer-practice li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-practice a {
    color: var(--light);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover,
.footer-practice a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-content {
        gap: 2rem;
    }

    .contact-info {
        order: 2;
    }

    .contact-form {
        order: 1;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .practice-areas-grid {
        grid-template-columns: 1fr;
    }

    .practice-area-card {
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    header {
        background-color: rgba(255, 255, 255, 0.95);
    }
    
    .nav-links li a {
        color: var(--dark);
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .stats {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .stat-item {
        flex: 0 0 100%;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* KVKK Section */
.kvkk-section {
    background-color: var(--white);
    padding: 5rem 0;
}

.kvkk-content {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    scroll-margin-top: 100px; /* Ensures proper scroll position with fixed header */
}

.kvkk-content:first-of-type {
    margin-top: 0;
}

.legal-text h3 {
    color: var(--aktif-blue);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light);
}

.legal-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #333;
}

.legal-text ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
    color: #333;
}

.legal-text ul + p {
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .kvkk-content {
        padding: 1.5rem;
    }

    .legal-text h3 {
        font-size: 1.2rem;
    }
}

/* Adjust media queries for responsive border width */
@media (max-width: 1200px) {
    :root {
        --border-width: 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --border-width: 20px;
    }
}

@media (max-width: 576px) {
    :root {
        --border-width: 15px;
    }
}

/* Update container padding to account for wider borders */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 calc(2rem + var(--border-width));
}

/* PDF Download Button */
.download-button {
    margin: 2rem 0;
    text-align: center;
}

.pdf-download {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--aktif-blue);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pdf-download:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pdf-download i {
    font-size: 1.2rem;
}

/* Aydınlatma Metni Styling */
.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--light-gray);
}

.legal-subtitle {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.legal-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background-color: var(--light);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.legal-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.legal-section h4 {
    color: var(--aktif-blue);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-section h4::before {
    content: '';
    width: 4px;
    height: 20px;
    background-color: var(--secondary);
    border-radius: 2px;
}

.section-content {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.8;
}

.section-content ul {
    list-style: none;
    padding-left: 1.5rem;
}

.section-content ul li {
    position: relative;
    margin-bottom: 0.75rem;
}

.section-content ul li::before {
    content: '•';
    color: var(--secondary);
    position: absolute;
    left: -1.5rem;
    font-weight: bold;
}

.contact-info-special {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 5px;
    border: 1px solid var(--light-gray);
}

@media (max-width: 768px) {
    .legal-section {
        padding: 1rem;
    }
    
    .legal-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
}

/* Additional Aydınlatma Metni Styling */
.legal-introduction {
    margin-bottom: 3rem;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

.legal-introduction p {
    margin-bottom: 1.5rem;
}

.application-methods {
    background-color: var(--light);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.application-methods h5 {
    color: var(--aktif-blue);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.method {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--light-gray);
}

.method:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.method strong {
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.method .address {
    margin-top: 0.5rem;
    color: var(--gray);
    font-style: italic;
}

.veri-sorumlusu-info {
    background-color: var(--light);
    padding: 1.5rem;
    border-radius: 5px;
    margin-top: 1.5rem;
}

.veri-sorumlusu-info p {
    margin-bottom: 0.5rem;
}

.veri-sorumlusu-info p:last-child {
    margin-bottom: 0;
}

.section-content a {
    color: var(--aktif-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.section-content a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* Çerez Politikası Specific Styling */
.cookie-types {
    background-color: var(--light);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.cookie-types li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.cookie-types li:last-child {
    margin-bottom: 0;
}

.cookie-types li::before {
    content: '•';
    color: var(--secondary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.highlight-text {
    color: var(--aktif-blue);
    font-weight: 500;
    padding: 1rem;
    background-color: rgba(29, 75, 124, 0.05);
    border-radius: 5px;
    margin: 1.5rem 0;
}

.notice-box {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 1.5rem;
    border-radius: 5px;
    margin-top: 2rem;
}

.notice-box p {
    margin: 0;
}

.notice-box strong {
    color: inherit;
}

@media (max-width: 768px) {
    .stats {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 1rem);
        min-width: unset;
    }

    .stat-number {
        min-width: 120px;
        font-size: 2rem;
    }

    .stat-item:nth-child(2) .stat-number {
        min-width: 160px;
    }
}

@media (max-width: 480px) {
    .stat-item {
        flex: 0 0 100%;
    }
    
    .stat-number {
        min-width: 140px;
    }

    .stat-item:nth-child(2) .stat-number {
        min-width: 180px;
    }
} 