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

body {
  color: #333;
  background-color: #fff;
  line-height: 1.6;
}

/* === HEADER === */
header {
  background: transparent;
  color: #333;
  padding: 30px 40px;
  position: relative;
  z-index: 10;
}

/* Home page - centered */
body.home header {
  position: absolute;
  top: 0;
  width: 100%;
  color: #fff;
  text-align: center;
}

/* Other pages - flex (logo left, nav right) */
body.nature header,
body.adventure header,
body.shopping header,
body.food header {
  position: absolute;
  top: 0;
  width: 100%;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}

.logo {
  font-size: 30px;
  font-weight: 700;
  padding: 10px 30px;
  border-radius: 12px;
  letter-spacing: 1px;
}

/* Remove background for nature, adventure, shopping, food pages */
body.nature .logo,
body.adventure .logo,
body.shopping .logo,
body.food .logo {
  background-color: transparent;
  color: #fff;
}

.tagline {
  font-size: 18px;
  opacity: 0.85;
  margin-top: 5px;
}

/* === NAVIGATION === */
/* === NAVIGATION === */
/* Home page - centered navigation */
body.home nav ul {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 10px;
}

/* Other pages - right aligned navigation */
body.nature nav ul,
body.adventure nav ul,
body.shopping nav ul,
body.food nav ul {
  list-style: none;
  margin: 0;
  display: flex;
  gap: 10px;
}

nav ul li {
  display: inline-block;
  margin: 0 5px;
}

nav a {
  text-decoration: none;
  font-weight: 600;
  color: #333;
  padding: 8px 16px;
  border-radius: 6px;
  transition: 0.3s;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
}

body.home nav a {
  color: #fff;
}

body.nature nav a,
body.adventure nav a,
body.shopping nav a,
body.food nav a {
  color: #fff;
}

nav a:hover,
nav a.active {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

/* === HERO SECTION (HOME PAGE) === */
#hero {
  background-image: url('images/home_bg.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

body.home header {
  z-index: 10;
}

.hero-content {
  text-align: center;
  color: #fff;
  z-index: 10;
  max-width: 800px;
  padding: 2rem;
}

.hero-subtitle {
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 500;
  opacity: 0.9;
}

.hero-content h2 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-description {
  font-size: 18px;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.btn {
  background-color: transparent;
  color: #fff;
  padding: 14px 40px;
  text-decoration: none;
  border: 2px solid #fff;
  border-radius: 4px;
  transition: 0.3s;
  display: inline-block;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 14px;
}

.btn:hover {
  background-color: #fff;
  color: #333;
}

/* === PAGE HERO (for other pages) === */
.page-hero {
  background-size: cover;
  background-position: center;
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.page-hero header {
  z-index: 10;
}

.page-hero-content {
  text-align: center;
  color: #fff;
  z-index: 10;
  margin-top: 100px;
}

.page-hero-content h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.page-hero-content p {
  font-size: 1.2rem;
  opacity: 0.95;
}

/* === PLACES SECTION (Side by side layout) === */
.places-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.place-item {
  display: flex;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: flex-start;
}

.place-image {
  flex: 0 0 400px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

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

.place-image h3 {
  padding: 1.5rem;
  font-size: 1.5rem;
  color: #333;
  text-align: center;
  background: white;
}

.place-description {
  flex: 1;
  padding: 1rem 0;
}

.place-description p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  text-align: justify;
}

/* === CONTENT GRID (for Food page) === */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 2rem;
}

.card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

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

.card h3 {
  padding: 1rem;
}

.card-content {
  padding: 1rem;
}

/* === FOOTER === */
footer {
  text-align: center;
  background: #f2f2f2;
  padding: 1rem;
  font-size: 0.9rem;
}

body.home footer {
  margin-top: 0;
}

/* === COLOR THEMES BY PAGE === */

/* Home (Blue) */
body.home .logo {
  background-color: transparent;
  color: #fff;
}

/* Nature (Green) */
body.nature nav a.active,
body.nature nav a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Adventure (Orange) */
body.adventure nav a.active,
body.adventure nav a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Shopping (Pink) */
body.shopping nav a.active,
body.shopping nav a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Food (Red) */
body.food nav a.active,
body.food nav a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* === GALLERY PAGE === */
body.gallery .logo {
  background-color: transparent;
  color: #fff;
}

body.gallery nav a {
  color: #fff;
}

body.gallery nav a.active,
body.gallery nav a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.gallery-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* === UPLOAD CONTAINER === */
.upload-container {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 3rem;
}

.upload-container h2 {
  color: #333;
  margin-bottom: 0.5rem;
}

.upload-area {
  border: 3px dashed #ddd;
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
  background: #f9f9f9;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.upload-area:hover {
  border-color: #007bff;
  background: #f0f8ff;
}

.upload-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.upload-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.upload-hint {
  color: #999;
  font-size: 0.9rem;
}

.image-preview {
  position: relative;
  margin: 1.5rem 0;
  border-radius: 12px;
  overflow: hidden;
}

.image-preview img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.remove-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #d62d20;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.remove-btn:hover {
  background: #a01f15;
}

.category-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.category-btn {
  flex: 1;
  min-width: 120px;
  cursor: pointer;
}

.category-btn input[type="radio"] {
  display: none;
}

.category-btn span {
  display: block;
  padding: 0.8rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  text-align: center;
  transition: 0.3s;
  background: white;
}

.category-btn input:checked + span {
  border-color: #007bff;
  background: #e7f3ff;
  color: #007bff;
  font-weight: 600;
}

.category-btn:hover span {
  border-color: #007bff;
}

/* === FILTER SECTION === */
.filter-section {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

.filter-section h2 {
  margin-bottom: 1.5rem;
  color: #333;
}

.filter-controls {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.filter-btn {
  padding: 0.7rem 1.5rem;
  border: 2px solid #ddd;
  background: white;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 500;
}

.filter-btn:hover {
  border-color: #007bff;
  color: #007bff;
}

.filter-btn.active {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

.search-box {
  margin-bottom: 1.5rem;
}

.search-box input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

.search-box input:focus {
  outline: none;
  border-color: #007bff;
}

.view-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.view-btn {
  padding: 0.5rem 1rem;
  border: 2px solid #ddd;
  background: white;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.view-btn:hover {
  border-color: #007bff;
}

.view-btn.active {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

/* === GALLERY GRID === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 2rem 1rem 1rem;
  color: white;
  transform: translateY(0);
  transition: 0.3s;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.gallery-overlay p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.category-tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.85rem;
}

/* === GALLERY LIST VIEW === */
.gallery-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.gallery-list .gallery-item {
  display: flex;
  flex-direction: row;
}

.gallery-list .gallery-item img {
  width: 300px;
  height: 200px;
  flex-shrink: 0;
}

.gallery-list .gallery-overlay {
  position: static;
  background: white;
  color: #333;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.gallery-list .gallery-overlay h3 {
  color: #333;
}

.gallery-list .gallery-overlay p {
  color: #666;
}

.gallery-list .category-tag {
  background: #e7f3ff;
  color: #007bff;
}

/* === LIGHTBOX === */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.close-lightbox {
  position: absolute;
  top: 2rem;
  right: 3rem;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  z-index: 2001;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  color: white;
  border: none;
  font-size: 3rem;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: 0.3s;
  z-index: 2001;
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.3);
}

.lightbox-nav.prev {
  left: 2rem;
}

.lightbox-nav.next {
  right: 2rem;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 8px;
}

.lightbox-info {
  background: white;
  padding: 1.5rem;
  margin-top: 1rem;
  border-radius: 8px;
  text-align: left;
}

.lightbox-info h3 {
  color: #333;
  margin-bottom: 0.5rem;
}

.lightbox-info p {
  color: #666;
  margin-bottom: 0.5rem;
}

.lightbox-info span {
  display: inline-block;
  background: #e7f3ff;
  color: #007bff;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.9rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .logo {
    font-size: 28px;
  }
  
  .place-item {
    flex-direction: column;
  }
  
  .place-image {
    flex: 1 1 100%;
  }
}
/* ===== CONTACT PAGE FORM CENTERING ===== */
.form-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 20px;
  background: #f5f7fa;
}

.form-container {
  background: #ffffff;
  max-width: 650px;
  width: 100%;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #ddd;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ===== PROFILE BOX ===== */
.profile-box {
  text-align: center;
  margin-bottom: 30px;
}



.profile-box h3 {
  margin: 5px 0;
  font-size: 20px;
  color: #333;
}

.profile-box p {
  font-size: 14px;
  color: #666;
}

/* ===== FORM ELEMENTS ===== */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0b7285;
}

/* ===== BUTTONS ===== */
.submit-btn {
  background: #0b7285;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
}

.reset-btn {
  background: #e0e0e0;
  color: #333;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  margin-left: 10px;
}

.submit-btn:hover {
  background: #095c6a;
}

.reset-btn:hover {
  background: #cfcfcf;
}

/* ===== ERROR & SUCCESS ===== */
.error-message {
  color: red;
  font-size: 12px;
}

.success-message {
  text-align: center;
  padding: 30px;
}
/* ===== CONTACT INFO BOTTOM ===== */
.contact-info-section {
  background: #f5f7fa;
  padding: 50px 20px;
  display: flex;
  justify-content: center;
}

.contact-info-box {
  max-width: 600px;
  width: 100%;
  text-align: center;
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  border: 1px solid #ddd;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.contact-info-box h3 {
  margin-bottom: 20px;
  font-size: 22px;
}

.contact-info-box p {
  margin-bottom: 15px;
  line-height: 1.6;
}
