/* ========================================================
   DECKS NÁUTICA — DESIGN SYSTEM & STYLESHEET
   Official Brand Blue (#0B55AD) & Teak Gold Luxury Theme
   ======================================================== */

:root {
  --dn-primary: #0b55ad;
  --dn-primary-dark: #073c7e;
  --dn-primary-light: #1a6fd8;
  --dn-secondary: #084893;
  --dn-accent: #c7a46a;
  --dn-accent-hover: #b08d53;
  --dn-accent-light: #f6efe2;
  --dn-teal: #088395;
  --dn-teal-light: #05bfdb;
  --dn-bg: #f8fafc;
  --dn-surface: #ffffff;
  --dn-text-main: #0f172a;
  --dn-text-muted: #64748b;
  --dn-border: #e2e8f0;
  --dn-radius: 12px;
  --dn-radius-lg: 20px;
  --dn-shadow-sm: 0 2px 8px rgba(11, 85, 173, 0.08);
  --dn-shadow-md: 0 10px 30px rgba(11, 85, 173, 0.12);
  --dn-shadow-lg: 0 20px 45px rgba(11, 85, 173, 0.18);
  --dn-font-heading: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --dn-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  font-family: var(--dn-font-body);
  color: var(--dn-text-main);
  background-color: var(--dn-bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--dn-font-heading);
  font-weight: 700;
  color: var(--dn-primary);
  letter-spacing: -0.02em;
}

/* NAVBAR */
.navbar-decks {
  background: var(--dn-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
  padding: 0.85rem 0;
  box-shadow: 0 4px 20px rgba(11, 85, 173, 0.25);
}

.navbar-decks .navbar-brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.navbar-decks .nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.9rem !important;
  transition: all 0.2s ease;
  position: relative;
}

.navbar-decks .nav-link:hover,
.navbar-decks .nav-link.active {
  color: #ffffff;
}

.navbar-decks .nav-link.active::after,
.navbar-decks .nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.9rem;
  right: 0.9rem;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px;
}

.btn-accent {
  background-color: #ffffff;
  color: var(--dn-primary);
  font-weight: 700;
  border: none;
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-accent:hover {
  background-color: var(--dn-accent);
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(199, 164, 106, 0.45);
}

.btn-outline-decks {
  border: 2px solid #ffffff;
  color: #ffffff;
  background: transparent;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.6rem 1.3rem;
  transition: all 0.25s ease;
}

.btn-outline-decks:hover {
  background-color: #ffffff;
  color: var(--dn-primary);
}

.btn-primary-decks {
  background-color: var(--dn-primary);
  color: #ffffff;
  font-weight: 600;
  border: none;
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  transition: all 0.25s ease;
}

.btn-primary-decks:hover {
  background-color: var(--dn-primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--dn-shadow-md);
}

/* TOPBAR */
.topbar-decks {
  background: var(--dn-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-decks a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s;
}

.topbar-decks a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* HERO SECTION */
.hero-decks {
  position: relative;
  background: linear-gradient(135deg, var(--dn-primary) 0%, var(--dn-primary-dark) 100%);
  color: #ffffff;
  padding: 5.5rem 0 4.5rem;
  overflow: hidden;
}

.hero-decks::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(199, 164, 106, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #f6efe2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 580px;
  margin-bottom: 2.2rem;
  font-weight: 400;
}

.hero-card-preview {
  position: relative;
  border-radius: var(--dn-radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-card-preview img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-card-preview:hover img {
  transform: scale(1.03);
}

.hero-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(7, 60, 126, 0.95) 0%, rgba(7, 60, 126, 0) 100%);
  color: #fff;
}

/* SECTION TITLES */
.section-eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--dn-primary);
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--dn-primary-dark);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--dn-text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* CARDS */
.dn-card {
  background: var(--dn-surface);
  border: 1px solid var(--dn-border);
  border-radius: var(--dn-radius);
  padding: 1.8rem;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
}

.dn-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--dn-shadow-md);
  border-color: rgba(11, 85, 173, 0.3);
}

.dn-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(11, 85, 173, 0.1);
  color: var(--dn-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.3rem;
  transition: all 0.3s ease;
}

.dn-card:hover .dn-card-icon {
  background: var(--dn-primary);
  color: #ffffff;
}

/* APPLICATION CARDS */
.app-card {
  border-radius: var(--dn-radius);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--dn-border);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.app-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--dn-shadow-lg);
  border-color: rgba(11, 85, 173, 0.4);
}

.app-card-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #0b55ad;
}

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

.app-card:hover .app-card-img-wrap img {
  transform: scale(1.06);
}

.app-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(11, 85, 173, 0.92);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

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

/* BOAT COLOR SIMULATOR */
.simulator-container {
  background: #ffffff;
  border-radius: var(--dn-radius-lg);
  border: 1px solid var(--dn-border);
  box-shadow: var(--dn-shadow-md);
  padding: 2rem;
}

.simulator-boat-stage {
  position: relative;
  background: #081a2e;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.5);
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.simulator-boat-stage img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.view-toggle-wrap {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  padding: 4px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.view-toggle-btn {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.view-toggle-btn:hover {
  color: #fff;
}

.view-toggle-btn.active {
  background: var(--dn-primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(11, 85, 173, 0.4);
}

.color-swatch-btn {
  border: 2px solid transparent;
  border-radius: var(--dn-radius);
  padding: 0.75rem;
  background: var(--dn-surface);
  transition: all 0.2s ease;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
}

.color-swatch-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.color-swatch-btn.active {
  border-color: var(--dn-primary);
  background: #eef5fc;
  box-shadow: 0 4px 12px rgba(11, 85, 173, 0.15);
}

.swatch-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.2);
}

/* BLOG CARDS */
.blog-card {
  background: #ffffff;
  border-radius: var(--dn-radius);
  border: 1px solid var(--dn-border);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--dn-shadow-md);
  border-color: rgba(11, 85, 173, 0.3);
}

.blog-card-thumb {
  height: 210px;
  overflow: hidden;
  position: relative;
  background: var(--dn-primary);
}

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

.blog-card:hover .blog-card-thumb img {
  transform: scale(1.05);
}

.blog-card-cat {
  position: absolute;
  bottom: 0.8rem;
  left: 0.8rem;
  background: rgba(11, 85, 173, 0.92);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
}

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

/* FLOATING WHATSAPP */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}

.floating-whatsapp-btn {
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-whatsapp:hover .floating-whatsapp-btn {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp-tooltip {
  background: #ffffff;
  color: #0f172a;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--dn-shadow-md);
  border: 1px solid var(--dn-border);
  white-space: nowrap;
  animation: pulse-tip 2s infinite;
}

@keyframes pulse-tip {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* FOOTER */
.footer-decks {
  background: var(--dn-primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
}

.footer-decks h5 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.3rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-decks h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background-color: #ffffff;
}

.footer-decks a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-decks a:hover {
  color: #ffffff;
  transform: translateX(3px);
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

/* PROCESS STEPS */
.step-number {
  width: 50px;
  height: 50px;
  background: #ffffff;
  color: var(--dn-primary);
  border: 2px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
}

/* ACCORDION FAQ */
.accordion-decks .accordion-item {
  border: 1px solid var(--dn-border);
  border-radius: var(--dn-radius) !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-decks .accordion-button {
  font-weight: 600;
  color: var(--dn-primary-dark);
  background: #ffffff;
  padding: 1.2rem 1.5rem;
}

.accordion-decks .accordion-button:not(.collapsed) {
  background: #eef5fc;
  color: var(--dn-primary);
  box-shadow: none;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .hero-decks {
    padding: 3.5rem 0 2.5rem;
  }
  .navbar-decks .nav-link.active::after {
    display: none;
  }
  .floating-whatsapp-tooltip {
    display: none;
  }
}
