/* ============================================
   SAILING TEXAS - Modern Nautical Design
   ============================================ */

/* === Custom Properties === */
:root {
  /* Nautical color palette - deep ocean blues with warm sunset accents */
  --color-ocean-deep: #0a2540;
  --color-ocean-mid: #1a4a6e;
  --color-ocean-light: #2d7d9a;
  --color-ocean-pale: #a8d4e6;
  --color-sunset-gold: #f4a926;
  --color-sunset-coral: #e85d4c;
  --color-sunset-warm: #ff8f5c;
  --color-sail-white: #faf9f7;
  --color-sail-cream: #f5f2ed;
  --color-sand: #e8dfd5;
  --color-sand-dark: #c9bba8;
  --color-rope: #8b7355;
  --color-driftwood: #6b5b4f;

  /* Semantic colors */
  --color-text: var(--color-ocean-deep);
  --color-text-muted: #5a6b7a;
  --color-border: #d1d9e0;
  --color-success: #2e7d32;
  --color-error: #c62828;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Font sizes - fluid typography */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --text-base: clamp(1rem, 0.925rem + 0.375vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.375rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.625rem);
  --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2.25rem);
  --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  --text-4xl: clamp(2.5rem, 1.75rem + 3.75vw, 5rem);

  /* Spacing scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.08);
  --shadow-md: 0 4px 12px rgba(10, 37, 64, 0.1);
  --shadow-lg: 0 8px 30px rgba(10, 37, 64, 0.12);
  --shadow-xl: 0 20px 50px rgba(10, 37, 64, 0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-medium: 300ms ease;
  --transition-slow: 500ms ease;

  /* Layout */
  --container-max: 1400px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-sail-cream);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

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

ul, ol {
  list-style: none;
}

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

/* === Skip Link (Accessibility) === */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--color-ocean-deep);
  color: white;
  padding: var(--space-sm) var(--space-md);
  z-index: 1000;
}

.skip-link:focus {
  top: 0;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  background: linear-gradient(135deg, var(--color-ocean-deep) 0%, var(--color-ocean-mid) 100%);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-lg);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-sail-white);
  transition: opacity var(--transition-fast);
}

.site-logo:hover {
  opacity: 0.9;
}

.site-logo img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-sunset-gold);
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* === Navigation === */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-link {
  color: var(--color-sail-white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-sunset-gold);
  transition: all var(--transition-medium);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  width: 50%;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-link[aria-current="page"] {
  background: rgba(255, 255, 255, 0.15);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-sail-white);
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle .close-icon {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  display: none;
}

.menu-toggle[aria-expanded="true"] .close-icon {
  display: block;
}

.hidden {
  display: none !important;
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-ocean-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-xl);
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
}

.mobile-nav.is-open {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav-inner {
  padding: var(--space-lg);
}

.mobile-nav-section {
  margin-bottom: var(--space-lg);
}

.mobile-nav-section h3 {
  color: var(--color-sunset-gold);
  font-size: var(--text-sm);
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link {
  display: block;
  color: var(--color-sail-white);
  padding: var(--space-sm) 0;
  font-size: var(--text-base);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--color-sunset-gold);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background:
    linear-gradient(135deg, rgba(10, 37, 64, 0.9) 0%, rgba(26, 74, 110, 0.8) 100%),
    url('/assets/images/hero-sailboat.jpg') center/cover no-repeat;
  padding: var(--space-4xl) var(--space-lg);
  text-align: center;
  color: var(--color-sail-white);
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animated wave effect at bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23f5f2ed' d='M0,64 C480,150 960,-20 1440,64 L1440,120 L0,120 Z'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s ease-out;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: var(--text-lg);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  opacity: 0.95;
  animation: fadeInUp 0.8s ease-out 0.15s both;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
  animation: fadeInUp 0.8s ease-out 0.45s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-sunset-gold);
  display: block;
}

.hero-stat-label {
  font-size: var(--text-sm);
  opacity: 0.8;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-xl);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--text-base);
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 2px solid transparent;
  min-height: 48px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-sunset-gold) 0%, var(--color-sunset-coral) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(244, 169, 38, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(244, 169, 38, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--color-ocean-mid);
  color: white;
}

.btn-secondary:hover {
  background: var(--color-ocean-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.btn-lg {
  padding: var(--space-md) var(--space-2xl);
  font-size: var(--text-lg);
  min-height: 56px;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
  width: 100%;
}

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

.section {
  padding: var(--space-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title {
  font-size: var(--text-2xl);
  color: var(--color-ocean-deep);
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-2xl);
}

.content-main {
  min-width: 0;
}

/* ============================================
   BOAT CARDS
   ============================================ */
.boats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.boat-card {
  background: var(--color-sail-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.boat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.boat-card.is-sold {
  opacity: 0.85;
}

.boat-card-link {
  display: block;
  color: inherit;
}

.boat-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--color-sand);
}

.boat-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

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

.boat-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-sand-dark);
}

.sold-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: var(--color-sunset-coral);
  color: white;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.boat-card-content {
  padding: var(--space-lg);
}

.boat-card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-ocean-deep);
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}

.boat-card-meta {
  display: flex;
  gap: var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.boat-card-price {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-sunset-coral);
}

.boat-card-excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
  line-height: 1.5;
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.sidebar-card {
  background: var(--color-sail-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.sidebar-card h2,
.sidebar-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-ocean-deep);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-sunset-gold);
}

.sidebar-list li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
}

.sidebar-list li:last-child {
  border-bottom: none;
}

.sidebar-list a {
  color: var(--color-ocean-mid);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.sidebar-list a:hover {
  color: var(--color-sunset-coral);
}

/* Weather Links */
.weather-links a {
  display: block;
  padding: var(--space-xs) 0;
  color: var(--color-ocean-mid);
  font-size: var(--text-sm);
}

.weather-links a:hover {
  color: var(--color-sunset-coral);
}

/* ============================================
   FEATURED SECTIONS
   ============================================ */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  background: var(--color-sail-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-md);
  background: linear-gradient(135deg, var(--color-ocean-light) 0%, var(--color-ocean-mid) 100%);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.feature-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
  color: var(--color-ocean-deep);
}

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

/* ============================================
   ARTICLES / NEWS
   ============================================ */
.articles-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.article-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--color-sail-white);
  border-radius: var(--radius-md);
  transition: box-shadow var(--transition-fast);
}

.article-item:hover {
  box-shadow: var(--shadow-md);
}

.article-date {
  flex-shrink: 0;
  width: 60px;
  text-align: center;
  padding: var(--space-sm);
  background: var(--color-ocean-deep);
  color: white;
  border-radius: var(--radius-sm);
}

.article-date-day {
  font-size: var(--text-xl);
  font-weight: 700;
  display: block;
}

.article-date-month {
  font-size: var(--text-xs);
  text-transform: uppercase;
}

.article-content h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-xs);
}

.article-content p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============================================
   BOAT DETAIL PAGE
   ============================================ */
.boat-detail-header {
  background: linear-gradient(135deg, var(--color-ocean-deep) 0%, var(--color-ocean-mid) 100%);
  color: white;
  padding: var(--space-2xl) var(--space-lg);
}

.boat-detail-header-content {
  max-width: var(--container-max);
  margin: 0 auto;
}

.breadcrumb {
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
  opacity: 0.8;
}

.breadcrumb ol {
  display: flex;
  gap: var(--space-sm);
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: var(--space-sm);
  opacity: 0.5;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.boat-detail-header h1 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
}

.boat-meta {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
  margin-bottom: var(--space-md);
  font-size: var(--text-base);
}

.boat-status.sold {
  background: var(--color-sunset-coral);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--text-sm);
}

.boat-detail-header .boat-price {
  font-size: var(--text-2xl);
  color: var(--color-sunset-gold);
  font-weight: 700;
}

.boat-detail-content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: var(--space-2xl);
}

.boat-detail-main {
  min-width: 0;
}

/* Gallery */
.boat-gallery {
  margin-bottom: var(--space-2xl);
}

.boat-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.boat-gallery-main img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.boat-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: var(--space-sm);
}

.thumb-btn {
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: none;
  transition: border-color var(--transition-fast);
}

.thumb-btn:hover,
.thumb-btn.active {
  border-color: var(--color-sunset-gold);
}

.thumb-btn img {
  aspect-ratio: 1;
  object-fit: cover;
}

.boat-description {
  font-size: var(--text-base);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
}

.boat-description h2 {
  font-size: var(--text-xl);
  margin: var(--space-xl) 0 var(--space-md);
}

.boat-description ul {
  margin-left: var(--space-lg);
}

.boat-description li {
  margin-bottom: var(--space-sm);
  list-style: disc;
}

.boat-features h2 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
  color: var(--color-ocean-deep);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.feature-list li {
  padding: var(--space-sm) var(--space-md);
  background: var(--color-sail-cream);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.feature-list li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: 700;
}

/* Detail Sidebar */
.boat-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-card,
.share-card,
.similar-boats {
  background: var(--color-sail-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.contact-card h3,
.share-card h3,
.similar-boats h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
  color: var(--color-ocean-deep);
}

.contact-card p {
  margin-bottom: var(--space-md);
  color: var(--color-text-muted);
}

.contact-card .btn {
  width: 100%;
  margin-bottom: var(--space-sm);
}

.sold-notice {
  background: var(--color-sand);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  text-align: center;
}

.sold-notice a {
  color: var(--color-ocean-mid);
  text-decoration: underline;
}

.share-buttons {
  display: flex;
  gap: var(--space-sm);
}

.share-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.share-btn:hover {
  transform: scale(1.1);
}

.share-btn.facebook {
  background: #1877f2;
  color: white;
}

.share-btn.twitter {
  background: #1da1f2;
  color: white;
}

.share-btn.copy-link {
  background: var(--color-sand);
  color: var(--color-ocean-deep);
}

.similar-boats ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.similar-boats a {
  color: var(--color-ocean-mid);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
  display: block;
}

.similar-boats a:hover {
  color: var(--color-sunset-coral);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-ocean-deep);
  color: var(--color-sail-white);
  margin-top: var(--space-4xl);
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-sail-white);
  margin-bottom: var(--space-md);
}

.footer-logo img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
}

.footer-logo span {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
}

.footer-brand > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  margin-bottom: var(--space-lg);
}

.footer-stats {
  display: flex;
  gap: var(--space-lg);
}

.footer-stats .stat {
  text-align: center;
}

.footer-stats .stat-number {
  display: block;
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-sunset-gold);
}

.footer-stats .stat-label {
  font-size: var(--text-xs);
  opacity: 0.7;
}

.footer-links h3 {
  font-size: var(--text-base);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--color-sunset-gold);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  font-size: var(--text-sm);
  opacity: 0.7;
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: white;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .content-grid {
    grid-template-columns: 1fr 280px;
  }

  .boat-detail-content {
    grid-template-columns: 1fr 300px;
  }

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

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

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

  .sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sidebar-card {
    flex: 1;
    min-width: 280px;
  }

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

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

  .boat-detail-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact-card,
  .share-card,
  .similar-boats {
    flex: 1;
    min-width: 250px;
  }
}

@media (max-width: 768px) {
  :root {
    --space-lg: 1rem;
    --space-xl: 1.5rem;
    --space-2xl: 2rem;
    --space-3xl: 2.5rem;
  }

  .hero {
    padding: var(--space-2xl) var(--space-md);
    min-height: 50vh;
  }

  .hero-stats {
    gap: var(--space-lg);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .boats-grid {
    grid-template-columns: 1fr;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-brand {
    max-width: none;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-stats {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: var(--space-sm) var(--space-md);
  }

  .site-logo img {
    width: 40px;
    height: 40px;
  }

  .logo-main {
    font-size: var(--text-lg);
  }

  .boat-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
