/* --- CSS Variables --- */
:root {
  /* Ocean Palette */
  --color-primary: #042131; /* Deep Ocean Blue */
  --color-secondary: #0A3955; /* Teal Blue */
  
  /* Green Accent (Green Card) */
  --color-accent: #2E8B57; /* Sea Green */
  --color-accent-hover: #3CB371; /* Medium Sea Green */
  
  /* Neutrals */
  --color-light: rgba(255, 255, 255, 0.05); /* Glass card */
  --color-white: #FFFFFF;
  --color-text: rgba(255, 255, 255, 0.9); /* Light text */
  --color-text-light: rgba(255, 255, 255, 0.6);

  /* Typography */
  --font-main: 'Outfit', sans-serif;
  
  /* Layout */
  --container-width: 1200px;
  --transition-smooth: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Base & Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  color: var(--color-text);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  background-attachment: fixed;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  background-color: transparent;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-smooth);
}

ul {
  list-style: none;
}

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

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

.section {
  padding: 6rem 0;
}

.bg-light {
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

#fish-cursor {
  position: fixed;
  top: 0;
  left: 0;
  font-size: 2.5rem;
  pointer-events: none;
  z-index: 9999;
  display: none; /* hidden until mouse moves */
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.text-accent {
  color: var(--color-accent) !important;
}

/* --- Typography & Utilities --- */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--color-text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.accent-line {
  width: 60px;
  height: 4px;
  background: var(--color-accent);
  margin: 1rem 0 2rem 0;
  border-radius: 2px;
}

.accent-line.center {
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: none;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 10px 20px rgba(46, 139, 87, 0.2);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(46, 139, 87, 0.3);
}

.btn-full {
  width: 100%;
}

/* --- Navigation --- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-smooth);
  padding: 1.5rem 0;
}

nav.scrolled {
  background: rgba(4, 33, 49, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
}

/* --- Hero Section --- */
#hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  /* Parallax setup */
  background-image: url('images/home-page.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--color-white);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(4, 33, 49, 0.9), rgba(4, 33, 49, 0.5));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
  margin: 0 auto;
  text-align: center;
}

.hero-content h1 {
  font-size: 4rem;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
}

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--color-text-light);
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(4, 33, 49, 0.15);
}

.about-image img {
  width: 100%;
  height: auto;
  transition: transform 0.8s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* --- Products Section --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.product-card {
  background: var(--color-light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: all var(--transition-smooth);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.card-image {
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.product-card:hover .card-image img {
  transform: scale(1.1);
}

.card-content {
  padding: 1.5rem;
}

.card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card-content p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.icon-box {
  width: 50px;
  height: 50px;
  background: rgba(46, 139, 87, 0.1);
  color: var(--color-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.info-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--color-accent);
}

.info-item p {
  color: var(--color-text-light);
}

.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.03);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
  background: rgba(255, 255, 255, 0.1);
}

.form-status {
  margin-top: 1rem;
  text-align: center;
  font-weight: 500;
}

.form-status.success { color: var(--color-accent); }
.form-status.error { color: #E74C3C; }

/* --- Footer --- */
footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.footer-brand h2 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
}

.footer-copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  width: 100%;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* --- Animations (Scroll Reveal) --- */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translate(0);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-text {
    order: 2;
  }
  
  .about-image {
    order: 1;
  }

  .hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: var(--color-primary);
    flex-direction: column;
    padding-top: 6rem;
    padding-left: 2rem;
    transition: right var(--transition-smooth);
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
  }

  .nav-links.nav-active {
    right: 0;
  }

  .hamburger {
    display: block;
    z-index: 1001;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .contact-form-wrapper {
    padding: 2rem;
  }
}
