/* -------------------------------------------------------------------------- */
/* 1. VARIABLES & RESET                                                      */
/* -------------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --primary: #2aabe1;       /* Ocean Blue */
  --primary-dark: #0f7aab;  /* Deep Ocean - used for hover/accents */
  --secondary: #e85858;     /* Coral Red - used for Call to Actions */
  --navy: #0b2e4a;          /* Deep Navy - for Top Bar/Footer (Trust color) */
  
  /* Neutrals */
  --text-main: #333333;
  --text-light: #666666;
  --bg-light: #f9fbfd;      /* Very subtle blue-grey tint */
  --white: #ffffff;
  --border: #e1e4e8;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-lg: 0 15px 30px rgba(0,0,0,0.1);
  --transition: all 0.3s ease-in-out;
}

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

body { 
  font-family: 'Open Sans', sans-serif; 
  background: var(--bg-light); 
  color: var(--text-main); 
  line-height: 1.7; 
  overflow-x: hidden;
}

/* --- CONTENT PROTECTION CSS (Prevent Selection) --- */
body {
    -webkit-user-select: none;  /* Chrome/Safari */
    -moz-user-select: none;     /* Firefox */
    -ms-user-select: none;      /* IE/Edge */
    user-select: none;          /* Standard */
    -webkit-touch-callout: none; /* iOS Safari */
}

/* Allow selection in forms so users can type */
input, textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* -------------------------------------------------------------------------- */
/* 2. TYPOGRAPHY & UTILITIES                                                 */
/* -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 { 
  font-family: 'Montserrat', sans-serif; 
  font-weight: 700; 
  color: var(--navy); 
  letter-spacing: -0.5px;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; position: relative; }
.section-padding { padding: 5rem 0; }
.text-center { text-align: center; }

/* Uppercase Tracking (Premium Feel) */
.uppercase-track { 
  text-transform: uppercase; 
  letter-spacing: 2px; 
  font-size: 0.85rem; 
  font-weight: 600; 
  color: var(--primary); 
  display: block; 
  margin-bottom: 0.5rem; 
}

/* Section Headers */
h2 { 
  font-size: 2.5rem; 
  margin-bottom: 3rem; 
  position: relative; 
  display: inline-block;
}
h2::after { 
  content: ''; 
  display: block; 
  width: 50%; 
  height: 3px; 
  background: var(--secondary); 
  margin: 15px auto 0; 
  border-radius: 2px;
}

/* Hidden Developer Signature (Visually Hidden) */
.xpt-sig { display: none !important; }

/* -------------------------------------------------------------------------- */
/* 3. HEADER & NAV                                                           */
/* -------------------------------------------------------------------------- */
/* Top Bar */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 10px 0;
  font-size: 0.85rem;
  font-family: 'Montserrat', sans-serif;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a:hover { color: var(--white); }
.top-contact i, .top-social i { margin-right: 8px; }
.top-social a { margin-left: 15px; }

/* Main Header */
header { 
  background: var(--white); 
  position: sticky; 
  top: 0; 
  z-index: 1000; 
  box-shadow: var(--shadow-sm); 
  transition: var(--transition);
}
/* Scrolled state added by JS */
header.scrolled { padding: 0; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }

.header-main { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 1rem 0; 
}

.logo { height: 55px; }

/* Navigation */
nav ul { display: flex; gap: 30px; }
nav ul li a { 
  font-weight: 600; 
  font-size: 0.9rem; 
  text-transform: uppercase; 
  letter-spacing: 1px;
  position: relative;
  color: var(--navy);
  padding: 5px 0;
}
nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary);
  transition: var(--transition);
}
nav ul li a:hover::after, nav ul li a.active::after { width: 100%; }

.btn-header { 
  border: 2px solid var(--secondary); 
  color: var(--secondary); 
  padding: 8px 25px; 
  font-weight: 700; 
  border-radius: 50px; 
  font-size: 0.9rem;
  background: transparent;
  cursor: pointer;
}
.btn-header:hover { background: var(--secondary); color: var(--white); }

#menu-toggle { display: none; font-size: 1.5rem; background: none; border: none; cursor: pointer; color: var(--navy); }

/* -------------------------------------------------------------------------- */
/* 4. HERO SECTION                                                           */
/* -------------------------------------------------------------------------- */
.hero { 
  position: relative; 
  height: 85vh; 
  min-height: 600px;
  display: flex; 
  align-items: center; 
  justify-content: center; 
  text-align: center; 
  color: var(--white); 
  /* Parallax Base */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
  z-index: 1;
}

.hero-slideshow { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.hero-slideshow img { width: 100%; height: 100%; object-fit: cover; position: absolute; opacity: 0; transition: opacity 1.5s ease-in-out; }
.hero-slideshow img.active { opacity: 1; }

.hero-content { 
  z-index: 2; 
  position: relative; 
  max-width: 900px; 
  padding: 20px; 
  animation: slideUp 1s ease-out;
}

.hero-content h1 { 
  font-size: 3.5rem; 
  margin-bottom: 1.5rem; 
  color: var(--white);
  line-height: 1.2;
}

.hero-content p { 
  font-size: 1.2rem; 
  margin-bottom: 2rem; 
  font-weight: 300; 
  letter-spacing: 0.5px;
}

/* Page Headers (Sub-pages) */
.page-header { 
  height: 50vh; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  color: var(--white);
}
.page-header::before {
  content: ''; position: absolute; top:0; left:0; width:100%; height:100%;
  background: rgba(11, 46, 74, 0.6);
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { font-size: 3rem; }

/* -------------------------------------------------------------------------- */
/* 5. BOOKING WIDGET                                                         */
/* -------------------------------------------------------------------------- */
.booking-widget-wrapper {
  position: relative;
  z-index: 10;
  margin-top: -60px; /* Pulls it up into the hero */
  margin-bottom: 3rem;
}

.booking-widget {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 15px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.bw-item { flex: 1; min-width: 200px; }
.bw-item label { 
  display: block; 
  font-size: 0.8rem; 
  font-weight: 700; 
  text-transform: uppercase; 
  letter-spacing: 1px; 
  color: var(--text-light); 
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.bw-item label i { color: var(--primary); }

.bw-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  color: var(--navy);
  background: #fdfdfd;
  cursor: pointer;
}

.bw-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 13px 40px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  height: 48px;
}
.bw-btn:hover { background: var(--navy); }

/* -------------------------------------------------------------------------- */
/* 6. CARDS & GRID                                                           */
/* -------------------------------------------------------------------------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }

.card { 
  background: var(--white); 
  border-radius: 8px; 
  overflow: hidden; 
  box-shadow: var(--shadow-sm); 
  transition: var(--transition); 
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.card:hover { 
  box-shadow: var(--shadow-lg); 
  transform: translateY(-5px); 
}

.card-img-wrapper {
  overflow: hidden;
  height: 240px;
  position: relative;
}

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

.card:hover img { transform: scale(1.1); }

.card-body { padding: 2rem; flex-grow: 1; display: flex; flex-direction: column; }

.card-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: var(--text-light);
}
.card-meta span { display: flex; align-items: center; gap: 5px; }
.card-meta i { color: var(--primary); }

.card h3 { 
  font-size: 1.4rem; 
  margin-bottom: 0.8rem; 
  color: var(--navy); 
}

.card p { 
  font-size: 0.95rem; 
  color: var(--text-light); 
  margin-bottom: 1.5rem; 
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
  flex-grow: 1;
}

.btn-link { 
  color: var(--primary); 
  font-weight: 700; 
  text-transform: uppercase; 
  font-size: 0.85rem; 
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: none;
  background: none;
  cursor: pointer;
  margin-top: auto;
}
.btn-link:hover { color: var(--navy); gap: 10px; }

/* -------------------------------------------------------------------------- */
/* 7. TABS                                                                   */
/* -------------------------------------------------------------------------- */
.tabs { display: flex; justify-content: center; gap: 15px; margin-bottom: 3rem; flex-wrap: wrap; }
.tab-btn { 
  padding: 12px 30px; 
  border: 1px solid var(--border); 
  background: var(--white); 
  color: var(--text-light);
  border-radius: 50px; 
  cursor: pointer; 
  font-weight: 600; 
  transition: var(--transition); 
  font-family: 'Montserrat', sans-serif;
}
.tab-btn.active, .tab-btn:hover { 
  background: var(--navy); 
  color: var(--white); 
  border-color: var(--navy); 
  box-shadow: var(--shadow-sm);
}
.tab-content { display: none; animation: fadeIn 0.6s ease; }
.tab-content.active { display: block; }

/* -------------------------------------------------------------------------- */
/* 8. FORMS & CONTACT                                                        */
/* -------------------------------------------------------------------------- */
.contact-container { display: flex; flex-wrap: wrap; gap: 4rem; }
.contact-info-panel, .contact-form-panel { flex: 1; min-width: 300px; }

.contact-info-panel h3 { font-size: 1.8rem; margin-bottom: 1.5rem; }
.info-item { display: flex; gap: 15px; margin-bottom: 20px; font-size: 1.1rem; }
.info-item i { color: var(--primary); font-size: 1.3rem; margin-top: 4px; }
.info-item a:hover { color: var(--primary); }

.contact-form-panel { 
  background: var(--white); 
  padding: 3rem; 
  border-radius: 8px; 
  box-shadow: var(--shadow-lg); 
}
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.8rem; color: var(--navy); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group textarea, .form-group select { 
  width: 100%; 
  padding: 15px; 
  border: 1px solid var(--border); 
  border-radius: 4px; 
  background: #fcfcfc;
  transition: border 0.3s;
  font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); outline: none; }

.btn-submit { 
  width: 100%; 
  padding: 15px; 
  background: var(--primary); 
  color: var(--white); 
  border: none; 
  border-radius: 4px; 
  font-weight: 700; 
  font-size: 1rem; 
  cursor: pointer; 
  text-transform: uppercase; 
  letter-spacing: 1px; 
  transition: var(--transition);
}
.btn-submit:hover { background: var(--navy); }

/* -------------------------------------------------------------------------- */
/* 9. MODALS (Standard Quote)                                                */
/* -------------------------------------------------------------------------- */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(11, 46, 74, 0.9); z-index: 2000; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.modal-content { background: var(--white); padding: 3rem; border-radius: 8px; width: 90%; max-width: 550px; position: relative; box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.close-btn { position: absolute; top: 15px; right: 20px; font-size: 2rem; cursor: pointer; color: var(--text-light); }
.close-btn:hover { color: var(--secondary); }

/* -------------------------------------------------------------------------- */
/* 10. LEGAL MODALS (New)                                                    */
/* -------------------------------------------------------------------------- */
.legal-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(11, 46, 74, 0.95); /* Dark Navy Backdrop */
  z-index: 3000; /* Higher than other modals */
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.legal-content {
  background: var(--white);
  width: 90%;
  max-width: 800px;
  max-height: 85vh; /* Limit height */
  border-radius: 8px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.legal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f9fa;
  border-radius: 8px 8px 0 0;
}

.legal-header h3 { margin: 0; font-size: 1.5rem; color: var(--navy); }

.legal-body {
  padding: 2rem;
  overflow-y: auto; /* SCROLLABLE CONTENT */
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.8;
}

.legal-body h4 { color: var(--primary); margin-top: 1.5rem; margin-bottom: 0.5rem; }
.legal-body ul { list-style: disc; padding-left: 20px; margin-bottom: 1rem; }
.legal-body p { margin-bottom: 1rem; }

.legal-close {
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-light);
  transition: 0.3s;
  line-height: 0.5;
}
.legal-close:hover { color: var(--secondary); }

/* -------------------------------------------------------------------------- */
/* 11. FOOTER                                                                */
/* -------------------------------------------------------------------------- */
footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 4rem 0 2rem; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-col h4 { color: var(--white); margin-bottom: 1.5rem; font-size: 1.2rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--primary); padding-left: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.social-icons a { color: var(--white); font-size: 1.2rem; margin-left: 15px; transition: var(--transition); }
.social-icons a:hover { color: var(--primary); }

/* -------------------------------------------------------------------------- */
/* 12. ANIMATIONS & RESPONSIVE                                               */
/* -------------------------------------------------------------------------- */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 768px) {
  .top-bar { display: none; } /* Hide top bar on mobile for cleaner look */
  .header-main { padding: 0.8rem 0; }
  #menu-toggle { display: block; }
  nav ul { 
    position: absolute; 
    top: 100%; 
    left: 0; 
    width: 100%; 
    background: var(--white); 
    flex-direction: column; 
    align-items: center; 
    gap: 0; 
    border-top: 1px solid var(--border); 
    display: none; /* Hidden by default */
    box-shadow: var(--shadow-lg);
  }
  nav ul.show { display: flex; }
  nav ul li { width: 100%; text-align: center; }
  nav ul li a { display: block; padding: 15px; border-bottom: 1px solid #f0f0f0; }
  nav ul li a::after { display: none; }
  
  .hero-content h1 { font-size: 2.2rem; }
  .booking-widget { margin-top: 0; flex-direction: column; align-items: stretch; }
  .bw-item { min-width: 100%; }
  
  .contact-container { flex-direction: column; gap: 2rem; }
  
  /* Modal Width adjustment */
  .modal-content, .legal-content { width: 95%; padding: 2rem; }
}