/* Custom CSS for Aquakultur Theme */

:root {
  --primary-color: rgba(30,80,104,1.0);
  --secondary-color: rgba(41,102,135,0.9);
  --text-color: #37474f;
  --light-bg: #f5f7fa;
  --dark-bg: #263238;
  --header-height: 80px;
  --header-height-mobile: 60px;
  --header-height-reduced: 60px;
  --font-family-sans-serif: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-family-heading: 'Montserrat', sans-serif;
  --max-content-width: 1200px;
  --container-padding: 1.5rem;
}

/* Base styling */
body {
  font-family: var(--font-family-sans-serif);
  color: var(--text-color);
  line-height: 1.7;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background-color: white;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

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

a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

/* Header styling */
#header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  z-index: 100;
  transition: all 0.3s ease;
  height: var(--header-height);
}

#header.scrolled {
  height: var(--header-height-reduced);
}

#header .header-logo img {
  height: calc(var(--header-height) - 30px);
  transition: height 0.3s ease;
}

#header.scrolled .header-logo img {
  height: calc(var(--header-height-reduced) - 20px);
}

/* Navigation styling */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--container-padding);
  height: 100%;
  max-width: var(--max-content-width);
  margin: 0 auto;
}

.navbar-section {
  display: flex;
  align-items: center;
}

.navbar-section a {
  color: var(--text-color);
  margin: 0 1rem;
  font-weight: 500;
  text-decoration: none;
  position: relative;
}

.navbar-section a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.navbar-section a:hover:after,
.navbar-section a.active:after {
  width: 100%;
}

/* Mobile menu button */
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-color);
}

/* Main content */
#body-wrapper {
  flex: 1 0 auto;
  margin-top: var(--header-height);
  padding: 3rem 0;
}

#body {
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
  box-sizing: border-box;
}

/* Hero section */
.hero {
  background-color: var(--primary-color);
  color: white;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  left: 0;
  right: 0;
  margin-top: var(--header-height);
}

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

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: white;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* LightSlider modifications */
.modular-lightslider {
  margin-top: var(--header-height);
}

/* Cards */
.card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
}

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

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

.card-header {
  padding: 1.5rem 1.5rem 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.card-body {
  padding: 1.5rem;
}

.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-block;
  border-radius: 4px;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

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

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

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

.btn-secondary:hover {
  background-color: transparent;
  color: var(--secondary-color);
}

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

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

/* Footer styling */
#footer {
  background-color: var(--primary-color);
  color: white;
  padding: 3rem 0;
  flex-shrink: 0;
}

#footer a {
  color: rgba(255, 255, 255, 0.8);
}

#footer a:hover {
  color: white;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.footer-column {
  flex: 1;
  min-width: 200px;
  margin-bottom: 2rem;
  padding-right: 2rem;
}

.footer-column h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-bottom {
  width: 100%;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 2rem;
}

.footer-bottom p {
  margin: 0.5rem 0;
}

/* News section */
.news-list {
  margin-top: 1.5rem;
}

.news-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.news-card-content {
  padding: 1.5rem;
}

.news-meta {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: #78909c;
}

.news-date {
  display: flex;
  align-items: center;
}

.news-date:before {
  content: "\f073";
  font-family: "Font Awesome 5 Free";
  margin-right: 0.5rem;
  font-weight: 400;
}

.news-author {
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
}

.news-author:before {
  content: "\f007";
  font-family: "Font Awesome 5 Free";
  margin-right: 0.5rem;
  font-weight: 400;
}

.news-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.news-excerpt {
  color: var(--text-color);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.news-all-link {
  text-align: center;
  margin-top: 1rem;
}

.empty-state {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 3rem 2rem;
  text-align: center;
  color: #78909c;
}

.empty-state i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #e0e0e0;
}

.empty-state p {
  font-size: 1.1rem;
  margin: 0;
}

/* Calendar/Events */
.calendar-list {
  margin-top: 2rem;
}

.calendar-item {
  display: flex;
  margin-bottom: 2rem;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.calendar-date {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 100px;
}

.calendar-date .day {
  font-size: 1.8rem;
  font-weight: bold;
}

.calendar-date .month {
  font-size: 1rem;
  text-transform: uppercase;
}

.calendar-content {
  padding: 1.5rem;
  flex: 1;
}

.calendar-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.calendar-location {
  font-size: 0.9rem;
  color: #78909c;
  margin-bottom: 0.75rem;
}

/* Container and Grid System */
.container {
  width: 100%;
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  box-sizing: border-box;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1rem;
}

.column {
  padding: 0 1rem;
  margin-bottom: 2rem;
  box-sizing: border-box;
}

.col-12 {
  width: 100%;
}

.col-6 {
  width: 50%;
}

.col-4 {
  width: 33.333333%;
}

.col-3 {
  width: 25%;
}

/* Membership section */
.membership-options {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.membership-card {
  flex: 1;
  min-width: 280px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background: white;
}

.membership-header {
  background-color: var(--primary-color);
  color: white;
  padding: 2rem;
  text-align: center;
}

.membership-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: white;
}

.membership-price {
  font-size: 2.5rem;
  font-weight: bold;
}

.membership-period {
  opacity: 0.8;
}

.membership-features {
  padding: 2rem;
}

.membership-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.membership-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.membership-features li:last-child {
  border-bottom: none;
}

.membership-cta {
  padding: 0 2rem 2rem;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  :root {
    --max-content-width: 95%;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: var(--header-height-mobile);
    --container-padding: 1rem;
  }
  
  .navbar {
    padding: 0 var(--container-padding);
  }
  
  .navbar-section {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    z-index: 99;
    height: auto;
  }
  
  .navbar-section.active {
    transform: translateY(0);
    opacity: 1;
    padding: 1rem 0;
  }
  
  .navbar-section a {
    margin: 0.5rem var(--container-padding);
    width: 100%;
  }
  
  .navbar-toggle {
    display: block;
  }
  
  .col-6, .col-4, .col-3 {
    width: 100%;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .footer-columns {
    flex-direction: column;
  }
  
  .calendar-item {
    flex-direction: column;
  }
  
  .calendar-date {
    margin-right: 0;
    margin-bottom: 1rem;
    width: 80px;
    height: 80px;
    align-self: center;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .col-6 {
    width: 50%;
  }
  
  .col-4, .col-3 {
    width: 50%;
  }
}

/* Form Styling */
.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background-color: #fff;
  font-family: var(--font-family-sans-serif);
  font-size: 1rem;
  color: var(--text-color);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="password"]:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
  outline: none;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2337474f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  padding-right: 2.5rem;
}

.form-group.checkbox {
  display: flex;
  align-items: flex-start;
}

.form-group.checkbox input[type="checkbox"] {
  margin-top: 0.3rem;
  margin-right: 0.75rem;
  min-width: 18px;
  min-height: 18px;
}

.form-group.checkbox label {
  margin-bottom: 0;
  font-weight: normal;
  line-height: 1.5;
}

.form-group.checkbox label a {
  text-decoration: underline;
}

.form-group.checkbox label a:hover {
  color: var(--primary-color);
}

.form-actions {
  margin-top: 2rem;
}

.form-actions button {
  padding: 0.8rem 2rem;
  font-weight: 600;
}

.form-status {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 4px;
  display: none;
}

.form-status.success {
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
  display: block;
}

.form-status.error {
  background-color: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
  display: block;
}

.contact-form-container,
.registration-form {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-form-container h2,
.registration-form h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Custom validation styling */
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #c62828;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.1);
}

.error-message {
  display: block;
  color: #c62828;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* News Detail Page */
.news-single {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  margin-top: 2rem;
}

.news-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 1.5rem;
}

.news-header h1 {
  margin-top: 0.75rem;
  margin-bottom: 0;
  font-size: 2.2rem;
  color: var(--primary-color);
}

.news-single .news-meta {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  font-size: 1rem;
  color: #78909c;
}

.news-single .news-date,
.news-single .news-author {
  display: flex;
  align-items: center;
}

.news-single .news-author {
  margin-left: 1.5rem;
  padding-left: 1.5rem;
  border-left: 1px solid #e0e0e0;
}

.news-single .news-date i,
.news-single .news-author i {
  margin-right: 0.5rem;
}

.news-single .news-content {
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.news-single .news-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 1.5rem 0;
}

.news-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e0e0e0;
}

.news-navigation .prev-news,
.news-navigation .next-news {
  flex: 0 0 auto;
}

.news-navigation .back-to-news {
  margin: 0 1rem;
}

/* News Archive Page */
.news-archive-header {
  margin-bottom: 2rem;
}

.news-archive-header h1 {
  margin-bottom: 1rem;
}

.news-archive-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .news-archive-list {
    grid-template-columns: 1fr;
  }
}

/* Business Cards Styling */
.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.business-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.business-card-link:hover {
  text-decoration: none;
  color: inherit;
}

.business-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-card-link:hover .business-card {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.business-email .email-text,
.business-website .website-text {
  color: var(--primary-color);
  text-decoration: underline;
}

.business-logo {
  height: 180px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f5f7fa;
  padding: 1rem;
}

.business-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.business-details {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.business-name {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.business-contact-name,
.business-address,
.business-email,
.business-website {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.business-email a,
.business-website a {
  color: #0066cc;
  text-decoration: none;
}

.business-email a:hover,
.business-website a:hover {
  text-decoration: underline;
}

/* Business Detail Page Styling */
.business-detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.business-header {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eaeaea;
}

.business-logo-large {
  flex: 0 0 300px;
  background-color: #f5f7fa;
  padding: 2rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.business-logo-large img {
  max-width: 100%;
  max-height: 250px;
  object-fit: contain;
}

.business-header-info {
  flex: 1;
  min-width: 300px;
}

.business-name-large {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  font-size: 2.5rem;
}

.business-contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.1rem;
}

.contact-item i {
  color: var(--primary-color);
  width: 20px;
  text-align: center;
}

.business-description {
  margin-bottom: 3rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

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

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.back-link {
  margin-top: 2rem;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .business-header {
    flex-direction: column;
  }
  
  .business-logo-large {
    margin: 0 auto;
  }
  
  .business-header-info {
    text-align: center;
  }
  
  .contact-item {
    justify-content: center;
  }
}

/* About Page Styling */
.about-stats {
  display: flex;
  justify-content: space-around;
  margin: 3rem 0;
  padding: 2rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.stat-item {
  padding: 1rem;
}

.counter {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-color);
}

/* Team Cards Styling */
.team-section {
  margin: 4rem 0;
}

.team-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.team-img-container {
  height: 200px;
  overflow: hidden;
  background-color: #f5f7fa;
  display: flex;
  justify-content: center;
  align-items: center;
}

.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.team-img-placeholder i {
  font-size: 4rem;
  color: #e0e0e0;
}

.team-info {
  padding: 1.5rem;
}

.team-name {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  color: var(--primary-color);
}

.team-position {
  font-size: 1rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-weight: 500;
}

.team-bio {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.team-social {
  display: flex;
  gap: 1rem;
}

.team-social a {
  color: var(--text-color);
  transition: color 0.3s ease;
}

.team-social a:hover {
  color: var(--primary-color);
}

/* Production Method Cards */
.production-methods {
  margin: 4rem 0;
}

.method-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.method-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.method-card p {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.method-card .btn {
  align-self: flex-start;
}

/* Responsive adjustments for about page */
@media (max-width: 768px) {
  .about-stats {
    flex-direction: column;
  }
  
  .stat-item {
    margin-bottom: 2rem;
  }
  
  .team-card {
    margin-bottom: 2rem;
  }
}

/* Custom styles for specific page types */

/* Hide specific sections on method pages */
.ras-page .about-stats,
.ras-page .production-methods,
.aquaponik-page .about-stats,
.aquaponik-page .production-methods {
    display: none !important;
}

/* Better layout for content pages */
.ras-page .page-content,
.aquaponik-page .page-content {
    width: 100%;
}

.ras-page .grid .column img,
.aquaponik-page .grid .column img {
    max-width: 100%;
    height: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ras-page .grid .column,
    .aquaponik-page .grid .column {
        width: 100%;
        margin-bottom: 2rem;
    }
}

/* Custom grid system for content pages */
.custom-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    clear: both;
    padding: 20px 0;
}

.custom-column {
    flex: 1;
    padding: 0 15px;
    min-width: 300px;
}

.custom-column img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.feed-container {
    text-align: center;
    margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .custom-grid {
        flex-direction: column;
    }
    
    .custom-column {
        margin-bottom: 2rem;
    }
}

/* LightSlider overrides to ensure proper display */
.grav-lightslider {
    width: 100%;
    display: block;
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
}

.grav-lightslider ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.grav-lightslider .lSSlideOuter {
    overflow: hidden;
    user-select: none;
}

.grav-lightslider .lSSlideWrapper {
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

.grav-lightslider .lSSlideWrapper .lSAction > a {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    cursor: pointer;
    display: block;
    height: 32px;
    margin-top: -16px;
    opacity: 0.75;
    position: absolute;
    top: 50%;
    width: 32px;
    z-index: 9;
}

.grav-lightslider .lSSlideWrapper .lSAction > a:hover {
    opacity: 1;
}

.grav-lightslider .lSSlideWrapper .lSAction > .lSPrev {
    background-position: 0 0;
    left: 10px;
}

.grav-lightslider .lSSlideWrapper .lSAction > .lSNext {
    background-position: -32px 0;
    right: 10px;
}

.grav-lightslider .lSSlideOuter .lSPager.lSpg {
    margin: 10px 0 0;
    padding: 0;
    text-align: center;
}

.grav-lightslider .lSSlideOuter .lSPager.lSpg > li {
    cursor: pointer;
    display: inline-block;
    padding: 0 5px;
}

.grav-lightslider .lSSlideOuter .lSPager.lSpg > li a {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    display: inline-block;
    height: 8px;
    overflow: hidden;
    text-indent: -999em;
    width: 8px;
    position: relative;
    z-index: 99;
    transition: all 0.5s linear 0s;
}

.grav-lightslider .lSSlideOuter .lSPager.lSpg > li:hover a,
.grav-lightslider .lSSlideOuter .lSPager.lSpg > li.active a {
    background-color: #428bca;
}

/* Set fixed height for slider images on homepage */
.home-page .grav-lightslider img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

/* Hero overlay for lightslider */
.grav-lightslider {
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 10;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  padding: 2rem;
}

.hero-content {
  max-width: 800px;
}

.hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-overlay p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .hero-overlay h1 {
    font-size: 2rem;
  }
  
  .hero-overlay p {
    font-size: 1rem;
  }
}

/* Hero slider container for home page */
.hero-slider-container {
  position: relative;
  width: 100%;
  margin-top: var(--header-height);
}

.slider-wrapper {
  width: 100%;
}

#home-slider {
  width: 100%;
  margin-bottom: 0;
}

/* Core slider styling */
#home-slider .lSSlideOuter {
  overflow: hidden;
}

#home-slider img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

/* Hero overlay */
.hero-slider-container .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 15;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-slider-container .hero-content {
  max-width: 800px;
  color: white;
  position: relative;
  z-index: 20;
}

.hero-slider-container .hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-slider-container .hero-overlay p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-slider-container .hero-overlay .btn {
  pointer-events: auto;
  position: relative;
  z-index: 20;
}

/* Navigation elements */
.hero-slider-container .lSAction > a {
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  text-decoration: none;
}

.hero-slider-container .lSAction > .lSPrev {
  left: 20px;
}

.hero-slider-container .lSAction > .lSNext {
  right: 20px;
}

/* Add arrow icons using FontAwesome */
.hero-slider-container .lSAction > a:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-slider-container .lSAction > .lSPrev:before {
  content: "\f104"; /* FontAwesome chevron-left */
}

.hero-slider-container .lSAction > .lSNext:before {
  content: "\f105"; /* FontAwesome chevron-right */
}

/* Pager styling */
.hero-slider-container .lSPager {
  z-index: 10;
  position: absolute;
  bottom: 20px;
  width: 100%;
  margin-top: 0;
}

.hero-slider-container .lSPager.lSpg > li a {
  background-color: rgba(255, 255, 255, 0.5);
  height: 10px;
  width: 10px;
}

.hero-slider-container .lSPager.lSpg > li:hover a,
.hero-slider-container .lSPager.lSpg > li.active a {
  background-color: white;
}

@media (max-width: 768px) {
  .hero-slider-container {
    margin-top: var(--header-height-mobile);
  }
  
  #home-slider img {
    height: 450px;
  }
  
  .hero-slider-container .hero-overlay h1 {
    font-size: 2rem;
  }
  
  .hero-slider-container .hero-overlay p {
    font-size: 1rem;
  }
}

/* RAS page specific styles */
.ras-content img {
  display: block;
  margin: 2rem auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.ras-content h2 {
  margin-top: 3rem;
  clear: both;
}

.ras-content p {
  margin-bottom: 1.5rem;
}

/* Image layout improvements */
.ras-content h2 + p + img,
.ras-content h2 + img {
  float: right;
  max-width: 45%;
  margin: 0 0 1.5rem 1.5rem;
}

.ras-content h3 + p + img,
.ras-content h3 + img {
  float: left;
  max-width: 45%;
  margin: 0 1.5rem 1.5rem 0;
}

/* Clear floats at the end of sections */
.ras-content h2,
.ras-content h3 {
  clear: both;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .ras-content h2 + p + img,
  .ras-content h2 + img,
  .ras-content h3 + p + img,
  .ras-content h3 + img {
    float: none;
    max-width: 100%;
    margin: 1.5rem auto;
  }
} 