/* Veridis Hukuk — Main Stylesheet */

:root {
  --navy: #0A1628;
  --navy-mid: #0D1F3C;
  --navy-light: #152847;
  --gold: #C9A84C;
  --gold-dim: #A8883A;
  --silver: #BDC3CC;
  --white: #F0F2F5;
  --text-muted: #8899AA;
  --border: rgba(201,168,76,0.2);
  --font-heading: 'Libre Baskerville', serif;
  --font-body: 'Inter', sans-serif;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(10,22,40,0.12);
  --shadow-lg: 0 8px 48px rgba(10,22,40,0.2);
  --transition: 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.3;
}

p {
  margin: 0;
  line-height: 1.7;
  color: var(--text-muted);
}

em {
  font-style: italic;
  color: var(--gold);
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-weight: 600;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 0 0 4px 0;
  z-index: 1000;
  font-weight: 600;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}

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

/* Announcement Bar */
.announcement-bar {
  background: var(--gold);
  color: var(--navy);
  padding: 12px 20px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.announcement-track {
  position: relative;
  min-height: 20px;
  display: flex;
  align-items: center;
}

.announcement-item {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.announcement-item.active {
  display: inline;
  opacity: 1;
}

.announcement-close {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--navy);
  opacity: 0.6;
  transition: opacity var(--transition);
}

.announcement-close:hover {
  opacity: 1;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(10,22,40,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

header.scrolled {
  box-shadow: var(--shadow);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
}

.logo span {
  color: var(--gold);
}

.nav-menu {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  opacity: 0;
  transition: opacity var(--transition);
}

.nav-link.active::after {
  opacity: 1;
}

.nav-cta {
  background: var(--gold);
  color: var(--navy);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background var(--transition);
}

.nav-cta:hover {
  background: var(--gold-dim);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy-mid);
  z-index: 998;
  flex-direction: column;
  padding: 80px 20px 40px;
  gap: 16px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1.8rem;
  color: var(--white);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.7) 0%, rgba(13,31,60,0.5) 100%),
              url('https://images.unsplash.com/photo-1589994965851-14209e92fc3d?w=1600&q=80&fm=webp') center/cover;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,22,40,0.3), rgba(10,22,40,0.7));
  z-index: -1;
}

.hero-content {
  text-align: center;
  z-index: 1;
  max-width: 800px;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 600;
  font-family: var(--font-body);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
}

.hero h1 em {
  color: var(--gold);
  font-style: italic;
}

.hero > .hero-content > p {
  font-size: 1.1rem;
  margin-bottom: 32px;
  color: var(--silver);
  line-height: 1.8;
}

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

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 12px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  display: inline-block;
  border: 2px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-dim);
  border-color: var(--gold-dim);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(201,168,76,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 12px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  display: inline-block;
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

.hero-badge {
  position: absolute;
  bottom: 40px;
  right: 40px;
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.hero-badge .number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-heading);
}

.hero-badge .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.hero-scroll svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Stats Bar */
.stats-bar {
  background: var(--gold);
  color: var(--navy);
  padding: 48px 20px;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--navy);
  opacity: 0.9;
  font-family: var(--font-body);
}

/* Section Base */
.section {
  padding: 80px 20px;
}

.section-header {
  max-width: 700px;
  margin-bottom: 56px;
  text-align: center;
}

.section-header h2 {
  color: var(--white);
  margin-top: 12px;
}

/* Practice Areas Section */
.practice-areas {
  background: var(--navy);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.practice-card {
  background: var(--navy-light);
  border: 1px solid var(--border);
  padding: 32px 24px;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-align: center;
}

.practice-card:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.practice-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}

.practice-card h3 {
  color: var(--white);
  margin-bottom: 12px;
  font-family: var(--font-heading);
}

.practice-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Why Us Section */
.why-us {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.why-card {
  background: rgba(201,168,76,0.05);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: var(--radius);
  text-align: center;
}

.why-number {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-heading);
  margin-bottom: 12px;
}

.why-card h3 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Team Preview */
.team-preview {
  background: var(--navy);
}

.team-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.team-card {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.team-card:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.team-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.team-info {
  padding: 24px;
  text-align: center;
}

.team-name {
  font-size: 1.1rem;
  color: var(--white);
  font-family: var(--font-heading);
  margin-bottom: 4px;
}

.team-title {
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 600;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.team-tag {
  display: inline-block;
  background: rgba(201,168,76,0.1);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  border: 1px solid var(--border);
}

/* Testimonials Carousel */
.testimonials {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
  padding: 80px 20px;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.testimonials-header h2 {
  color: var(--white);
  margin-bottom: 56px;
}

.testimonials-track {
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
}

.testimonials-wrapper {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-item {
  flex: 0 0 100%;
  padding: 0 20px;
  text-align: center;
}

.testimonial-quote {
  font-size: 1.1rem;
  color: var(--silver);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-author {
  font-weight: 600;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1rem;
}

.testimonial-case {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(201,168,76,0.3);
  cursor: pointer;
  transition: all var(--transition);
}

.testimonial-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* CTA Banner */
.cta-banner {
  background: var(--gold);
  color: var(--navy);
  padding: 64px 20px;
  text-align: center;
}

.cta-banner h2 {
  color: var(--navy);
  margin-bottom: 12px;
}

.cta-banner p {
  color: var(--navy);
  opacity: 0.9;
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-actions .btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.cta-actions .btn-primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
}

.cta-actions .btn-outline {
  color: var(--navy);
  border-color: var(--navy);
}

.cta-actions .btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* Footer */
footer {
  background: #060E1A;
  color: var(--white);
  padding: 60px 20px 24px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1rem;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--gold);
  transition: all var(--transition);
  margin: 0;
}

.footer-socials a:hover {
  background: var(--gold);
  color: var(--navy);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* WhatsApp FAB */
#whatsappFab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
}

#whatsappFab.visible {
  opacity: 1;
  pointer-events: auto;
}

#whatsappFab:hover {
  transform: scale(1.1);
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero-badge {
    bottom: 20px;
    right: 20px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .logo {
    font-size: 1.1rem;
  }

  .hero {
    min-height: 80dvh;
  }

  .hero-badge {
    display: none;
  }

  .section {
    padding: 48px 20px;
  }

  .practice-grid,
  .why-us-grid,
  .team-cards {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .testimonial-item {
    padding: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions > * {
    width: 100%;
  }
}
