/* Marilyn's RV Park Styles */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Montserrat:wght@400;600&family=Pacifico&display=swap');

/* CSS Variables */
:root {
  --primary-color: #2B7C85;     /* Muted teal - Main brand color */
  --secondary-color: #87B6A7;   /* Sage green - Secondary elements */
  --accent-color: #F4C95D;      /* Warm yellow - Call to action elements */
  --dark-color: #34495E;        /* Deep blue-gray - Text and footer */
  --light-color: #F5F7FA;       /* Off-white - Backgrounds */
  --text-color: #2C3E50;        /* Rich dark blue-gray - Body text */
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

/* Layout */
.container {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

section {
  padding: 4rem 0;
}

/* Header */
header {
  background-color: var(--primary-color);
  padding: 1.5rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
  font-family: 'Pacifico', cursive;
  font-size: 2rem;
  color: white;
  text-decoration: none;
}

nav ul {
  display: flex;
  list-style: none;
}

nav li {
  margin-left: 2rem;
}

nav a {
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

nav a:hover {
  color: var(--accent-color);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Hero Section */
.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

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

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* Cards */
.card {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.card h3 {
  margin-top: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--dark-color);
}

.btn-primary:hover {
  background-color: #e9bc4e;
  transform: translateY(-3px);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--light-color);
}

.btn-secondary:hover {
  background-color: #76a596;
  transform: translateY(-3px);
}

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

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 4rem 0 2rem;
}

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

.footer-column h3 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

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

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

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

.social-icons a {
  font-size: 1.5rem;
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

input, select, textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
}

textarea {
  height: 150px;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Utilities */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

/* Responsive Breakpoints */

/* Tablet */
@media (max-width: 999px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  .navbar {
    flex-direction: column;
  }
}

/* Mobile */
@media (max-width: 767px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .navbar {
    flex-direction: column;
  }
  
  nav ul {
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav li {
    margin: 0.5rem 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 100;
    border-radius: 4px;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    border-bottom: 1px solid #f1f1f1;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: var(--primary-color);
}

.dropdown:hover .dropdown-content,
.dropdown.show .dropdown-content {
    display: block;
}

.dropdown > a::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free", sans-serif;
    font-weight: 900;
    margin-left: 5px;
}

/* Fallback for dropdown arrow if Font Awesome fails to load */
@supports not (font-family: "Font Awesome 6 Free") {
    .dropdown > a::after {
        content: "▼";
        font-size: 0.8em;
        margin-left: 5px;
        vertical-align: middle;
    }
}

@media screen and (max-width: 768px) {
    .dropdown-content {
        position: static;
        box-shadow: none;
        width: 100%;
        padding-left: 20px;
        background-color: #f5f5f5;
    }
    
    .dropdown:hover .dropdown-content {
        display: block;
    }
} 