/* Los Cabos Yacht Charters - Luxury Dark Theme */

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --dark-navy: #0b0f14;
  --charcoal: #111418;
  --gold: #c6a75e;
  --gold-light: #d4b876;
  --ivory: #f5f5f5;
  --ocean-blue: #4a90a4;
  --text-secondary: #b8b8b8;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--dark-navy);
  color: var(--ivory);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

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

a:hover {
  color: var(--gold-light);
}

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

/* ===== HEADER & NAVIGATION ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  background-color: rgba(17, 20, 24, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(198, 167, 94, 0.1);
  padding: 1rem 0;
}

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

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: 'Georgia', serif;
  letter-spacing: 2px;
  line-height: 1.2;
}

.logo span {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 3px;
  color: var(--gold);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-menu a {
  color: var(--ivory);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

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

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

.btn-call {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark-navy);
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(198, 167, 94, 0.3);
  transition: all 0.3s ease;
}

.btn-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(198, 167, 94, 0.4);
  color: var(--dark-navy);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--gold);
  transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('../images/hero-yacht.jpg') center/cover no-repeat;
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 15, 20, 0.85), rgba(17, 20, 24, 0.75));
}

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

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  color: var(--text-secondary);
  font-weight: 300;
}

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

.btn {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark-navy);
  box-shadow: 0 4px 20px rgba(198, 167, 94, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(198, 167, 94, 0.5);
}

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

.btn-secondary:hover {
  background: var(--gold);
  color: var(--dark-navy);
}

/* ===== SECTIONS ===== */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-dark {
  background-color: var(--charcoal);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 2rem auto;
}

.section-intro {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.feature-card {
  background: rgba(17, 20, 24, 0.8);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid rgba(198, 167, 94, 0.2);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(198, 167, 94, 0.2);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  fill: var(--gold);
}

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

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== FLEET/YACHT CARDS ===== */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.yacht-card {
  background: var(--charcoal);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(198, 167, 94, 0.15);
  transition: all 0.4s ease;
}

.yacht-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(198, 167, 94, 0.25);
  border-color: var(--gold);
}

.yacht-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

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

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

.yacht-info {
  padding: 2rem;
}

.yacht-info h3 {
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.yacht-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.yacht-specs span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===== GALLERY SLIDER ===== */
.yacht-gallery {
  position: relative;
  width: 100%;
  height: 400px;
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
}

.gallery-container {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

.gallery-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(17, 20, 24, 0.7);
  color: var(--gold);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.gallery-nav:hover {
  background: var(--gold);
  color: var(--dark-navy);
}

.gallery-prev { left: 20px; }
.gallery-next { right: 20px; }

.gallery-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.gallery-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(198, 167, 94, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* ===== FAQ SECTION ===== */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--charcoal);
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(198, 167, 94, 0.15);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--gold);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: transparent;
  border: none;
  color: var(--ivory);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-content {
  padding: 0 2rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--charcoal);
  padding: 3rem;
  border-radius: 12px;
  border: 1px solid rgba(198, 167, 94, 0.2);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--dark-navy);
  border: 1px solid rgba(198, 167, 94, 0.3);
  border-radius: 6px;
  color: var(--ivory);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(198, 167, 94, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--charcoal);
  padding: 4rem 0 2rem;
  border-top: 2px solid rgba(198, 167, 94, 0.3);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-column h4 {
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-column ul {
  list-style: none;
}

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

.footer-column a {
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

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

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 45px;
  height: 45px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--gold);
  transform: translateY(-5px);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
  transition: fill 0.3s ease;
}

.social-link:hover svg {
  fill: var(--dark-navy);
}

.footer-bottom {
  border-top: 1px solid rgba(198, 167, 94, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

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

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.py-2 { padding: 1rem 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3rem; }
  .nav-menu { gap: 1.5rem; }
}

@media (max-width: 768px) {
  .mobile-menu-toggle { display: flex; }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--charcoal);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 1rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
  }
  
  .nav-menu.active { right: 0; }
  
  .hero h1 { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .hero-buttons { flex-direction: column; }
  
  .form-row { grid-template-columns: 1fr; }
  .fleet-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
  
  .section { padding: 4rem 0; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .contact-form { padding: 2rem 1.5rem; }
  .yacht-info { padding: 1.5rem; }
  .btn { padding: 0.8rem 1.8rem; }
}