/* KasnetBros Theme - Extracted from Odoo */
:root {
  --o-color-1: #0cbfd6;
  --o-color-2: #000000;
  --o-color-3: #E6E6E6;
  --o-color-4: #FFFFFF;
  --o-color-5: #02181B;
  --accent-orange: #FF9C00;
  --font-headline: 'Poppins', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--o-color-5);
  background: var(--o-color-4);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header */
.site-header {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(2, 24, 27, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 12px 24px;
}

.site-header + [class$="-hero"] {
  margin-top: 0 !important;
}

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

.logo img {
  width: auto;
  height: 48px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--o-color-4);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--o-color-1);
}

.contact-btn {
  background: var(--o-color-1);
  color: var(--o-color-5);
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(12, 191, 214, 0.3);
}

.secondary-btn {
  display: inline-block;
  padding: 10px 24px;
  color: var(--o-color-1);
  border: 2px solid var(--o-color-1);
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, color 0.2s, background 0.2s;
}

.secondary-btn:hover {
  color: var(--o-color-5);
  background: white;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: url('../images/hero-bg.webp') center/cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(2,24,27,0.7) 0%, rgba(12,191,214,0.3) 100%);
}

.hero-shape {
  position: absolute;
  inset: 0;
  background-image: url('../images/shape-floats-02.svg');
  background-size: cover;
  background-position: center;
  opacity: 0.6;
  animation: shapeFloat 8s ease-in-out infinite;
}

@keyframes shapeFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.02); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero h1 {
  font-family: var(--font-headline);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--accent-orange);
  margin-bottom: 16px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero .subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: white;
  margin-bottom: 32px;
  opacity: 0.95;
}

/* Scroll Animation Base */
.o_animate {
  visibility: visible;
  animation-duration: 0.7s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-fill-mode: both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.o_animate.o_visible {
  visibility: visible;
}

.o_anim_reveal.o_visible {
  animation-name: o_anim_reveal;
}

@keyframes o_anim_reveal {
  0% {
    opacity: 0.84;
    filter: blur(2px);
    transform: translate3d(0, 12px, 0);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0);
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent-orange);
  outline-offset: 3px;
}

/* Section Transitions */
.section-wave {
  position: relative;
}

.section-wave::before,
.section-wave::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 80px;
  background-size: cover;
  background-repeat: no-repeat;
}

.section-wave::before {
  top: -79px;
  background-image: url('../images/shape-wavy-22.svg');
  transform: scaleX(-1);
}

.section-wave::after {
  bottom: -79px;
  background-image: url('../images/shape-wavy-03.svg');
  transform: scaleY(-1);
}

/* Services Section */
.services {
  padding: 120px 24px 80px;
  background: linear-gradient(135deg, var(--o-color-1) 0%, #0891b3 100%);
  position: relative;
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.services h2 {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  text-align: center;
  margin-bottom: 48px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.service-card {
  background: rgba(255,255,255,0.95);
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-card img {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-headline);
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--o-color-5);
}

.service-card p {
  color: #666;
  font-size: 15px;
}

/* Gallery Section */
.gallery {
  padding: 120px 24px;
  background: var(--o-color-4);
}

.gallery-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.gallery h2 {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 48px;
  color: var(--o-color-5);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.gallery-item {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

/* Public destinations */
.destinations {
  padding: 88px 24px;
  background: #f5fbfc;
}

.destinations-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.destinations h2,
.destinations-intro {
  text-align: center;
}

.destinations h2 {
  margin-bottom: 12px;
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4vw, 3rem);
}

.destinations-intro {
  max-width: 680px;
  margin: 0 auto 36px;
  color: #52686e;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.destination-card {
  display: flex;
  min-height: 260px;
  padding: 32px;
  flex-direction: column;
  color: inherit;
  border: 1px solid #d7e8eb;
  border-radius: 24px;
  background: white;
  box-shadow: 0 14px 36px rgba(2, 24, 27, 0.08);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.destination-card:hover,
.destination-card:focus-visible {
  border-color: var(--o-color-1);
  box-shadow: 0 20px 44px rgba(2, 24, 27, 0.13);
  transform: translateY(-5px);
}

.destination-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  align-items: center;
  justify-content: center;
  color: #087c8c;
}

.destination-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.destination-card h3 {
  margin-bottom: 10px;
  font-family: var(--font-headline);
  font-size: 1.35rem;
}

.destination-card p {
  margin-bottom: 24px;
  color: #52686e;
}

.destination-link {
  margin-top: auto;
  color: #087c8c;
  font-weight: 700;
}

.newsletter-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Newsletter */
.newsletter {
  padding: 80px 24px;
  background: var(--o-color-5);
  text-align: center;
}

.newsletter h2 {
  font-family: var(--font-headline);
  color: white;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

.newsletter p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  min-width: 250px;
  padding: 14px 24px;
  border-radius: 50px;
  border: none;
  font-size: 16px;
  outline: none;
}

.newsletter-form button {
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  background: var(--accent-orange);
  color: white;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s;
}

.newsletter-form button:hover {
  transform: scale(1.05);
}

/* Footer */
.site-footer {
  background: var(--o-color-5);
  color: rgba(255,255,255,0.6);
  padding: 60px 24px 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-logo img {
  width: auto;
  height: 40px;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  gap: 32px;
  justify-content: center;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--o-color-1);
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  font-size: 13px;
}

/* Mobile */
@media (max-width: 768px) {
  .hero { background-image: url('../images/hero-bg-mobile.webp'); }
  .site-header { padding: 10px 14px; }
  .header-inner { flex-wrap: wrap; gap: 8px 12px; }
  .logo img { height: 38px; }
  .header-inner nav {
    order: 3;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .header-inner nav::-webkit-scrollbar { display: none; }
  .nav-links { display: flex; gap: 12px; padding: 4px 2px 2px; }
  .nav-links a { font-size: 14px; white-space: nowrap; }
  .header-inner > .contact-btn { padding: 8px 14px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .footer-cta { text-align: center; }
  .service-grid { grid-template-columns: 1fr; }
  .destination-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
