/* Custom CSS for Breathbliss */
:root {
  --color-pale-yellow: #FFFACD;
  --color-pale-green: #E9EDC9;
  --color-sunrise: #FFB347;
  --color-text: #333333;
  --color-bg: #FAFAFA;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

header {
  background-color: var(--color-pale-yellow);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

header .logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--color-sunrise);
  text-decoration: none;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
}

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

.hero-banner {
  background-color: var(--color-pale-green);
  text-align: center;
  padding: 80px 20px;
}

.hero-banner h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--color-text);
}

.hero-banner img {
  max-width: 100%;
  max-height: 600px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 20px;
}

section.block {
  display: flex;
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  gap: 40px;
}

section.block.reverse {
  flex-direction: row-reverse;
}

section.block img {
  width: 50%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  object-fit: cover;
}

section.block .content {
  width: 50%;
}

section.block.full-width {
  flex-direction: column;
  text-align: center;
}
section.block.full-width .content {
  width: 100%;
  max-width: 800px;
}

h2 {
  color: var(--color-sunrise);
  font-size: 32px;
  margin-bottom: 20px;
}

/* Accordion */
.accordion {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}
.accordion-item {
  border: 1px solid #ddd;
  margin-bottom: 10px;
  border-radius: 6px;
  overflow: hidden;
}
.accordion-header {
  background-color: var(--color-pale-yellow);
  padding: 15px;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
}
.accordion-header:after {
  content: '\25BC';
}
.accordion-content {
  padding: 15px;
  display: none;
  background-color: #fff;
}
.accordion-content.active {
  display: block;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
th, td {
  border: 1px solid #eee;
  padding: 15px;
  text-align: left;
}
th {
  background-color: var(--color-pale-green);
}

/* Cards */
.cards-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}
.card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 30px;
  width: 300px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
}
.card h3 {
  color: var(--color-sunrise);
  margin-top: 0;
}
.card .price {
  font-size: 32px;
  font-weight: bold;
  margin: 20px 0;
  color: var(--color-text);
}

/* Form */
form.subscription-form {
  background-color: var(--color-pale-yellow);
  padding: 40px;
  border-radius: 8px;
  max-width: 500px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
form.subscription-form input {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}
form.subscription-form button {
  background-color: var(--color-sunrise);
  color: #fff;
  border: none;
  padding: 15px;
  font-size: 18px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}
form.subscription-form button:hover {
  opacity: 0.9;
}

/* Cookie Banner */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
  padding: 20px;
  display: none;
  z-index: 1000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.cookie-content {
  max-width: 800px;
  text-align: center;
  margin-bottom: 15px;
}
.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}
.btn-accept {
  background-color: var(--color-sunrise);
  color: #fff;
}
.btn-necessary {
  background-color: var(--color-pale-green);
  color: var(--color-text);
}
.btn-settings {
  background-color: #eee;
  color: var(--color-text);
}

#cookie-settings-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  display: none;
  z-index: 1001;
  max-width: 400px;
  width: 90%;
}
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  z-index: 1000;
}
.settings-option {
  margin: 15px 0;
}

footer {
  background-color: var(--color-text);
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}
footer a {
  color: var(--color-pale-yellow);
  text-decoration: none;
  margin: 0 10px;
}
footer a:hover {
  text-decoration: underline;
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
  min-height: 50vh;
}

@media (max-width: 768px) {
  section.block, section.block.reverse {
    flex-direction: column;
  }
  section.block img, section.block .content {
    width: 100%;
  }
  header {
    flex-direction: column;
    gap: 15px;
  }
  nav a {
    margin: 0 10px;
  }
}
