:root {
  --primary-color: #d4af37; /* Gold */
  --secondary-color: #f8f5f0; /* Cream/Ivory */
  --text-dark: #2c3e50; /* Charcoal */
  --text-muted: #7f8c8d;
  --bg-gradient: linear-gradient(135deg, #fdfbf7 0%, #f4eee6 100%);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Playfair Display', serif;
}

body {
  background: var(--bg-gradient);
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}

p, input, button, a {
  font-family: 'Lato', sans-serif;
}

/* Header */
.header {
  padding: 30px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  letter-spacing: 2px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

.header-nav {
  display: flex;
  align-items: center;
}

.header-nav a {
  color: var(--text-dark);
  text-decoration: none;
  margin-left: 30px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.header-nav a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 150px 20px 100px;
  position: relative;
}

.hero-content {
  max-width: 800px;
  z-index: 10;
}

.hero-subtitle {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-family: 'Lato', sans-serif;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.2;
  margin-bottom: 30px;
  color: var(--text-dark);
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 50px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Search Box */
.search-container {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 10px;
  display: flex;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-container:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.15);
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  flex: 1;
  width: 100%;
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 15px 25px 15px 15px;
  font-size: 1rem;
  color: var(--text-dark);
  outline: none;
}

.search-input::placeholder {
  color: #a0aab2;
}

.search-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 40px;
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-btn:hover {
  background: #b8962c;
}

/* Background Decoration */
.bg-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 1;
  opacity: 0.5;
}

.bg-circle-1 {
  width: 400px;
  height: 400px;
  max-width: 100vw;
  background: rgba(212, 175, 55, 0.2);
  top: -100px;
  left: -100px;
}

.bg-circle-2 {
  width: 500px;
  height: 500px;
  max-width: 100vw;
  background: rgba(230, 220, 200, 0.4);
  bottom: -150px;
  right: -100px;
}

/* Features */
.features {
  padding: 80px 20px;
  background: white;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 50px;
}

.feature-card {
  padding: 40px 30px;
  background: var(--secondary-color);
  border-radius: 20px;
  transition: transform 0.3s ease;
}

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

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.feature-desc {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Footer */
.footer {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
  font-size: 0.9rem;
  background: var(--secondary-color);
}

/* Error/Loading message */
#search-message {
  margin-top: 20px;
  font-size: 0.95rem;
  min-height: 24px;
  font-family: 'Lato', sans-serif;
}

.error-text {
  color: #e74c3c;
}

.loading-text {
  color: var(--text-muted);
}

/* Responsive */

/* Modal Styles */






/* Modal Styles */






/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  backdrop-filter: blur(5px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
  overflow-y: auto;
  padding: 40px 15px;
}
.modal-content {
  position: relative;
  background: white;
  padding: 40px;
  border-radius: 20px;
  width: 100%;
  max-width: 400px;
  box-sizing: border-box !important;
  margin: auto;
}
.modal-content * {
  box-sizing: border-box !important;
}
.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.3s;
  z-index: 10;
}
.close-modal:hover {
  color: var(--text-dark);
}

/* Dropdown */
.dropdown-content { display: none; position: absolute; background-color: var(--glass-bg); backdrop-filter: blur(10px); min-width: 220px; box-shadow: var(--glass-shadow); padding: 10px 0; z-index: 1; border-radius: 12px; border: 1px solid var(--glass-border); top: 30px; left: 0; }
.dropdown-content a { color: var(--text-dark); padding: 12px 20px; text-decoration: none; display: flex; align-items: center; margin-left: 0 !important; font-size: 0.9rem; text-transform: none; letter-spacing: 0; transition: background 0.3s; }
.dropdown-content a i { width: 20px; margin-right: 10px; color: var(--primary-color); }
.dropdown-content a:hover { background-color: rgba(212, 175, 55, 0.1); color: var(--text-dark); }
.dropdown.show .dropdown-content { display: block; animation: fadeIn 0.2s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) {
  .hero {
    padding: 120px 15px 60px;
  }
  .hero-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }
  .hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 2px;
  }
  .hero-desc {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .header {
    padding: 15px 20px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    box-shadow: var(--glass-shadow);
  }
  .mobile-menu-btn {
    display: block;
  }
  .header-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-top: 15px;
    gap: 10px;
  }
  .header-nav.show {
    display: flex;
  }
  .header-nav a {
    margin: 0;
    width: 100%;
    text-align: left;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 1rem;
  }
  .search-container {
    flex-direction: column;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
  }
  .search-input {
    width: 100%;
    text-align: center;
    padding: 10px;
    margin-bottom: 10px;
  }
  .search-btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
  }
  .dropdown-content {
    left: 0;
    transform: none;
    top: 35px;
    width: 200px;
    min-width: 0;
  }
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  
  .modal-overlay {
    padding: 20px 10px !important;
  }
  .modal-content {
    padding: 25px !important;
  }
}
