/* ========================================
   CSS Reset & Base Styles
   ======================================== */

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

:root {
  /* Colors - Nautical/Ocean Theme */
  --primary-color: #1e5a7d;
  --primary-dark: #144059;
  --secondary-color: #2d8bba;
  --accent-color: #34495e;
  --text-dark: #2c3e50;
  --text-light: #ffffff;
  --text-gray: #5a6c7d;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e0e6ed;
  
  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-xxl: 64px;
  
  /* Typography */
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-heading: Georgia, 'Times New Roman', serif;
  
  /* Container */
  --container-max: 1200px;
  --container-padding: 20px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding-left: 1em;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
  color: var(--primary-dark);
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--spacing-sm);
}

/* ========================================
   Layout Components
   ======================================== */

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

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-header h2 {
  margin-bottom: var(--spacing-xs);
}

.section-header h3 {
  margin-top: var(--spacing-lg);
}

.section-header p {
  color: var(--text-gray);
  font-size: 1.1rem;
}

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

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  min-height: 44px;
  min-width: 44px;
  margin-bottom: 1rem;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--text-light);
  width: 275px
}

.btn-primary:hover {
  background-color: #2c3e50;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 73, 94, 0.3);
}

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

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

/* ========================================
   Header & Navigation
   ======================================== */

.header {
  background-color: var(--bg-white);
  padding: var(--spacing-sm) 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

/* Hamburger Menu Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
  width: 40px;
  height: 40px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  transition: all 0.3s ease;
  border-radius: 2px;
  display: block;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-menu {
  display: flex;
  gap: var(--spacing-md);
}

.nav-menu li a {
  color: var(--text-dark);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: block;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--primary-color);
  background-color: var(--bg-light);
}

/* Social media links in nav */
.social-nav-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.social-nav-link img {
  width: 24px;
  height: 24px;
}

.social-text {
  display: none;
}

/* Mobile Navigation */
@media (max-width: 767px) {
  .hamburger {
    display: flex;
    margin-left: auto;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 80px 20px 20px;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    gap: var(--spacing-xs);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .social-text {
    display: inline;
  }
  
  .logo img {
    width: 60px;
    height: 60px;
  }
}

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

.hero {
  background-image: linear-gradient(rgba(48, 51, 52, 0.6), rgba(60, 64, 66, 0.6)), url('../images/DarkCloudsOverGear.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: var(--text-light);
  padding: var(--spacing-xxl) 0;
  text-align: center;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
  object-fit: cover;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(48, 51, 52, 0.6), rgba(60, 64, 66, 0.6));
  z-index: 1;
}

.hero-content {
  max-width: 850px;
  padding: 0 var(--spacing-sm);
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: var(--text-light);
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
  opacity: 0.95;
}

.hero h3 {
  color: var(--text-light);
}

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

.about {
  padding: var(--spacing-xxl) 0;
  background-color: var(--bg-white);
}

.about-content {
  /* display: flex;
  flex-direction: column;
  gap: var(--spacing-lg); */
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
}

.about-image {
  flex: 1;
  width: 100%;
}

.about-image img {
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* ========================================
   About Page Specific Styles
   ======================================== */

.about-hero {
  background-color: var(--primary-dark);
  background-image: url('../images/New_oyster_boat_on_farm.jpeg');
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  padding: var(--spacing-xxl) 0;
  text-align: center;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(48, 51, 52, 0.6), rgba(60, 64, 66, 0.6));
  z-index: 1;
}

.about-hero-content {
  color: var(--text-light);
  position: relative;
  z-index: 2;
  padding-top: 10rem;
}

.about-hero-content h1 {
  color: var(--text-light);
  font-size: 3rem;
  margin: 0;
}

.about-main {
  background-color: var(--bg-white);
}

/* Alternating Sections */
.about-section {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  padding: var(--spacing-xl) 0;
  align-items: center;
}

.about-section:not(:last-child) {
  border-bottom: 1px solid var(--border-color);
}

/* Stacked section with images below */
.about-section-stacked {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  padding: var(--spacing-xl) 0;
  border-bottom: 1px solid var(--border-color);
}

.about-section-images-row {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  width: 100%;
  justify-content: space-around;
  align-items: center;
}

.about-section-images-row .about-section-image {
  width: 100%;
  max-width: 100%;
}

.about-section-left-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.about-section-text {
  flex: 1;
}

.about-section-text h2 {
  color: var(--primary-dark);
  margin-bottom: var(--spacing-md);
  font-size: 1.75rem;
}

.about-section-text p {
  font-size: 1.05rem;
  color: var(--text-gray);
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
}

.about-section-text ul {
  list-style: disc;
  padding-left: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}

.about-section-text li {
  margin-bottom: var(--spacing-xs);
}

.about-section-text li p {
  color: var(--text-gray);
  margin-bottom: 0;
}

.about-section-image {
  flex: 0 0 auto;
  width: 100%;
  max-width: 400px;
}

.about-section-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.about-section-image video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.about-section-secondary-image {
  width: 100%;
  max-width: 300px;
}

.about-section-secondary-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  object-fit: cover;
}

/* Tablet Responsive - About Page */
@media (min-width: 768px) {
  .about-section:not(.about-section-stacked) {
    flex-direction: row;
    gap: var(--spacing-xl);
    padding: var(--spacing-xxl) 0;
  }
  
  .about-section-stacked {
    padding: var(--spacing-xxl) 0;
  }
  
  .about-section-image-left {
    flex-direction: row;
  }
  
  .about-section-image-right {
    flex-direction: row-reverse;
  }
  
  .about-section-text {
    flex: 1;
  }
  
  .about-section-image {
    flex: 0 0 350px;
    max-width: 350px;
  }
  
  .about-section-images-row {
    flex-direction: row;
    gap: var(--spacing-lg);
  }
  
  .about-section-images-row .about-section-image {
    flex: 1;
    max-width: none;
  }
}

/* Desktop Responsive - About Page */
@media (min-width: 1024px) {
  .about-hero-content h1 {
    font-size: 3.5rem;
  }
  
  .about-section {
    gap: var(--spacing-xxl);
  }
  
  .about-section-image {
    flex: 0 0 400px;
    max-width: 400px;
  }
  
  .about-section-text h2 {
    font-size: 2rem;
  }
  
  .about-section-text p {
    font-size: 1.1rem;
  }
}

/* ========================================
   Features Section
   ======================================== */

.features {
  padding: var(--spacing-xxl) 0;
  background-color: var(--bg-light);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

.feature-card {
  background-color: var(--bg-white);
  padding: var(--spacing-lg);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-card h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.feature-card p {
  color: var(--text-gray);
  margin-bottom: var(--spacing-sm);
}

.feature-card ul {
  list-style: disc;
  padding-left: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}

.feature-card li {
  margin-bottom: var(--spacing-xs);
}

.feature-card li p {
  color: var(--text-gray);
  margin-bottom: 0;
}

.feature-card-with-image {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}

.feature-card-content {
  flex: 1;
}

.feature-card-image {
  flex: 0 0 300px;
  min-width: 0;
  display: flex;
  align-self: stretch;
}

.feature-card-image img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .feature-card-with-image {
    flex-direction: column;
  }
  
  .feature-card-image {
    flex: 1 1 auto;
    width: 100%;
  }
}

/* ========================================
   Featured Section
   ======================================== */

.featured {
  padding: var(--spacing-xxl) 0;
  background-color: var(--bg-white);
}

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

.footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
  color: var(--text-light);
  margin-bottom: var(--spacing-sm);
  font-family: var(--font-primary);
  font-weight: 600;
  text-decoration: underline
}

.footer-section p {
  margin-bottom: var(--spacing-xs);
  opacity: 0.9;
}

.footer-section ul li {
  margin-bottom: var(--spacing-xs);
}

.footer-section a {
  color: var(--text-light);
  opacity: 0.9;
  transition: opacity 0.3s ease;
  display: inline-block;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.footer-section a:hover {
  opacity: 1;
  color: var(--accent-color);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.social-links img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  margin-right: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.8;
  font-size: 0.9rem;
}

/* ========================================
   TABLET BREAKPOINT - 768px+
   ======================================== */

@media (min-width: 768px) {
  :root {
    --container-padding: 32px;
  }
  
  body {
    font-size: 17px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.75rem;
  }
  
  .logo img {
    width: 100px;
    height: 100px;
  }
  
  .hero {
    min-height: 500px;
    padding: var(--spacing-xxl) 0;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .feature-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: var(--spacing-lg);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .btn {
    margin-bottom: 1rem;
  }
}

/* ========================================
   DESKTOP BREAKPOINT - 1024px+
   ======================================== */

@media (min-width: 1024px) {
  :root {
    --container-padding: 40px;
  }
  
  body {
    font-size: 18px;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.25rem;
  }
  
  .hero {
    min-height: 600px;
  }
  
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .about-content {
    flex-direction: row;
    gap: var(--spacing-xl);
  }
  
  /* .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  } */
  
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ========================================
   LARGE DESKTOP - 1440px+
   ======================================== */

@media (min-width: 1440px) {
  .hero h1 {
    font-size: 4rem;
  }
  
  .hero-subtitle {
    font-size: 1.75rem;
  }
}

.contact-page h1 {
  margin-bottom: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.contact-main {
  padding: var(--spacing-xl) 0;
  min-height: 500px;
  background-color: var(--bg-white);
}

.contact-main .about-section-image {
  max-width: 300px;
}

.contact-main .about-section-image img {
  height: 300px;
  object-fit: cover;
}