/* ============================================
   Elora - Coffee & Restaurant & Event Hall
   Özel Stil Dosyası
   ============================================ */

:root {
  /* Renk paleti */
  --gold: #d4af37;
  --gold-light: #e8c547;
  --gold-dark: #b8962e;
  --bg-dark: #1a1a1a;
  --bg-darker: #0f0f0f;
  --text-light: #f5f5f5;
  --text-muted: #a0a0a0;
  --overlay-dark: rgba(0, 0, 0, 0.6);
  --overlay-hero: rgba(26, 26, 26, 0.75);
  
  /* Tipografi */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Geçişler */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s ease;
  --transition-slow: 0.5s ease;
  
  /* Gölgeler */
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.25);
  --shadow-strong: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

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

/* ========== Navigation ========== */
#mainNav {
  display: flex;
  flex-direction: column;
  background: linear-gradient(to bottom, rgba(15, 15, 15, 0.95), transparent);
  padding: 0;
  transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

#mainNav.scrolled {
  background: rgba(15, 15, 15, 0.98);
  box-shadow: var(--shadow-strong);
}

/* Üst çubuk: sabit yükseklik (56px), menü açılsa da değişmez */
.navbar-top-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 100%;
  height: 56px;
  min-height: 56px;
  flex-shrink: 0;
  padding: 0 1rem;
}

#mainNav .navbar-toggler {
  width: 48px;
  height: 48px;
  padding: 0.4rem 0.5rem;
  border-color: rgba(212, 175, 55, 0.5);
  flex-shrink: 0;
}
#mainNav .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.35);
}
#mainNav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23d4af37' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Logo: viewport tam ortasında (50vw), üst çubuğa göre sabit */
#mainNav .navbar-brand {
  position: absolute;
  left: 50vw;
  transform: translate(-50%, -50%);
  top: 50%;
  margin: 0;
  padding: 0;
}
#mainNav .navbar-brand:hover .navbar-logo {
  transform: scale(1.05);
}

.navbar-toggler-placeholder {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  pointer-events: none;
}

/* Açılır menü: üst çubuğun altında, sadece bu blok açılınca yüksekliği değişir */
.navbar-collapse-wrapper {
  width: 100%;
  flex-shrink: 0;
}

#mainNav .navbar-collapse {
  flex-grow: 0;
}
#mainNav .navbar-collapse .container {
  max-width: 100%;
}

.navbar-logo {
  max-height: 44px;
  width: auto;
  filter: brightness(1.05);
  transition: transform var(--transition-fast);
  border-radius: 8px;
  display: block;
}

/* Masaüstü: tek satır, logo ortada, menü linkleri sağda */
@media (min-width: 992px) {
  #mainNav {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    padding: 0;
    position: relative;
    height: 72px;
    min-height: 72px;
  }

  .navbar-top-row {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 72px;
    min-height: 72px;
    padding: 0 1.5rem;
    max-width: 100%;
  }

  #mainNav .navbar-toggler,
  .navbar-toggler-placeholder {
    display: none !important;
  }

  #mainNav .navbar-brand {
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
  }

  .navbar-collapse-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    pointer-events: none;
    padding-right: 1rem;
  }
  .navbar-collapse-wrapper .navbar-collapse,
  .navbar-collapse-wrapper .container,
  .navbar-collapse-wrapper .navbar-nav {
    pointer-events: auto;
  }

  #mainNav .navbar-collapse {
    display: flex !important;
    flex: 0 1 auto;
    border: none;
    margin: 0;
    padding: 0;
    background: transparent;
    width: auto;
    max-width: 100%;
  }

  #mainNav .navbar-collapse .container {
    display: flex;
    justify-content: flex-end;
    max-width: 100%;
    width: 100%;
    padding: 0 1rem;
  }

  #mainNav .navbar-nav {
    flex-wrap: nowrap;
    gap: 0.25rem;
    margin: 0;
  }

  #mainNav .nav-link {
    padding: 0.5rem 0.85rem !important;
    font-size: 0.95rem;
    white-space: nowrap;
  }

  .navbar-logo {
    max-height: 48px;
  }
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.5rem 1rem !important;
  border-radius: 6px;
  transition: color var(--transition-fast), background var(--transition-fast);
}

/* Masaüstü genel iyileştirmeler */
@media (min-width: 992px) {
  .section-padding {
    padding: 5.5rem 0;
  }
  .section-title {
    font-size: 2.25rem;
  }
  .section-subtitle {
    font-size: 1.1rem;
  }
  .hero-title {
    font-size: 3.25rem;
  }
  .hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 2.25rem;
  }
  .hero-buttons .btn {
    padding: 0.85rem 1.75rem;
    font-size: 1.05rem;
  }
  .about-content .lead {
    font-size: 1.2rem;
  }
  .about-content p {
    font-size: 1rem;
  }
  .event-content .lead {
    font-size: 1.1rem;
  }
  .feature-card {
    padding: 1.5rem;
  }
  .feature-card h5 {
    font-size: 1.05rem;
  }
  .contact-item {
    padding: 1.75rem 1.25rem;
  }
  .contact-item h5 {
    font-size: 1.05rem;
  }
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--gold) !important;
  background: rgba(212, 175, 55, 0.1);
}

.navbar .dropdown-menu {
  background: var(--bg-darker);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  padding: 0.5rem 0;
  box-shadow: var(--shadow-strong);
}

.navbar .dropdown-item {
  color: var(--text-light);
  padding: 0.5rem 1.25rem;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.navbar .dropdown-item:hover {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
}

.navbar .dropdown-toggle::after {
  margin-left: 0.35em;
}

/* ========== Hero Section ========== */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: var(--bg-darker) url('https://images.pexels.com/photos/2253643/pexels-photo-2253643.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover no-repeat;
  background-color: var(--bg-darker);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--overlay-hero);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-title .text-gold {
  color: var(--gold) !important;
  display: inline-block;
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.hero-buttons .btn {
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: transform var(--transition-fast), box-shadow var(--transition-normal), background var(--transition-normal), border-color var(--transition-normal);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: none;
  color: var(--bg-dark) !important;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(212, 175, 55, 0.4);
  color: var(--bg-dark) !important;
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  background: transparent;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
  color: var(--gold) !important;
  transform: translateY(-2px);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.scroll-indicator a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
  transition: color var(--transition-fast);
}

.scroll-indicator a:hover {
  color: var(--gold);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* ========== Bölüm Başlıkları ========== */
.section-padding {
  padding: 5rem 0;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--text-light);
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.text-gold {
  color: var(--gold) !important;
}

/* ========== About Section ========== */
.about-content .lead {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
}

.feature-item i {
  font-size: 1.25rem;
}

.about-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

.about-image img {
  width: 100%;
  display: block;
  transition: transform var(--transition-slow);
}

.about-image:hover img {
  transform: scale(1.03);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, var(--overlay-dark), transparent);
  padding: 2rem 1.5rem 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.about-image:hover .image-overlay {
  opacity: 1;
}

.image-overlay-content h5 {
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.image-overlay-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin: 0;
}

/* ========== Menu Section ========== */
.bg-dark-subtle {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.menu-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.btn-menu-nav {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--text-light);
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-weight: 500;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-menu-nav:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

.btn-menu-nav.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-color: var(--gold);
  color: var(--bg-dark);
}

.btn-menu-nav i {
  font-size: 0.95rem;
}

#menuContent .row > div {
  animation: fadeIn 0.4s ease;
}

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

/* ========== Event Hall Section ========== */
.event-content h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1rem;
}

.event-content .lead {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.event-features {
  margin-bottom: 2rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  text-align: center;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.feature-card:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.feature-card i {
  font-size: 1.75rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

.feature-card h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  border-radius: 12px;
  overflow: hidden;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover .gallery-image {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--overlay-dark) 40%, transparent);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-content h6 {
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.gallery-overlay-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  margin: 0;
}

/* ========== Contact Section ========== */
#contact .section-title::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.contact-item {
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  height: 100%;
  transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.contact-item:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.contact-item i {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  display: block;
}

.contact-item h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.1rem;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.social-link:hover {
  background: var(--gold);
  color: var(--bg-dark);
  transform: scale(1.1);
}

/* ========== Footer ========== */
footer {
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

footer a.text-gold:hover {
  color: var(--gold-light) !important;
  text-decoration: underline;
}

/* ========== Responsive ========== */

/* Tablet ve küçük ekran (≤991px) */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(15, 15, 15, 0.98);
    padding: 1rem;
    margin-top: 0.5rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    width: 100%;
    order: 5;
  }
  
  .navbar-nav {
    padding: 0.5rem 0;
  }
  
  .navbar .nav-link {
    padding: 0.65rem 1rem !important;
    font-size: 1rem;
  }
  
  .section-padding {
    padding: 3.5rem 0;
  }
  
  .section-title {
    font-size: 1.65rem;
  }
  
  .section-subtitle {
    font-size: 0.95rem;
  }
  
  .about-content .lead {
    font-size: 1.05rem;
  }
  
  .menu-nav {
    gap: 0.5rem;
    justify-content: center;
  }
  
  .btn-menu-nav {
    padding: 0.55rem 0.85rem;
    font-size: 0.8rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .event-content h3 {
    font-size: 1.35rem;
  }
  
  .feature-card {
    padding: 1rem;
  }
  
  .feature-card i {
    font-size: 1.5rem;
  }
  
  .contact-item {
    padding: 1.25rem 0.75rem;
  }
  
  .contact-item p {
    font-size: 0.85rem;
  }
}

/* Mobil (≤767px) */
@media (max-width: 767.98px) {
  .hero-section {
    min-height: 100svh;
    min-height: 100vh;
  }
  
  .hero-title {
    font-size: 1.85rem;
  }
  
  .hero-subtitle {
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
  }
  
  .scroll-indicator {
    bottom: 1.25rem;
  }
  
  .about-image {
    margin-top: 1.5rem;
  }
  
  .event-content .lead {
    font-size: 1rem;
  }
  
  .event-gallery {
    margin-top: 1.5rem;
  }
  
  .btn-gold,
  .btn-outline-light {
    padding: 0.7rem 1.25rem;
    font-size: 0.95rem;
  }
}

/* Küçük mobil (≤575px) */
@media (max-width: 575.98px) {
  body {
    font-size: 0.95rem;
  }
  
  .section-padding {
    padding: 2.5rem 0;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons .btn {
    width: 100%;
    margin: 0 !important;
  }
  
  .about-features {
    flex-direction: column;
    gap: 1rem;
  }
  
  .feature-item {
    font-size: 0.9rem;
  }
  
  .menu-nav {
    gap: 0.4rem;
  }
  
  .btn-menu-nav {
    padding: 0.5rem 0.65rem;
    font-size: 0.75rem;
  }
  
  .btn-menu-nav i {
    display: none;
  }
  
  .gallery-item {
    aspect-ratio: 16/10;
  }
  
  .contact-item h5 {
    font-size: 0.95rem;
  }
  
  footer .container p {
    font-size: 0.8rem;
    text-align: center;
  }
  
  footer .row {
    justify-content: center;
  }
}

/* Çok küçük ekran (≤380px) */
@media (max-width: 380px) {
  .hero-title {
    font-size: 1.6rem;
  }
  
  .btn-menu-nav {
    font-size: 0.7rem;
    padding: 0.45rem 0.5rem;
  }
}
