@import url('https://fonts.googleapis.com/css2?family=Ms+Madi&display=swap');

@font-face {
  font-family: 'Antonio';
  src: url('/public/fonts/Antonio.woff2') format('woff2'),
       url('/public/fonts/Antonio.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Fustat';
  src: url('/public/fonts/Fustat.woff2') format('woff2'),
       url('/public/fonts/Fustat.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

.script-text {
  font-family: 'Ms Madi', cursive;
}

.fustat-text {
  font-family: 'Fustat', sans-serif;
}

/* Global Styles */
:root {
  --primary: #ffffff;
  --secondary: #f5f5f0;
  --accent: #4a6fa1;
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-muted: #888888;
  --footer-bg: #2c2617;
  --footer-text: #ffffff;
  --cta-bg: #DFDDD0;
  --cta-text: #000000;
  --border-radius: 8px;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Fustat', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--secondary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style-type: none;
}

img {
  max-width: 100%;
  height: auto;
}

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

.section {
  padding: 80px 0;
}
.section-title1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: left;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  margin-bottom: 50px;
  text-align: center;
  color: var(--text-muted);
}

.mobile-menu {
    display: none;
  }  

/* Header and Navigation */
.logo-img {
    height: 40px;
    display: block;
    object-fit: contain;
    margin-top: 5px;
  }
  
.header {
  background-color: var(--primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-family: 'Script', cursive;
  font-size: 28px;
  font-weight: bold;
}

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

.nav-item {
  margin-left: 30px;
  font-family: 'Fustat', sans-serif;
  font-weight: 500;
}

.nav-item:hover {
  color: var(--accent);
}

.btn {
  padding: 10px 20px;
  font-family: 'Fustat Light', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--cta-bg);
  color: var(--cta-text);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--text-dark);
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  padding: 0 20px;
}

.weather-widget {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0px;
    margin-bottom: 70px;
    font-size: 1.2rem;
    color: var(--text-light);
  }
  
  #weather-icon {
    width: 36px;
    height: 36px;
  }
  
.hero-title {
  font-size: 3.5rem;
  margin-bottom: 10px;
  font-weight: 300;
  font-family: 'Ms Madi', cursive;
  line-height: 100%;
}

.hero-subtitle {
  font-size: 2rem;
  margin-bottom: 40px;
  font-family: 'Antonio', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 100%;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Feature Section */
.features {
  background-color: var(--primary);
}

.feature-list {
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.feature-icon {
  margin-right: 20px;
  min-width: 24px;
}

.feature-content h3 {
  font-family: 'Fustat', sans-serif;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

/* Cards and Grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0px;
  margin-top: 40px;
}

.card {
  background-color: var(--primary);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

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

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

.card-content {
  padding: 20px;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

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

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.testimonial-card {
  background-color: var(--primary);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.testimonial-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 600;
}

/* Booking Form */
.booking-heading {
  font-family: 'Ms Madi', cursive;
  font-size: 2.5rem;
  color: white;
  text-align: center;
}

.booking-subtitle {
  font-size: 1rem;
  color: white;
  margin-bottom: 40px;
  text-align: center;
}

.booking-form {
  background-color: var(--primary);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.form-group {
  flex: 1 1 200px;
}

.form-label {
  font-family: 'Fustat Light', sans-serif;
  color: var(--text-dark);
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.form-submit {
  flex: 1 1 100%;
  text-align: right;
  color: var(--text-dark);
}

/* Room Section */
.room-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.room-card {
  position: relative;
  height: 300px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: var(--text-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.room-card:hover .room-img {
  transform: scale(1.05);
}

.room-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.room-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  color: var(--text-light);
  padding: 15px;
  transition: background-color 0.3s ease;
}

.room-card:hover .room-overlay {
  background-color: rgba(0, 0, 0, 0.5);
}

.room-title {
  font-family: 'Fustat Light', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  text-align: left;
  letter-spacing: 3px;
}

/* Activities Section */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.activity-card {
  position: relative;
  height: 300px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: var(--text-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.activity-card:hover .activity-img {
  transform: scale(1.05);
}

.activity-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.activity-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  color: var(--text-light);
  padding: 15px;
  transition: background-color 0.3s ease;
}

.activity-card:hover .activity-overlay {
  background-color: rgba(0, 0, 0, 0.5);
}

.activity-title {
  font-family: 'Fustat Light', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  text-align: left;
  letter-spacing: 3px;
}

/* Call to Action */
.cta {
  background-color: var(--accent);
  color: var(--text-light);
  text-align: center;
  padding: 60px 0;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  background-color: var(--primary);
  color: var(--text-dark);
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 30px;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
  }  

  
  .footer-contact {
    margin-bottom: 20px;
  }
  
  .footer-contact p {
    margin-bottom: 10px;
  }
  
  .footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
  
  .footer-links ul li {
    margin-bottom: 10px;
  }
  
  .footer-links ul li a:hover {
    color: var(--accent);
  }
  
  .footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .footer-bottom-links {
    display: flex;
    gap: 20px;
  }  

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .room-grid, .activities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
}

@media screen and (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 70%;
    height: calc(100vh - 60px);
    background-color: var(--primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-item {
    margin: 0 0 20px 0;
  }
  
  .mobile-menu {
    display: block;
    font-size: 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }  
  
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .room-grid, .activities-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  
}

/* Experience Section Styles */
.experience-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

.experience-content {
    flex: 1;
}

.experience-image {
    flex: 1;
}

@media screen and (max-width: 768px) {
    .experience-row {
        flex-direction: column;
    }
}

.learn-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--text-dark, #333333);
    border: none;
    font-weight: 600;
    text-align: center;
    margin-top: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.learn-button:hover {
    color: var(--text-dark, #333333);
    opacity: 0.7;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mt-40 {
  margin-top: 40px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 1s ease forwards;
}
