/* DolapMerkezi.com - Premium Vanilla CSS */
:root {
  --primary: #1F2937;
  --primary-hover: #111827;
  --accent: #B8860B; /* Golden/Wood premium accent */
  --accent-light: #F3E5AB;
  --bg-color: #F9FAFB;
  --surface: #FFFFFF;
  --text-main: #111827;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-blur: blur(12px);
  
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* Global Navbar / Header (Glassmorphism) */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.nav-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1rem;
}

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

/* Mega Menu */
.nav-menu {
  display: flex;
  height: 100%;
}

.nav-item {
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0 0.8rem;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--primary);
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: right;
}

.nav-item:hover .nav-link::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Dropdown Styles */
.has-dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 100%; /* Below the navbar */
  left: 0;
  background-color: var(--surface);
  min-width: 250px;
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 12px 12px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  padding: 1rem 0;
}

.has-dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.2s, padding-left 0.2s;
}

.dropdown-content a:hover {
  background-color: var(--bg-color);
  color: var(--accent);
  padding-left: 2rem; /* small indent effect */
}

/* Header Contact Buttons */
.header-contact {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  white-space: nowrap;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
  color: white;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.btn-call {
  background-color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-call:hover {
  background-color: transparent;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background-color: #25D366;
  border: 2px solid #25D366;
}

.btn-whatsapp:hover {
  background-color: transparent;
  color: #25D366;
  box-shadow: var(--shadow-md);
}

/* Breadcrumbs */
.breadcrumbs {
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  font-size: 0.85rem;
}

.breadcrumbs-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 0.5rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--primary);
  font-weight: 500;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--primary);
  color: white;
  padding: 6rem 2rem;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(31,41,55,0.95) 0%, rgba(17,24,39,0.8) 100%);
  z-index: 1;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-title span {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Main Content Area */
.main-container {
  max-width: 1400px;
  margin: 4rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 4rem;
}

/* Content Article */
.content-article {
  background: var(--surface);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.content-article h2 {
  font-size: 2.25rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  margin-top: 2.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

.content-article h2:first-child {
  margin-top: 0;
}

.content-article h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
  color: var(--primary);
}

.content-article p {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* Model Gallery in Content (Pinterest Style Masonry) */
.model-gallery {
  column-count: 3;
  column-gap: 1.5rem;
  margin: 2.5rem 0;
}

@media (max-width: 768px) {
  .model-gallery {
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .model-gallery {
    column-count: 1;
  }
}

.model-gallery-item {
  break-inside: avoid-column;
  margin-bottom: 1.5rem;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.model-gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.gallery-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.model-gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

/* Product Grid inside Content */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.product-card {
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.product-card-img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  background: var(--bg-color);
  padding: 0;
  border-bottom: 1px solid var(--border);
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 1.5rem;
}

.product-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.widget {
  background: var(--surface);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.widget-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.widget-list li {
  margin-bottom: 0.75rem;
}

.widget-list a {
  display: block;
  padding: 0.75rem 1rem;
  background: var(--bg-color);
  border-radius: 8px;
  color: var(--primary);
  font-weight: 500;
  transition: var(--transition);
}

.widget-list a:hover {
  background: var(--primary);
  color: white;
  transform: translateX(5px);
}

/* FAQ Accordion */
.faq-section {
  margin-top: 4rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem;
  background: var(--bg-color);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: var(--surface);
}

/* Active states for JS */
.faq-item.active .faq-question::after {
  content: '-';
}
.faq-item.active .faq-answer {
  padding: 1.5rem;
  max-height: 500px;
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: white;
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-top {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.footer-links li a {
  color: rgba(255,255,255,0.7);
  display: inline-block;
  margin-bottom: 0.8rem;
}

.footer-links li a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .main-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .nav-menu { display: none; /* Handle mobile menu later */ }
  .header-contact { display: none; } /* Hide on small screens to keep clean or adjust layout */
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .content-article { padding: 1.5rem; }
}
