/* =====================================================
   OPAK HUKUK BÜROSU - Ana Stil Dosyası
   Renkler: Altın #b69d74, Lacivert #222e41
   ===================================================== */

:root {
    --accent: #b69d74;
    --alternate: #222e41;
    --dark: #191919;
    --light-bg: #f7f7f7;
    --white: #ffffff;
    --text: #333333;
    --text-light: #666666;
    --border: rgba(0,0,0,0.1);
    --font: 'Lato', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    background: #fff;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color .3s; }
ul { list-style: none; }

/* =====================
   HEADER & NAV
   ===================== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(34,46,65,0.97);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
    transition: all .3s;
}
.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 80px;
}
.logo img {
    height: 52px;
    width: auto;
}
.nav-menu {
    display: flex;
    gap: 36px;
    align-items: center;
}
.nav-menu a {
    color: rgba(255,255,255,0.88);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 0;
    position: relative;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--accent);
    transition: width .3s;
}
.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }
.nav-menu a:hover, .nav-menu a.active { color: #fff; }
.nav-menu .language-switch {
    color: var(--accent);
    margin-left: 10px;
}

.hamburger {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    padding: 8px;
    border: 0;
    background: transparent;
    flex-shrink: 0;
}
.hamburger span {
    display: block;
    width: 26px; height: 2px;
    background: #fff;
    transition: all .3s;
}

/* Mobile nav */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--alternate);
    position: fixed;
    top: 80px; left: 0; right: 0;
    z-index: 999;
    padding: 20px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
    color: rgba(255,255,255,0.85);
    padding: 14px 40px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    transition: all .2s;
}
.mobile-nav a:hover { color: #fff; padding-left: 50px; }
.mobile-nav .language-switch { color: var(--accent); }

/* =====================
   PAGE WRAPPER
   ===================== */
.page-wrap { padding-top: 80px; }

/* =====================
   HERO SECTION
   ===================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--alternate);
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.9;
    filter: brightness(1.18) contrast(1.04);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 80px 60px;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0,0,0,0.38);
}
.hero-slider { min-height: 300px; }
.hero-slide { display: none; animation: fadeSlide .8s ease; }
.hero-slide.active { display: block; }

@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
    color: #fff;
}
.hero .sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    font-style: italic;
    letter-spacing: 0.02em;
}
.hero-dots {
    position: absolute;
    bottom: 40px; left: 60px;
    display: flex;
    gap: 10px;
    z-index: 2;
}
.hero-dots button {
    width: 10px; height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background .3s;
    padding: 0;
}
.hero-dots button.active { background: var(--accent); }

/* =====================
   ABOUT BAND (anasayfa)
   ===================== */
.about-band {
    background: var(--alternate);
    color: #fff;
    padding: 60px 40px;
}
.about-band-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.about-band h4 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}
.about-band p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    max-width: 900px;
}

/* =====================
   SERVICES SECTION
   ===================== */
.section {
    padding: 80px 40px;
}
.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    text-align: left;
    margin-bottom: 60px;
}
.section-title .dash {
    display: block;
    width: 48px;
    height: 4px;
    background: var(--accent);
    margin-bottom: 20px;
}
.section-title h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--alternate);
    line-height: 1.3;
}
.section-title p {
    margin-top: 12px;
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 700px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--border);
}
.service-item {
    background: #fff;
    padding: 40px 36px;
    position: relative;
}
.service-num {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 12px;
    display: block;
}
.service-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--alternate);
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--light-bg);
}
.service-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.75;
}
.service-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    background: var(--accent);
    color: #fff;
    margin-top: 24px;
    font-size: 1.1rem;
    transition: background .3s, transform .3s;
}
.service-arrow:hover {
    background: var(--alternate);
    transform: translateX(4px);
}

/* =====================
   QUOTE SECTION
   ===================== */
.quote-section {
    padding: 80px 40px;
    background: var(--alternate);
    position: relative;
}
.quote-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/cta-bg.jpg') center/cover;
    opacity: 0.2;
}
.quote-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    color: #fff;
}
.quote-inner .dash { margin: 0 auto 24px; display: block; width: 48px; height: 4px; background: var(--accent); }
.quote-inner h5 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    line-height: 1.65;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
}
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 2px solid var(--accent);
    color: #fff;
    transition: all .3s;
}
.btn:hover {
    background: var(--accent);
    color: #fff;
}
.btn-accent {
    background: var(--accent);
    color: #fff;
}
.btn-accent:hover {
    background: transparent;
    color: #fff;
}

/* =====================
   TEAM SECTION
   ===================== */
.bg-light { background: var(--light-bg); }

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.team-card {
    background: #fff;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.team-photo {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}
.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(34,46,65,0.92) 0%, transparent 100%);
    color: #fff;
    padding: 40px 18px 18px;
    font-size: 0.92rem;
    font-weight: 600;
}
.team-bio {
    padding: 20px;
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* =====================
   PAGE HERO
   ===================== */
.page-hero {
    height: 50vh;
    min-height: 320px;
    position: relative;
    display: flex;
    align-items: flex-end;
    background: var(--alternate);
    overflow: hidden;
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.92;
    filter: brightness(1.24) contrast(1.04);
}
.page-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(34,46,65,0.34) 0%, rgba(34,46,65,0.04) 100%);
}
.page-hero-content {
    position: relative;
    z-index: 1;
    padding: 60px;
    color: #fff;
    max-width: 900px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.page-hero-content h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.page-hero-content p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
}

/* =====================
   ABOUT PAGE
   ===================== */
.prose {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text);
}
.prose p { margin-bottom: 20px; }
.prose strong { color: var(--alternate); }

.innovation-bar {
    background: var(--alternate);
    padding: 60px;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}
.innovation-bar .big-text {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    color: rgba(255,255,255,0.05);
    position: absolute;
    top: 50%;
    left: 60px;
    transform: translateY(-50%);
    letter-spacing: -0.02em;
    text-transform: uppercase;
    pointer-events: none;
}
.innovation-bar .dash {
    display: block;
    width: 48px;
    height: 4px;
    background: var(--accent);
    margin-bottom: 20px;
}
.innovation-bar h3 {
    color: #fff;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 300;
    position: relative;
    z-index: 1;
    max-width: 700px;
}

/* =====================
   EXPERTISE PAGE
   ===================== */
.expertise-list {
    columns: 2;
    column-gap: 40px;
}
.expertise-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.98rem;
    break-inside: avoid;
}
.expertise-list li::before {
    content: '›';
    color: var(--accent);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}

.expertise-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}
.expertise-type {
    padding: 36px 28px;
    border-left: 4px solid var(--light-bg);
    transition: border-color .3s;
}
.expertise-type:hover { border-left-color: var(--accent); }
.expertise-type .num {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 10px;
}
.expertise-type h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--alternate);
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--light-bg);
}
.expertise-type p { font-size: 0.92rem; color: var(--text-light); line-height: 1.75; }

/* =====================
   CONTACT PAGE
   ===================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-grid-single {
    grid-template-columns: minmax(0, 820px);
    justify-content: center;
}
.contact-card {
    background: #fff;
    border-left: 5px solid var(--alternate);
    padding: 40px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}
.contact-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--alternate);
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-bg);
}
.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}
.contact-icon {
    width: 42px; height: 42px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    color: var(--alternate);
}
.contact-info strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #999;
    margin-bottom: 4px;
}
.contact-info a, .contact-info span {
    font-size: 0.98rem;
    color: var(--text);
}
.contact-info a:hover { color: var(--accent); }
.map-link {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--accent) !important;
    font-weight: 700;
}

/* =====================
   FOOTER
   ===================== */
.site-footer {
    background: var(--alternate);
    color: rgba(255,255,255,0.8);
}
.footer-top {
    border-top: 6px solid var(--accent);
    padding: 60px 40px;
}
.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
}
.footer-brand img {
    height: 48px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}
.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.6);
}
.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    transition: color .3s;
}
.footer-col ul li a:hover { color: #fff; }
.footer-contact p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 40px;
    text-align: center;
}
.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
}

/* =====================
   BREADCRUMB
   ===================== */
.breadcrumb {
    background: var(--light-bg);
    padding: 12px 40px;
    font-size: 0.82rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 8px; }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .services-grid { grid-template-columns: 1fr; gap: 1px; }
    .expertise-types { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header-inner { padding: 0 24px; }
    .nav-menu { display: none; }
    .hamburger { display: flex; }
    .hero-content { padding: 60px 24px; }
    .page-hero-content { padding: 40px 24px; }
    .section { padding: 60px 24px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .expertise-list { columns: 1; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-top, .footer-bottom { padding: 40px 24px; }
    .breadcrumb { padding: 12px 24px; }
    .about-band { padding: 40px 24px; }
    .innovation-bar { padding: 40px 24px; }
    .innovation-bar .big-text { display: none; }
}

@media (max-width: 480px) {
    .team-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.6rem; }
}
