/* ===========================
   Svalbard Seafood — Stylesheet
   =========================== */

:root {
  --navy: #1a2744;
  --navy-light: #243355;
  --grey-warm: #8B8378;
  --grey-light: #f5f4f2;
  --blue-grey: #6a8fa7;
  --white: #ffffff;
  --text: #333333;
  --text-light: #666666;
  --header-height: 80px;
  --container-width: 1100px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

a {
  color: var(--blue-grey);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--navy);
}

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

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   Header
   =========================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--navy);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color var(--transition);
}

.main-nav a:hover {
  color: var(--white);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle-label span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
  transition: transform var(--transition), opacity var(--transition);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 24px;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-current {
  color: var(--white);
  font-weight: 600;
  font-size: 0.8rem;
}

.lang-link {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  font-weight: 400;
}

.lang-link:hover {
  color: var(--white);
}

.lang-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
}

/* ===========================
   Hero
   =========================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: calc(var(--header-height) + 40px) 24px 0;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 39, 68, 0.75) 0%,
    rgba(36, 51, 85, 0.6) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 800px;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}

.wave-divider svg {
  width: 100%;
  height: 80px;
}

/* ===========================
   Buttons
   =========================== */

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--blue-grey);
  color: var(--white);
  border-color: var(--blue-grey);
}

.btn-primary:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--blue-grey);
  border-color: var(--blue-grey);
  padding: 10px 24px;
  font-size: 0.85rem;
}

.btn-outline:hover {
  background: var(--blue-grey);
  color: var(--white);
}

/* ===========================
   Sections
   =========================== */

.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--grey-light);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 48px;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--blue-grey);
  margin: 16px auto 0;
}

/* ===========================
   About
   =========================== */

.about-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text p {
  margin-bottom: 16px;
  color: var(--text-light);
  font-size: 0.95rem;
}

.about-clients h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 20px;
}

.client-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text-light);
}

.icon-check {
  color: var(--blue-grey);
  flex-shrink: 0;
}

/* ===========================
   Projects
   =========================== */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.project-card {
  background: var(--white);
  border-radius: 8px;
  padding: 40px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.project-icon {
  color: var(--blue-grey);
  margin-bottom: 20px;
}

.project-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.7;
}

/* ===========================
   Innovation
   =========================== */

.innovation-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
  color: var(--text-light);
  font-size: 0.95rem;
}

.patent-card {
  background: var(--grey-light);
  border-radius: 8px;
  padding: 48px;
  max-width: 800px;
  margin: 0 auto;
  border-left: 4px solid var(--blue-grey);
}

.patent-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.patent-header svg {
  color: var(--blue-grey);
  flex-shrink: 0;
}

.patent-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
}

.patent-code {
  font-size: 0.85rem;
  color: var(--grey-warm);
  font-weight: 500;
}

.patent-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.patent-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

.feature-list .icon-check {
  margin-top: 3px;
}

.patent-conclusion {
  font-style: italic;
  margin-top: 24px;
}

/* ===========================
   Contact
   =========================== */

.contact {
  background: var(--navy);
  color: var(--white);
}

.contact .section-title {
  color: var(--white);
}

.contact .section-title::after {
  background: var(--blue-grey);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.contact-item svg {
  color: var(--blue-grey);
  margin-bottom: 16px;
}

.contact-item h3 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-item a {
  color: var(--white);
  font-size: 0.95rem;
}

.contact-item a:hover {
  color: var(--blue-grey);
}

/* ===========================
   Footer
   =========================== */

.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  text-align: center;
}

.footer-bear {
  display: block;
  margin: 0 auto 12px;
  opacity: 0.4;
  width: 80px;
  height: auto;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 768px) {
  .nav-toggle-label {
    display: block;
    z-index: 10;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 24px;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
    pointer-events: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }

  .nav-toggle:checked ~ .main-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 16px;
  }

  .main-nav a {
    font-size: 1rem;
  }

  .lang-switcher {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .patent-card {
    padding: 32px 24px;
  }

  .patent-header {
    flex-direction: column;
    text-align: center;
  }

  .hero {
    min-height: 90vh;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 60px 0;
  }

  .project-card {
    padding: 28px 20px;
  }
}
