/* style.css - Forebay Design Premium Lakehouse & Yachting Furniture Style */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Oswald:wght@300;400;500;600;700&display=swap');

:root {
  --primary-navy: #1E3A8A;
  --primary-navy-dark: #111827;
  --teak-orange: #D97706;
  --teak-light: #F59E0B;
  --sail-white: #F8FAFC;
  --rope-gray: #D6D3D1;
  --rope-dark: #78716C;
  --rope-light: #F5F5F4;
  --text-dark: #1F2937;
  --text-muted: #4B5563;
  --border-color: #E5E7EB;
  
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-premium: 0 10px 30px -10px rgba(30, 58, 138, 0.15);
  --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--sail-white);
  color: var(--text-dark);
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary-navy);
}

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

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

/* Braided Rope Pattern Divider */
.rope-divider {
  height: 8px;
  background-image: repeating-linear-gradient(
    45deg,
    var(--rope-gray),
    var(--rope-gray) 8px,
    var(--rope-dark) 8px,
    var(--rope-dark) 16px
  );
  width: 100%;
  position: relative;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.rope-divider::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.1), rgba(0,0,0,0.15));
}

/* Yachting Teak Wood Frame */
.teak-frame {
  border: 12px solid #854D0E; /* Deep Teak Base */
  outline: 2px solid var(--teak-orange);
  box-shadow: var(--shadow-premium), inset 0 0 20px rgba(0,0,0,0.4);
  position: relative;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.teak-frame::before {
  content: '';
  position: absolute;
  top: -10px; left: -10px; right: -10px; bottom: -10px;
  border: 1px dashed var(--rope-gray);
  pointer-events: none;
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary-navy);
  color: var(--sail-white);
}

.btn-primary:hover {
  background-color: var(--teak-orange);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background-color: var(--primary-navy);
  color: var(--sail-white);
  transform: translateY(-2px);
}

.btn-teak {
  background-color: var(--teak-orange);
  color: var(--sail-white);
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
}

.btn-teak:hover {
  background-color: var(--primary-navy);
  transform: translateY(-2px);
}

/* Header & Navigation */
header {
  background-color: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--rope-gray);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--teak-orange);
}

.logo-anchor {
  font-size: 1.5rem;
  margin-right: 0.3rem;
}

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

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 0.3rem;
}

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

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

.nav-links a.active {
  color: var(--teak-orange);
}

/* Menu Toggle Button (Mobile) */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background-color: var(--primary-navy);
  transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--primary-navy-dark);
  color: var(--sail-white);
  height: 90vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(17, 24, 39, 0.9) 100%);
  z-index: 2;
}

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

.hero-tagline {
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  color: var(--teak-orange);
  margin-bottom: 1rem;
  font-weight: 500;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  color: var(--sail-white);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
  color: var(--rope-gray);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* Scroll Reveal Elements */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Grid & Layout Utilities */
.section {
  padding: 8rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 5rem;
}

.section-subtitle {
  color: var(--teak-orange);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 3rem;
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--teak-orange);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.feature-card {
  background-color: white;
  padding: 3rem 2rem;
  border-radius: 4px;
  box-shadow: var(--shadow-premium);
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--teak-orange);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--teak-orange);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

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

/* Split Section (About / Craftsmanship preview) */
.split-section {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.split-col {
  flex: 1;
}

.split-img-wrap {
  position: relative;
}

.split-img-decorator {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary-navy);
  color: var(--sail-white);
  padding: 2rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: var(--shadow-premium);
  z-index: 2;
}

.split-content h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.split-content p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Product Showcase Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.product-card {
  background: white;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background-color: var(--rope-light);
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--teak-orange);
  color: white;
  padding: 0.4rem 1rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.product-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--teak-orange);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.product-info h3 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  color: var(--primary-navy);
}

.product-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 1.2rem;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary-navy);
  font-weight: 600;
}

/* Category Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.filter-tab {
  background: white;
  border: 1px solid var(--rope-gray);
  padding: 0.8rem 2rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-tab:hover,
.filter-tab.active {
  background-color: var(--primary-navy);
  color: var(--sail-white);
  border-color: var(--primary-navy);
}

/* Testimonials / Guest Book */
.testimonials-section {
  background-color: var(--primary-navy);
  color: var(--sail-white);
  position: relative;
}

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

.testimonial-slider {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-card {
  padding: 2rem;
}

.testimonial-quote {
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 2rem;
  position: relative;
  line-height: 1.8;
}

.testimonial-author {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: var(--teak-orange);
  text-transform: uppercase;
}

.testimonial-loc {
  font-size: 0.85rem;
  color: var(--rope-gray);
  margin-top: 0.3rem;
}

/* Contact Page Form styling with floating labels */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
}

.contact-info-panel {
  background-color: var(--primary-navy);
  color: var(--sail-white);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.contact-info-list {
  list-style: none;
  margin: 3rem 0;
}

.contact-info-list li {
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.contact-info-icon {
  font-size: 1.5rem;
  color: var(--teak-orange);
  margin-top: 0.2rem;
}

.contact-info-text h4 {
  font-size: 1.1rem;
  color: var(--sail-white);
  margin-bottom: 0.3rem;
}

.contact-info-text p {
  color: var(--rope-gray);
  font-size: 0.95rem;
}

/* Floating Label Form Group */
.form-group {
  position: relative;
  margin-bottom: 2.5rem;
}

.form-input {
  width: 100%;
  padding: 1rem 0;
  border: none;
  border-bottom: 2px solid var(--rope-gray);
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-bottom-color: var(--primary-navy);
}

.form-label {
  position: absolute;
  top: 1rem;
  left: 0;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition-smooth);
  font-size: 1rem;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: -1.2rem;
  font-size: 0.85rem;
  color: var(--primary-navy);
  font-weight: 600;
}

/* Map placeholder representing a luxury custom lakeside dock map */
.map-container {
  height: 400px;
  background-color: var(--rope-light);
  border: 1px solid var(--rope-gray);
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
  box-shadow: var(--shadow-premium);
}

.lake-dock-map {
  width: 100%;
  height: 100%;
  position: relative;
  background-color: #dbeafe; /* Light water color */
}

.lake-dock-water-texture {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 50% 50%, rgba(30, 58, 138, 0.05) 10%, transparent 80%);
}

.lake-shoreline {
  position: absolute;
  width: 150%;
  height: 200px;
  background-color: #fef08a; /* Shore sand */
  bottom: -50px;
  left: -25%;
  border-radius: 50% 50% 0 0;
  border-top: 5px solid var(--teak-orange);
}

.dock-vector {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 180px;
  background-color: #78350f; /* Dark wood */
  box-shadow: 5px 5px 15px rgba(0,0,0,0.3);
  border-radius: 2px;
}

.dock-vector::before {
  content: '';
  position: absolute;
  top: 0;
  width: 100%;
  height: 10px;
  background-color: var(--teak-orange);
}

.map-marker {
  position: absolute;
  bottom: 160px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
}

.marker-pin {
  width: 30px;
  height: 30px;
  border-radius: 50% 50% 50% 0;
  background: var(--primary-navy);
  transform: rotate(-45deg);
  margin: 0 auto;
  box-shadow: -2px 2px 5px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

.marker-pin::after {
  content: '⚓';
  color: white;
  transform: rotate(45deg);
  font-size: 0.8rem;
}

.marker-label {
  background-color: white;
  color: var(--primary-navy);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  box-shadow: var(--shadow-premium);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  margin-top: 0.5rem;
  border: 1px solid var(--teak-orange);
}

/* Legal Pages Styling */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
  background: white;
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--border-color);
}

.legal-content h2 {
  font-size: 2rem;
  margin: 2.5rem 0 1rem;
  border-bottom: 2px solid var(--rope-gray);
  padding-bottom: 0.5rem;
}

.legal-content h3 {
  font-size: 1.3rem;
  margin: 1.5rem 0 0.8rem;
}

.legal-content p, .legal-content ul {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.legal-content ul {
  padding-left: 2rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* GDPR Cookie Consent Modal */
.gdpr-banner {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  max-width: 550px;
  background-color: white;
  border: 3px solid var(--teak-orange);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  transform: translateY(150%);
  opacity: 0;
}

.gdpr-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.gdpr-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px dashed var(--rope-gray);
  padding-bottom: 1rem;
}

.gdpr-header h4 {
  font-size: 1.3rem;
  margin: 0;
  color: var(--primary-navy);
}

.gdpr-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.gdpr-body a {
  color: var(--teak-orange);
  text-decoration: underline;
  font-weight: 500;
}

.gdpr-actions {
  display: flex;
  gap: 1rem;
}

.gdpr-actions button {
  flex: 1;
}

/* Footer Grid */
footer {
  background-color: var(--primary-navy-dark);
  color: var(--sail-white);
  padding: 6rem 2rem 2rem;
  border-top: 6px solid var(--teak-orange);
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  color: var(--sail-white);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--teak-orange);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--rope-gray);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--teak-orange);
  padding-left: 5px;
}

.footer-desc {
  color: var(--rope-gray);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.footer-bottom {
  max-width: 1400px;
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--rope-gray);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .split-section {
    flex-direction: column;
    gap: 3rem;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background-color: var(--sail-white);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2rem;
    border-bottom: 3px solid var(--teak-orange);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-150%);
    transition: var(--transition-smooth);
    z-index: 999;
  }
  
  .nav-links.active {
    transform: translateY(0);
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .section {
    padding: 5rem 1.5rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .gdpr-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 1.5rem;
  }
}
