/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Quilon-Regular';
  src: url('../fonts/Quilon-Regular.woff2') format('truetype'),
       url('../fonts/Quilon-Medium.woff2') format('truetype'),
       url('../fonts/Quilon-Bold.woff2') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* ---------- UI: Language + ScrollUp ---------- */
.language-buttons button.active {
  background-color: #e99f00;
  color: #fff;
  border-radius: 4px;
}

/* Scroll Up Button Styling */
#scrollUpBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: block;
  background-color: #fab118;
  color: #594835;
  padding-top: 14px;
  padding-bottom: 10px;
  padding-left: 18px;
  padding-right: 18px;
  border-radius: 10px;
  z-index: 9999;
  border: none;
}
#scrollUpBtn:hover { color: white; }
#scrollUpBtn i { font-size: 30px; /* icon size */ }

/* ---------- Images & First CTA ---------- */
#content-wrap .card img {
  width: 100%;
  height: auto;
  max-height: 800px;
  object-fit: cover;
}

#content-wrap #first-button {
  display: block;
  margin: 0 auto;
  padding: 10px 50px;
  margin-top: 200px;
  font-size: 30px;
  color: white;
  background-color: rgba(89, 72, 53, 0.8);
  border: 2px solid #594835;
  border-radius: 15px;
  text-align: center;
  text-decoration: none;
  width: 310px;
}
#content-wrap #first-button:hover {
  background-color: rgba(89, 72, 53);
  border: 2px solid #594835;
}
#content-wrap #first-button a { text-decoration: none; }

/* ---------- General ---------- */
body {
  font-family: 'Quilon-Regular';
  margin: 0;
  padding: 0;
  background-color: white;
  font-size: 20px;
  letter-spacing: 2px;
}

/* ---------- Navbar ---------- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: left;
  background-color: #fab118;
  border-bottom: 2px solid #f9f9f9;
  padding: 1rem 2rem;
}

.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.navbar .nav-links li a {
  text-decoration: none;
  color: #f9f9f9;
}

/* Reset & Styling */
.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
}
.nav-links li { position: relative; }
.nav-links a {
  font-size: 18px;
  font-weight: 600;
  padding: 10px;
  position: relative;
  transition: color 0.3s ease-in-out;
}
/* Underline Effect on Nav Bar */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: white;
  transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}
.nav-links a:hover::after { width: 100%; left: 0; }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: white;
}

/* ---------- Hero & Placeholder ---------- */
.hero {
  background-color: #ddd;
  text-align: center;
  padding: 4rem 2rem;
  border: 2px dashed #ccc;
}
.hero h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.hero p { font-size: 1.5rem; }

.placeholder {
  padding: 3rem 2rem;
  margin: 1rem;
  background-color: #f9f9f9;
  border: 2px dashed #ccc;
  text-align: center;
}

.logo img { height: auto; width: 25%; }
#content-wrap .page-title { font-family:'Quilon', sans-serif; }

/* ---------- Bottom nav & buttons ---------- */
.nav-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
}

.language-buttons button,
.phone-button {
  margin-left: 1rem;
  padding: 0.5rem 1rem;
  border: none;
  background-color: #f9f9f9;
  cursor: pointer;
  border-radius: 5px;
}

.language-buttons button {
  color: white;
  font-size: 15px;
  border: 1px solid white;
  background-color: #fab118;
}

.phone-button {
  background-color: #f9f9f9;
  border: 1px #f9f9f9 solid;
  color: #fab118;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  border-radius: 15px;
}
.phone-button:hover {
  transform: scale(1.1);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.navbar-top {
  padding: 10px;
  background-color: #F2E9DD;
  text-align: center;
  font-size: 15px;
}

/* ---------- Footer ---------- */
footer {
  background-color: #594835; /* Dark background */
  color: #F4C430;           /* Yellow text */
  text-align: center;
  padding: 20px 0;
  border-top: 4px solid #F4C430; /* Border on top */
  font-family: 'Lato', sans-serif;
  bottom: 0;
  width: 100%;
}
.footer-container { width: 80%; margin: 0 auto; }
.footer-links { margin-bottom: 15px; }
.footer-links a {
  color: #F4C430;
  text-decoration: none;
  margin: 0 15px;
  font-size: 16px;
  font-weight: bold;
}
.footer-links a:hover { text-decoration: underline; }
.footer-logo h2 { margin: 10px 0; font-size: 24px; }
hr { width: 80%; margin: 15px auto; border: 1px solid #F4C430; }
.footer-info p { margin: 5px 0; font-size: 14px; }
.footer-social a {
  color: #F4C430;
  text-decoration: none;
  margin: 0 10px;
  font-weight: bold;
}
.footer-social a:hover { text-decoration: underline; }
.footer-logo a img { max-width: 160px; height: auto; }
.footer-social a img { height: 35px; width: 35px; }


/* ---------- Animated Logo ---------- */
video {
  width: 350px;
  height: auto;
  display: block;
  margin: 0 auto;
  outline: 0px;
}

/* ---------- Home page ---------- */
#page-container { position: relative; min-height: 100vh; }
#content-wrap { padding-bottom: 2.5rem; margin-bottom: 200px; }
.card { border: none; }

.card-title,
.card-text {
  text-align: center;
  font-size: 80px;
  margin-top: 1em;
}

@media (max-width: 768px) {
  #content-wrap #first-button {
    margin-top: 40px;
    font-size: 20px;
    padding: 5px;
    width: 160px;
  }
}
@media (max-width: 768px) {
  .card-title, .card-text {
    font-size: 50px;
    margin-top: 0.5em;
  }
}
@media (max-width: 992px) {
  .card-title, .card-text { font-size: 60px; }
}
@media (max-width: 511px) {
  .card-title { font-size: 40px; }
}

.card.text-bg-dark { position: relative; overflow: hidden; }
.card.text-bg-dark::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5); /* white overlay */
}

.content h2 { font-size: 50px; color: #fab118; }
@media (min-width: 480px) { .content h2 { font-size: 20px; } }
@media (min-width: 767px) { .content h2 { font-size: 35px; } }
@media (min-width: 992px) { .content h2 { font-size: 50px; } }

/* Base + responsive for .content p */
.content p { font-size: 20px; color: #594835; }
/* NOTE: removed earlier duplicate '@media (min-width: 0px) { .content p { font-size: 15px; } }'
   because a full set of breakpoints exists below. */
@media (min-width: 0px)   { .content p { font-size: 13px; } }
@media (min-width: 480px) { .content p { font-size: 10px; } }
@media (min-width: 767px) { .content p { font-size: 13px; } }
@media (min-width: 992px) { .content p { font-size: 17px; } }

.left .content a,
.right .content a {
  background-color: #e9d0af;
  padding: 15px;
  color: white;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  border-radius: 15px;
}
.left .content a:hover,
.right .content a:hover {
  background-color: #a96f35;
  transform: scale(1.1);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  color: white;
}

.header, .footer {
  background: #f2e9dd;
  color: #fff;
  padding: 30px;
  text-align: center;
  box-sizing: border-box;
}
.header a, .footer a { color: #fff; }
@media (min-width: 768px) {
  .header, .footer { padding: 10px; }
}
.header h1, .footer h1 { font-size: 4em; font-weight: 300; }
.header i.fa, .footer i.fa { font-size: 4em; }
.header .bounce, .footer .bounce {
  animation-name: bounce;
  transform-origin: center bottom;
  animation-iteration-count: infinite;
  animation-duration: 2s;
  animation-fill-mode: both;
}

.section { width: 100%; position: relative; }
.section .left, .section .middle, .section .right {
  width: 100%;
  display: block;
  color: #fff;
  box-sizing: border-box;
  left: 0;
  padding: 30px;
  text-align: center;
  overflow: hidden;
  transition: 0.3s ease-in-out all;
  position: relative;
}
@media (min-width: 480px) {
  .section .left, .section .middle, .section .right {
    width: 50%;
    font-size: 0.9em;
    padding: 10px;
    float: left;
    position: absolute;
  }
}
@media (min-width: 768px) {
  .section .left, .section .middle, .section .right {
    width: 33.33333%;
    left: 33.33%;
    padding: 10px;
  }
}
@media (min-width: 992px) {
  .section .left, .section .middle, .section .right {
    padding: 30px;
    font-size: 1em;
  }
}
.section .left .content,
.section .middle .content,
.section .right .content {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}
.section.animate .left { left: 0; }
@media (min-width: 480px) { .section.animate .left { left: 50%; } }
@media (min-width: 768px) { .section.animate .left { left: 0; } }
.section.animate .right { left: 0; }
@media (min-width: 480px) { .section.animate .right { left: 50%; } }
@media (min-width: 768px) { .section.animate .right { left: 66.66%; } }

.section .title { background: #f2e9dd; }
.section .title h2 { margin-top: 0; }
.section .title p { line-height: 1.55em; margin-bottom: 0.75em; }
.section .title .btn-primary {
  color: #fff;
  background: #cc442e;
  padding: 10px;
  text-decoration: none;
  border-radius: 3px;
  display: inline-block;
  transition: 0.3s ease-in-out all;
}
.section .title .btn-primary:hover { background: #b33c29; }

.section .tiles {
  padding: 0;
  background: #fff;
  clear: both;
  display: none;
  float: none;
}
@media (min-width: 768px) { .section .tiles { display: block; } }

/* Tiles images */
.section .tiles img {
  width: 100%;
  height: auto;
  opacity: 0.7;
  transition: 0.3s ease-in-out all;
  filter: grayscale(100%);
  display: block;
}
.section .tiles img:hover { opacity: 1; filter: grayscale(0%); }

/* NOTE: duplicate of '.section .tiles img{...}' existed later; removed to avoid repetition. */

.section .middle {
  background: slategray;
  z-index: 2;
  padding: 0;
}
.section .middle img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Modal tweaks ---------- */
.modal.fade .modal-dialog { transition: transform 0.3s ease-out; }
.modal-backdrop.show { background-color: rgba(0, 0, 0, 0.7); }
#paymentSection .text-center { margin-top: 1rem; }

/* ---------- Footer bounce keyframes ---------- */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-20px); }
  60% { transform: translateY(-10px); }
}
@-webkit-keyframes bounce {
  0%, 20%, 50%, 80%, 100% { -webkit-transform: translateY(0); }
  40% { -webkit-transform: translateY(-20px); }
  60% { -webkit-transform: translateY(-10px); }
}

/* ---------- Responsive: general ---------- */
@media (max-width: 768px) {
  .navbar { flex-direction: column; align-items: flex-start; }
  .nav-links { flex-direction: column; gap: 0.5rem; }
  .nav-bottom { flex-direction: column; }
  .language-buttons { margin-right: 0; margin-bottom: 10px; }
}

/* Navbar on Mobile Phones */
/* NOTE: duplicate base block for '.nav-links' existed here and matched earlier definition.
   It has been removed to avoid repetition. We keep link styling consistent below. */
.nav-links li a {
  color: white;                /* unify visual color on links (overridden by .navbar .nav-links li a where applicable) */
  text-decoration: none;
}

/* ---------- Hamburger (mobile) ---------- */
.hamburger {
  display: none;
  font-size: 40px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  margin-top: 10px;
}
@media (max-width: 768px) {
  .hamburger { display: block; z-index: 1001; position: relative; }
  .nav-links {
    display: none !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border: solid 2px #fab118;
    border-radius: 20px;
    background-color: #f5daa0;
    z-index: 1000;
    margin: 0;
    padding: 20px;
  }
  .nav-links.show { display: flex !important; }
  .nav-links li { text-align: center; padding: 10px 0; }
  .navbar2 { position: relative; width: 100%; }
  .navbar, .navbar2 { padding: 0; margin: 0; }
}

/* ---------- Image gallery ---------- */
.image-gallery {
  text-align: center;
  padding: 30px 20px;
  background-color: #faf1e4;
  margin-top: 300px;
}
.image-gallery h2 {
  color: #F4C430;
  padding: 10px;
}
.gallery-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-slide {
  width: 100%;
  max-height: 900px; /* bigger */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.gallery-slide img {
  width: 100%;
  height: auto;
  max-height: 900px; /* match container */
  object-fit: contain;
  border-radius: 12px;
  transition: opacity 0.3s ease-in-out;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #2E2B2B;
  color: #F4C430;
  font-size: 28px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5; /* on top */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 48px !important;
  height: 48px !important;
}
.arrow:hover { background-color: #3a3737; }
.arrow.left { left: -20px; }
.arrow.right { right: -20px; }

.thumbnails {
  margin-top: 20px;
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 10px;
  flex-wrap: nowrap;
  scroll-behavior: smooth;
}
.thumbnails img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.6;
  transition: transform 0.3s, opacity 0.3s;
  flex: 0 0 auto;
}
.thumbnails img:hover,
.thumbnails img.active {
  transform: scale(1.1);
  opacity: 1;
  border: 2px solid #F4C430;
}

@media (max-width: 768px) {
  .gallery-slide { max-height: 300px; }
  .gallery-slide img { max-height: 300px; }
}
