/* ==========================================
   index.css - UPDATED WITH 2-LINE HEADER
   ========================================== */

/* General reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #0a0a0a;
  color: #f0f0f0;
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header - 2-LINE VERSION ===== */
header {
  background: rgba(0, 0, 0, 0.95);
  color: #fff;
  padding: 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #333;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 80px;
}

header h1 {
  margin: 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 240px;
  line-height: 1.2;
}

.line1, .line2 {
  display: block;
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #fff, #ccc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.line1 {
  margin-bottom: 2px;
}

.line2 {
  font-size: 1.1rem;
}
/* About Me Button */
.about-btn {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    order: 3;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #444;
}

.about-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transform: translateY(-1px);
    border-color: #666;
}

.about-btn::before {
    content: "👤";
    font-size: 1rem;
}
/* Navigation - MOVED TO RIGHT */
nav {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 1;
  margin-left: auto; /* This pushes nav to the right */
}

/* Home Button */
.home-btn {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  order: 2; /* Home button comes after dropdown */
}

.home-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transform: translateY(-1px);
}

.home-btn::before {
  content: "🏠";
  font-size: 1rem;
}

/* Dropdown menu */
.dropdown {
  position: relative;
  display: inline-block;
  order: 1; /* Dropdown comes before home button */
}

.dropbtn {
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  border: 1px solid #444;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  padding: 9px 18px;
  border-radius: 10px;
  transition: all 0.3s ease;
  font-family: inherit;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.dropbtn::after {
  content: "▼";
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.dropdown.active .dropbtn::after {
  transform: rotate(180deg);
}

.dropbtn:hover {
  background: linear-gradient(135deg, #2a2a2a, #3a3a3a);
  border-color: #666;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  min-width: 260px;
  border-radius: 15px;
  overflow: hidden;
  z-index: 1001;
  border: 1px solid #444;
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  margin-top: 8px;
  padding: 12px;
}

.dropdown-content.show {
  display: block;
  animation: dropdownSlideIn 0.3s ease;
}

@keyframes dropdownSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Thematic Menu Grid */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  text-decoration: none;
  color: #fff;
  border-radius: 10px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid transparent;
}

.menu-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #555;
  transform: translateX(5px);
  text-decoration: none;
  color: #fff;
}

.menu-icon {
  font-size: 1.6rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.menu-item:hover .menu-icon {
  transform: scale(1.1);
}

/* Theme Colors */
.earth-theme .menu-icon {
  background: linear-gradient(135deg, #8B4513, #CD853F);
  box-shadow: 0 4px 15px rgba(139, 69, 19, 0.4);
}

.earth-theme:hover .menu-icon {
  box-shadow: 0 6px 20px rgba(139, 69, 19, 0.6);
}

.air-theme .menu-icon {
  background: linear-gradient(135deg, #87CEEB, #B0E0E6);
  box-shadow: 0 4px 15px rgba(135, 206, 235, 0.4);
}

.air-theme:hover .menu-icon {
  box-shadow: 0 6px 20px rgba(135, 206, 235, 0.6);
}

.water-theme .menu-icon {
  background: linear-gradient(135deg, #1E90FF, #00BFFF);
  box-shadow: 0 4px 15px rgba(30, 144, 255, 0.4);
}

.water-theme:hover .menu-icon {
  box-shadow: 0 6px 20px rgba(30, 144, 255, 0.6);
}

.landscape-theme .menu-icon {
  background: linear-gradient(135deg, #32CD32, #90EE90);
  box-shadow: 0 4px 15px rgba(50, 205, 50, 0.4);
}

.landscape-theme:hover .menu-icon {
  box-shadow: 0 6px 20px rgba(50, 205, 50, 0.6);
}

.menu-text {
  flex: 1;
}

.menu-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 3px;
  color: #fff;
}

.menu-subtitle {
  font-size: 0.8rem;
  color: #aaa;
  font-weight: 400;
}

.menu-arrow {
  color: #666;
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.menu-item:hover .menu-arrow {
  transform: translateX(3px);
  color: #fff;
}

/* ===== Main Content ===== */
main {
  margin-top: 95px;
  padding: 0;
}

/* ===== Hero Banner ===== */
.hero-banner {
  position: relative;
  width: 100%;
}

.banner-container {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  max-height: 800px;
  overflow: hidden;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7);
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  padding: 20px;
}

.banner-overlay h2 {
  font-size: 3.5rem;
  font-weight: 300;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-overlay p {
  font-size: 1.3rem;
  max-width: 600px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* ===== Top Rated Section ===== */
.top-rated {
  padding: 80px 0;
  background: linear-gradient(180deg, #111 0%, #0a0a0a 100%);
}

.top-rated h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 50px;
  color: #fff;
}

.photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  align-items: start;
}

.photo-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease;
}

.photo-link:hover {
  transform: translateY(-5px);
  text-decoration: none;
  color: inherit;
}

.photo-item {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  height: 100%;
  cursor: pointer;
  border: 1px solid #333;
}

.photo-link:hover .photo-item {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  background: #222;
  border-color: #444;
}

.image-container {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: #000;
}

.responsive-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.photo-link:hover .responsive-image {
  transform: scale(1.05);
}

.photo-overlay {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.8);
  padding: 8px 12px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid #333;
}

.rating-badge {
  color: #ffd700;
  font-weight: bold;
  font-size: 0.9rem;
}

.photo-info {
  padding: 25px;
}

.photo-info h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #fff;
  font-weight: 500;
}

.photo-info p {
  color: #ccc;
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.view-gallery {
  color: #4fc3f7;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.photo-link:hover .view-gallery {
  color: #29b6f6;
}

.no-photos {
  text-align: center;
  color: #888;
  font-size: 1.1rem;
  padding: 40px 0;
}

/* ===== Footer ===== */
footer {
  background: #000;
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid #333;
}

footer p {
  color: #888;
  font-size: 0.9rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 15px;
    padding: 12px 20px;
    min-height: auto;
  }

  .line1, .line2 {
    font-size: 1.1rem;
  }

  .line2 {
    font-size: 1rem;
  }

  header h1 {
    max-width: 200px;
  }

  nav {
    gap: 12px;
    margin-left: 0; /* Reset margin on mobile */
    justify-content: center; /* Center items on mobile */
    width: 100%;
  }

  main {
    margin-top: 120px;
  }

  .banner-container {
    height: 50vh;
    min-height: 400px;
  }

  .banner-overlay h2 {
    font-size: 2.5rem;
  }

  .banner-overlay p {
    font-size: 1.1rem;
  }

  .top-rated {
    padding: 50px 0;
  }

  .top-rated h2 {
    font-size: 2rem;
  }

  .photos-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .image-container {
    height: 250px;
  }

  .photo-info {
    padding: 20px;
  }

  .dropdown-content {
    min-width: 240px;
    right: -10px;
  }

  .dropbtn {
    font-size: 0.95rem;
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .header-container {
    padding: 10px 15px;
  }

  .line1, .line2 {
    font-size: 1rem;
  }

  .line2 {
    font-size: 0.95rem;
  }

  header h1 {
    max-width: 180px;
  }

  .banner-container {
    height: 40vh;
    min-height: 300px;
  }

  .banner-overlay h2 {
    font-size: 2rem;
  }

  .banner-overlay p {
    font-size: 1rem;
  }

  .photos-grid {
    grid-template-columns: 1fr;
  }

  .photo-info {
    padding: 15px;
  }

  .dropdown-content {
    min-width: 220px;
    right: -15px;
  }

  .menu-item {
    padding: 10px;
    gap: 10px;
  }

  .menu-icon {
    font-size: 1.4rem;
    width: 32px;
    height: 32px;
  }

  .menu-title {
    font-size: 0.95rem;
  }

  .menu-subtitle {
    font-size: 0.75rem;
  }

  .home-btn {
    font-size: 0.9rem;
    padding: 6px 12px;
  }

  main {
    margin-top: 130px;
  }
}

/* Print styles */
@media print {
  header {
    display: none !important;
  }

  main {
    margin-top: 0 !important;
  }

  .photo-link {
    break-inside: avoid;
  }

  .photo-item {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
}
