/* Base Styles */
:root {
  --primary-color: #d770ad;
  --primary-dark: #b94e8a;
  --primary-light: #ffd7eb;
  --secondary-color: #6c5b7b;
  --accent-color: #f8b195;
  --text-color: #333333;
  --text-light: #777777;
  --background-color: #ffffff;
  --background-light: #f9f9f9;
  --background-dark: #444444;
  --success-color: #4caf50;
  --warning-color: #ff9800;
  --error-color: #f44336;
  --border-color: #e0e0e0;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
  --container-width: 1200px;
  --header-height: 80px;
  --footer-height: 300px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 2rem;
  color: var(--text-color);
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 3.2rem;
  margin-top: 4rem;
}

h3 {
  font-size: 2.4rem;
  margin-top: 3rem;
}

p {
  margin-bottom: 2rem;
}

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

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

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

ul, ol {
  margin-bottom: 2rem;
  padding-left: 2rem;
}

li {
  margin-bottom: 1rem;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Welcome text above header */
.welcome-text {
  background-color: var(--primary-dark);
  color: white;
  text-align: center;
  padding: 0.8rem 0;
  font-size: 1.4rem;
  font-weight: 300;
}

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

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.logo img {
  height: 50px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0 0 0 2.5rem;
}

nav ul li a {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-color);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: var(--transition);
}

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

nav ul li a.active {
  position: relative;
}

nav ul li a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: var(--primary-color);
}

/* Button Styles */
.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 1.2rem 2.8rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  font-size: 1.6rem;
}

.btn:hover {
  background-color: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

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

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

.btn-submit {
  width: 100%;
  font-size: 1.8rem;
  padding: 1.5rem;
}

/* Hero Section */
.hero {
  background-color: var(--primary-light);
  padding: 8rem 0;
  text-align: center;
  margin-bottom: 5rem;
}

.hero h1 {
  font-size: 5rem;
  margin-bottom: 2rem;
  color: var(--primary-dark);
}

.hero p {
  font-size: 2.2rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--text-color);
}

/* Features Section */
.features {
  padding: 5rem 0;
}

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

.feature-box {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  background-color: white;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  background-color: var(--primary-light);
  border-radius: 50%;
  color: var(--primary-dark);
}

.feature-box h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

/* Latest Posts Section */
.latest-posts {
  padding: 5rem 0;
  background-color: var(--background-light);
}

.latest-posts h2 {
  text-align: center;
  margin-bottom: 4rem;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 3rem;
}

.post-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.post-image {
  position: relative;
  height: 0;
  padding-bottom: 65%;
  overflow: hidden;
}

.post-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-image img {
  transform: scale(1.05);
}

.post-content {
  padding: 2rem;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: var(--text-light);
}

.post-category {
  color: var(--primary-color);
  font-weight: 600;
}

.post-card h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.read-more {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  position: relative;
}

.read-more::after {
  content: '→';
  margin-left: 0.5rem;
  transition: var(--transition);
}

.read-more:hover::after {
  margin-left: 1rem;
}

.view-all {
  text-align: center;
  margin-top: 4rem;
}

/* Newsletter Section */
.newsletter {
  padding: 6rem 0;
  text-align: center;
}

.newsletter h2 {
  margin-bottom: 1.5rem;
}

.newsletter p {
  max-width: 600px;
  margin: 0 auto 3rem;
  color: var(--text-light);
}

.newsletter-form {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 1.5rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1.6rem;
}

.newsletter-form button {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  padding: 0 3rem;
}

/* Footer Styles */
footer {
  background-color: var(--background-dark);
  color: white;
  padding: 5rem 0 2rem;
}

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

.footer-logo img {
  height: 50px;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-logo p {
  font-size: 1.4rem;
  opacity: 0.8;
}

.footer-links h3, 
.footer-contact h3,
.footer-social h3 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links ul li a,
.footer-contact a {
  color: white;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-contact a:hover {
  opacity: 1;
  color: var(--primary-color);
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  opacity: 0.8;
}

.footer-contact p svg {
  margin-right: 1rem;
  min-width: 16px;
}

.social-icons {
  display: flex;
  gap: 1.5rem;
}

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

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

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

/* Page Header for Inner Pages */
.page-header {
  background-color: var(--primary-light);
  padding: 6rem 0;
  text-align: center;
  margin-bottom: 5rem;
}

.page-header h1 {
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
}

.page-header p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.8rem;
}

/* Blog Page Styles */
.blog-posts {
  padding: 5rem 0;
}

/* Contact Page Styles */
.contact-section {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
}

.contact-info {
  background-color: var(--background-light);
  padding: 3rem;
  border-radius: var(--border-radius);
}

.info-item {
  display: flex;
  margin-bottom: 3rem;
}

.info-icon {
  margin-right: 2rem;
  color: var(--primary-color);
}

.info-content h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.contact-form-container {
  background-color: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1.2rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1.6rem;
  font-family: 'Montserrat', sans-serif;
}

.form-group textarea {
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-group input {
  width: auto;
  margin-top: 0.5rem;
  margin-right: 1rem;
}

.checkbox-group label {
  font-weight: 400;
  font-size: 1.4rem;
}

.social-contact {
  margin-top: 3rem;
}

.map-section {
  padding: 5rem 0;
}

.map-container {
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About Page Styles */
.about-intro {
  padding: 5rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text h2 {
  margin-top: 0;
}

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
}

.team-section {
  padding: 5rem 0;
  background-color: var(--background-light);
}

.team-section h2 {
  text-align: center;
  margin-bottom: 5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 4rem;
}

.team-member {
  text-align: center;
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.team-member img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.team-member h3 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.team-member p {
  padding: 0 2rem;
  margin-bottom: 1.5rem;
}

.team-member p:first-of-type {
  color: var(--primary-color);
  font-weight: 600;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

.member-social a {
  color: var(--text-light);
}

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

.values-section {
  padding: 5rem 0;
}

.values-section h2 {
  text-align: center;
  margin-bottom: 5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 3rem;
}

.value-box {
  text-align: center;
  padding: 3rem 2rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.value-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.testimonials {
  padding: 5rem 0;
  background-color: var(--primary-light);
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 5rem;
}

.testimonial-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 3rem;
  padding-bottom: 3rem;
}

.testimonial-slider::-webkit-scrollbar {
  height: 8px;
}

.testimonial-slider::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 20px;
}

.testimonial-slider::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 20px;
}

.testimonial-slide {
  scroll-snap-align: start;
  min-width: 300px;
  flex: 1;
}

.testimonial-content {
  background-color: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.testimonial-content p {
  font-style: italic;
  position: relative;
  padding: 0 2rem;
}

.testimonial-content p::before,
.testimonial-content p::after {
  content: '"';
  font-size: 3rem;
  color: var(--primary-light);
  position: absolute;
}

.testimonial-content p::before {
  left: 0;
  top: -1rem;
}

.testimonial-content p::after {
  right: 0;
  bottom: -2rem;
}

.testimonial-author {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.testimonial-author h4 {
  margin-bottom: 0.5rem;
}

.testimonial-author p {
  margin: 0;
  padding: 0;
  font-style: normal;
  color: var(--text-light);
}

.testimonial-author p::before,
.testimonial-author p::after {
  display: none;
}

/* Blog Post Styles */
.blog-post {
  padding: 5rem 0;
}

.post-header {
  margin-bottom: 4rem;
}

.post-header h1 {
  margin-bottom: 2rem;
}

.post-featured-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 3rem;
}

.post-intro {
  font-size: 2rem;
  line-height: 1.5;
  font-weight: 300;
  color: var(--text-color);
  border-left: 4px solid var(--primary-color);
  padding-left: 2rem;
  margin-bottom: 3rem;
}

.post-image-inline {
  margin: 3rem 0;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.image-caption {
  text-align: center;
  font-size: 1.4rem;
  color: var(--text-light);
  margin-top: 1rem;
}

.post-footer {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.post-tags a {
  display: inline-block;
  background-color: var(--background-light);
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  margin-right: 1rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.post-tags a:hover {
  background-color: var(--primary-light);
}

.post-share {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.post-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--background-light);
  border-radius: 50%;
  color: var(--text-color);
  transition: var(--transition);
}

.post-share a:hover {
  background-color: var(--primary-color);
  color: white;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin: 5rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 3rem 0;
}

.nav-previous,
.nav-next {
  max-width: 45%;
}

.nav-subtitle {
  display: block;
  font-size: 1.4rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.nav-title {
  font-weight: 600;
  color: var(--primary-color);
}

.nav-previous a:hover .nav-title,
.nav-next a:hover .nav-title {
  color: var(--primary-dark);
}

.related-posts {
  margin-top: 5rem;
}

.related-posts h3 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.related-post {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.related-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.related-post img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.related-post h4 {
  padding: 1.5rem;
  font-size: 1.6rem;
  margin: 0;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 2rem;
  z-index: 1000;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.cookie-content p {
  margin: 0;
  text-align: center;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.btn-cookie {
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-cookie.accept {
  background-color: var(--success-color);
  color: white;
}

.btn-cookie.customize {
  background-color: var(--background-light);
  color: var(--text-color);
}

.btn-cookie.decline {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}

.btn-cookie:hover {
  transform: translateY(-2px);
}

.cookie-more {
  color: var(--primary-light);
  text-decoration: underline;
  font-size: 1.4rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  border-radius: var(--border-radius);
  width: 90%;
  max-width: 500px;
  position: relative;
  overflow: hidden;
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2.5rem;
  color: var(--text-light);
  cursor: pointer;
  z-index: 10;
}

.modal-body {
  padding: 4rem;
  text-align: center;
}

.modal-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  background-color: var(--success-color);
  border-radius: 50%;
  color: white;
}

.modal-body h2 {
  margin-bottom: 2rem;
}

.close-btn {
  margin-top: 2rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  html {
    font-size: 58%;
  }
  
  .container {
    padding: 0 3rem;
  }
  
  .feature-box {
    padding: 2.5rem 1.5rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .about-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 55%;
  }
  
  .header .container {
    flex-direction: column;
    height: auto;
    padding: 2rem;
  }
  
  .logo {
    margin-bottom: 2rem;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 0 1rem 1rem;
  }
  
  .hero {
    padding: 6rem 0;
  }
  
  .hero h1 {
    font-size: 4rem;
  }
  
  .hero p {
    font-size: 1.8rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
  }
  
  .newsletter-form button {
    border-radius: var(--border-radius);
    width: 100%;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .post-navigation {
    flex-direction: column;
    gap: 2rem;
  }
  
  .nav-previous,
  .nav-next {
    max-width: 100%;
  }
  
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 50%;
  }
  
  .container {
    padding: 0 2rem;
  }
  
  h1 {
    font-size: 3.5rem;
  }
  
  h2 {
    font-size: 2.8rem;
  }
  
  .post-footer {
    flex-direction: column;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .modal-body {
    padding: 3rem 2rem;
  }
}
