/* Component Styles - Doğanay & Gemici Hukuk Bürosu */

/* --- Navigation --- */
nav { 
  background-color: var(--nav-bg); 
  backdrop-filter: blur(10px);
  position: sticky; 
  top: 0; 
  z-index: 1000; 
  display: flex; 
  justify-content: space-around; 
  padding: 12px 5px; 
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); 
  transition: background-color 0.3s;
}

nav a { 
  color: var(--text-main); 
  text-decoration: none; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: 5px; 
  font-size: 0.65rem; 
  font-weight: 600;
  text-transform: uppercase; 
  letter-spacing: 0.5px; 
  transition: 0.3s;
  padding: 5px;
}

nav a svg { 
  width: 22px; 
  height: 22px; 
  stroke: var(--accent-gold); 
  fill: none; 
  stroke-width: 2; 
}

nav a:hover, 
nav a.active { 
  color: var(--accent-gold); 
  transform: translateY(-2px); 
}

/* Theme Button */
#theme-toggle { 
  cursor: pointer; 
}

#theme-toggle:hover { 
  transform: scale(1.1); 
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 10px;
  width: 240px;
  z-index: 1001;
  max-height: 450px;
  overflow-y: auto;
  box-shadow: var(--shadow-style);
  flex-direction: column;
  gap: 2px;
}

.dropdown-menu a {
  font-size: 0.8rem;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  flex-direction: row;
  text-transform: none;
  letter-spacing: normal;
}

/* --- Page Hero --- */
.page-hero {
  position: relative; 
  padding: 120px 20px 80px; 
  text-align: center;
  background: var(--hero-bg); 
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.3s;
}

.typo-accent { 
  font-family: 'Great Vibes', cursive; 
  font-size: 3.5rem; 
  color: var(--accent-gold); 
  opacity: 0.4; 
  margin-bottom: -20px; 
  letter-spacing: 2px;
  position: relative; 
  z-index: 2;
}

.page-hero h1 { 
  font-size: clamp(2.5rem, 6vw, 4.5rem); 
  line-height: 1.1; 
  margin: 0; 
  color: var(--text-main); 
  position: relative; 
  z-index: 1; 
  letter-spacing: 1px;
}

.hero-separator { 
  width: 60px; 
  height: 2px; 
  background: var(--accent-gold); 
  margin: 25px auto; 
}

.page-hero h2 { 
  font-size: 1.1rem; 
  text-transform: uppercase; 
  letter-spacing: 4px; 
  color: var(--text-muted); 
  margin-bottom: 20px; 
}

.page-hero p { 
  font-size: 1.1rem; 
  color: var(--text-muted); 
  max-width: 650px; 
  margin: 0 auto 40px; 
}

/* --- Buttons --- */
.btn-outline { 
  display: inline-block; 
  width: 100%; 
  max-width: 280px; 
  padding: 18px; 
  border-radius: 12px; 
  border: 1px solid var(--accent-gold); 
  color: var(--accent-gold); 
  text-decoration: none; 
  font-weight: 600; 
  transition: 0.3s; 
  letter-spacing: 1px; 
}

.btn-outline:hover { 
  background: var(--accent-gold); 
  color: #fff; 
  box-shadow: 0 10px 25px rgba(180, 144, 69, 0.3); 
}

[data-theme="dark"] .btn-outline:hover { 
  color: #000; 
}

/* --- Service Cards --- */
.services-grid { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 15px; 
  padding: 0 15px 50px; 
  max-width: 1100px; 
  margin: 0 auto; 
}

.service-card { 
  background: var(--card-bg); 
  padding: 30px; 
  border-radius: 15px; 
  border: 1px solid var(--glass-border); 
  text-align: center;
  transition: all 0.3s ease; 
  text-decoration: none;
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: center;
  box-shadow: var(--shadow-style); 
  backdrop-filter: blur(10px);
}

.service-card:hover { 
  transform: translateY(-5px); 
  border-color: var(--accent-gold); 
  box-shadow: 0 15px 35px rgba(180, 144, 69, 0.15);
}

.service-card h3 { 
  font-family: 'Playfair Display', serif; 
  color: var(--text-main); 
  margin-bottom: 15px; 
  font-size: 1.3rem; 
}

.service-card p { 
  font-size: 0.95rem; 
  color: var(--text-muted); 
  margin: 0; 
  line-height: 1.6; 
  margin-bottom: 20px; 
}

/* --- Info Cards --- */
.info-card { 
  background: var(--card-bg); 
  padding: 40px 30px; 
  border-radius: 20px; 
  border: 1px solid var(--glass-border); 
  margin-bottom: 30px; 
  box-shadow: var(--shadow-style); 
  backdrop-filter: blur(10px); 
}

.info-item { 
  display: flex; 
  align-items: flex-start; 
  gap: 18px; 
  margin-bottom: 30px; 
}

.info-item svg { 
  width: 28px; 
  stroke: var(--accent-gold); 
  fill: none; 
  stroke-width: 2; 
  flex-shrink: 0; 
}

.info-item a, 
.info-item span { 
  color: var(--text-main); 
  text-decoration: none; 
  font-size: 1.05rem; 
  display: block; 
}

/* --- Map Container --- */
.map-container { 
  width: 100%; 
  height: 350px; 
  border-radius: 20px; 
  overflow: hidden; 
  border: 1px solid var(--glass-border); 
  box-shadow: var(--shadow-style); 
}

.map-container iframe { 
  width: 100%; 
  height: 100%; 
  border: 0; 
  filter: var(--map-filter); 
  transition: filter 0.3s; 
}

/* --- Article Cards --- */
.article-mini-card { 
  background: var(--card-bg); 
  border-radius: 15px; 
  padding: 30px 25px; 
  margin-bottom: 20px; 
  border-left: 4px solid var(--accent-gold); 
  transition: 0.3s; 
  box-shadow: var(--shadow-style); 
}

.article-mini-card:hover { 
  transform: translateX(5px); 
}

.article-mini-card span { 
  font-size: 0.75rem; 
  color: var(--accent-gold); 
  text-transform: uppercase; 
  font-weight: 700; 
  letter-spacing: 1px; 
}

.article-mini-card h5 { 
  margin: 15px 0; 
  font-size: 1.2rem; 
  color: var(--text-main); 
  line-height: 1.5; 
}

.read-more { 
  font-size: 0.9rem; 
  color: var(--accent-gold); 
  text-decoration: none; 
  font-weight: 600; 
}

/* --- WhatsApp Panel --- */
.side-panel-left { 
  position: fixed; 
  bottom: 25px; 
  left: 0; 
  z-index: 2000; 
  display: flex; 
  flex-direction: column; 
  gap: 12px; 
  transition: 0.4s; 
}

body.consent-active .side-panel-left { 
  bottom: 170px; 
}

.wa-roll-btn { 
  height: 55px; 
  width: 55px; 
  background-color: var(--whatsapp-green); 
  color: #fff; 
  border-radius: 0 30px 30px 0; 
  display: flex; 
  align-items: center; 
  text-decoration: none; 
  overflow: hidden; 
  transition: 0.4s; 
  box-shadow: 0 4px 15px rgba(0,0,0,0.2); 
}

.wa-roll-btn.expanded { 
  width: 280px; 
}

.wa-icon { 
  min-width: 55px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
}

.wa-icon svg { 
  width: 28px; 
  height: 28px; 
  fill: white; 
}

.wa-text-container { 
  display: flex; 
  flex-direction: column; 
  padding-right: 15px; 
  opacity: 0; 
  transition: 0.3s; 
}

.wa-name { 
  font-size: 0.95rem; 
  font-weight: 600; 
}

.wa-warning { 
  font-size: 0.6rem; 
  opacity: 0.8; 
  line-height: 1.1; 
  white-space: normal; 
}

/* --- Cookie Consent Bar --- */
#cookie-consent-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--nav-bg);
  border-top: 2px solid var(--accent-gold);
  box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
  color: var(--text-main);
  padding: 20px;
  z-index: 999999;
  backdrop-filter: blur(15px);
}

#cookie-consent-bar > div {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

#cookie-consent-bar p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

#cookie-consent-bar a {
  color: var(--accent-gold);
  font-weight: 600;
  text-decoration: none;
}

#accept-cookies {
  background: var(--accent-gold);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.3s;
}

/* --- Footer --- */
footer { 
  padding: 60px 20px; 
  text-align: center; 
  border-top: 1px solid var(--glass-border); 
  background: var(--footer-bg); 
  transition: background 0.3s; 
}

.legal-disclaimer { 
  max-width: 900px; 
  margin: 0 auto 35px; 
  font-size: 0.75rem; 
  color: #64748b; 
  text-align: justify; 
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
}
