/* Core Palette: Navy, White, Gold */
:root {
  --dyc-navy: #002147;
  --dyc-navy-light: #003366;
  --dyc-gold: #FFCC00;
  --dyc-gold-hover: #E6B800;
  --dyc-white: #FFFFFF;
  --dyc-light-gray: #F8F9FA;
  --dyc-text: #333333;
}

body#home {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dyc-text);
  background-color: var(--dyc-white);
  background-image: none;
  margin: 0;
  padding: 0;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 600px;
  background-image: url('../images/hero-sailboat.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--dyc-white);
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 33, 71, 0.4); /* Navy overlay */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  color: var(--dyc-white);
  line-height: 1.2;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  padding: 12px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--dyc-gold);
  color: var(--dyc-navy);
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--dyc-white);
  border-color: var(--dyc-white);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Sections */
.section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  color: var(--dyc-navy);
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.welcome-paragraph {
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  color: var(--dyc-text);
  padding: 60px 20px;
}

/* Upcoming Events Cards */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.event-card {
  background: var(--dyc-white);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  padding: 25px;
  border-top: 4px solid var(--dyc-navy);
  transition: transform 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.event-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dyc-navy);
  margin-bottom: 10px;
}

.event-date {
  font-weight: 500;
  color: #666;
  margin-bottom: 15px;
  display: block;
}

.event-location {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 10px;
}

/* Three Columns (Membership, Visiting, Activities) */
.info-columns {
  background-color: var(--dyc-light-gray);
  padding: 60px 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.info-col {
  text-align: center;
  padding: 30px;
  background: var(--dyc-white);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.info-col h3 {
  color: var(--dyc-navy);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.info-col p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.info-col a {
  color: var(--dyc-navy-light);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--dyc-gold);
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.info-col a:hover {
  color: var(--dyc-navy);
}

/* Photo Strip */
.photo-strip {
  display: flex;
  overflow: hidden;
  height: 250px;
}

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

.photo-strip img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .photo-strip img {
    width: 50%;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }
  .photo-strip img {
    width: 100%;
  }
}
