/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #ffffff;
  color: #333333;
}

/* Header */
.site-header {
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
}

.brand a {
  color: #1e3d58;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 600;
}

/* Navbar */
.navbar ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.navbar a {
  text-decoration: none;
  color: #333333;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar a:hover {
  color: #f5a623;
}

/* Right Side */
.right-side {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Language Picker */
.language-picker {
  position: relative;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.lang-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 120%;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  list-style: none;
  min-width: 140px;
}

.lang-dropdown li {
  padding: 8px 12px;
}

.lang-dropdown a {
  color: #333333;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-dropdown a:hover {
  color: #f5a623;
}

.language-picker.active .lang-dropdown {
  display: block;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  width: 25px;
  height: 18px;
  gap: 4px;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background-color: #333333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 900px) {
  .navbar ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 65px;
    right: 0;
    width: 200px;
    background: #ffffff;
    border-left: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px;
  }

  .navbar.active ul {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}


/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

.hero picture,
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(30, 61, 88, 0.45),
    rgba(0, 0, 0, 0.3)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 0 15px;
}

.hero-content {
  max-width: 700px;
  animation: fadeIn 1.2s ease-out both;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.hero-content p {
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.6;
  color: #f0f0f0;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 900px) {
  .hero {
    height: 70vh;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .hero {
    height: 60vh;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }
}








/* Premium About Section Styling */
.about-premium {
  padding: 120px 20px;
  background-color: #fafafa;
  overflow: hidden;
}

.premium-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr; /* Asymmetric grid for elegance */
  gap: 80px;
  align-items: center;
}
.main-frame {
  width: 90%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 20px 20px 60px rgba(0,0,0,0.08);
}

.main-frame img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  display: block;
}


.accent-frame {
  position: absolute;
  bottom: -40px;
  right: 0;
  width: 240px;
  height: 300px;
  border: 10px solid #ffffff;
  border-radius: 4px;
  box-shadow: 0 15px 45px rgba(0,0,0,0.12);
}

.accent-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* Image Stacking Effect */
.about-visual-stack {
  position: relative;
  display: flex;
  justify-content: center;
}


.experience-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: #f5a623;
  color: #fff;
  padding: 10px 15px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Typography Refinements */
.section-tag {
  color: #f5a623;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  margin-bottom: 15px;
}

/* Typography Refinement */
.section-subtitle {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  color: #f5a623;
  display: block;
  margin-bottom: 10px;
}

/* 1. Responsive Heading Size */
.section-title {
  font-family: 'Playfair Display', serif;
  /* Use clamp for a fluid font size that scales between 1.8rem and 3.2rem */
  font-size: clamp(1.8rem, 8vw, 3.2rem); 
  color: #1e3d58;
  line-height: 1.1;
  margin-bottom: 30px;
  /* Safety net for extremely long words */
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.section-title span {
  font-style: italic;
  color: #f5a623;
}

.section-lead {
  font-size: 1.25rem;
  color: #1e3d58;
  font-weight: 500;
  margin-bottom: 20px;
}


.about-features {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  border-top: 1px solid #ddd;
  padding-top: 30px;
}

/* Responsive Handling */
@media (max-width: 992px) {
.premium-container {
    display: flex;
    flex-direction: column; /* Stack vertically */
    gap: 30px;
    padding: 0 15px;
    text-align: center;
  }
  .about-visual-stack {
    margin-bottom: 40px;
  }
  
  .accent-frame {
    display: none; /* Hide for cleaner mobile UX */
  }
  
  .about-features {
    justify-content: center;
  }
  .section-title {
    /* Manual fallback if you prefer not to use clamp() */
    font-size: 2.2rem; 
  }
}

/* Layout Reversal for the second section */
.about-premium.reverse .premium-container {
  grid-template-columns: 0.9fr 1.1fr; /* Text on left, Image on right */
}

/* Ensure the text centers correctly on mobile if that is the intent */
  .about-premium.reverse .about-content-box {
    order: 2;
    text-align: center;
  }

.about-premium.reverse .about-visual-stack,
  .about-visual-stack {
    order: 1; /* Moves image to the top */
    width: 100%;
    margin-bottom: 20px;
  }

/* Adjust the small accent photo to overlap on the left side for reversed sections */
.accent-frame.accent-left {
  right: auto;
  left: -20px;
}

/* Fix for the absolute positioning: Ensure the parent is the anchor */
.about-visual-stack {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive adjustment for reversed section */
@media (max-width: 992px) {
.about-premium.reverse .about-content-box,
  .about-content-box {
    order: 2; /* Moves text below the image */
    text-align: center;
    width: 100%;
  }
  .about-premium.reverse .about-visual-stack {
    order: 1;
    margin-bottom: 60px;
  }

  /* 3. Fix the "Sliver Image" issue */
  .main-frame {
    width: 100%; /* Take full width */
    max-width: 450px; /* Prevent it from getting too huge on tablets */
    margin: 0 auto;
  }

  .main-frame img {
    height: auto; /* Remove the fixed 550px height */
    max-height: 400px;
    border-radius: 12px;
  }

  .section-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem) !important; /* Fluids scaling */
    line-height: 1.2;
    overflow-wrap: break-word; /* Forces long words like "Arkadaşlarınızla" to wrap */
    word-wrap: break-word;
    hyphens: auto; /* Adds hyphenation if the browser supports it */
  }

.section-lead {
    font-size: 1.1rem;
    padding: 0 10px;
  }
  
.accent-frame {
    display: none;
  }



}
@media (max-width: 480px) {
  .section-title {
    font-size: 1.7rem !important;
  }
  
  .section-lead {
    font-size: 1.1rem;
  }
.about-features {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }


}
.about-image {
  flex: 1 1 45%;
  min-width: 320px;
  text-align: center;
  animation: fadeIn 1s ease;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.about-text {
  flex: 1 1 45%;
  min-width: 320px;
  animation: fadeIn 1.2s ease;
}

.about-text h2 {
  font-size: 2rem;
  color: #1e3d58;
  margin-bottom: 15px;
  font-weight: 600;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555555;
}

/* Responsive Design */
@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text h2 {
    font-size: 1.8rem;
  }

  .about-text p {
    font-size: 1rem;
  }

  .about-image img {
    max-width: 90%;
  }
}




/* CTA Section */
.cta {
  background-color: #f5a623;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
  position: relative;
}

.cta-container {
  max-width: 900px;
  margin: 0 auto;
  animation: fadeIn 1.2s ease both;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #ffffff;
}

.cta-btn {
  display: inline-block;
  background-color: #1e3d58;
  color: #ffffff;
  padding: 14px 28px;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background-color: #ffffff;
  color: #1e3d58;
}

/* Responsive Styling */
@media (max-width: 900px) {
  .cta h2 {
    font-size: 1.7rem;
  }

  .cta p {
    font-size: 1rem;
  }

  .cta-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}




/* Gallery Preview Section */
.gallery-preview {
  background-color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.gallery-header {
  max-width: 700px;
  margin: 0 auto 50px auto;
  animation: fadeIn 1s ease both;
}

.gallery-header h2 {
  font-size: 2rem;
  color: #1e3d58;
  margin-bottom: 10px;
}

.gallery-header p {
  font-size: 1.05rem;
  color: #555555;
}

/* Image Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeIn 1.2s ease both;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Gallery Button */
.gallery-button {
  margin-top: 40px;
}

.view-gallery-btn {
  display: inline-block;
  background-color: #1e3d58;
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 6px;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-gallery-btn:hover {
  background-color: #f5a623;
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .gallery-header h2 {
    font-size: 1.8rem;
  }

  .view-gallery-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}


/* Our Rooms Preview Section */
.rooms-preview {
  background-color: #fafafa;
  padding: 80px 20px;
  text-align: center;
}

.rooms-header {
  max-width: 700px;
  margin: 0 auto 50px auto;
  animation: fadeIn 1s ease;
}

.rooms-header h2 {
  font-size: 2rem;
  color: #1e3d58;
  margin-bottom: 10px;
  font-weight: 600;
}

.rooms-header p {
  font-size: 1.05rem;
  color: #555555;
  line-height: 1.6;
}

/* Grid for Room Cards */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeIn 1.2s ease both;
}

.room-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.room-card img {
  width: 100%;
  object-fit: cover;
  display: block;
  height: 220px;
}

/* Room Info */
.room-info {
  padding: 20px;
}

.room-info h3 {
  font-size: 1.3rem;
  color: #1e3d58;
  margin-bottom: 10px;
}

.room-info p {
  font-size: 1rem;
  color: #555555;
  margin-bottom: 15px;
  line-height: 1.6;
}

/* Buttons */
.room-btn {
  display: inline-block;
  background-color: #1e3d58;
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.room-btn:hover {
  background-color: #f5a623;
}

.rooms-button {
  margin-top: 50px;
}

.all-rooms-btn {
  background-color: #f5a623;
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.all-rooms-btn:hover {
  background-color: #1e3d58;
}

/* Responsive */
@media (max-width: 900px) {
  .rooms-header h2 {
    font-size: 1.8rem;
  }

  .room-info h3 {
    font-size: 1.2rem;
  }

  .room-card img {
    height: 200px;
  }

  .all-rooms-btn {
    padding: 12px 25px;
    font-size: 0.95rem;
  }
}

/* Tours Preview Section */
.tours-preview {
  background-color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.tours-header {
  max-width: 700px;
  margin: 0 auto 50px auto;
  animation: fadeIn 1s ease both;
}

.tours-header h2 {
  font-size: 2rem;
  color: #1e3d58;
  margin-bottom: 10px;
  font-weight: 600;
}

.tours-header p {
  font-size: 1.05rem;
  color: #555555;
  line-height: 1.6;
}

/* Tours Grid */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeIn 1.2s ease both;
}

.tour-card {
  background-color: #fafafa;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tour-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.tour-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.tour-card:hover img {
  transform: scale(1.05);
}

.tour-info {
  padding: 22px;
}

.tour-info h3 {
  font-size: 1.3rem;
  color: #1e3d58;
  margin-bottom: 10px;
}

.tour-info p {
  font-size: 1rem;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Buttons */
.tour-btn {
  display: inline-block;
  background-color: #1e3d58;
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.tour-btn:hover {
  background-color: #f5a623;
  color: #ffffff;
}

.tours-button {
  margin-top: 50px;
}

.all-tours-btn {
  background-color: #f5a623;
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.all-tours-btn:hover {
  background-color: #1e3d58;
}

/* Responsive */
@media (max-width: 900px) {
  .tours-header h2 {
    font-size: 1.8rem;
  }

  .tour-card img {
    height: 200px;
  }

  .tour-info h3 {
    font-size: 1.2rem;
  }

  .all-tours-btn {
    padding: 12px 25px;
    font-size: 0.95rem;
  }
}


/* Restaurant Preview Section */
.restaurant-preview {
  background: linear-gradient(
    135deg,
    #fff8f0 0%,
    #fdf3e6 100%
  );
  padding: 90px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.restaurant-header {
  max-width: 750px;
  margin: 0 auto 60px auto;
  color: #1e3d58;
  animation: fadeIn 1s ease both;
}

.restaurant-header h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.restaurant-header p {
  font-size: 1.1rem;
  color: #555555;
}

/* Grid of Food Items */
.restaurant-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeIn 1.2s ease both;
}

/* Each Food Item */
.restaurant-item {
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.restaurant-item:hover {
  transform: translateY(-5px);
}

.restaurant-item img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.restaurant-item:hover img {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.restaurant-item h3 {
  margin-top: 15px;
  font-size: 1.15rem;
  color: #1e3d58;
  font-weight: 500;
}

/* Responsive Layout Adjustments */
@media (min-width: 1500px) {
  .restaurant-items {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 900px) {
  .restaurant-header h2 {
    font-size: 1.8rem;
  }

  .restaurant-item img {
    width: 130px;
    height: 130px;
  }

  .restaurant-item h3 {
    font-size: 1.05rem;
  }
}

@media (max-width: 600px) {
  .restaurant-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}


/* Restaurant & Café Button */
.restaurant-button {
  margin-top: 50px;
  text-align: center;
}

.restaurant-btn {
  display: inline-block;
  background-color: #1e3d58;
  color: #ffffff;
  padding: 14px 30px;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.restaurant-btn:hover {
  background-color: #f5a623;
  color: #ffffff;
}

/* Responsive Adjustment */
@media (max-width: 900px) {
  .restaurant-btn {
    padding: 12px 25px;
    font-size: 0.95rem;
  }
}


/* Events Preview Section */
.events-preview {
  background: linear-gradient(135deg, #1e3d58 0%, #314e6e 100%);
  color: #ffffff;
  padding: 90px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.events-header {
  max-width: 700px;
  margin: 0 auto 60px auto;
  animation: fadeIn 1s ease both;
}

.events-header h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.events-header p {
  font-size: 1.1rem;
  color: #e0e0e0;
  line-height: 1.6;
}

/* Events Grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeIn 1.2s ease both;
}

.event-card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.event-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.event-card:hover img {
  transform: scale(1.04);
}

.event-info {
  padding: 25px;
}

.event-info h3 {
  font-size: 1.3rem;
  color: #1e3d58;
  margin-bottom: 10px;
}

.event-info p {
  font-size: 1rem;
  color: #555555;
  line-height: 1.6;
}

/* Events Button */
.events-button {
  margin-top: 60px;
}

.all-events-btn {
  display: inline-block;
  background-color: #f5a623;
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.all-events-btn:hover {
  background-color: #ffffff;
  color: #1e3d58;
}

/* Responsive */
@media (max-width: 900px) {
  .events-header h2 {
    font-size: 1.8rem;
  }

  .event-info h3 {
    font-size: 1.2rem;
  }

  .event-card img {
    height: 200px;
  }
}


/* Global Footer */
.site-footer {
  background-color: #1e3d58;
  color: #ffffff;
  padding: 70px 20px 30px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 40px;
}

/* Brand Column */
.brand-col h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #f5a623;
  font-weight: 600;
}

.brand-col p {
  color: #dcdcdc;
  font-size: 0.95rem;
}

/* Navigation Column */
.nav-col h4,
.contact-col h4 {
  color: #f5a623;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.nav-col ul,
.contact-col ul {
  list-style: none;
}

.nav-col ul li,
.contact-col ul li {
  margin-bottom: 6px;
}

.nav-col a,
.contact-col a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-col a:hover,
.contact-col a:hover {
  color: #f5a623;
}

/* Social Icons */
.social-links {
  margin-top: 15px;
  display: flex;
  gap: 12px;
}

.social-icon {
  color: #ffffff;
  font-size: 1.2rem;
  text-decoration: none;
  border: 2px solid #ffffff20;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #f5a623;
  border-color: #f5a623;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid #ffffff20;
  text-align: center;
  padding-top: 20px;
  color: #d0d0d0;
  font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
  .footer-container {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

/* ================= Image Modal Slider ================= */

.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.image-modal.active {
  opacity: 1;
  visibility: visible;
}

.image-modal img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 6px;
}

/* Close Button */
.modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 2.5rem;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
}

/* Navigation Arrows */
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 3rem;
  color: #ffffff;
  cursor: pointer;
  padding: 10px;
  opacity: 0.8;
}

.modal-nav:hover {
  opacity: 1;
}

.modal-nav.prev {
  left: 20px;
}

.modal-nav.next {
  right: 20px;
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .modal-nav {
    font-size: 2.2rem;
  }

  .modal-close {
    font-size: 2rem;
  }
}

/* ================= Intro Deck Slider ================= */

.intro {
  padding: 42px 20px 30px;
  background: #ffffff;
}

.deck-slider {
  max-width: 1100px;
  margin: 0 auto;
}

.deck-viewport {
  position: relative;
  height: min(560px, 64vw);
  min-height: 320px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #f7f7f7 0%, #ffffff 100%);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.deck-slides {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d; /* CRITICAL for Safari */
  perspective: 1000px; /* Helps Safari calculate depth */
}

.deck-slide {
  position: absolute;
  inset: 22px;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.14);
  transform-origin: 50% 60%;
  opacity: 0;
  backface-visibility: hidden; 
  -webkit-backface-visibility: hidden;
  pointer-events: none;
  transition:
    transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 350ms ease;
  will-change: transform, opacity;
}

.deck-slide picture,
.deck-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  user-select: none;
}

/* Subtle “premium” overlay so images feel cohesive */
.deck-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(30, 61, 88, 0.12),
    rgba(0, 0, 0, 0.08)
  );
  pointer-events: none;
}

/* Stacking states (deck effect) */
.deck-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 4;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
}

.deck-slide.is-next {
  opacity: 1;
  z-index: 3;
  transform: translate3d(46px, 14px, 0) rotate(1.6deg) scale(0.96);
  filter: saturate(0.95);
}

.deck-slide.is-next2 {
  opacity: 1;
  z-index: 2;
  transform: translate3d(88px, 26px, 0) rotate(3.2deg) scale(0.92);
  filter: saturate(0.9);
}

.deck-slide.is-prev {
  opacity: 1;
  z-index: 3;
  transform: translate3d(-34px, 14px, 0) rotate(-1.4deg) scale(0.96);
  filter: saturate(0.95);
}

/* Navigation buttons */
.deck-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(30, 61, 88, 0.55);
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: grid;
  place-items: center;
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, background 0.25s ease;
}

.deck-nav:hover {
  background: rgba(30, 61, 88, 0.78);
  transform: translateY(-50%) scale(1.04);
}

.deck-prev {
  left: 14px;
}

.deck-next {
  right: 14px;
}

/* Dots */
.deck-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.deck-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.deck-dot.is-active {
  background: #f5a623;
  transform: scale(1.25);
}

/* Text under slider */
.intro-text {
  max-width: 900px;
  margin: 24px auto 0;
  text-align: center;
  padding: 0 10px;
}

.intro-text h1 {
  font-size: 2.2rem;
  color: #1e3d58;
  font-weight: 600;
  margin-bottom: 10px;
}

.intro-text p {
  font-size: 1.1rem;
  color: #555555;
  line-height: 1.7;
}

/* Responsive tuning */
@media (max-width: 900px) {
  .deck-slide {
    inset: 16px;
  }

  .deck-slide.is-next {
    transform: translate3d(34px, 12px, 0) rotate(1.4deg) scale(0.965);
  }

  .deck-slide.is-next2 {
    transform: translate3d(64px, 22px, 0) rotate(2.6deg) scale(0.93);
  }

  .deck-slide.is-prev {
    transform: translate3d(-24px, 12px, 0) rotate(-1.2deg) scale(0.965);
  }

  .intro-text h1 {
    font-size: 1.8rem;
  }

  .intro-text p {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .deck-viewport {
    min-height: 280px;
    border-radius: 16px;
  }

  .deck-nav {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }
}
