/* SV SEA DOG - Vintage Caribbean Sailing Theme */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Cormorant+Garamond:wght@400;600&family=Oswald:wght@400;500&display=swap');

:root {
  --teal: #0d7377;
  --deep-teal: #064e52;
  --turquoise: #14a3a8;
  --sand: #e8d5b7;
  --parchment: #f5e6c8;
  --wood: #5c3a21;
  --dark-wood: #2c1a0e;
  --coral: #c75b39;
  --gold: #c9a227;
  --cream: #faf6eb;
  --navy: #1a2a3a;
  --rope: #8b6b4a;
  --shadow: rgba(44, 26, 14, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  background-color: var(--cream);
  color: var(--dark-wood);
  line-height: 1.7;
  font-size: 18px;
  overflow-x: hidden;
}

/* Wood texture overlay on body */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/wood-texture.jpg') center/cover;
  opacity: 0.04;
  pointer-events: none;
  z-index: -1;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--deep-teal);
  letter-spacing: 0.02em;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--coral);
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ========== NAVIGATION ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(44, 26, 14, 0.92), rgba(44, 26, 14, 0.75));
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 4px 20px var(--shadow);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(44, 26, 14, 0.97);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-link img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.3);
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--sand);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-text span {
  color: var(--gold);
  font-size: 0.75em;
  display: block;
  letter-spacing: 0.2em;
}

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

.nav-links a {
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--sand);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  position: relative;
  padding: 0.3rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--gold);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--gold);
  color: var(--sand);
  font-size: 1.5rem;
  padding: 0.3rem 0.7rem;
  cursor: pointer;
  border-radius: 4px;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero.jpg') center/cover no-repeat;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6, 78, 82, 0.55) 0%,
    rgba(44, 26, 14, 0.45) 50%,
    rgba(6, 78, 82, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 2rem;
  animation: fadeUp 1.2s ease-out;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-logo {
  width: 160px;
  height: 160px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  border: 4px solid var(--gold);
  box-shadow: 0 0 0 8px rgba(201, 162, 39, 0.25), 0 20px 50px rgba(0,0,0,0.4);
  object-fit: cover;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  color: var(--cream);
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  margin-bottom: 0.3rem;
  letter-spacing: 0.1em;
}

.hero .tagline {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.35rem;
  color: var(--sand);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.9rem 2.2rem;
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
  border-radius: 2px;
  transition: all 0.35s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transition: left 0.35s ease;
  z-index: -1;
}

.btn:hover {
  color: var(--dark-wood);
  border-color: var(--gold);
}

.btn:hover::before {
  left: 0;
}

.btn-solid {
  background: var(--gold);
  color: var(--dark-wood);
  border-color: var(--gold);
}

.btn-solid:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: white;
}

.btn-solid::before {
  display: none;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--sand);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ========== SECTION COMMON ========== */
section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.section-header .ornament::before,
.section-header .ornament::after {
  content: '';
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.section-header .ornament-icon {
  font-size: 1.5rem;
  color: var(--gold);
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.6rem;
}

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

/* Decorative rope divider */
.rope-divider {
  height: 12px;
  background: repeating-linear-gradient(
    90deg,
    var(--rope) 0px,
    var(--rope) 8px,
    var(--sand) 8px,
    var(--sand) 12px,
    var(--wood) 12px,
    var(--wood) 20px
  );
  opacity: 0.6;
  margin: 0;
  border: none;
}

/* ========== ABOUT ========== */
.about {
  background: linear-gradient(180deg, var(--cream) 0%, #f0e6d0 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 4px;
  box-shadow: 12px 12px 0 var(--gold), 0 20px 40px var(--shadow);
  border: 3px solid var(--wood);
}

.about-image::before {
  content: '⚓';
  position: absolute;
  top: -20px;
  left: -20px;
  font-size: 3rem;
  opacity: 0.7;
}

.about-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--deep-teal);
}

.about-content p {
  margin-bottom: 1.2rem;
  font-size: 1.15rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2rem;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem;
  background: rgba(255,255,255,0.5);
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
}

.feature-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.feature h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
  color: var(--teal);
}

.feature p {
  font-size: 0.95rem;
  margin: 0;
  color: var(--wood);
}

/* ========== SOCIAL / CONTENT ========== */
.social {
  background: var(--navy);
  color: var(--sand);
  position: relative;
  overflow: hidden;
}

.social::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/map.jpg') center/cover;
  opacity: 0.12;
  z-index: 0;
}

.social .container {
  position: relative;
  z-index: 1;
}

.social .section-header h2 {
  color: var(--cream);
}

.social .section-header p {
  color: var(--sand);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.social-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 8px;
  padding: 2.5rem 1.8rem;
  text-align: center;
  transition: all 0.4s ease;
  backdrop-filter: blur(4px);
}

.social-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.1);
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.social-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--dark-wood);
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.4);
}

.social-card h3 {
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.social-card p {
  color: var(--sand);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.social-card .btn {
  border-color: var(--gold);
  color: var(--gold);
  font-size: 0.85rem;
  padding: 0.7rem 1.5rem;
}

.social-card .btn:hover {
  color: var(--dark-wood);
}

/* ========== BLOG ========== */
.blog {
  background: var(--cream);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 30px var(--shadow);
  border: 1px solid rgba(92, 58, 33, 0.15);
  transition: all 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px var(--shadow);
}

.blog-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

.blog-card:hover .blog-card-img img {
  transform: scale(1.08);
}

.blog-card-img .date {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--dark-wood);
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.blog-card-body h3 a {
  color: var(--deep-teal);
}

.blog-card-body h3 a:hover {
  color: var(--coral);
}

.blog-card-body p {
  font-size: 1.05rem;
  color: var(--wood);
  margin-bottom: 1rem;
}

.read-more {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.read-more:hover {
  color: var(--coral);
}

/* ========== MERCHANDISE ========== */
.merch {
  background: linear-gradient(180deg, #f0e6d0 0%, var(--cream) 100%);
}

.merch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.product-card {
  background: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 35px var(--shadow);
  border: 2px solid transparent;
  transition: all 0.4s ease;
  text-align: center;
}

.product-card:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px var(--shadow);
}

.product-img {
  height: 280px;
  overflow: hidden;
  background: var(--sand);
  position: relative;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--coral);
  color: white;
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  padding: 0.3rem 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
}

.product-body {
  padding: 1.5rem 1.2rem 2rem;
}

.product-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
  color: var(--deep-teal);
}

.product-body .price {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  color: var(--coral);
  margin-bottom: 1rem;
}

.product-body .btn {
  width: 100%;
  font-size: 0.9rem;
}

/* ========== NEWSLETTER ========== */
.newsletter {
  background: var(--deep-teal);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '★  ⚓  ★  ⚓  ★  ⚓  ★';
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  color: rgba(201, 162, 39, 0.3);
  font-size: 1.2rem;
  letter-spacing: 1.5rem;
}

.newsletter h2 {
  color: var(--cream);
  margin-bottom: 0.8rem;
}

.newsletter p {
  color: var(--sand);
  margin-bottom: 2rem;
  font-size: 1.15rem;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 0;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem 1.2rem;
  border: 2px solid var(--gold);
  border-right: none;
  border-radius: 4px 0 0 4px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  background: rgba(255,255,255,0.95);
  color: var(--dark-wood);
  outline: none;
}

.newsletter-form button {
  padding: 1rem 1.8rem;
  background: var(--gold);
  color: var(--dark-wood);
  border: 2px solid var(--gold);
  border-radius: 0 4px 4px 0;
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: white;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--dark-wood);
  color: var(--sand);
  padding: 4rem 0 2rem;
  border-top: 4px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  margin-bottom: 1rem;
}

.footer-brand h3 {
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.footer-brand p {
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.85;
}

.footer h4 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.6rem;
}

.footer ul a {
  color: var(--sand);
  font-size: 1.05rem;
  opacity: 0.85;
  transition: all 0.3s;
}

.footer ul a:hover {
  color: var(--gold);
  opacity: 1;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(201, 162, 39, 0.25);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.95rem;
  opacity: 0.7;
}

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

.social-icons a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  transition: all 0.3s;
}

.social-icons a:hover {
  background: var(--gold);
  color: var(--dark-wood);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .social-grid,
  .blog-grid,
  .merch-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(44, 26, 14, 0.98);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 3px solid var(--gold);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .social-grid,
  .blog-grid,
  .merch-grid {
    grid-template-columns: 1fr;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-right: 2px solid var(--gold);
    border-radius: 4px;
    margin-bottom: 0.5rem;
  }
  
  .newsletter-form button {
    border-radius: 4px;
  }
  
  .hero-logo {
    width: 120px;
    height: 120px;
  }
}

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
