html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #ffffff;
  margin: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  box-sizing: border-box;
}

.content-wrapper {
  background-color: #f1f1f1;
  width: 100%;
  margin: 20px auto;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* -- Global Navbar -- */
.global-nav {
  background-color: #ffffff;
  width: 80%;
  max-width: 900px;
  margin: 20px auto 30px auto;
  padding: 8px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1000;
}

.nav-links {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #121212;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 25px;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background-color: #ff6600;
  color: #ffffff;
}

/* -- Hero Section -- */
.hero-section {
  height: 95vh;
  background-image:
    linear-gradient(rgba(40, 40, 40, 0.7), rgba(18, 18, 18, 0.7)),
    url("./assets/Colombo.jpeg");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: #cccccc;
}

.cta-button {
  background-color: #ff6600;
  color: #ffffff;
  padding: 15px 30px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s;
  display: inline-block;
}

.cta-button:hover {
  background-color: #cc5200;
}

/* -- Stats Section -- */
.stats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 10px auto 40px auto;
  padding: 20px 0px;
}

.stat-box {
  background-color: #ffffff;
  padding: 30px 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-10px);
}

.stat-number {
  font-size: 2rem;
  color: #000000;
  margin-bottom: 5px;
}

.stat-label {
  color: #666666;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* -- Intro Section -- */
.intro-section {
  background-color: #ffffff;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 40px auto;
  text-align: center;
  line-height: 1.8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 50px;
}

.intro-section h2 {
  margin-bottom: 20px;
  color: #121212;
}

.intro-text {
  flex: 1;
  color: #333333;
  line-height: 1.8;
  text-align: justify;
  font-size: 1rem;
}

.intro-text h2 {
  margin-bottom: 20px;
  color: #ff6600;
  font-size: 2rem;
}

.intro-image {
  flex: 1;
}

.intro-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* -- List Section -- */
.list-section {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 60px auto;
}

.list-container {
  flex: 1;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.list-container h3 {
  color: #ff6600;
  margin-bottom: 20px;
  font-size: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px;
}

.custom-list {
  list-style: none;
  padding: 0;
}

.custom-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: #333333;
  line-height: 1.6;
}

.custom-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ff6600;
  font-weight: bold;
  font-size: 1.2rem;
}

/* --- Footer --- */
footer {
  color: #121212;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  font-size: 0.8rem;
}

/* -- Places Page -- */

.category-button {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto 30px auto;
  padding: 0 20px;
}

.category-btn {
  padding: 8px 16px;
  border: 2px solid #e0e0e0;
  background-color: transparent;
  color: #303030;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.category-btn:hover {
  border-color: #ff6600;
  color: #ff6600;
}

.category-btn.active {
  background-color: #ff6600;
  border-color: #ff6600;
  color: #ffffff;
}

.hidden {
  display: none !important;
}

.page-header {
  color: #000000;
  text-align: center;
  padding: 40px 20px;
  margin: 20px 20px;
}

.page-header h1 {
  font-size: 3rem;
  color: #ff6600;
  margin-bottom: 10px;
}

/* -- Card Grid Layout -- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.place-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.place-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.place-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-info {
  padding: 20px;
  text-align: justify;
}

.card-info h3 {
  color: #121212;
  margin-bottom: 10px;
  font-size: 1.4rem;
  text-align: center;
}

.card-info p {
  color: #666666;
  line-height: 1.6;
  font-size: 1rem;
}

/* -- Malls Page -- */
.mall-showcase {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.mall-row {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 80px;
}

.mall-row:nth-child(even) {
  flex-direction: row-reverse;
}

.mall-image {
  flex: 1;
}

.mall-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.mall-content {
  flex: 1;
}

.mall-content h3 {
  font-size: 1.8rem;
  color: #121212;
  margin-bottom: 15px;
}

.mall-content p {
  color: #555555;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 1rem;
}

/* -- Contact Page -- */
.contact-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.contact-info {
  flex: 1;
  min-width: 250px;
}
.contact-form-container {
  flex: 2;
  background: #ffffff;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-form-container h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
}

.input-group {
  margin-bottom: 25px;
}

.input-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #555555;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.input-group input,
.form-textarea {
  width: 100%;
  padding: 16px 20px;
  background-color: #f8f9fa;
  border: 2px solid transparent;
  border-radius: 12px;
  font-size: 1rem;
  color: #333333;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

.input-group input:focus,
.form-textarea:focus {
  outline: none;
  background-color: #ffffff;
  border-color: #ff6600;
  box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.1);
}

.form-submit-btn {
  background: linear-gradient(135deg, #ff6600, #ff8c42);
  color: #ffffff;
  padding: 18px;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  width: 100%;
  margin-top: 15px;
}

.form-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 102, 0, 0.3);
}

.required-asterisk {
  color: #ff3333;
}

.error-text {
  color: #ff3333;
  margin-top: 8px;
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
}

.success-message {
  margin-top: 25px;
  padding: 20px;
  background: #f0fdf4;
  color: #166534;
  border-radius: 12px;
  text-align: center;
  border: 2px solid #bbf7d0;
  font-weight: bold;
  font-size: 1.1rem;
}

.info-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.info-card h3 {
  color: #ff6600;
  margin-bottom: 15px;
}

.info-card p {
  color: #4d4c4c;
  margin-bottom: 10px;
  font-size: 1rem;
}

/* -- Mobile Responsiveness CSS -- */
@media (max-width: 768px) {
  body {
    padding-bottom: 80px;
  }

  .global-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 10px 0 15px 0;
    border-radius: 20px 20px 0 0;
    background-color: #ffffff;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
  }

  .nav-links a {
    flex-direction: column;
    gap: 4px;
    padding: 8px 12px;
    font-size: 0.75rem;
    border-radius: 10px;
  }

  .nav-links a i {
    font-size: 1.2rem;
  }

  .hero-section {
    height: 65vh;
    min-height: 400px;
  }

  .hero-content h1 {
    font-size: 2.1rem;
  }

  .hero-content p {
    font-size: 1rem;
    padding: 0 15px;
  }
  .cta-button {
    padding: 10px 10px;
    font-size: 0.8rem;
  }

  .intro-text h2 {
    font-size: 1.4rem;
  }

  .intro-text p {
    font-size: 0.8rem;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .list-container h3 {
    font-size: 1.2rem;
  }

  .intro-section {
    flex-direction: column;
    padding: 30px 20px;
    gap: 30px;
  }

  .list-section {
    flex-direction: column;
    gap: 20px;
    margin: 30px auto;
  }
  .custom-list li {
    font-size: 0.8rem;
  }

  .list-container {
    padding: 20px;
  }

  .page-header h1 {
    font-size: 1.7rem;
  }

  .page-header {
    font-size: 0.9rem;
    padding: 20px 10px;
    margin: 10px 10px;
  }

  .card-info h3 {
    font-size: 1.2rem;
  }

  .card-info p {
    line-height: 1.4;
    font-size: 0.9rem;
  }
  .mall-row,
  .mall-row:nth-child(even) {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
  }

  .mall-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-align: center;
  }

  .mall-content p {
    line-height: 1.2;
    font-size: 0.9rem;
    text-align: justify;
  }

  .mall-content li {
    font-size: 0.9rem;
    text-align: justify;
  }

  .card-info a {
    font-size: 0.8rem;
  }

  .contact-layout {
    gap: 30px;
    margin-top: 20px;
  }

  .contact-form-container {
    padding: 30px 20px;
    border-radius: 15px;
  }

  .contact-form-container h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  .input-group input,
  .form-textarea {
    padding: 14px 15px;
  }

  .info-card {
    padding: 20px;
  }

  .info-card h3 {
    font-size: 1rem;
  }
  .info-card p {
    font-size: 0.9rem;
  }

  .input-group label {
    font-size: 0.65rem;
  }

  .success-message {
    font-size: 0.8rem;
  }
}
