/* Divman Seals - Main Stylesheet */
@import url('./design-tokens.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--neutral-800);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--neutral-900);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.85rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; color: var(--neutral-600); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--primary-700);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover { color: var(--accent-500); }

ul { list-style: none; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container & Layout */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-bg-light { background-color: var(--neutral-50); }
.section-bg-dark { background-color: var(--primary-900); color: var(--white); }
.section-bg-dark h1, .section-bg-dark h2, .section-bg-dark h3 { color: var(--white); }
.section-bg-dark p { color: var(--neutral-300); }

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  display: inline-block;
  color: var(--accent-500);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  background: rgba(255, 107, 0, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

/* Top Utility Bar */
.top-bar {
  background-color: var(--neutral-950);
  color: var(--neutral-300);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-info-list {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--neutral-300);
}

.top-info-item a {
  color: var(--neutral-200);
}

.top-info-item a:hover {
  color: var(--accent-400);
}

/* Sticky Main Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--neutral-200);
  transition: all var(--transition-normal);
}

.main-header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
}

/* Logo Badge */
/*.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
*/
.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-700), var(--primary-900));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-500);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  box-shadow: 0 4px 10px rgba(11, 60, 38, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-900);
  line-height: 1;
  letter-spacing: -0.03em;
}

.brand-name span {
  color: var(--accent-500);
}

.brand-tagline {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--neutral-500);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Desktop Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--neutral-700);
  padding: 0.5rem 0;
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-500);
  border-radius: 2px;
}

/* Dropdown Menu */
.dropdown-wrapper {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 240px;
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--neutral-200);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 100;
}

.dropdown-wrapper:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--neutral-700);
  transition: background-color var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--primary-50);
  color: var(--primary-800);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent-500);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-600);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.4);
}

.btn-secondary {
  background-color: var(--primary-800);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(11, 60, 38, 0.25);
}

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

.btn-outline {
  background-color: transparent;
  color: var(--primary-800);
  border: 2px solid var(--primary-800);
}

.btn-outline:hover {
  background-color: var(--primary-800);
  color: var(--white);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--primary-900);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--neutral-800);
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background-color: var(--white);
  box-shadow: var(--shadow-xl);
  z-index: 2000;
  transition: right var(--transition-normal);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-drawer.active {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--neutral-200);
}

.mobile-drawer-close {
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--neutral-600);
  cursor: pointer;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--neutral-800);
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(9, 13, 22, 0.6);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Breadcrumbs */
.breadcrumb-banner {
  background: linear-gradient(135deg, var(--primary-900), #051a10);
  color: var(--white);
  padding: 3.5rem 0;
  border-bottom: 3px solid var(--accent-500);
  position: relative;
  overflow: hidden;
}

.breadcrumb-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: radial-gradient(circle, rgba(255,107,0,0.15) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.breadcrumb-title {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--neutral-300);
}

.breadcrumb-nav a {
  color: var(--accent-400);
}

.breadcrumb-nav a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background-color: var(--neutral-950);
  color: var(--neutral-300);
  padding-top: 5rem;
  padding-bottom: 2rem;
  border-top: 4px solid var(--accent-500);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--accent-500);
}

.footer-desc {
  color: var(--neutral-400);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--neutral-400);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-400);
  padding-left: 4px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--neutral-400);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-500);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a {
  color: var(--neutral-200);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--neutral-500);
}

/* Media Queries */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 840px) {
  .nav-menu { display: none; }
  .mobile-toggle { display: block; }
  .top-bar-content { flex-direction: column; gap: 0.5rem; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
