/* ===== Base Styles ===== */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --text-color: #333;
  --white: #fff;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --border-radius: 5px;
  --box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

p {
  margin-bottom: 1.25rem;
}

a {
  text-decoration: none;
  color: var(--secondary-color);
  transition: var(--transition);
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title span {
  color: var(--secondary-color);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--secondary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  text-align: center;
}

.btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

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

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

/* ===== Header Styles ===== */
.header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo a {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
}

.logo a:hover {
  color: var(--primary-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

/* Main Navigation */
.main-nav {
  display: flex;
}

.main-nav ul {
  display: flex;
  align-items: center;
}

.main-nav ul li {
  margin-left: 30px;
  position: relative;
}

.main-nav ul li a {
  color: var(--dark-color);
  font-weight: 500;
  font-size: 16px;
  padding: 5px 0;
  position: relative;
}

.main-nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  bottom: 0;
  left: 0;
  transition: var(--transition);
}

.main-nav ul li a:hover::after {
  width: 100%;
}

.main-nav ul li a.active {
  color: var(--secondary-color);
}

.mobile-menu-close {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
              url('../images/hero-bg.jpg') no-repeat center center/cover;
  height: 60vh;
  min-height: 500px;
  color: var(--white);
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--white);
}

.hero h1 span {
  color: var(--secondary-color);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: rgba(255,255,255,0.9);
}

.search-box {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 16px;
  margin-bottom: 15px;
  box-shadow: var(--box-shadow);
}

.search-btn {
  background-color: var(--accent-color);
  color: var(--white);
  padding: 15px 30px;
  font-size: 18px;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  font-weight: 600;
}

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

.search-promo {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  margin-top: 15px;
}

.search-promo strong {
  color: var(--secondary-color);
}

/* ===== Intro Section ===== */
.intro {
  padding: 80px 0;
  text-align: center;
  background-color: var(--light-color);
}

.intro h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.intro p {
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: 1.1rem;
}

/* ===== Features Section ===== */
.features {
  padding: 80px 0;
  background-color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-item {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 50px;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.feature-item h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

/* ===== Locations Section ===== */
.locations {
  padding: 80px 0;
  background-color: var(--light-color);
}

.state-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.state-group h3 {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary-color);
  color: var(--primary-color);
}

.state-group ul li {
  margin-bottom: 12px;
}

.state-group ul li a {
  color: var(--text-color);
  font-size: 16px;
  display: block;
  padding: 8px 0;
  border-bottom: 1px dashed var(--light-gray);
  transition: var(--transition);
}

.state-group ul li a:hover {
  color: var(--secondary-color);
  padding-left: 10px;
}

/* ===== Size Guide Section ===== */
.size-guide {
  padding: 80px 0;
  background-color: var(--white);
}

.size-visual {
  max-width: 1000px;
  margin: 40px auto;
}

.size-example {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
  align-items: center;
}

.size-image {
  height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.size-info h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.size-info p {
  margin-bottom: 10px;
}

.size-info strong {
  color: var(--secondary-color);
}

.size-tips {
  margin-top: 60px;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.tip-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.tip-card h4 {
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-size: 20px;
}

/* ===== FAQ Section ===== */
.faq {
  padding: 80px 0;
  background-color: var(--light-color);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px;
  font-size: 18px;
  font-weight: 500;
  color: var(--primary-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: var(--light-gray);
}

.faq-toggle {
  display: inline-block;
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
  margin-left: 15px;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background: var(--secondary-color);
  transition: var(--transition);
}

.faq-toggle::before {
  width: 100%;
  height: 2px;
  top: 50%;
  transform: translateY(-50%);
}

.faq-toggle::after {
  width: 2px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.faq-question[aria-expanded="true"] .faq-toggle::after {
  transform: translateX(-50%) rotate(90deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-question[aria-expanded="true"] + .faq-answer {
  padding: 0 20px 20px;
  max-height: 500px;
}

/* ===== State Page Styles ===== */
.state-hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
              url('../images/hero-bg.jpg') center/cover;
  height: 60vh;
  min-height: 500px;
  color: var(--white);
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
}

.state-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--white);
}

.state-content {
  padding: 80px 0;
}

.state-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}

.state-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.highlight-card {
  background: var(--light-color);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.highlight-card h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.highlight-card ul {
  margin-top: 15px;
}

.highlight-card ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.highlight-card ul li::before {
  content: '•';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
}

.city-storage {
  margin: 60px 0;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.city-group h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary-color);
}

.city-group ul li {
  margin-bottom: 12px;
}

.city-group ul li a {
  color: var(--text-color);
  font-size: 16px;
  display: block;
  padding: 8px 0;
  border-bottom: 1px dashed var(--light-gray);
  transition: var(--transition);
}

.city-group ul li a:hover {
  color: var(--secondary-color);
  padding-left: 10px;
}

.state-guide {
  background: var(--light-color);
  padding: 40px;
  border-radius: var(--border-radius);
  margin: 40px 0;
}

.guide-section {
  margin-bottom: 40px;
}

.guide-section h3 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-size: 22px;
}

.climate-tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 20px 0;
}

.tip-card h4 {
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.state-cta {
  text-align: center;
  padding: 80px 0;
  background: var(--primary-color);
  color: var(--white);
}

.state-cta h2 {
  color: var(--white);
}

.state-cta h2 span {
  color: var(--secondary-color);
}

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

/* Bottom Search */
.bottom-search {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
}

.bottom-search h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--white);
}

/* State Search */
.state-search {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
}

.state-search h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--white);
}

/* ===== Footer Styles ===== */
.footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 80px 0 20px;
}

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

.footer-col h3 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 20px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--gray);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-col p {
  color: var(--gray);
  margin-bottom: 10px;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray);
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
  section {
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--primary-color);
    padding: 80px 30px;
    transition: var(--transition);
    z-index: 100;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .mobile-menu-close {
    display: block;
  }
  
  .main-nav ul {
    flex-direction: column;
  }
  
  .main-nav ul li {
    margin: 15px 0;
  }
  
  .main-nav ul li a {
    color: var(--white);
    font-size: 18px;
  }
  
  .main-nav ul li a::after {
    background: var(--white);
  }
  
  .hero {
    height: 70vh;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .size-example {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .city-grid {
    grid-template-columns: 1fr;
  }
  
  .climate-tips {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  section {
    padding: 50px 0;
  }
  
  .hero {
    height: 80vh;
    min-height: 600px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .search-promo {
    font-size: 16px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
}