/* Base Styles */
:root {
  --primary-color: #2d4b6e;
  --secondary-color: #f0a868;
  --accent-color: #e76f51;
  --text-color: #333333;
  --text-light: #666666;
  --background-color: #ffffff;
  --background-alt: #f5f7fa;
  --border-color: #e1e5ea;
  --success-color: #4caf50;
  --error-color: #f44336;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --radius: 6px;
}

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

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

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

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

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  margin-bottom: 2rem;
  color: var(--primary-color);
  font-weight: 600;
}

h1 {
  font-size: 4.2rem;
}

h2 {
  font-size: 3.2rem;
}

h3 {
  font-size: 2.4rem;
}

h4 {
  font-size: 2rem;
}

p {
  margin-bottom: 2rem;
}

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

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

.btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.6rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn:hover {
  background-color: var(--accent-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

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

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

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

.center {
  text-align: center;
}

section {
  padding: 8rem 0;
}

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

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 5rem;
  width: auto;
  border-radius: 50%;
}

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

nav ul li {
  margin-left: 3rem;
}

nav ul li a {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-color);
  padding: 1rem 0;
  position: relative;
}

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

nav ul li a:hover:after,
nav ul li a.active:after {
  width: 100%;
}

/* Hero Section */
.hero {
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('images/1.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-top: 0;
  padding-top: 8rem;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 5.2rem;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero h2 {
  font-size: 3.2rem;
  margin-bottom: 2.5rem;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.hero .btn {
  padding: 1.5rem 3rem;
  font-size: 1.8rem;
}

/* Featured Section */
.featured {
  background-color: var(--background-alt);
}

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

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

.featured-item {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.featured-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.featured-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition);
}

.featured-item:hover img {
  transform: scale(1.05);
}

.featured-item h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 2rem;
  margin: 0;
  font-weight: 500;
}

/* Latest Posts Section */
.latest-posts {
  padding: 8rem 0;
}

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

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

.post-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background-color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

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

.post-card h3 {
  padding: 2rem 2rem 1rem;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.post-card p {
  padding: 0 2rem;
  flex-grow: 1;
  color: var(--text-light);
}

.post-card .read-more {
  display: inline-block;
  margin: 0 2rem 2rem;
  color: var(--accent-color);
  font-weight: 600;
  position: relative;
}

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

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

/* Testimonials Section */
.testimonials {
  background-color: var(--background-alt);
  text-align: center;
}

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

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
}

.testimonial {
  background-color: white;
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 350px;
  position: relative;
}

.testimonial:before {
  content: '"';
  font-size: 8rem;
  position: absolute;
  top: -2rem;
  left: 1rem;
  color: var(--secondary-color);
  opacity: 0.2;
  font-family: serif;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

/* Page Header */
.page-header {
  background-color: var(--primary-color);
  color: white;
  padding: 14rem 0 6rem;
  text-align: center;
}

.page-header h1, 
.page-header h2 {
  color: white;
  margin-bottom: 1rem;
}

.page-header h2 {
  color: var(--secondary-color);
  font-size: 2.4rem;
  margin-bottom: 2rem;
}

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

/* Gallery Page */
.gallery {
  padding: 8rem 0;
}

.gallery-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  gap: 1rem;
}

.filter-btn {
  padding: 1rem 2rem;
  background-color: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.4rem;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(45, 75, 110, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
  padding: 2rem;
  text-align: center;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.gallery-overlay p {
  color: var(--secondary-color);
  margin-bottom: 0;
}

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

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

.post-card .post-image {
  height: 220px;
  overflow: hidden;
}

.post-card .post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.post-content {
  padding: 2rem;
}

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

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

/* Newsletter Section */
.newsletter {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter h2 {
  color: white;
  margin-bottom: 2rem;
}

.newsletter p {
  margin-bottom: 3rem;
  font-size: 1.8rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 1.2rem 2rem;
  border: none;
  border-radius: var(--radius);
  font-size: 1.6rem;
}

.newsletter-form .btn {
  padding: 0 3rem;
}

/* About Page */
.about-story {
  padding: 8rem 0;
}

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

.about-content h2 {
  margin-bottom: 3rem;
}

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

.team {
  background-color: var(--background-alt);
  padding: 8rem 0;
  text-align: center;
}

.team h2 {
  margin-bottom: 5rem;
}

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

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

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.team-member img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-member h3 {
  margin: 2rem 0 0.5rem;
  padding: 0 2rem;
}

.team-member p {
  padding: 0 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

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

.values {
  padding: 8rem 0;
  text-align: center;
}

.values h2 {
  margin-bottom: 5rem;
}

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

.value-card {
  background-color: var(--background-alt);
  padding: 4rem 3rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

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

/* Contact Page */
.contact {
  padding: 8rem 0;
}

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

.contact-info h2,
.contact-form h2 {
  margin-bottom: 3rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.contact-icon {
  width: 4.5rem;
  height: 4.5rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 2rem;
  flex-shrink: 0;
}

.contact-details h3 {
  margin-bottom: 0.5rem;
}

.contact-details p {
  margin-bottom: 0;
  color: var(--text-light);
}

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

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

.social-icons a {
  width: 4rem;
  height: 4rem;
  background-color: var(--background-alt);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

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

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

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

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(45, 75, 110, 0.2);
}

.map {
  padding: 0 0 8rem;
}

.map h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

/* Blog Post */
.blog-post {
  padding: 14rem 0 8rem;
}

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

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

.post-header h2 {
  color: var(--secondary-color);
  font-size: 2.4rem;
  margin-bottom: 2rem;
}

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

.post-featured-image img {
  width: 100%;
  height: auto;
}

.post-intro {
  font-size: 2rem;
  color: var(--primary-color);
  line-height: 1.6;
  font-weight: 300;
  border-left: 4px solid var(--secondary-color);
  padding-left: 2rem;
}

.post-content h2 {
  margin-top: 4rem;
}

.post-content h3 {
  margin-top: 3rem;
}

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

.image-caption {
  background-color: var(--background-alt);
  padding: 1.5rem;
  font-size: 1.4rem;
  color: var(--text-light);
  font-style: italic;
  text-align: center;
  margin-bottom: 0;
}

blockquote {
  border-left: 4px solid var(--secondary-color);
  padding: 2rem 0 2rem 2rem;
  margin: 3rem 0;
  font-style: italic;
  font-size: 2rem;
  background-color: var(--background-alt);
}

blockquote p {
  margin-bottom: 0;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 5rem;
}

.tag {
  background-color: var(--background-alt);
  padding: 0.5rem 1.5rem;
  border-radius: 3rem;
  font-size: 1.4rem;
  color: var(--text-light);
}

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

.post-nav-links {
  display: flex;
  gap: 2rem;
}

.post-nav-links a {
  font-weight: 600;
}

.prev-post:before {
  content: '←';
  margin-right: 0.5rem;
}

.next-post:after {
  content: '→';
  margin-left: 0.5rem;
}

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

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

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

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

.related-post:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.related-post h4 {
  padding: 1.5rem 1.5rem 0.5rem;
  font-size: 1.8rem;
}

.related-post .read-more {
  display: inline-block;
  margin: 0 1.5rem 1.5rem;
  color: var(--accent-color);
  font-weight: 600;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 6rem 0 2rem;
}

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

.footer-column h3 {
  color: white;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.footer-column p {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

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

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

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: var(--secondary-color);
}

.footer-column .social-icons {
  margin-top: 2rem;
}

.footer-column .social-icons a {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.footer-column .social-icons a:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.4rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--background-color);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 2rem 0;
  z-index: 1001;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.cookie-content p {
  margin-bottom: 1.5rem;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.cookie-content a {
  font-size: 1.4rem;
  text-decoration: underline;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  overflow: auto;
}

.modal-content {
  background-color: white;
  margin: 15% auto;
  padding: 3rem;
  width: 90%;
  max-width: 500px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.close-button {
  position: absolute;
  right: 2rem;
  top: 2rem;
  font-size: 2.8rem;
  cursor: pointer;
  color: var(--text-light);
}

.thank-you-message {
  text-align: center;
}

.thank-you-message svg {
  color: var(--success-color);
  margin-bottom: 2rem;
}

.thank-you-message h2 {
  margin-bottom: 1.5rem;
}

.thank-you-message p {
  margin-bottom: 3rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  html {
    font-size: 58%;
  }
  
  .hero h1 {
    font-size: 4.6rem;
  }
  
  .hero h2 {
    font-size: 2.8rem;
  }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .about-content {
    order: 2;
  }
  
  .about-image {
    order: 1;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 55%;
  }
  
  section {
    padding: 6rem 0;
  }
  
  .hero h1 {
    font-size: 4rem;
  }
  
  .hero h2 {
    font-size: 2.4rem;
  }
  
  .hero p {
    font-size: 1.8rem;
  }
  
  .hero {
    height: 80vh;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form .btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  header .container {
    flex-direction: column;
    padding: 1rem 2rem;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 0 1rem;
  }
  
  .hero h1 {
    font-size: 3.2rem;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .hero {
    height: 70vh;
  }
  
  .post-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .post-navigation {
    flex-direction: column;
    gap: 2rem;
  }
  
  .post-header h1 {
    font-size: 3.2rem;
  }
}
