/* Reset & Base Styles */
:root {
  --primary-color: #2c3e50;
  --accent-color: #e74c3c;
  --secondary-color: #ecf0f1;
  --text-color: #333;
  --light-text: #fff;
  --bg-color: #fff;
  --section-bg: #f9f9f9;
  --footer-bg: #2c3e50;
  --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* Header */
header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

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

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  color: var(--primary-color);
  position: relative;
}

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

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  margin-top: 80px; /* Header height */
  padding: 100px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  display: flex;
  align-items: center;
  min-height: 80vh;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #555;
}

.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--accent-color);
  color: var(--light-text);
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.cta-button:hover {
  background-color: #c0392b;
  transform: translateY(-2px);
}

.hero-image {
  flex: 1;
  text-align: center;
}

/* Content Blocks */
.content-block {
  padding: 80px 0;
}

.content-block:nth-child(even) {
  background-color: var(--section-bg);
}

.block-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}

.block-content {
  flex: 1;
}

.block-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.block-content p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 15px;
}

.block-image {
  flex: 1;
}

.content-block.reverse .block-wrapper {
  flex-direction: row-reverse;
}

/* Reviews Section */
.reviews {
  padding: 80px 0;
  background-color: #fff;
  text-align: center;
}

.reviews h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--primary-color);
}

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

.review-card {
  background: var(--section-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
}

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

.stars {
  color: #f1c40f;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.review-text {
  font-style: italic;
  margin-bottom: 20px;
}

.review-author {
  font-weight: 700;
  color: var(--primary-color);
}

/* Form Section */
.subscription {
  padding: 80px 0;
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
  color: var(--light-text);
  text-align: center;
}

.subscription h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.subscription p {
  margin-bottom: 40px;
  font-size: 1.1rem;
  opacity: 0.9;
}

.form-box {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-color);
  font-weight: 600;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus {
  border-color: var(--accent-color);
  outline: none;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background-color: var(--accent-color);
  color: var(--light-text);
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover {
  background-color: #c0392b;
}

/* Footer */
footer {
  background-color: var(--footer-bg);
  color: var(--light-text);
  padding: 60px 0 20px;
}

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

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

.footer-links li {
  margin-bottom: 10px;
}

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

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Legal Pages */
.legal-page {
  margin-top: 100px;
  margin-bottom: 60px;
}

.legal-content h1 {
  margin-bottom: 30px;
  color: var(--primary-color);
}

.legal-content h2 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.legal-content p, .legal-content ul {
  margin-bottom: 15px;
}

.legal-content ul {
  padding-left: 20px;
  list-style: disc;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: -100%; /* Hidden initially */
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
  padding: 20px;
  z-index: 9999;
  transition: bottom 0.5s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cookie-banner.show {
  bottom: 0;
}

.cookie-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-text {
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 10px 20px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.accept-btn {
  background-color: var(--accent-color);
  color: #fff;
}

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

/* Responsive */
@media (max-width: 768px) {
  .nav-wrapper {
    flex-direction: column;
    gap: 15px;
  }
  
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .block-wrapper {
    flex-direction: column !important;
  }
  
  .hero-text h1 {
    font-size: 2.2rem;
  }
  
  .content-block {
    padding: 50px 0;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}
