/* Base Styles and Variables */
:root {
  --background: #fdfbf7;
  --foreground: #392e1e;
  --card: #fdfbf7;
  --card-foreground: #392e1e;
  --popover: #fdfbf7;
  --popover-foreground: #392e1e;
  --primary: #c8a655;
  --primary-foreground: #fdfbf7;
  --secondary: #2f7bbf;
  --secondary-foreground: #fdfbf7;
  --muted: #e9e3d6;
  --muted-foreground: #736a59;
  --accent: #d32f2f;
  --accent-foreground: #fdfbf7;
  --destructive: #ff3333;
  --destructive-foreground: #fdfbf7;
  --border: #e1d7c2;
  --input: #e1d7c2;
  --ring: #c8a655;
  --radius: 0.5rem;
  --agra-gold: #c8a655;
  --agra-blue: #2f7bbf;
  --agra-marble: #f0ece0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--foreground);
  background-color: var(--background);
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Layout */
.container-custom {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container-custom {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-custom {
    padding: 0 2rem;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 2.5rem;
  }
}

.section-header p {
  max-width: 32rem;
  margin: 0 auto;
  color: #6b7280;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hidden {
  display: none !important;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--agra-gold);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: background-color 0.3s;
  font-weight: 500;
}

.btn-primary:hover {
  background-color: #b3923f;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: all 0.3s;
  font-weight: 500;
}

.btn-secondary:hover {
  border-color: var(--agra-gold);
  background-color: rgba(200, 166, 85, 0.2);
}

@media (min-width: 768px) {
  .btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
  }
}

.full-width {
  width: 100%;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--agra-marble);
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

@media (min-width: 768px) {
  .navbar-content {
    height: 80px;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 2rem;
  width: 2rem;
}

@media (min-width: 768px) {
  .logo img {
    height: 2.5rem;
    width: 2.5rem;
  }
}

.logo span {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--agra-gold);
}

@media (min-width: 768px) {
  .logo span {
    font-size: 1.25rem;
  }
}

.mobile-menu-button {
  display: flex;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-menu-button {
    display: none;
  }
}

.menu-icon, .close-icon {
  color: var(--agra-gold);
  width: 1.5rem;
  height: 1.5rem;
}

.desktop-nav {
  display: none;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
  
  .desktop-nav a:not(.btn-primary) {
    font-weight: 500;
    transition: color 0.3s;
  }
  
  .desktop-nav a:not(.btn-primary):hover {
    color: var(--agra-gold);
  }
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background-color: white;
  border-bottom: 1px solid var(--agra-marble);
}

.mobile-nav a {
  padding: 0.5rem 0;
  font-weight: 500;
}

.mobile-nav a:not(.btn-primary) {
  transition: color 0.3s;
}

.mobile-nav a:not(.btn-primary):hover {
  color: var(--agra-gold);
}

.mobile-nav .btn-primary {
  margin-top: 0.5rem;
  text-align: center;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 80vh;
  min-height: 500px;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-color: black;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.hero-image .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  color: white;
}

.hero-text {
  max-width: 32rem;
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text h1 {
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: white;
}

.hero-text h1 span {
  color: var(--agra-gold);
}

@media (min-width: 768px) {
  .hero-text h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-text h1 {
    font-size: 3.75rem;
  }
}

.hero-text p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
  .hero-text p {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* Places Section */
.places-section {
  padding: 4rem 0;
  background-color: rgba(240, 236, 224, 0.5);
}

/* Things Section */
.things-section {
  padding: 4rem 0;
  background-color: white;
}

/* Place Card & Activity Card */
.place-card {
  background-color: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
  border: 1px solid var(--agra-marble);
}

.place-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card-image {
  position: relative;
  height: 13rem;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.place-card:hover .card-image img {
  transform: scale(1.05);
}

.card-price {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background-color: var(--agra-gold);
  color: white;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
}

.card-duration {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

.card-content {
  padding: 1rem;
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 500;
}

.card-rating {
  display: flex;
}

.star {
  width: 1rem;
  height: 1rem;
}

.star-filled {
  color: #f59e0b;
}

.star-empty {
  color: #d1d5db;
}

.card-description {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-button {
  margin-top: 0.75rem;
  width: 100%;
  padding: 0.5rem;
  background-color: var(--agra-blue);
  color: white;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.875rem;
  transition: background-color 0.3s;
}

.card-button:hover {
  background-color: #2563eb;
}

/* Review Section */
.review-section {
  padding: 4rem 0;
  background: linear-gradient(to bottom, var(--agra-marble), white);
}

.reviews-container {
  position: relative;
}

/* Mobile Reviews Carousel */
.reviews-carousel {
  display: block;
}

@media (min-width: 768px) {
  .reviews-carousel {
    display: none;
  }
}

.carousel-content {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.carousel-button {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background-color: white;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.5rem;
}

.carousel-button svg {
  width: 1rem;
  height: 1rem;
}

/* Desktop Reviews Grid */
.reviews-grid {
  display: none;
  height: 28rem;
  overflow-y: auto;
}

@media (min-width: 768px) {
  .reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Review Card */
.review-card {
  background-color: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.5rem;
  height: 100%;
  transition: box-shadow 0.3s;
}

.review-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.reviewer-image {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  object-fit: cover;
}

.reviewer-info {
  margin-left: 1rem;
}

.reviewer-name {
  font-weight: 500;
}

.reviewer-country {
  font-size: 0.875rem;
  color: #6b7280;
}

.review-rating {
  display: flex;
  margin-bottom: 0.75rem;
}

.review-text {
  color: #6b7280;
  font-style: italic;
}

/* Contact Section */
.contact-section {
  padding: 4rem 0;
  background-color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 2fr;
  }
}

.contact-info {
  height: 100%;
}

.info-box {
  background-color: rgba(240, 236, 224, 0.5);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.info-box h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-item {
  display: flex;
}

.info-item svg {
  color: var(--agra-gold);
  margin-right: 0.75rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.label {
  font-weight: 500;
}

.contact-form {
  background-color: white;
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
  padding: 1.5rem;
}

.contact-form h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  margin-bottom: 1rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--agra-gold);
  box-shadow: 0 0 0 2px rgba(200, 166, 85, 0.25);
}

/* Footer */
.footer {
  background-color: #1f2937;
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 2.5rem;
  height: 2.5rem;
}

.footer-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--agra-gold);
}

.footer-company p {
  color: #9ca3af;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: #9ca3af;
  transition: color 0.3s;
  display: inline-flex;
}

.social-links a:hover {
  color: white;
}

.svg-icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.footer-links h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #9ca3af;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.footer-newsletter h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-newsletter p {
  color: #9ca3af;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
}

.newsletter-form input {
  flex: 1;
  padding: 0.5rem 1rem;
  border-top-left-radius: var(--radius);
  border-bottom-left-radius: var(--radius);
  border: none;
  font-family: inherit;
}

.newsletter-form button {
  background-color: var(--agra-gold);
  color: white;
  padding: 0.5rem 1rem;
  border-top-right-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  transition: background-color 0.3s;
}

.newsletter-form button:hover {
  background-color: #b3923f;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  color: #9ca3af;
  text-align: center;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom p {
    margin-bottom: 0;
  }
}

.footer-policies {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-policies a {
  color: #9ca3af;
  font-size: 0.875rem;
  transition: color 0.3s;
}

.footer-policies a:hover {
  color: white;
}

/* Modal */
.modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-content {
  background-color: white;
  border-radius: var(--radius);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  width: 100%;
  max-width: 28rem;
  max-height: 90vh;
  overflow-y: auto;
  animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.close-modal {
  font-size: 1.5rem;
  color: #6b7280;
  transition: color 0.3s;
}

.close-modal:hover {
  color: #111827;
}

.modal-form {
  padding: 1.5rem;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 100;
  background-color: #111827;
  color: white;
  border-radius: var(--radius);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  padding: 1rem;
  max-width: 24rem;
  animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(1rem);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.toast-content {
  display: flex;
  flex-direction: column;
}

.toast-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.toast-message {
  font-size: 0.875rem;
  color: #d1d5db;
}
