/* Shangri-La Inspired Styles for Southdrive Beach Resort */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Global Styles */
:root {
  --primary-color: #9a7b4f; /* Gold/bronze accent color */
  --secondary-color: #213140; /* Deep blue */
  --accent-color: #c9a97a; /* Light gold */
  --dark-color: #192430; /* Dark blue */
  --light-color: #f9f9f9; /* Off-white */
  --text-color: #333333; /* Dark text */
  --light-text: #ffffff; /* White text */
  --transition: all 0.3s ease;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  --container-width: 1400px;
  --border-radius: 0px; /* Shangri-La uses more squared corners */
}

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

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--light-color);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 1px;
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 13px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::after {
  height: 100%;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--light-text);
}

.btn-outline:hover {
  background-color: var(--light-text);
  color: var(--dark-color);
}

section {
  padding: 80px 0;
}

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

h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--secondary-color);
}

h2:after {
  content: '';
  display: block;
  height: 2px;
  width: 60px;
  background-color: var(--primary-color);
  margin: 20px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2:after {
  margin: 20px auto;
}

p.subtitle {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 40px;
  font-weight: 300;
}

/* Utility Bar */
/* Utility bar removed as requested */
.utility-bar,
.utility-bar-wrapper,
.utility-nav,
.shangri-la-circle,
.dropdown-menu,
.dropdown-icon,
.mega-menu-content,
.has-dropdown .fas {
  display: none !important;
}

.separator {
  display: none;
}

/* Disable dropdown functionality */
.has-dropdown {
  position: relative;
  cursor: default;
}

.has-dropdown:hover .dropdown-menu {
  display: none !important;
}

/* Header Styles */
header {
  background-color: rgba(255, 255, 255, 0.95);
  position: fixed;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 10px 0;
  top: 0; /* Adjusted since utility bar is removed */
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary-color);
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  gap: 30px;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: var(--secondary-color);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 0;
  display: inline-flex;
  align-items: center;
}

nav ul li a:hover {
  color: var(--primary-color);
}

nav ul li a .dropdown-icon {
  margin-left: 5px;
  font-size: 10px;
  transition: transform 0.3s ease;
}

nav ul li.active a .dropdown-icon {
  transform: rotate(180deg);
}

/* Dropdown Styles */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  padding: 10px 0;
  margin-top: 10px;
}

nav ul li:hover .dropdown-menu,
.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  display: block;
  margin: 0;
  padding: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 8px 20px;
  color: var(--text-color);
  font-size: 13px;
  text-transform: capitalize;
  border-left: 3px solid transparent;
}

.dropdown-menu li a:hover {
  background-color: rgba(0,0,0,0.03);
  color: var(--primary-color);
  border-left: 3px solid var(--primary-color);
}

/* Utility Dropdown Styles */
.utility-dropdown {
  position: relative;
}

.utility-dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
}

.utility-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  padding: 10px 0;
  margin-top: 10px;
}

.utility-dropdown:hover .utility-dropdown-menu,
.utility-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.utility-dropdown-menu li {
  display: block;
  padding: 8px 20px;
  color: var(--text-color);
  cursor: pointer;
}

.utility-dropdown-menu li:hover {
  background-color: rgba(0,0,0,0.03);
  color: var(--primary-color);
}

.book-now .btn {
  background-color: var(--primary-color);
}

/* Hero Section */
.hero {
  height: 90vh;
  background: linear-gradient(rgba(21, 31, 40, 0.4), rgba(21, 31, 40, 0.4)), url('../images/img8.jpg');
  background-size: cover;
  background-position: center;
  color: var(--light-text);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 900px;
  padding: 0 24px;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 24px;
  letter-spacing: 2px;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 40px;
  font-weight: 300;
  letter-spacing: 3px;
}

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

.scroll-down {
  position: absolute;
  bottom: 40px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

/* Welcome Section */
.welcome {
  background-color: #fff;
}

.welcome-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin: 60px 0;
}

.welcome-text p {
  margin-bottom: 24px;
  font-weight: 300;
  font-size: 1rem;
  color: #555;
}

.welcome-images .image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}

.welcome-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.welcome-images img:first-child {
  grid-column: 1 / 3;
  grid-row: 1;
  height: 300px;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-top: 60px;
}

.stat-item {
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Amenities Preview */
.amenities-preview {
  background-color: #f5f5f5;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.amenity-card {
  background-color: #fff;
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

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

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

.amenity-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--secondary-color);
}

.view-more {
  text-align: center;
  margin-top: 40px;
}

/* Rooms Preview */
.rooms-preview {
  background-color: #fff;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.room-card {
  background-color: #fff;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.room-image {
  position: relative;
}

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

.room-price {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--primary-color);
  color: var(--light-text);
  padding: 10px 15px;
  font-weight: 600;
}

.room-details {
  padding: 30px;
}

.room-details h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.room-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.room-features span {
  background-color: #f5f5f5;
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 0;
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: var(--light-text);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.footer-brand p {
  opacity: 0.8;
  margin-bottom: 20px;
  font-weight: 300;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
}

.footer-links h4,
.footer-contact h4,
.footer-newsletter h4 {
  font-size: 1.2rem;
  margin-bottom: 24px;
  font-weight: 600;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a,
.footer-contact ul li a {
  opacity: 0.8;
  transition: var(--transition);
  font-weight: 300;
}

.footer-links ul li a:hover,
.footer-contact ul li a:hover {
  opacity: 1;
  color: var(--primary-color);
}

.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.footer-contact ul li i {
  margin-top: 5px;
}

.footer-newsletter p {
  opacity: 0.8;
  margin-bottom: 20px;
  font-weight: 300;
}

.newsletter-form {
  position: relative;
}

.newsletter-form input {
  width: 100%;
  padding: 14px;
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--light-text);
}

.newsletter-form button {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  padding: 0 20px;
  background-color: var(--primary-color);
  border: none;
  color: var(--light-text);
  cursor: pointer;
}

.copyright {
  margin-top: 60px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--secondary-color);
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Sticky header */
header.sticky {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  top: 0;
  animation: slideDown 0.35s ease-out;
}

.utility-bar.hidden {
  transform: translateY(-100%);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Guest Reviews Section Styles */
.guest-reviews {
  background-color: #f9f9f9;
  padding: 80px 0;
}

.reviews-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.review-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.reviewer-info {
  display: flex;
  align-items: center;
}

.reviewer-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  border: 2px solid var(--primary-color);
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviewer-avatar i {
  font-size: 22px;
}

.reviewer-info h4 {
  font-size: 16px;
  margin: 0 0 5px 0;
  font-weight: 600;
}

.reviewer-info p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.review-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.review-rating .score {
  color: white;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 18px;
}

/* Booking.com style rating colors */
.review-rating .score {
  background-color: #0071c2; /* Booking.com blue */
}

/* Green for exceptional/very good ratings */
.review-card:nth-child(1) .review-rating .score,
.review-card:nth-child(3) .review-rating .score {
  background-color: #008009;
}

/* Medium shade for good ratings */
.review-card:nth-child(2) .review-rating .score {
  background-color: #0071c2;
}

.rating-text {
  font-size: 14px;
  font-weight: 500;
  margin-top: 5px;
}

/* Match text color to the score background */
.review-card:nth-child(1) .rating-text,
.review-card:nth-child(3) .rating-text {
  color: #008009;
}

.review-card:nth-child(2) .rating-text {
  color: #0071c2;
}

.review-content p {
  font-style: italic;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
}

.review-date {
  font-size: 13px;
  color: #888;
  text-align: right;
}

.booking-link {
  text-align: center;
  margin-top: 40px;
}

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

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

.btn-secondary i {
  margin-right: 8px;
}

@media (max-width: 992px) {
  .utility-bar {
    display: none;
  }
  
  header {
    top: 0;
    padding: 15px 0;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--light-color);
    padding: 80px 20px 40px;
    transition: all 0.4s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    z-index: 1000;
  }
  
  nav.show {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    gap: 10px;
  }
  
  nav ul li a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .dropdown-menu {
    position: static;
    min-width: auto;
    box-shadow: none;
    opacity: 1;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
    transition: all 0.3s ease;
  }
  
  nav ul li.active .dropdown-menu {
    visibility: visible;
    height: auto;
    padding: 10px 0;
    margin-left: 15px;
  }
  
  .dropdown-menu li a {
    padding: 8px 0;
  }
  
  /* Move book now button in mobile */
  .book-now {
    margin-left: auto;
    margin-right: 15px;
  }
}

@media (max-width: 768px) {
  .welcome-content,
  .amenities-grid,
  .rooms-grid {
    grid-template-columns: 1fr;
  }
  
  .welcome-content {
    gap: 40px;
  }
  
  .stats {
    flex-direction: column;
    gap: 30px;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .book-now .btn {
    padding: 8px 16px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  nav ul {
    gap: 15px;
  }
}
