/* FILE: styles.css */

:root {
  --gold: #c9a24d;
  --gold-hover: #b08c3c;
  --dark: #1c1c1c;
  --cream: #faf7f2;
  --border: #e5dcc8;
  --light-green: #e8f5e9;
  --brown: #8d6e63;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background-color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--dark);
}

/* Header & Navigation */
.navbar {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold) !important;
  text-decoration: none;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .logo-img {
    height: 40px;
  }
}

.navbar-nav .nav-link {
  color: var(--dark) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--gold) !important;
}

.btn-gold {
  background-color: var(--gold);
  color: #fff;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-gold:hover {
  background-color: var(--gold-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(201, 162, 77, 0.3);
}

.btn-outline-gold {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
  padding: 0.5rem 1.5rem;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-outline-gold:hover {
  background-color: var(--gold);
  color: #fff;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(201, 162, 77, 0.9), rgba(28, 28, 28, 0.8)), url('https://via.placeholder.com/1920x1080') center/cover;
  color: #fff;
  padding: 120px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Container ve Row düzenlemeleri */
.container,
.container-fluid {
  max-width: 100%;
  overflow-x: hidden;
}

.row {
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
}

[class*="col-"] {
  max-width: 100%;
}

/* Hero Video Section */
.hero-video-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero-video {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  max-width: 100%;
}

.hero-video video,
.hero-video .hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  max-width: none;
  z-index: -1;
  transform: translateX(-50%) translateY(-50%);
  background-size: cover;
  object-fit: cover;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  z-index: 1;
  /* Performans optimizasyonu */
  will-change: transform;
  transform-origin: center center;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(201, 162, 77, 0.4), rgba(28, 28, 28, 0.6));
  z-index: 2;
}

.video-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 2rem;
}

.video-content h1 {
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  font-weight: 700;
}

.video-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* Responsive Video Hero */
@media (max-width: 768px) {
  .hero-video-container {
    height: 70vh;
    min-height: 500px;
    max-height: 600px;
    max-width: 100%;
  }
  
  .hero-video {
    height: 70vh;
    min-height: 500px;
    max-height: 600px;
  }
  
  .video-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .video-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .video-content .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
  }
  
  .video-content .btn-lg {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }
}

@media (max-width: 576px) {
  .hero-video-container {
    height: 60vh;
    min-height: 400px;
    max-height: 500px;
    max-width: 100%;
  }
  
  .hero-video {
    height: 60vh;
    min-height: 400px;
    max-height: 500px;
  }
  
  .hero-video video,
  .hero-video .hero-video {
    min-width: 100%;
    max-width: 100%;
  }
  
  .video-content {
    padding: 1rem;
  }
  
  .video-content h1 {
    font-size: 1.75rem;
  }
  
  .video-content p {
    font-size: 0.9rem;
  }
  
  .video-content .btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
  }
}

/* Section Styles */
.section {
  padding: 80px 0;
}

/* Feature Card Hover Effect */
.feature-card-hover:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(201, 162, 77, 0.2) !important;
}

.feature-card-hover:hover .feature-icon {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* Service Card Hover */
.card:hover img {
  transform: scale(1.1);
}

.card {
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15) !important;
}

/* Stat Card Hover */
.stat-card:hover {
  transform: translateY(-5px) scale(1.05);
}

/* Pulse Animation */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* Button Hover Enhancements */
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4) !important;
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* Trust Badge Hover */
.trust-badge:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* Feature Card Hover */
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
}

/* Gallery Image Hover */
.position-relative.overflow-hidden:hover {
  transform: translateY(-5px);
}

.position-relative.overflow-hidden:hover img {
  transform: scale(1.1);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--gold);
}

/* Cards */
.card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card-img-top {
  height: 250px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--gold), var(--gold-hover));
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
}

/* Feature Icons */
.feature-icon {
  width: 80px;
  height: 80px;
  background-color: var(--gold);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: #fff;
  padding: 60px 0 30px;
}

.footer h5 {
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-family: 'Playfair Display', serif;
}

.footer a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
  color: #999;
}

/* WhatsApp Floating Button - Artık gold buton kullanılıyor */
/* Eski yeşil buton stilleri kaldırıldı */

/* Forms */
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(201, 162, 77, 0.25);
}

.form-label {
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

/* Reservation Summary Card */
.reservation-summary {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  position: sticky;
  top: 100px;
}

.reservation-summary h5 {
  color: var(--gold);
  border-bottom: 2px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.summary-item:last-child {
  border-bottom: none;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--gold);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--gold);
}

/* Badge */
.badge-gold {
  background-color: var(--gold);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-weight: 500;
}

/* Accordion */
.accordion-button:not(.collapsed) {
  background-color: var(--gold);
  color: #fff;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(201, 162, 77, 0.25);
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Gallery Caption */
.gallery-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  font-family: 'Playfair Display', serif;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7), 0 0 20px rgba(0,0,0,0.5);
  white-space: nowrap;
  z-index: 2;
}

/* Contact Info Cards */
.contact-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  height: 100%;
}

.contact-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.contact-card i {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .reservation-summary {
    position: relative;
    top: 0;
    margin-top: 2rem;
  }
}

/* Toast Notification */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1050;
}

.toast {
  background-color: #fff;
  border-left: 4px solid var(--gold);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.toast-header {
  background-color: var(--gold);
  color: #fff;
  border-bottom: none;
}

/* Loading Spinner */
.spinner-border-gold {
  color: var(--gold);
}

/* Text Colors */
.text-gold {
  color: var(--gold) !important;
}

.bg-light {
  background-color: #f8f9fa !important;
}

/* Plan Carousel */
#planCarousel::-webkit-scrollbar { 
  height: 8px; 
}
#planCarousel::-webkit-scrollbar-thumb { 
  background: var(--border); 
  border-radius: 999px; 
}
#planCarousel { 
  -webkit-overflow-scrolling: touch; 
}

/* Form text helper */
.form-text {
  font-size: 0.875rem;
  color: #6c757d;
}

/* =========================
   Benya Halal Resort – Gold Theme
   ========================= */

:root{
  --gold: #c9a24d;        /* ana gold */
  --gold-dark: #b08b3e;   /* hover */
  --gold-soft: #f6efe2;   /* soft bg */
  --border: #e8e1d4;      /* soft border */
  --text-dark: #1f2937;
}

/* Base */
body{
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text-dark);
  background-color: #fff;
}

/* Gold button */
.btn-gold{
  --bs-btn-color: #111;
  --bs-btn-bg: var(--gold);
  --bs-btn-border-color: var(--gold);
  --bs-btn-hover-color: #111;
  --bs-btn-hover-bg: var(--gold-dark);
  --bs-btn-hover-border-color: var(--gold-dark);
  --bs-btn-focus-shadow-rgb: 201,162,77;
  --bs-btn-active-color: #111;
  --bs-btn-active-bg: var(--gold-dark);
  --bs-btn-active-border-color: var(--gold-dark);
  border-radius: 14px;
  font-weight: 600;
}

/* Outline dark tweak */
.btn-outline-dark{
  border-radius: 14px;
  font-weight: 600;
}

/* Cards */
.card{
  border-radius: 18px;
}
.card-soft{
  border: 1px solid var(--border);
  background-color: #fff;
}

/* Badges */
.badge.gold,
.gold-badge{
  background: #fff;
  border: 1px solid var(--border);
  color: #111;
}

/* Forms */
.form-control,
.form-select{
  border-radius: 14px;
  border-color: var(--border);
}
.form-control:focus,
.form-select:focus{
  border-color: var(--gold);
  box-shadow: 0 0 0 .2rem rgba(201,162,77,.15);
}

/* Section separators */
.mini-sep{
  height: 1px;
  background: var(--border);
}

/* Plan cards hover */
#planCarousel {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

#planCarousel .card{
  min-width: 280px;
  max-width: 320px;
  flex-shrink: 0;
}

#planCarousel .card:hover{
  transform: translateY(-2px);
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.06);
}

@media (max-width: 576px) {
  #planCarousel .card {
    min-width: 260px;
    max-width: 280px;
  }
}

/* Sticky summary fix on mobile */
@media (max-width: 991px){
  .sticky-summary{
    position: static;
    top: auto;
  }
}

/* Floating WhatsApp */
#floatingWhatsapp{
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 600;
  max-width: calc(100vw - 32px);
  right: 16px !important;
  left: auto !important;
}

/* Alerts */
.alert{
  border-radius: 14px;
}

/* Genel responsive düzenlemeler - yatay kaydırmayı engelle */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }
  
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Fixed elementler için */
  #floatingWhatsapp {
    right: 16px !important;
    max-width: calc(100vw - 32px);
  }
  
  /* Plan carousel için */
  #planCarousel {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
  }
}

/* Tüm sayfalar için genel düzenleme */
section {
  max-width: 100%;
  overflow-x: hidden;
}

.card, .card-body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Navbar düzenlemesi */
.navbar {
  max-width: 100%;
  overflow-x: hidden;
}

.navbar .container {
  max-width: 100%;
}

/* Footer düzenlemesi */
.footer {
  max-width: 100%;
  overflow-x: hidden;
}

.footer .container {
  max-width: 100%;
}

/* Image responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Video responsive */
video {
  max-width: 100%;
  height: auto;
}

/* Bootstrap override - container genişlikleri */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}
