/* Oikia 4 Luxury Styles */
/* Color Scheme: Teal #006d77 + Gold #C8B59B + Dark #1A293E */

:root {
  --primary: #006d77;
  --primary-light: #83c5be;
  --gold: #C8B59B;
  --dark: #1A293E;
  --text: #2c3e50;
  --text-light: #6c757d;
  --background: #F8F8F8;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 100%;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5 {
  font-family: 'Quattrocento', serif;
}

/* Full Width */
.container, .container-fluid {
  max-width: 100% !important;
  width: 100% !important;
}

section {
  width: 100%;
  max-width: 100%;
}

/* Loading Screen */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--gold);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Progress Bar */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gold);
  width: 0;
  z-index: 1001;
  transition: width 0.1s;
}

/* Navbar */
.navbar .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar .navbar-nav {
  gap: 2rem;
}

.navbar {
  background: var(--white);
  padding: 1rem 2rem;
  transition: all 0.3s ease;
  border-bottom: 3px solid var(--gold);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar.scrolled {
  padding: 0.5rem 2rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
  text-decoration: none;
}

.brand-text {
  font-family: 'Quattrocento', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

.navbar-menu {
  display: flex;
  align-items: center;
}

.navbar-nav {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--primary);
}

.navbar-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 10px 20px !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.navbar-cta:hover {
  background: var(--gold) !important;
  color: var(--dark) !important;
}

/* Hamburger Menu */
.navbar-toggler {
  display: none;
  background: none;
  border: 2px solid var(--gold);
  padding: 8px 12px;
  cursor: pointer;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--primary);
  margin: 5px 0;
  transition: all 0.3s;
}

.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 998;
}

.menu-overlay.active {
  display: block;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

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

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(26, 41, 62, 0.2), rgba(0, 109, 119, 0.2));
  z-index: 1;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 1px solid var(--gold);
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  padding: 0 2rem;
  max-width: 900px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
  font-family: 'Quattrocento', serif;
}

.hero-description {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  padding: 15px 35px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  font-family: 'Montserrat', sans-serif;
}

.btn-primary {
  background: var(--gold);
  color: var(--dark);
}

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

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gold);
}

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

.btn-lg {
  padding: 18px 45px;
  font-size: 1.1rem;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-down {
  color: var(--gold);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-arrow {
  width: 30px;
  height: 50px;
  border: 2px solid var(--gold);
  border-radius: 15px;
  position: relative;
}

.scroll-arrow::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(15px); opacity: 0.3; }
}

/* Sections */
.section {
  padding: 80px 2rem;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gold);
}

.section-title .lead {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 1.5rem auto 0;
}

/* Welcome Section */
#welcome {
  background: var(--white);
}

#welcome h2 {
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

#welcome .lead {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text);
  max-width: 900px;
  margin: 0 auto;
}

/* About Section */
.about-section {
  background: var(--background);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  right: 15px;
  bottom: 15px;
  border: 2px solid var(--gold);
  z-index: -1;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: var(--white);
  padding: 20px 30px;
  text-align: center;
}

.experience-badge h3 {
  font-size: 2.5rem;
  color: var(--gold);
  margin: 0;
}

.experience-badge p {
  margin: 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content h2 {
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.about-content .lead {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.about-content p {
  color: var(--text);
  margin-bottom: 1.5rem;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-item i {
  color: var(--gold);
  font-size: 1.2rem;
}

.feature-item span {
  font-weight: 500;
}

/* Direct Booking Section */
.direct-booking-section {
  background: var(--dark);
  color: var(--white);
  position: relative;
}

.direct-booking-section::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 1px solid var(--gold);
  pointer-events: none;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.booking-content h2 {
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 2rem;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.benefit-item i {
  color: var(--gold);
  font-size: 1.3rem;
}

/* Rooms Section */
.rooms-section {
  background: var(--white);
}

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

.room-card {
  position: relative;
  overflow: hidden;
}

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

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

.room-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(26, 41, 62, 0.9));
  color: var(--white);
}

.room-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--gold);
}

.room-card p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin: 0;
}

/* Gallery Section */
.gallery-section {
  background: var(--background);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

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

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 109, 119, 0);
  transition: background 0.3s ease;
  z-index: 1;
}

.gallery-item:hover::before {
  background: rgba(0, 109, 119, 0.3);
}

/* Location Section */
.location-section {
  background: var(--white);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.location-image img {
  width: 100%;
  height: auto;
  display: block;
}

.location-content h2 {
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.location-content p {
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(rgba(26, 41, 62, 0.9), rgba(0, 109, 119, 0.9)), url('../images/exterior/exterior-aerial.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  text-align: center;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 1px solid var(--gold);
  pointer-events: none;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section .lead {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 2rem 40px;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border: 1px solid var(--gold);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-title {
  font-family: 'Quattrocento', serif;
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-subtitle {
  font-family: 'Quattrocento', serif;
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-desc {
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.8rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--gold);
  width: 18px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all 0.3s;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-bottom: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  text-decoration: none;
  transition: all 0.3s;
}

.social-link:hover {
  background: var(--gold);
  color: var(--dark);
}

.footer-bottom {
  border-top: 1px solid rgba(200, 181, 155, 0.3);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.designer-signature {
  font-family: 'Great Vibes', cursive;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.footer-logo {
  height: 40px;
  margin-top: 0.5rem;
}

.copyright {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gold);
  color: var(--dark);
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s;
  z-index: 99;
}

.back-to-top:hover {
  background: var(--primary);
  color: var(--white);
}

.back-to-top.visible {
  display: flex;
}

/* Responsive */
@media (max-width: 991px) {
  .navbar-toggler {
    display: block;
  }

  .navbar-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 80px 2rem 2rem;
    transition: right 0.3s ease;
    z-index: 999;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
  }

  .navbar-menu.active {
    right: 0;
  }

  .navbar-nav {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav-link {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: block;
    width: 100%;
  }

  .navbar-cta {
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .about-grid,
  .booking-grid,
  .location-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .rooms-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 60px 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .features-list {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }
}

/* Animations */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

[data-aos].aos-animate {
  opacity: 1;
}

[data-aos="fade-up"] {
  transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
}

/* Amenities Grid - Responsive */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.amenities-grid .feature-item {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
    background: var(--background);
    border-radius: 8px;
}

.amenities-grid .feature-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

@media (max-width: 991px) {
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .amenities-grid .feature-item {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .amenities-grid .feature-item {
        padding: 1rem;
    }
    
    .amenities-grid .feature-item i {
        font-size: 1.5rem;
    }
    
    .amenities-grid .feature-item span {
        font-size: 0.9rem;
    }
}
