/* SaunaZen Wellness Studio - Main Stylesheet */

:root {
  --primary-color: #e67e22;
  --secondary-color: #d35400;
  --accent-color: #f39c12;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --background-light: #ecf0f1;
  --white: #ffffff;
  --shadow: rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

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

/* Header Styles */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-dark);
}

.logo-img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--white);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-dark);
}

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

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

nav a:hover,
nav a.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

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

/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  z-index: 10;
  padding: 2rem;
}

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

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

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--white);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: var(--transition);
  border: 2px solid var(--white);
}

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

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

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

/* Section Styles */
section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

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

.feature-card,
.blog-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px var(--shadow);
  transition: var(--transition);
}

.feature-card:hover,
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-card h3,
.blog-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.feature-card p,
.blog-card p {
  color: var(--text-light);
  line-height: 1.8;
}

/* Blog Styles */
.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.blog-card .btn {
  margin-top: 1rem;
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
}

/* Article Styles */
article {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

article h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

article h2 {
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

article h3 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

article p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

article img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 2rem 0;
}

article ul,
article ol {
  margin: 1.5rem 0 1.5rem 2rem;
  line-height: 1.8;
}

article li {
  margin-bottom: 0.5rem;
}

article table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  box-shadow: 0 2px 10px var(--shadow);
}

article th,
article td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--background-light);
}

article th {
  background-color: var(--primary-color);
  color: var(--white);
  font-weight: bold;
}

article tr:hover {
  background-color: var(--background-light);
}

blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background-color: var(--background-light);
  font-style: italic;
}

.highlight-tip {
  background-color: #fff3cd;
  border-left: 4px solid var(--accent-color);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
}

/* Author Box */
.author-box {
  background: var(--background-light);
  border-radius: 10px;
  padding: 2rem;
  margin: 3rem 0;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.author-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.author-info .author-position {
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 0.5rem;
}

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

.author-social a {
  color: var(--text-light);
  font-size: 1.5rem;
  transition: var(--transition);
}

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

/* FAQ Styles */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: var(--white);
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

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

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer.active {
  padding: 1.5rem;
  max-height: 500px;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-icon.active {
  transform: rotate(180deg);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--background-light);
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

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

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-info {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 10px;
  margin-top: 3rem;
}

.contact-info h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* Related Posts */
.related-posts {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 2px solid var(--background-light);
}

.related-posts h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* References */
.references {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--background-light);
  border-radius: 10px;
}

.references h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.references ol {
  margin-left: 1.5rem;
}

.references li {
  margin-bottom: 0.5rem;
}

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

.references a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

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

.footer-section h3 {
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 5px 15px var(--shadow);
    padding: 1rem;
  }

  nav ul.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .features-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .author-box {
    flex-direction: column;
    text-align: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
