/* ====== General Reset ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  color: #222;
  background-color: #fff;
}

/* ====== Loading Page ====== */
#loading {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#loading img {
  width: 120px;
  animation: fadeIn 1.5s ease-in-out infinite alternate;
}

#loading p {
  margin-top: 15px;
  color: #b00020;
  font-weight: 600;
  font-size: 1.2rem;
}

/* ====== Header ====== */
header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 25px;
  z-index: 10;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #b00020;
  cursor: pointer;
  letter-spacing: 1px;
}

.icons i {
  margin-left: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: 0.3s;
}

.icons i:hover {
  color: #b00020;
  transform: scale(1.2);
}

/* ====== Coming Soon Popup ====== */
#comingSoon {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  z-index: 999;
  justify-content: center;
  align-items: center;
}

.coming-soon-box {
  background: rgba(255,255,255,0.9);
  padding: 40px 60px;
  border-radius: 10px;
  text-align: center;
  animation: slideUp 0.4s ease;
}

.coming-soon-box h3 {
  color: #b00020;
  margin-bottom: 10px;
}

/* ====== Hero Section ====== */
.hero {
  position: relative;
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-overlay {
  background: rgba(0,0,0,0.4);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.tagline {
  color: white;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 25px;
  font-family: "Playfair Display", serif;
}

.search-wrapper {
  position: relative;
}

.search-wrapper input {
  width: 320px;
  padding: 12px 20px;
  border-radius: 30px;
  border: none;
  outline: none;
  background: rgba(255,255,255,0.3);
  color: #fff;
  font-size: 1rem;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.search-wrapper input::placeholder {
  color: #eee;
}

.search-wrapper input:hover, 
.search-wrapper input:focus {
  background: rgba(255,255,255,0.6);
  color: #000;
}

/* ====== Categories Popup ====== */
.categories-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(6px);
  z-index: 999;
  overflow-y: auto;
  padding: 40px;
}

.categories-box {
  background: rgba(255,255,255,0.95);
  margin: 40px auto;
  padding: 30px 40px;
  border-radius: 15px;
  max-width: 800px;
  position: relative;
  animation: fadeIn 0.4s ease;
}

.close-btn {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 1.4rem;
  cursor: pointer;
  color: #b00020;
}

.cat-text {
  white-space: pre-wrap;
  color: #222;
  font-size: 0.95rem;
}

/* ====== About Section ====== */
.about-section {
  padding: 100px 20px 60px;
  background: #f8f8f8;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-container img {
  flex: 1;
  width: 100%;
  max-width: 480px;
  border-radius: 10px;
  margin: 15px;
}

.about-text {
  flex: 1;
  margin: 15px;
}

.about-text h2 {
  color: #b00020;
  margin-bottom: 15px;
}

.about-text p {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* ====== Footer ====== */
footer {
  background-color: #111;
  color: white;
  text-align: center;
  padding: 15px 10px;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  font-size: 0.9rem;
}

/* ====== Floating Icon ====== */
.float-icon {
  position: fixed;
  bottom: 80px;
  right: 25px;
  background: #b00020;
  color: white;
  font-size: 1.4rem;
  padding: 12px 15px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  transition: 0.3s;
}

.float-icon:hover {
  background: #d71b36;
  box-shadow: 0 0 20px #b00020;
}

/* ====== Contact Page ====== */
.contact-body {
  background-size: cover;
  background-position: center;
  min-height: 100vh;
}

.overlay-bg {
  background: rgba(0,0,0,0.55);
  min-height: 100vh;
  color: white;
  padding: 100px 20px 80px;
  text-align: center;
}

.contact-section form {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  margin: 20px auto;
}

form label {
  display: block;
  margin: 10px 0 5px;
  font-weight: 500;
}

form input, form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: none;
  outline: none;
  margin-bottom: 15px;
  font-size: 1rem;
}

form button {
  background: #b00020;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s;
}

form button:hover {
  background: #d71b36;
  box-shadow: 0 0 15px #b00020;
}

/* ====== Map Section ====== */
.map {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ====== Animations ====== */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

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

/* ====== Responsive ====== */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
  }
  .tagline {
    font-size: 1.8rem;
  }
  .search-wrapper input {
    width: 80%;
  }
  footer {
    font-size: 0.8rem;
  }
}
