/* DJ Guest Lodge - Main Stylesheet */
/* Matching WordPress/Elementor design */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== HEADER ==================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo img {
  height: 60px;
  width: auto;
}

/* Lodge Toggle Buttons (Header) */
.lodge-toggle {
  display: flex;
  gap: 5px;
}

.lodge-btn {
  padding: 8px 18px;
  background: transparent;
  border: 1px solid #c41e3a;
  color: #c41e3a;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Montserrat', sans-serif;
}

.lodge-btn:hover {
  background: rgba(196, 30, 58, 0.1);
}

.lodge-btn.active {
  background: #c41e3a;
  color: #fff;
}

.contact-info {
  display: flex;
  gap: 25px;
}

.contact-info a {
  color: #333;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s;
}

.contact-info a:hover {
  color: #c41e3a;
}

.main-nav {
  display: flex;
  gap: 5px;
}

.nav-link {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  transition: all 0.3s;
}

.nav-link:hover {
  color: #c41e3a;
}

.nav-link.active {
  background: #c41e3a;
  color: #fff;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* ==================== HERO SECTION ==================== */
.hero {
  height: 100vh;
  min-height: 600px;
  background-image: url('../img/lodge1/BackAreaMain.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 60, 100, 0.45);
  z-index: 1;
}

.hero-overlay {
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 2;
}

.hero-overlay h1 {
  font-size: 56px;
  font-weight: 500;
  letter-spacing: 2px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* ==================== WELCOME SECTION ==================== */
.welcome-section {
  padding: 80px 0;
  background: #fff;
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.title-underline {
  width: 60px;
  height: 3px;
  background: #c41e3a;
  margin: 0 auto 40px;
}

.welcome-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.welcome-image img {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.welcome-text p {
  margin-bottom: 20px;
  color: #555;
  font-size: 15px;
  line-height: 1.8;
  text-align: justify;
}

/* ==================== GALLERY SECTION ==================== */
.gallery-section {
  padding: 80px 0;
  background: #f9f9f9;
}

.gallery-subtitle {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 40px;
}

.room-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.room-card {
  background: #fff;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.room-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.room-image {
  height: 280px;
  overflow: hidden;
}

.room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.room-card:hover .room-image img {
  transform: scale(1.05);
}

.room-card h3 {
  text-align: center;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a2e;
  letter-spacing: 1px;
}

/* ==================== CAROUSEL SECTION ==================== */
.carousel-section {
  padding: 60px 0;
  background: #fff;
}

.carousel-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.carousel-track-container {
  overflow: hidden;
  flex: 1;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  padding: 0 10px;
}

.carousel-slide img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
  color: #333;
}

.carousel-btn:hover {
  background: #c41e3a;
  color: #fff;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-dot.active {
  background: #333;
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: #1a1a2e;
  color: #fff;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 50px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-info {
  padding: 20px 0;
}

.location-block {
  margin-bottom: 20px;
}

.location-block p {
  margin-bottom: 10px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.location-block a {
  color: #fff;
  transition: color 0.3s;
}

.location-block a:hover {
  color: #c41e3a;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin: 20px 0;
}

.footer-map {
  border-radius: 5px;
  overflow: hidden;
}

.footer-map iframe {
  display: block;
}

.footer-copyright {
  background: #111;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #aaa;
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #c41e3a;
  color: #fff;
  border: none;
  border-radius: 0;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #a01830;
}

/* ==================== RESPONSIVE ==================== */

/* Tablet landscape */
@media (max-width: 1024px) {
  .welcome-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .room-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-map iframe {
    height: 250px;
  }
  
  .header-container {
    padding: 10px 20px;
  }
  
  .contact-info {
    gap: 15px;
  }
  
  .contact-info a {
    font-size: 12px;
  }
  
  .lodge-btn {
    padding: 6px 12px;
    font-size: 11px;
  }
}

/* Tablet portrait */
@media (max-width: 768px) {
  .header-container {
    padding: 10px 15px;
    flex-wrap: wrap;
  }
  
  .logo img {
    height: 45px;
  }
  
  .lodge-toggle {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
  }
  
  .contact-info {
    display: none;
  }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }
  
  .main-nav.active {
    display: flex;
  }
  
  .nav-link {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    text-align: center;
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero {
    height: 60vh;
    min-height: 400px;
    padding-top: 100px;
    background-attachment: scroll;
  }
  
  .hero-overlay h1 {
    font-size: 32px;
    padding: 0 20px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .welcome-text p {
    font-size: 14px;
  }
  
  .room-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .carousel-slide img {
    height: 300px;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .footer-info {
    text-align: center;
  }
  
  .footer-info p {
    justify-content: center;
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  .header-container {
    padding: 8px 10px;
  }
  
  .logo img {
    height: 40px;
  }
  
  .lodge-btn {
    padding: 6px 14px;
    font-size: 11px;
  }
  
  .hero {
    height: 50vh;
    min-height: 350px;
    padding-top: 90px;
  }
  
  .hero-overlay h1 {
    font-size: 26px;
  }
  
  .section-title {
    font-size: 20px;
  }
  
  .welcome-section,
  .gallery-section {
    padding: 40px 0;
  }
  
  .welcome-text p {
    font-size: 13px;
    line-height: 1.7;
  }
  
  .room-card h3 {
    font-size: 14px;
    padding: 12px;
  }
  
  .carousel-slide img {
    height: 220px;
  }
  
  .carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  
  .carousel-dots {
    margin-top: 15px;
  }
  
  .carousel-dot {
    width: 8px;
    height: 8px;
  }
  
  .footer-container {
    padding: 30px 15px;
  }
  
  .footer-info p {
    font-size: 13px;
    flex-wrap: wrap;
  }
  
  .footer-map iframe {
    height: 200px;
  }
  
  .footer-copyright {
    font-size: 12px;
    padding: 15px;
  }
  
  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 18px;
    right: 15px;
    bottom: 15px;
  }
}
