@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Light Mode Colors - Summer Cooling Vibe */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  
  /* Primary Red/Coral */
  --accent-gradient: linear-gradient(135deg, #ff6b6b, #ff4757);
  --accent-color: #ff4757;
  --accent-hover: #ff2e43;
  --accent-light: rgba(255, 71, 87, 0.1);

  /* Borders & Shadows */
  --border-color: #e2e8f0;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --header-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  
  /* Utilities */
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
}

[data-theme='dark'] {
  /* Dark Mode Colors */
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  
  --accent-light: rgba(255, 71, 87, 0.2);
  --border-color: #334155;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  --header-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

ul {
  list-style: none;
}

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

/* ================= HEADER & NAV ================= */
header {
  background-color: rgba(var(--bg-secondary-rgb), 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--header-shadow);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.nav-links a {
  font-weight: 500;
}

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

.theme-toggle {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: var(--transition);
}

.theme-toggle:hover {
  background-color: var(--accent-light);
  color: var(--accent-color);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
  color: white;
}

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

.btn-outline:hover {
  background: var(--accent-gradient);
  color: white;
  border-color: transparent;
}

/* ================= HERO SECTION ================= */
.hero {
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.hero h1 {
  font-size: 3.5rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

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

/* Background blob */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

/* ================= IMAGE ROW SECTION ================= */
.image-row {
  padding: 5rem 0;
  background-color: var(--bg-secondary);
}

.image-row .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  cursor: pointer;
  display: block;
}

.image-wrapper:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.image-wrapper::after {
  content: 'View on Amazon ↗';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  backdrop-filter: blur(4px);
  transform: translateY(100%);
  transition: var(--transition);
}

.image-wrapper:hover::after {
  transform: translateY(0);
}

.image-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.image-content ul {
  margin: 1.5rem 0;
}

.image-content li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-secondary);
}

.image-content li i {
  color: var(--accent-color);
}

/* ================= SEO SECTION ================= */
.seo-section {
  padding: 5rem 0;
}

.seo-content {
  max-width: 800px;
  margin: 0 auto;
}

.seo-content h2, .seo-content h3 {
  margin-top: 2.5rem;
}

.seo-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.seo-content ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

/* ================= FAQ SECTION ================= */
.faq-section {
  padding: 5rem 0;
  background-color: var(--bg-secondary);
}

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

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

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--accent-color);
  box-shadow: 0 4px 15px var(--accent-light);
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  background: var(--bg-secondary);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-secondary);
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 200px;
}

.faq-icon {
  transition: var(--transition);
}

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

/* ================= FOOTER ================= */
footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-col p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

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

.footer-links a {
  color: var(--text-secondary);
}

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

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

/* ================= CALCULATOR PAGE ================= */
.calculator-section {
  padding: 4rem 0;
}

.calculator-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--card-shadow);
  max-width: 800px;
  margin: 0 auto;
}

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

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

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

.form-group input {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.results-panel {
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.result-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.result-label {
  font-weight: 500;
  color: var(--text-secondary);
}

.result-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
}

/* ================= FORMS ================= */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-secondary);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
}

.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  min-height: 150px;
  resize: vertical;
  transition: var(--transition);
}

.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px var(--accent-light);
}

/* ================= UTILITY CLASSES ================= */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-4 { margin-top: 1rem; }
.page-header {
  padding: 4rem 0 2rem;
  text-align: center;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .image-row .container {
    grid-template-columns: 1fr;
  }
  
  .calc-grid {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 80px;
    left: -100%;
    width: 100%;
    background-color: var(--bg-secondary);
    flex-direction: column;
    padding: 2rem 0;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .hero-btns {
    flex-direction: column;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
}
