/* Base Styles and Variables */
:root {
  --primary: #FF5E3A;
  --secondary: #0D47A1;
  --accent: #FFD600;
  --bg-light: #F7F7F7;
  --bg-dark: #1A1A1A;
  --text-light: #FFFFFF;
  --text-dark: #0A0A0A;
  --border: #333333;
  --brutalist-highlight: #00FF00;
  --font-primary: 'Quicksand', sans-serif;
  --font-secondary: 'Open Sans', sans-serif;
  --grid-gap: 15px;
  --panel-padding: 20px;
  --transition-speed: 0.3s;
}

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

/* Typography */
body {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -1px;
}

h2 {
  font-size: 2.8rem;
  border-bottom: 4px solid var(--primary);
  padding-bottom: 0.5rem;
  display: inline-block;
}

h3 {
  font-size: 2.2rem;
  color: var(--primary);
}

h4 {
  font-size: 1.8rem;
}

p, ul, ol {
  margin-bottom: 1.5rem;
  font-family: var(--font-secondary);
}

a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-speed);
}

a:hover, a:focus {
  color: var(--primary);
  text-decoration: underline;
}

/* Brutalist Elements */
.brutalist-text {
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  transform: skew(-5deg);
  margin: 2rem 0;
  text-shadow: 3px 3px 0 var(--primary);
}

.brutalist-box {
  border: 5px solid var(--border);
  background-color: var(--accent);
  padding: 2rem;
  transform: rotate(-1deg);
  margin: 3rem 0;
  box-shadow: 10px 10px 0 var(--primary);
}

.brutalist-button {
  background-color: var(--primary);
  color: var(--text-light);
  font-weight: 700;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: 4px solid var(--border);
  cursor: pointer;
  transform: skew(-5deg);
  transition: all var(--transition-speed);
  font-size: 1.2rem;
  display: inline-block;
  margin: 1rem 0;
}

.brutalist-button:hover {
  background-color: var(--brutalist-highlight);
  color: var(--text-dark);
  transform: skew(-5deg) scale(1.05);
  box-shadow: 5px 5px 0 var(--primary);
}

/* Layout - Multi-panel Workspace */
.workspace {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: var(--grid-gap);
  padding: var(--grid-gap);
  margin: 0 auto;
  max-width: 100%;
}

@media (min-width: 768px) {
  .workspace {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto;
  }
}

.panel {
  background-color: var(--bg-light);
  border: 3px solid var(--border);
  padding: var(--panel-padding);
  position: relative;
  overflow: hidden;
}

.panel-header {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 0.5rem 1rem;
  margin: -20px -20px 20px -20px;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: move;
}

.panel-content {
  height: 100%;
  overflow-y: auto;
}

.panel-full {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .panel-half {
    grid-column: span 3;
  }
  
  .panel-third {
    grid-column: span 2;
  }
  
  .panel-two-thirds {
    grid-column: span 4;
  }
}

/* Header and Navigation */
.site-header {
  background-color: var(--bg-dark);
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 5px solid var(--primary);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  width: 200px;
  height: auto;
}

.main-nav {
  display: none;
}

.panel-header-buttons {
  display: none;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
}

.main-nav a {
  color: var(--text-light);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  border: 2px solid transparent;
  transition: all var(--transition-speed);
}

.main-nav a:hover, .main-nav a:focus, .main-nav a.active {
  color: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
}

.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 2rem;
  cursor: pointer;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transform: translateY(-100%);
  transition: transform var(--transition-speed);
}

.mobile-nav.active {
  transform: translateY(0);
}

.mobile-nav ul {
  list-style: none;
  text-align: center;
  margin: 0;
  padding: 0;
}

.mobile-nav li {
  margin: 1.5rem 0;
}

.mobile-nav a {
  color: var(--text-light);
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  padding: 0.5rem 1rem;
  border: 2px solid transparent;
}

.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
}

.close-mobile-nav {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 2rem;
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
  
  .main-nav {
    display: block;
  }
}

/* Hero Section */
.hero {
  position: relative;
  height: 70vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 5px solid var(--primary);
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.7);
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  color: var(--text-light);
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.7);
  transform: skew(-5deg);
  display: inline-block;
  background-color: var(--primary);
  padding: 0.5rem 1rem;
  color: var(--text-light);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  max-width: 600px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
  
  .hero-subtitle {
    font-size: 2rem;
  }
}

/* Forms */
.contact-form {
  background-color: var(--bg-light);
  padding: 2rem;
  border: 5px solid var(--border);
  margin-top: 2rem;
  transform: rotate(-1deg);
  box-shadow: 10px 10px 0 var(--primary);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 3px solid var(--border);
  background-color: var(--bg-light);
  font-family: var(--font-secondary);
  font-size: 1rem;
  transition: border-color var(--transition-speed);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.form-check-input {
  margin-right: 0.5rem;
  margin-top: 0.3rem;
}

.submit-btn {
  background-color: var(--primary);
  color: var(--text-light);
  border: none;
  padding: 1rem 2rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--transition-speed);
  font-size: 1.1rem;
  border: 3px solid var(--border);
  transform: skew(-5deg);
}

.submit-btn:hover, .submit-btn:focus {
  background-color: var(--secondary);
}

/* Features Section */
.features {
  padding: 4rem 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-color: var(--bg-light);
  padding: 2rem;
  border: 3px solid var(--border);
  transition: transform var(--transition-speed);
  position: relative;
  overflow: hidden;
}

.feature-card:nth-child(odd) {
  transform: rotate(1deg);
}

.feature-card:nth-child(even) {
  transform: rotate(-1deg);
}

.feature-card:hover {
  transform: scale(1.03);
  box-shadow: 5px 5px 0 var(--primary);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

/* Tours Section */
.tours {
  padding: 4rem 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.tour-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .tour-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .tour-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tour-card {
  position: relative;
  height: 300px;
  overflow: hidden;
  border: 5px solid var(--border);
}

.tour-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed);
}

.tour-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background-color: rgba(26, 26, 26, 0.8);
  transform: translateY(100%);
  transition: transform var(--transition-speed);
}

.tour-card:hover .tour-overlay {
  transform: translateY(0);
}

.tour-card:hover .tour-image {
  transform: scale(1.1);
}

.tour-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.tour-desc {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.tour-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.tour-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--primary);
  color: var(--text-light);
  padding: 0.5rem 1rem;
  font-weight: 700;
  transform: rotate(5deg);
  z-index: 1;
}

/* Testimonials */
.testimonials {
  padding: 4rem 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.testimonial-card {
  padding: 2rem;
  border: 3px solid var(--border);
  background-color: var(--bg-light);
  position: relative;
}

.testimonial-card:nth-child(odd) {
  transform: rotate(1deg);
  background-color: var(--accent);
  color: var(--text-dark);
}

.testimonial-card:nth-child(even) {
  transform: rotate(-1deg);
  background-color: var(--secondary);
  color: var(--text-light);
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 700;
  display: block;
  text-align: right;
}

.testimonial-quote {
  font-size: 3rem;
  position: absolute;
  top: -1rem;
  left: 1rem;
  color: rgba(255, 255, 255, 0.2);
}

/* Footer */
.site-footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 3rem 0 1rem;
  border-top: 5px solid var(--primary);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-logo {
  max-width: 150px;
  margin-bottom: 1rem;
}

.footer-links h4 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
}

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

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

.footer-links a {
  color: var(--text-light);
  transition: color var(--transition-speed);
}

.footer-links a:hover {
  color: var(--primary);
  text-decoration: none;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-info i {
  color: var(--primary);
  margin-right: 0.5rem;
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Page Headers */
.page-header {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 4rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-title {
  font-size: 3rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  display: inline-block;
  background-color: var(--primary);
  padding: 0.5rem 1rem;
  transform: skew(-5deg);
}

.page-subtitle {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Content Sections */
.content-section {
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background-color: var(--primary);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 1.5rem;
  z-index: 9999;
  display: none;
  border-top: 5px solid var(--primary);
}

.cookie-consent.show {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid var(--border);
  background-color: transparent;
  transition: all var(--transition-speed);
}

.accept-all {
  background-color: var(--primary);
  color: var(--text-light);
}

.accept-all:hover {
  background-color: var(--secondary);
}

.settings-btn {
  color: var(--text-light);
}

.settings-btn:hover {
  background-color: var(--text-light);
  color: var(--text-dark);
}

.reject-all {
  color: var(--text-light);
}

.reject-all:hover {
  background-color: var(--text-light);
  color: var(--text-dark);
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background-color: var(--bg-light);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  border: 5px solid var(--primary);
}

.cookie-modal-header {
  margin-bottom: 2rem;
}

.cookie-modal-title {
  color: var(--primary);
  margin-bottom: 1rem;
}

.cookie-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

.cookie-category {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cookie-category-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.cookie-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .cookie-slider {
  background-color: var(--primary);
}

input:focus + .cookie-slider {
  box-shadow: 0 0 1px var(--primary);
}

input:checked + .cookie-slider:before {
  transform: translateX(26px);
}

.cookie-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}

.cookie-save {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid var(--border);
  transition: background-color var(--transition-speed);
}

.cookie-save:hover {
  background-color: var(--secondary);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.5rem !important;
}

.mb-2 {
  margin-bottom: 1rem !important;
}

.mb-3 {
  margin-bottom: 1.5rem !important;
}

.mb-4 {
  margin-bottom: 2rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: 0.5rem !important;
}

.mt-2 {
  margin-top: 1rem !important;
}

.mt-3 {
  margin-top: 1.5rem !important;
}

.mt-4 {
  margin-top: 2rem !important;
}

.mt-5 {
  margin-top: 3rem !important;
}

.py-1 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.py-2 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.py-3 {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

.py-4 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.brutalist-highlight {
  color: var(--brutalist-highlight);
  font-weight: 700;
}

/* Map */
.map-container {
  height: 400px;
  width: 100%;
  border: 5px solid var(--border);
  margin-top: 2rem;
}

/* Thanks Page */
.thanks-page {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--bg-light);
}

.thanks-content {
  max-width: 800px;
  padding: 3rem;
  background-color: var(--bg-light);
  border: 5px solid var(--primary);
  transform: rotate(-1deg);
  box-shadow: 10px 10px 0 var(--secondary);
}

.thanks-icon {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.thanks-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.thanks-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.return-home {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--primary);
  color: var(--text-light);
  font-weight: 700;
  text-transform: uppercase;
  border: 3px solid var(--border);
  transition: background-color var(--transition-speed);
}

.return-home:hover {
  background-color: var(--secondary);
  text-decoration: none;
  color: var(--text-light);
}

/* Intl Tel Input Overrides */
.iti {
  width: 100%;
}

.iti__flag-container {
  z-index: 100;
}

/* Resizable panels */
.resize-handle {
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  position: absolute;
  right: 0;
  bottom: 0;
  cursor: se-resize;
}

/* Loader */
.loader {
  display: inline-block;
  width: 80px;
  height: 80px;
  position: relative;
}

.loader:after {
  content: " ";
  display: block;
  border-radius: 50%;
  width: 0;
  height: 0;
  margin: 8px;
  box-sizing: border-box;
  border: 32px solid var(--primary);
  border-color: var(--primary) transparent var(--primary) transparent;
  animation: loader 1.2s infinite;
}

@keyframes loader {
  0% {
    transform: rotate(0);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }
  50% {
    transform: rotate(900deg);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  100% {
    transform: rotate(1800deg);
  }
}

/* Legal Pages */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.legal-section {
  margin-bottom: 3rem;
}

.legal-subtitle {
  color: var(--primary);
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.legal-list {
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

.legal-date {
  font-style: italic;
  color: var(--secondary);
  margin-top: 3rem;
  font-weight: 700;
}

iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}