/* Carol's Classic Corvettes - Professional Stylesheet */

:root {
  --primary-red: #c41e3a;
  --corvette-blue: #1e3a8a;
  --accent-gold: #d4af37;
  --dark-bg: #1a1a1a;
  --light-text: #f5f5f5;
  --dark-text: #2a2a2a;
  --border-color: #444;
  --success-green: #22c55e;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Georgia', 'Garamond', serif;
  color: var(--dark-text);
  background-color: #ffffff;
  line-height: 1.6;
}

/* Header and Navigation */
header {
  background: linear-gradient(135deg, var(--corvette-blue) 0%, #0f1f4a 100%);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.logo img {
  height: 50px;
  width: auto;
}

.tagline {
  display: block;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 2px;
  margin-top: 0.25rem;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
  position: relative;
}

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

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

.contact-info {
  display: flex;
  gap: 2rem;
  font-size: 0.9rem;
}

.contact-info a {
  color: var(--accent-gold);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(30, 58, 138, 0.7), rgba(196, 30, 58, 0.7)), 
              url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="pattern" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M10,50 Q50,10 90,50" stroke="%23ffffff" stroke-width="0.5" fill="none" opacity="0.1"/></pattern></defs><rect width="1200" height="600" fill="%231a1a2e"/><rect width="1200" height="600" fill="url(%23pattern)"/></svg>');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
  letter-spacing: 2px;
  animation: fadeInDown 0.8s ease-out;
}

.hero .subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 300;
  color: var(--accent-gold);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn {
  padding: 1rem 2rem;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 1px;
}

.btn-primary {
  background-color: var(--primary-red);
  color: white;
  box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.btn-primary:hover {
  background-color: #a01830;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
}

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

.btn-secondary:hover {
  background-color: var(--accent-gold);
  color: var(--dark-text);
  transform: translateY(-2px);
}

/* Main Content */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 4rem 2rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--corvette-blue);
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-red), var(--accent-gold));
}

.section-subtitle {
  font-size: 1.3rem;
  color: #666;
  text-align: center;
  margin-bottom: 3rem;
}

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

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

/* Cards */
.card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
  border-color: var(--primary-red);
}

.card h3 {
  color: var(--corvette-blue);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.card p {
  color: #555;
  margin-bottom: 1rem;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-content img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.about-text h2 {
  color: var(--corvette-blue);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.expertise-list {
  list-style: none;
  margin: 2rem 0;
}

.expertise-list li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  color: #555;
  position: relative;
}

.expertise-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-red);
  font-weight: bold;
  font-size: 1.2rem;
}

/* NCRS Page Specific */
.ncrs-intro {
  background: linear-gradient(135deg, #f0f4f8 0%, #f8f0f4 100%);
  border-left: 4px solid var(--primary-red);
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.ncrs-intro h3 {
  color: var(--corvette-blue);
  margin-bottom: 1rem;
}

.chapters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.chapter-card {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.chapter-card:hover {
  border-color: var(--primary-red);
  box-shadow: 0 4px 16px rgba(196, 30, 58, 0.15);
}

.chapter-card h4 {
  color: var(--corvette-blue);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.chapter-card p {
  margin: 0.5rem 0;
  color: #666;
  font-size: 0.95rem;
}

.chapter-card a {
  color: var(--primary-red);
  text-decoration: none;
  font-weight: 600;
}

.chapter-card a:hover {
  text-decoration: underline;
}

/* Form Styling */
.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--corvette-blue);
  font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="phone"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Arial', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="phone"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

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

.form-submit {
  width: 100%;
  padding: 1rem;
  background-color: var(--primary-red);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-submit:hover {
  background-color: #a01830;
}

/* Footer */
footer {
  background: var(--dark-bg);
  color: var(--light-text);
  padding: 3rem 2rem;
  margin-top: 4rem;
}

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

.footer-section h4 {
  color: var(--accent-gold);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

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

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

.footer-section a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: #999;
}

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

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: var(--primary-red);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  color: white;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--accent-gold);
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  nav {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .contact-info {
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.85rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .subtitle {
    font-size: 1.2rem;
  }

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

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

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

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print Styles */
@media print {
  header, footer, .cta-buttons {
    display: none;
  }
}
