/* Base Styles */
:root {
  --primary-color: #c75a5a;
  --primary-dark: #a84848;
  --secondary-color: #3a3f44;
  --text-color: #333333;
  --text-light: #666666;
  --light-bg: #f8f8f8;
  --white: #ffffff;
  --border-color: #e0e0e0;
  --success-color: #4caf50;
  --error-color: #f44336;
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Playfair Display', serif;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  
  /* Dark Theme Variables */
  --dark-bg: #222222;
  --dark-card-bg: #2d2d2d;
  --dark-text: #e0e0e0;
  --dark-text-light: #b0b0b0;
  --dark-border: #444444;
}

/* Dark Theme */
body.dark-theme {
  --text-color: var(--dark-text);
  --text-light: var(--dark-text-light);
  --light-bg: var(--dark-bg);
  --white: var(--dark-card-bg);
  --border-color: var(--dark-border);
  background-color: var(--dark-bg);
  color: var(--dark-text);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--white);
  transition: var(--transition);
}

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

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

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

ul {
  list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 6px;
  border: 3px solid var(--light-bg);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Theme Toggle */
#theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: var(--white);
  border-radius: 30px;
  padding: 5px;
  box-shadow: var(--box-shadow);
  z-index: 1000;
  display: flex;
  border: 1px solid var(--border-color);
}

#theme-toggle button {
  background: none;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--text-color);
  transition: var(--transition);
}

#theme-toggle button.active {
  background-color: var(--primary-color);
  color: white;
}

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

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

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

nav ul {
  display: flex;
  gap: 30px;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
}

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

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

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/1.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 120px 0;
}

.hero h1 {
  font-family: var(--font-secondary);
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto 40px;
}

/* Buttons */
.btn, .btn-sm, .btn-lg {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 14px 36px;
  font-size: 18px;
}

.btn:hover, .btn-sm:hover, .btn-lg:hover {
  background-color: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
}

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

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

/* Featured Services */
.featured-services {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.featured-services h2, 
.latest-posts h2,
.testimonials h2 {
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 36px;
  margin-bottom: 50px;
  position: relative;
}

.featured-services h2:after, 
.latest-posts h2:after,
.testimonials h2:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

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

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

.service-card:hover {
  transform: translateY(-10px);
}

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

.service-card h3 {
  padding: 20px 20px 10px;
  font-family: var(--font-secondary);
  font-size: 22px;
}

.service-card p {
  padding: 0 20px 20px;
  color: var(--text-light);
}

.service-card .btn-sm {
  margin: 0 20px 20px;
}

/* Latest Posts */
.latest-posts {
  padding: 80px 0;
}

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

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

.post-card:hover {
  transform: translateY(-10px);
}

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

.post-card h3 {
  padding: 20px 20px 10px;
  font-family: var(--font-secondary);
  font-size: 22px;
}

.post-card p {
  padding: 0 20px 20px;
  color: var(--text-light);
}

.post-card .btn-sm {
  margin: 0 20px 20px;
}

.view-all {
  text-align: center;
  margin-top: 40px;
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial {
  text-align: center;
  padding: 30px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  margin-bottom: 20px;
}

.testimonial .quote {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  padding: 0 30px;
}

.testimonial .quote:before,
.testimonial .quote:after {
  content: '"';
  font-size: 50px;
  line-height: 0;
  position: absolute;
  color: var(--primary-color);
  opacity: 0.3;
}

.testimonial .quote:before {
  left: 0;
  top: 20px;
}

.testimonial .quote:after {
  right: 0;
  bottom: 0;
}

.client-info {
  margin-top: 20px;
}

.client-info .name {
  font-weight: 700;
  display: block;
  color: var(--primary-color);
}

.client-info .role {
  color: var(--text-light);
  font-size: 14px;
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: white;
  padding: 60px 0 20px;
}

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

.footer-logo img {
  height: 60px;
  margin-bottom: 15px;
}

.footer-links h4,
.footer-legal h4,
.footer-contact h4 {
  margin-bottom: 20px;
  font-size: 18px;
  position: relative;
}

.footer-links h4:after,
.footer-legal h4:after,
.footer-contact h4:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

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

.footer-links a,
.footer-legal a {
  color: #adb5bd;
  transition: var(--transition);
}

.footer-links a:hover,
.footer-legal a:hover {
  color: white;
  padding-left: 5px;
}

.footer-contact address {
  font-style: normal;
  line-height: 1.8;
  color: #adb5bd;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

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

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

.footer-social svg {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: #adb5bd;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 20px;
  transition: bottom 0.5s ease-in-out;
}

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

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content p {
  margin-bottom: 15px;
}

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

.cookie-more-info {
  font-size: 14px;
  color: var(--text-light);
}

/* Page Header */
.page-header {
  background-color: var(--light-bg);
  padding: 80px 0;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-secondary);
  font-size: 40px;
  margin-bottom: 15px;
}

.page-header p {
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* Blog Page */
.blog-posts {
  padding: 60px 0;
}

.blog-post {
  max-width: 900px;
  margin: 0 auto 60px;
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
}

.blog-post .post-image {
  width: 100%;
  height: 400px;
}

.blog-post .post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-post .post-content {
  padding: 40px;
}

.blog-post h2 {
  font-family: var(--font-secondary);
  font-size: 32px;
  margin-bottom: 15px;
}

.post-meta {
  display: flex;
  gap: 20px;
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 14px;
}

.blog-post p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.blog-post h3 {
  font-family: var(--font-secondary);
  margin: 30px 0 15px;
  font-size: 24px;
}

.blog-post .btn-sm {
  display: inline-block;
  margin-top: 20px;
}

/* Services Page */
.services-list {
  padding: 60px 0;
}

.service-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 60px;
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.service-image {
  height: 100%;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-details {
  padding: 40px;
}

.service-details h2 {
  font-family: var(--font-secondary);
  font-size: 32px;
  margin-bottom: 20px;
}

.service-details p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.service-details h3 {
  font-family: var(--font-secondary);
  margin: 30px 0 15px;
  font-size: 22px;
}

.service-details ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.service-details ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.service-details ul li:before {
  content: '•';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-size: 20px;
}

.pricing {
  background-color: var(--light-bg);
  padding: 20px;
  border-radius: 4px;
  margin: 30px 0;
}

.pricing p {
  margin-bottom: 10px;
}

/* About Page */
.about-content {
  padding: 60px 0;
}

.about-intro {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
}

.about-intro h2 {
  font-family: var(--font-secondary);
  font-size: 32px;
  margin-bottom: 30px;
  position: relative;
}

.about-intro h2:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.about-intro p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-values {
  padding: 60px 0;
  background-color: var(--light-bg);
}

.about-values h2 {
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 32px;
  margin-bottom: 50px;
  position: relative;
}

.about-values h2:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

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

.value-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  text-align: center;
}

.value-icon {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.value-card h3 {
  font-family: var(--font-secondary);
  margin-bottom: 15px;
}

.value-card p {
  color: var(--text-light);
}

.team-section {
  padding: 60px 0;
}

.team-section h2 {
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 32px;
  margin-bottom: 50px;
  position: relative;
}

.team-section h2:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

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

.team-member:hover {
  transform: translateY(-10px);
}

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

.team-member h3 {
  margin: 20px 0 5px;
  font-family: var(--font-secondary);
}

.team-member p {
  padding: 0 20px;
  margin-bottom: 15px;
}

.team-member p:nth-of-type(1) {
  color: var(--primary-color);
  font-weight: 500;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 0 0 20px;
}

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

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

.credentials {
  padding: 60px 0;
  background-color: var(--light-bg);
}

.credentials h2 {
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 32px;
  margin-bottom: 50px;
  position: relative;
}

.credentials h2:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

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

.credential-item {
  display: flex;
  gap: 20px;
  background-color: var(--white);
  padding: 25px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.credential-icon {
  color: var(--primary-color);
}

.credential-info h3 {
  font-family: var(--font-secondary);
  margin-bottom: 10px;
}

.credential-info p {
  color: var(--text-light);
}

/* Contact Page */
.contact-content {
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  margin-bottom: 60px;
}

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

.contact-form-container h2 {
  font-family: var(--font-secondary);
  font-size: 28px;
  margin-bottom: 30px;
  position: relative;
}

.contact-form-container h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 5px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: var(--white);
  font-family: var(--font-primary);
  color: var(--text-color);
}

.form-group textarea {
  resize: vertical;
}

.consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.consent-checkbox input {
  width: auto;
  margin-top: 5px;
}

.form-actions {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 20px;
}

.contact-info {
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.contact-info h2 {
  font-family: var(--font-secondary);
  font-size: 28px;
  margin-bottom: 30px;
  position: relative;
}

.contact-info h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

.info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.info-icon {
  color: var(--primary-color);
}

.info-content h3 {
  font-family: var(--font-secondary);
  margin-bottom: 8px;
  font-size: 18px;
}

.info-content address {
  font-style: normal;
  color: var(--text-light);
  line-height: 1.6;
}

.info-content p {
  color: var(--text-light);
}

.social-links h3 {
  font-family: var(--font-secondary);
  margin-bottom: 15px;
  font-size: 18px;
}

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

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

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

.map-section {
  margin-top: 40px;
}

.map-section h2 {
  font-family: var(--font-secondary);
  font-size: 28px;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.map-section h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

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

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

.modal.show {
  display: flex;
}

.modal-content {
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-light);
}

.modal-icon {
  color: var(--success-color);
  margin-bottom: 20px;
}

.modal-content h2 {
  font-family: var(--font-secondary);
  margin-bottom: 15px;
}

.modal-content p {
  margin-bottom: 25px;
}

/* CTA Section */
.cta-section {
  background-color: var(--primary-color);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-family: var(--font-secondary);
  font-size: 36px;
  margin-bottom: 20px;
}

.cta-section p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 18px;
}

.cta-section .btn-lg {
  background-color: white;
  color: var(--primary-color);
}

.cta-section .btn-lg:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 40px;
  }
  
  .service-item {
    grid-template-columns: 1fr;
  }
  
  .service-image {
    height: 400px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 20px;
  }
  
  nav ul {
    gap: 15px;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero p {
    font-size: 18px;
  }
  
  .blog-post {
    flex-direction: column;
  }
  
  .blog-post .post-content {
    padding: 30px;
  }
  
  .blog-post h2 {
    font-size: 26px;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .credentials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
  }
  
  .hero {
    padding: 80px 0;
  }
  
  .hero h1 {
    font-size: 30px;
  }
  
  .featured-services h2, 
  .latest-posts h2,
  .testimonials h2 {
    font-size: 28px;
  }
  
  .service-card, 
  .post-card {
    margin-bottom: 20px;
  }
  
  .footer-content {
    gap: 30px;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .credential-item {
    flex-direction: column;
  }
  
  .page-header {
    padding: 60px 0;
  }
  
  .page-header h1 {
    font-size: 30px;
  }
}
