
/* Modern Weebly Studio CSS Architecture */
:root {
  --primary-color: #0ea5e9;
  --secondary-color: #6366f1;
  --bg-light: #ffffff;
  --text-light: #0f172a;
  --bg-dark: #080c14;
  --text-dark: #f1f5f9;
  --heading-font: 'Plus Jakarta Sans', sans-serif;
  --body-font: 'Plus Jakarta Sans', sans-serif;

  --bg-body: var(--bg-light);
  --text-body: var(--text-light);
  --surface-bg: #f8fafc;
  --surface-border: rgba(0, 0, 0, 0.08);
}

[data-theme="dark"], body.dark {
  --bg-body: var(--bg-dark);
  --text-body: var(--text-dark);
  --surface-bg: #111827;
  --surface-border: rgba(255, 255, 255, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.6;
  transition: background-color 0.25s ease, color 0.25s ease;
}

h1, h2, h3, h4, .heading, .brand-logo {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.25;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.site-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-body);
  border-bottom: 1px solid var(--surface-border);
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.site-navbar.floating-pill {
  top: 16px;
  margin: 16px auto;
  max-width: 960px;
  border-radius: 9999px;
  border: 1px solid var(--surface-border);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  background-color: var(--bg-body);
}

.site-navbar.minimal {
  background: transparent;
  border-bottom: none;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  color: inherit;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  opacity: 1;
  color: var(--primary-color);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-select {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--surface-border);
  background: var(--surface-bg);
  color: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.icon-btn {
  background: none;
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: inherit;
  transition: background-color 0.2s ease;
}
.icon-btn:hover {
  background-color: var(--surface-bg);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.mobile-nav-toggle span {
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 10px;
  transition: all 0.3s linear;
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background-color: var(--bg-body);
    flex-direction: column;
    padding: 24px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-bottom: 1px solid var(--surface-border);
  }
  .nav-links.open {
    display: flex;
  }
}

/* Hero & Headers */
.static-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  background-size: cover;
  background-position: center;
}
.header-short { min-height: 280px; }
.header-tall { min-height: 480px; }
.header-splash { min-height: 85vh; }

.hero-content {
  padding: 48px 24px;
  max-width: 800px;
}
.hero-title {
  font-size: 2.75rem;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.hero-subtitle {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 24px;
  font-weight: 300;
}

/* Hero Carousel */
.hero-slider-header {
  position: relative;
  height: 520px;
  overflow: hidden;
}
.slider-track {
  width: 100%;
  height: 100%;
  position: relative;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}
.slide.active {
  opacity: 1;
  z-index: 1;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
}
.dot.active {
  background: #ffffff;
  width: 24px;
  border-radius: 6px;
}

/* Sections */
.site-section {
  padding: 60px 0;
}
.site-section.padding-none { padding: 0; }
.site-section.padding-small { padding: 36px 0; }
.site-section.padding-medium { padding: 64px 0; }
.site-section.padding-large { padding: 96px 0; }

.site-section.bg-light { background-color: var(--bg-light); color: var(--text-light); }
.site-section.bg-dark { background-color: var(--bg-dark); color: var(--text-dark); }
.site-section.bg-primary { background-color: var(--primary-color); color: #ffffff; }

/* Elements */
.element-title { margin-bottom: 24px; }
.element-title .heading { font-size: 2rem; margin-bottom: 8px; }
.element-title .subheading { opacity: 0.8; font-size: 1rem; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.element-text {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.element-image {
  margin: 24px 0;
}
.responsive-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
.caption {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 8px;
}

.grid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  height: 220px;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item img:hover {
  transform: scale(1.04);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-primary { background: var(--primary-color); color: #ffffff; }
.btn-secondary { background: var(--secondary-color); color: #ffffff; }
.btn-outline { border: 2px solid currentColor; background: transparent; }

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.grid-3-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}

@media (max-width: 768px) {
  .grid-2-col, .grid-3-col {
    grid-template-columns: 1fr;
  }
}

.element-divider {
  border: none;
  border-top: 1px solid var(--surface-border);
  margin: 32px 0;
}

.element-contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--surface-bg);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--surface-border);
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--surface-border);
  background: var(--bg-body);
  color: inherit;
  font-family: inherit;
}

.element-map {
  border-radius: 14px;
  overflow: hidden;
  margin: 24px 0;
  border: 1px solid var(--surface-border);
}

.element-custom-dom, .element-embed {
  margin: 20px 0;
  overflow-x: auto;
}

.site-footer {
  border-top: 1px solid var(--surface-border);
  padding: 36px 0;
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.7;
}
