@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --primary-bg: #FDFAF5;
  --secondary-bg: #F2ECE4;
  --card-bg: rgba(255, 255, 255, 0.85);
  --accent-primary: #C49A6C;
  --accent-secondary: #8B9A8E;
  --text-primary: #2C2825;
  --text-secondary: #6B6258;
  --highlight: #E2C7A6;
  --shadow: 0 10px 30px rgba(196, 154, 108, 0.15);
  --radius-card: 18px;
  --radius-hero: 40px;
  --radius-btn: 14px;
  --transition: all 0.3s ease;
  --space-desktop: 100px;
  --space-tablet: 70px;
  --space-mobile: 50px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-primary);
  line-height: 1.6;
  background-image: linear-gradient(to bottom, var(--primary-bg), var(--secondary-bg));
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.2;
}

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

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

/* Layout Utilities */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.section-padding {
  padding: var(--space-desktop) 0;
}

.text-center { text-align: center; }
.text-amber { color: var(--accent-primary); }
.text-sage { color: var(--accent-secondary); }

/* Sidebar Navigation */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 90px;
  height: 100vh;
  background: rgba(253, 250, 245, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-right: 1px solid rgba(196, 154, 108, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;
  z-index: 1000;
}

.sidebar-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 60px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 30px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-secondary);
  transition: var(--transition);
  cursor: pointer;
}

.nav-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.nav-icon:hover {
  color: var(--accent-primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(196, 154, 108, 0.3);
  background: rgba(255, 255, 255, 0.5);
}

.nav-item.active .nav-icon {
  color: var(--accent-primary);
  box-shadow: 0 0 0 2px var(--highlight);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(226, 199, 166, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(226, 199, 166, 0); }
  100% { box-shadow: 0 0 0 0 rgba(226, 199, 166, 0); }
}

/* Tooltip for Sidebar */
.nav-item::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--card-bg);
  backdrop-filter: blur(5px);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-primary);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: var(--shadow);
  border: 1px solid rgba(196, 154, 108, 0.1);
}

.nav-item:hover::after {
  opacity: 1;
  left: 60px;
}

.mobile-nav-toggle {
  display: none;
}

/* Main Content Wrapper */
.main-wrapper {
  margin-left: 90px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--highlight));
  color: #fff;
  box-shadow: 0 4px 15px rgba(196, 154, 108, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(196, 154, 108, 0.5);
}

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

.btn-outline:hover {
  background: var(--accent-primary);
  color: #fff;
}

/* Hero Section */
.hero {
  height: 90vh;
  min-height: 600px;
  margin: 20px;
  border-radius: var(--radius-hero);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.5s ease-out;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(44, 40, 37, 0.4), rgba(196, 154, 108, 0.3));
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 40px;
  background: rgba(253, 250, 245, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
  font-size: 4rem;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero p {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 30px;
  text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
  padding: 40px;
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(196, 154, 108, 0.2);
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* Hotel Cards */
.hotel-card {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}

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

.hotel-card-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.hotel-card-content h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.hotel-card-content .location {
  color: var(--accent-secondary);
  font-size: 0.9rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.hotel-card-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Spa Amenities Section */
.spa-feature {
  text-align: center;
  padding: 40px 20px;
}

.spa-feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--secondary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
}

.spa-feature-icon svg {
  width: 40px;
  height: 40px;
}

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

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--accent-primary);
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-top: 20px;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 20px;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid rgba(196, 154, 108, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(196, 154, 108, 0.1);
}

textarea.form-control {
  height: 150px;
  resize: vertical;
}

.map-container {
  border-radius: var(--radius-card);
  overflow: hidden;
  height: 100%;
  min-height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Detail Pages Hero */
.detail-hero {
  height: 60vh;
  min-height: 400px;
  border-radius: 0 0 var(--radius-hero) var(--radius-hero);
  margin: 0;
}

.detail-content {
  margin-top: -80px;
  position: relative;
  z-index: 10;
}

.amenities-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.amenities-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
}

.amenities-list li svg {
  width: 20px;
  height: 20px;
  fill: var(--accent-secondary);
}

/* Footer */
.footer {
  background: rgba(242, 236, 228, 0.8);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(196, 154, 108, 0.2);
  padding: 60px 0 30px;
  text-align: center;
  margin-top: auto;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  color: var(--accent-primary);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  list-style: none;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.copyright {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Media Queries */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .section-padding { padding: var(--space-tablet) 0; }
  .hero h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    height: 70px;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 20px;
    border-right: none;
    border-bottom: 1px solid rgba(196, 154, 108, 0.2);
  }
  
  .sidebar-logo {
    writing-mode: horizontal-tb;
    transform: none;
    margin-bottom: 0;
    font-size: 20px;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--primary-bg);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transform: translateY(-150%);
    transition: var(--transition);
    z-index: 999;
  }
  
  .nav-links.show {
    transform: translateY(0);
  }
  
  .nav-item::after { display: none; }
  
  .nav-icon {
    width: 100%;
    border-radius: 8px;
    justify-content: flex-start;
    padding: 10px 20px;
    gap: 15px;
  }
  
  .nav-item::before {
    content: attr(data-tooltip);
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: var(--text-primary);
  }
  
  .mobile-nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
  }
  
  .mobile-nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
  }
  
  .main-wrapper {
    margin-left: 0;
    margin-top: 70px;
  }
  
  .grid-3, .grid-2, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .hero {
    margin: 10px;
    border-radius: 20px;
    min-height: 500px;
  }
  
  .hero h1 { font-size: 2.2rem; }
  .section-padding { padding: var(--space-mobile) 0; }
  
  .footer-links {
    flex-direction: column;
    gap: 15px;
  }
}