/* RESET */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* BASE */
body {
  margin: 0;
  font-family: 'Lato', Arial, sans-serif; 
  background-color: #e6f0ff; 
  color: #333;
  line-height: 1.7;
  overflow-x: hidden; 
  /* Noise Texture */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
}

.container {
  width: 90%;
  max-width: 1150px;
  margin: auto;
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes animateWave {
    0% { transform: translateX(0); }
    50% { transform: translateX(-5%); } 
    100% { transform: translateX(0); }
}

@keyframes kenBurnsZoom {
    0% { transform: scale(1.1) translate(0, 0); background-position: center center; }
    100% { transform: scale(1.15) translate(2%, 2%); background-position: center center; }
}

/* HEADER & NAVIGATION */
.header {
  position: sticky; 
  top: 0;
  z-index: 1000;
  background-color: rgba(47, 79, 79, 0.95); 
  backdrop-filter: blur(10px); 
  color: white;
  padding: 18px 0;
  font-family: 'Gilda Display', serif; 
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

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

.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo {
  height: 48px;
  width: auto;
}

.header h1 {
  margin: 0;
  font-size: 1.8em;
}

nav a {
  font-family: 'Lato', Arial, sans-serif;
  color: white;
  text-decoration: none;
  margin-left: 18px;
  padding: 8px 10px;
  margin: 10px;
  transition: opacity 0.3s;
}

nav a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, .hero-text h2 {
    font-family: 'Gilda Display', serif;
    font-weight: 400;
}

/* BUTTONS */
.btn {
  background-color: #6b8e23;
  color: white;
  padding: 10px 18px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  transform: translateY(0);
}

.btn:hover {
  background-color: #5e7d1e;
  transform: translateY(-3px); 
  box-shadow: 0 6px 15px rgba(107, 142, 35, 0.4); 
}

.btn.large {
  font-size: 1.1em;
  padding: 12px 24px;
}

.btn.outline {
  background: transparent;
  border: 2px solid white;
  margin-left: 10px;
}

.btn.outline:hover {
    background-color: white;
    color: #2f4f4f;
}

/* HERO (Index Page) */
.hero {
  position: relative;
  overflow: hidden; 
  color: white;
  padding: 110px 20px;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 2.5s ease-in-out;
  transform: scale(1);
}

.hero-bg-1 { opacity: 1; }
.hero-bg-2 { opacity: 0; }

.hero-bg.zoom {
  transform: scale(1.06);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 105%; 
  height: 90px;
  fill: #e6f0ff; 
  z-index: 2;
  animation: animateWave 12s ease-in-out infinite alternate; 
}

/* SECTIONS & LAYOUTS */
.section { padding: 60px 0; }

.two-column {
  display: flex;
  gap: 40px;
}

.highlight-box, .room-card, .location-item {
  background: white;
  padding: 30px;
  border-left: 5px solid #6b8e23;
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.highlight-box:hover, .room-card:hover, .location-item:hover {
  transform: translateY(-5px); 
  box-shadow: 0 12px 24px rgba(0,0,0,0.15); 
}

/* LOCATION SECTION */
.location-section {
  background: white;
  padding: 60px 0;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

/* ROOMS.HTML SPECIFIC STYLES */
.page-header {
  background-color: #2f4f4f;
  color: white;
  padding: 60px 20px 40px;
  text-align: center;
}

.page-header h1 {
  margin: 0 0 10px;
  font-size: 2.2em;
}

.breadcrumb a {
  color: #6b8e23;
  text-decoration: none;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
  margin: 40px 0;
}

.room-card {
  padding: 0; 
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  border-left: none;
}

.room-image {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.price-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #6b8e23;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 1.1em;
}

.room-content { 
  padding: 30px 30px 30px 50px; 
}

.room-content h3 { 
  margin: 0 0 16px; 
  color: #2f4f4f; 
  font-size: 1.5em; 
}

.amenities {
  list-style: none;
  padding: 0;
  margin: 18px 0;
}

.amenities li {
  padding: 6px 0;
  color: #333;
}

.amenities li::before {
  content: "✓ ";
  color: #6b8e23;
  font-weight: bold;
  margin-right: 8px;
}

.info-box {
  background: #f0f7e8;
  border-left: 4px solid #6b8e23;
  padding: 20px;
  margin: 40px 0;
}

.info-box h4 {
  margin-top: 0;
  color: #2f4f4f;
}

.room-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, margin-bottom 0.4s ease-out;
  margin-bottom: 0;
}

.room-details.show {
  max-height: 500px;
  margin-bottom: 18px;
  transition: max-height 0.6s ease-in, margin-bottom 0.4s ease-in;
}

.read-more-btn {
  background: none;
  border: none;
  color: #6b8e23;
  padding: 0;
  cursor: pointer;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 15px;
  display: block; 
  text-align: left;
}

/* DYNAMIC GALLERY HERO STYLES */
.gallery-hero-container {
    padding: 25px 0 60px;
    background-color: #f5f5f5;
}

.gallery-grid-hero {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 15px;
    margin: 0 auto;
}

.gallery-item-hero {
    height: 250px; 
    width: 100%;
    position: relative; 
    overflow: hidden; 
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center;
    background-color: white; 
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: opacity 3.0s ease-in-out; 
    animation: kenBurnsZoom 15s ease-in-out infinite alternate;
}

/* CONFERENCE STYLES */
.conf-hero {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    margin-bottom: 60px;
}

.conf-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out; 
}

.conf-slide.active {
    opacity: 1;
}

.conf-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 30px;
    text-align: center;
    z-index: 5;
}

.conf-overlay h3 {
    margin: 0;
    font-size: 1.8em;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 40px 0 60px;
}

.amenities-grid li {
  background: white;
  padding: 20px;
  border-left: 5px solid #6b8e23;
  border-radius: 4px;
  font-weight: 500;
  color: #2f4f4f;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.amenities-grid li strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.dining-section {
    background-color: white;
    padding: 60px 0;
    margin-bottom: 60px;
}

.dining-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.dining-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.dining-photo {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.pricing-table th, .pricing-table td {
  border: 1px solid #ddd;
  padding: 15px;
  text-align: left;
}

.pricing-table th {
  background-color: #2f4f4f;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.pricing-table .price {
    font-weight: bold;
    color: #6b8e23;
}

/* BOOKING.HTML STYLES */
.form-section-title { 
    color: #2f4f4f; 
    margin-top: 25px; 
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}
.required { color: #d9534f; }

.conference-promo {
    background-color: white;
    padding: 30px;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    display: flex;
    gap: 30px;
    align-items: center;
}
.conference-promo-image {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    height: 250px;
    /* FIXED PATH */
    background-image: url('images/conference1.jpeg');
    background-size: cover;
    background-position: center;
    border-radius: 4px;
}
.conference-promo-text { flex: 2; }

.booking-layout { 
    display: grid; 
    grid-template-columns: 1fr 380px; 
    gap: 40px; 
    margin: 0 0 40px 0; 
}
.booking-form-container { 
    background: white; 
    padding: 35px; 
    border-radius: 8px; 
    box-shadow: 0 2px 12px rgba(0,0,0,0.1); 
}
.form-row { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
    margin-bottom: 20px; 
}
.form-group { margin-bottom: 20px; }
.form-group label { 
    display: block; 
    margin-bottom: 6px; 
    color: #2f4f4f; 
    font-weight: 500; 
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%; 
  padding: 12px; 
  border: 2px solid #ddd; 
  border-radius: 4px; 
  font-size: 1em; 
  font-family: inherit; 
  transition: border-color 0.3s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus { 
    outline: none; 
    border-color: #6b8e23; 
}

.room-selection-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); 
    gap: 20px; 
    padding: 15px; 
    background: #f9f9f9; 
    border-radius: 4px; 
    margin-bottom: 20px;
}
.room-input-group { text-align: center; }
.room-input-group label { 
    font-weight: 700; 
    margin-bottom: 4px; 
    font-size: 0.95em; 
    display: block; 
}
.room-input-group input[type="number"] { 
    padding: 12px; 
    text-align: center; 
    width: 100%; 
}

#totalGuestsInput {
    background-color: #f0f7e8; 
    font-weight: bold; 
    color: #2f4f4f; 
    border-color: #6b8e23; 
    cursor: default;
    transition: background-color 0.3s ease;
}

.calculated-guests { background-color: #d4edda !important; }

.sidebar-info { 
    padding: 30px; 
    border-radius: 8px; 
    height: fit-content; 
    margin-bottom: 20px;
}

.sidebar-info.primary {
    background: #f0f7e8; 
    border-left: 4px solid #6b8e23;
}

.sidebar-info.secondary {
    background: white; 
    border: 1px solid #ddd;
    border-left: 4px solid #2f4f4f;
}

/* MEDIA QUERIES */
@media (max-width: 900px) {
    .two-column, .location-grid { flex-direction: column; }
    .header-flex { flex-direction: column; text-align: center; }
    .booking-layout, .form-row { grid-template-columns: 1fr; } 
    .dining-grid { grid-template-columns: 1fr; }
    .hero h2 { font-size: 1.8em; }
    .map-container { height: 300px; }
    .pricing-table { display: block; overflow-x: auto; white-space: nowrap; }
    .pricing-table thead, .pricing-table tbody, .pricing-table th, .pricing-table td, .pricing-table tr { display: block; }
    .gallery-grid-hero { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .header h1 { font-size: 1.4em; }
    nav a { display: inline-block; margin: 8px 10px; }
    .site-logo { height: 38px; }
    .site-branding h1 { font-size: 1.3em; }
    .hero { padding: 80px 15px; }
    .hero h2 { font-size: 1.6em; }
    .hero-actions { display: flex; flex-direction: column; gap: 12px; }
    .btn.outline { margin-left: 0; }
    .room-grid { grid-template-columns: 1fr; }
    .conference-promo { flex-direction: column; }
    .conference-promo-image { width: 100%; max-width: 100%; }
    .gallery-grid-hero { grid-template-columns: 1fr; }
    .gallery-item-hero { height: 200px; }
    .dining-gallery { grid-template-columns: 1fr; }
    .conf-hero { height: 250px; }
}

@media (max-width: 768px) {
    .gallery-item-hero, .hero-bg, .conf-slide {
        animation: none !important;
        transform: none !important;
    }
    .hero-wave {
        animation: none !important;
    }
}

.section h2 {
    position: relative;
    padding-bottom: 25px;
}

.section h2::after {
    content: "❦"; 
    position: absolute;
    bottom: 0;
    left: 0;
    font-family: 'Gilda Display', serif; 
    font-size: 1.2em;
    color: #6b8e23; 
    opacity: 0.7;
}

.hero-text h2::after, .location-section h2::after, .contact-strip h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.highlight-box, .room-card, .location-item, .info-box {
    box-shadow: 0 15px 45px -5px rgba(47, 79, 79, 0.25); 
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.highlight-box:hover, .room-card:hover, .location-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 55px -10px rgba(47, 79, 79, 0.35);
}

.room-image, .dining-photo, .gallery-item-hero {
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3); 
}

@media (min-width: 900px) {
    .room-card:hover .room-image {
        background-size: 110%; 
        transition: background-size 3s ease;
    }
}

.install-app-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #2f4f4f; 
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 1000; 
    transition: transform 0.2s;
}

.install-app-btn:hover {
    transform: scale(1.05);
    background-color: #3d6666;
}