/* ============================================
   HALLIG OLAND - MARITIME WEBSITE
   Design: Navy, Holz-Braun, Creme, Rot, Gold
   ============================================ */

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

:root {
  --navy: #0A2F51;
  --ocean: #1A5276;
  --brown: #6B4423;
  --creme: #F5F0E8;
  --sand: #E8DCC8;
  --rot: #D9534F;
  --gold: #C9A961;
  --white: #FFFFFF;
  --dark: #1A1A1A;
  --light-gray: #F5F5F5;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--creme);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--ocean) 100%);
  color: var(--white);
  padding: 0.8rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  border-bottom: 3px solid var(--gold);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--gold);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo img {
  height: 45px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 500;
}

nav a:hover {
  color: var(--gold);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    display: none;
  }

  nav.active {
    display: flex;
  }

  nav a {
    padding: 0.8rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .menu-toggle {
    display: block;
  }

  .logo {
    font-size: 1.2rem;
  }

  .logo img {
    height: 35px;
  }
}

/* ============================================
   HERO SECTION (MARITIME)
   ============================================ */

.hero {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  padding: 150px 1rem;
  text-align: center;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 5px solid var(--gold);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(10, 47, 81, 0.25) 0%, rgba(26, 82, 118, 0.20) 100%);
  z-index: 1;
}

.hero-content {
  animation: fadeInUp 1s ease;
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
  color: var(--gold);
  font-weight: 700;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 1rem;
    min-height: 350px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }
}

/* ============================================
   BUTTONS (MARITIME STYLE)
   ============================================ */

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.btn-primary {
  background: linear-gradient(135deg, var(--rot) 0%, #c9362d 100%);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(217, 83, 79, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--gold) 0%, #b8944a 100%);
  color: var(--navy);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(201, 169, 97, 0.4);
}

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

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

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 60px 1rem;
}

section.alt {
  background-color: var(--sand);
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}

.section-title {
  font-size: 2.5rem;
  color: var(--navy);
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
  font-weight: 700;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 2px 4px rgba(201, 169, 97, 0.3);
}

/* ============================================
   GRID & CARDS
   ============================================ */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background-color: var(--white);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transition: all 0.3s ease;
  border-left: 4px solid var(--gold);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.card-text {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   GALLERY
   ============================================ */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  border: 3px solid var(--gold);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* ============================================
   PRICING TABLE
   ============================================ */

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--white);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 2rem;
  border: 2px solid var(--gold);
}

.pricing-table thead {
  background: linear-gradient(135deg, var(--navy) 0%, var(--ocean) 100%);
  color: var(--white);
}

.pricing-table th,
.pricing-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--sand);
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tbody tr:hover {
  background-color: var(--creme);
}

.pricing-table .price {
  font-weight: bold;
  color: var(--rot);
  font-size: 1.1rem;
}

/* ============================================
   CONTACT FORM
   ============================================ */

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--navy);
  font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid var(--sand);
  border-radius: 3px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.2);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-item {
  padding: 1.5rem;
  background-color: var(--white);
  border-radius: 3px;
  border-left: 4px solid var(--gold);
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.contact-item h3 {
  color: var(--navy);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.contact-item p {
  color: #555;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  line-height: 1.8;
}

/* ============================================
   TWO COLUMN LAYOUT
   ============================================ */

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.two-column img {
  width: 100%;
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border: 3px solid var(--gold);
}

/* ============================================
   HIGHLIGHT BOX (MARITIME)
   ============================================ */

.highlight-box {
  background: linear-gradient(135deg, var(--gold) 0%, #b8944a 100%);
  color: var(--navy);
  padding: 2.5rem;
  border-radius: 3px;
  margin: 2rem 0;
  border: 2px solid var(--brown);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.highlight-box h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.highlight-box ul {
  list-style: none;
  padding-left: 0;
}

.highlight-box li {
  padding: 0.6rem 0;
  padding-left: 1.8rem;
  position: relative;
  font-weight: 500;
}

.highlight-box li::before {
  content: '⚓';
  position: absolute;
  left: 0;
  color: var(--navy);
  font-weight: bold;
}

/* ============================================
   FOOTER (PROFESSIONELL & RESPONSIVE!)
   ============================================ */

footer {
  background: linear-gradient(135deg, var(--navy) 0%, var(--ocean) 100%);
  color: var(--white);
  padding: 3rem 1rem 1rem;
  margin-top: 4rem;
  border-top: 5px solid var(--gold);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.footer-section {
  min-width: 0;
}

.footer-section h3 {
  color: var(--gold);
  margin-bottom: 1.2rem;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.footer-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-section li {
  margin-bottom: 0.6rem;
}

.footer-section p {
  margin: 0.8rem 0;
  line-height: 1.8;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  text-align: justify;
  font-size: 0.95rem;
}

.footer-section strong {
  color: var(--gold);
  display: block;
  margin-top: 0.8rem;
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.footer-section a {
  color: #e0e0e0;
  text-decoration: none;
  transition: all 0.3s ease;
  word-break: break-word;
}

.footer-section a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  color: #aaa;
  font-size: 0.85rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.6s ease;
}

/* ============================================
   TEXT STYLES
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  margin: 1.5rem 0 1rem 0;
}

h3 {
  font-size: 1.3rem;
  margin: 1.2rem 0 0.8rem 0;
}

a {
  color: var(--rot);
  transition: color 0.3s ease;
}

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

strong {
  color: var(--navy);
  font-weight: 700;
}

.text-gold {
  color: var(--gold);
}

.text-rot {
  color: var(--rot);
}

.text-navy {
  color: var(--navy);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.text-center { text-align: center; }
.text-right { text-align: right; }

.max-width-600 { max-width: 600px; margin: 0 auto; }
.max-width-800 { max-width: 800px; margin: 0 auto; }

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
  section {
    padding: 40px 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .footer-content {
    gap: 2rem;
    grid-template-columns: 1fr;
  }

  @media (max-width: 480px) {
    .gallery {
      grid-template-columns: 1fr;
    }

    .footer-content {
      grid-template-columns: 1fr;
    }

    .footer-section {
      padding: 0;
    }
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  header, footer, .no-print {
    display: none;
  }

  body {
    font-size: 12px;
  }
}
