/* ==========================================================================
   Reset and Base Styles
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Georgia", "Times New Roman", serif;
  line-height: 1.6;
  color: #2c3e50;
  background-color: #f8f9fa;
}

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

a {
  color: #8b4513;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #a0522d;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #2c3e50;
}

h1 {
  font-size: 2.5rem;
  color: #8b4513;
}

h2 {
  font-size: 2rem;
  color: #8b4513;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

/* ==========================================================================
   Layout
   ========================================================================== */

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

.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

.section-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

/* ==========================================================================
   Header and Navigation
   ========================================================================== */

.header {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #ecf0f1;
  text-decoration: none;
}

.nav-logo:hover {
  color: #f39c12;
}

.logo-icon {
  width: 40px;
  height: 40px;
  margin-right: 0.75rem;
  filter: brightness(0) invert(1);
}

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

.nav-link {
  color: #ecf0f1;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  background-color: #f39c12;
  color: #2c3e50;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-hamburger span {
  width: 25px;
  height: 3px;
  background-color: #ecf0f1;
  margin: 3px 0;
  transition: 0.3s;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 0 1rem;
}

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

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

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: linear-gradient(45deg, #f39c12, #e67e22);
  color: #fff;
}

.btn-primary:hover {
  background: linear-gradient(45deg, #e67e22, #d35400);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.btn-secondary {
  background: linear-gradient(45deg, #95a5a6, #7f8c8d);
  color: #fff;
}

.btn-secondary:hover {
  background: linear-gradient(45deg, #7f8c8d, #6c7b7d);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #f39c12;
  border: 2px solid #f39c12;
}

.btn-outline:hover {
  background: #f39c12;
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Grid Layouts
   ========================================================================== */

.info-grid,
.services-grid,
.gallery-grid,
.reviews-grid,
.articles-grid {
  display: grid;
  gap: 2rem;
}

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

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

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

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

.articles-grid {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

/* ==========================================================================
   Cards
   ========================================================================== */

.info-card,
.service-card,
.gallery-item,
.review-card,
.article-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover,
.service-card:hover,
.gallery-item:hover,
.review-card:hover,
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card {
  text-align: center;
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

.service-price {
  font-size: 1.25rem;
  font-weight: bold;
  color: #f39c12;
  margin-top: 1rem;
}

.review-card {
  text-align: center;
}

.review-stars {
  font-size: 1.5rem;
  color: #f39c12;
  margin-bottom: 1rem;
}

.review-author {
  font-style: italic;
  color: #6c757d;
  margin-top: 1rem;
}

/* ==========================================================================
   Article Cards
   ========================================================================== */

.article-card {
  display: flex;
  flex-direction: column;
}

.article-icon {
  text-align: center;
  margin-bottom: 1.5rem;
}

.article-icon img {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

.article-content h2 {
  margin-bottom: 1rem;
}

.article-content h2 a {
  color: #2c3e50;
  text-decoration: none;
}

.article-content h2 a:hover {
  color: #f39c12;
}

.article-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #6c757d;
}

.article-category,
.article-date {
  background: #ecf0f1;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

.read-more {
  color: #f39c12;
  font-weight: 600;
  margin-top: auto;
  padding-top: 1rem;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.newsletter-form,
.contact-form {
  width: 100%;
  
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #f39c12;
  box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
}

.newsletter-form .form-group {
  display: flex;
  gap: 1rem;
}

.newsletter-form input {
  flex: 1;
}

.form-disclaimer {
  font-size: 0.9rem;
  color: #6c757d;
  text-align: center;
  margin-top: 0.5rem;
}

/* ==========================================================================
   Newsletter Section
   ========================================================================== */

.newsletter {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  color: #fff;
}

.newsletter-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.newsletter h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.newsletter p {
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-grid {
  display: flex;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item h3 {
  margin-bottom: 0.5rem;
  color: #f39c12;
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-links a {
  color: #f39c12;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border: 2px solid #f39c12;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #f39c12;
  color: #fff;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: #ecf0f1;
  padding: 3rem 0 1rem;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: bold;
}

.footer-logo .logo-icon {
  width: 30px;
  height: 30px;
  margin-right: 0.5rem;
  filter: brightness(0) invert(1);
}

.footer-section h3 {
  color: #f39c12;
  margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
  color: #bdc3c7;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #f39c12;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid #4a5a6a;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: #bdc3c7;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #f39c12;
}

/* ==========================================================================
   Cookie Banner
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #2c3e50;
  color: #fff;
  padding: 1.5rem;
  z-index: 10000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

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

.cookie-text h3 {
  color: #f39c12;
  margin-bottom: 0.5rem;
}

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

.cookie-buttons .btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* ==========================================================================
   Cookie Modal
   ========================================================================== */

.cookie-modal {
  display: none;
  position: fixed;
  z-index: 10001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.cookie-modal.show {
  display: block;
}

.cookie-modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  right: 1rem;
  top: 1rem;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #000;
}

.cookie-category {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.cookie-category:last-of-type {
  border-bottom: none;
}

.cookie-category h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.toggle {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #f39c12;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

input:disabled + .slider {
  background-color: #95a5a6;
  cursor: not-allowed;
}

.cookie-modal-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* ==========================================================================
   Legal Pages
   ========================================================================== */

.legal-page {
  padding: 4rem 0;
  min-height: 80vh;
}

.legal-page h1 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.last-updated {
  text-align: center;
  color: #6c757d;
  margin-bottom: 3rem;
  font-style: italic;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f39c12;
}

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content ul,
.legal-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.cookie-table th,
.cookie-table td {
  border: 1px solid #ddd;
  padding: 0.75rem;
  text-align: left;
}

.cookie-table th {
  background-color: #f8f9fa;
  font-weight: bold;
}

.cookie-settings-section {
  margin: 2rem 0;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 8px;
  text-align: center;
}

.policy-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  font-style: italic;
  color: #6c757d;
  text-align: center;
}

/* ==========================================================================
   Blog Pages
   ========================================================================== */

.page-header {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.page-header h1 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.breadcrumb {
  background: #ecf0f1;
  padding: 1rem 0;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: #f39c12;
}

.breadcrumb span {
  color: #6c757d;
}

.article-page {
  padding: 4rem 0;
}

.article-header {
  text-align: center;
  margin-bottom: 3rem;
}

.article-header .article-icon {
  margin-bottom: 1.5rem;
}

.article-header .article-icon img {
  width: 80px;
  height: 80px;
  margin: 0 auto;
}

.article-header h1 {
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.article-header .article-meta {
  justify-content: center;
  flex-wrap: wrap;
}

.article-author {
  background: #f39c12;
  color: #fff;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  line-height: 1.8;
}

.article-intro {
  font-size: 1.2rem;
  color: #6c757d;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-left: 4px solid #f39c12;
  border-radius: 0 8px 8px 0;
}

.article-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-footer {
  max-width: 800px;
  margin: 2rem auto 0;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 12px;
}

.article-tags {
  margin-bottom: 2rem;
}

.tag {
  display: inline-block;
  background: #e9ecef;
  color: #6c757d;
  padding: 0.25rem 0.75rem;
  margin: 0.25rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

.article-navigation {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Thank You Page
   ========================================================================== */

.thank-you {
  text-align: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

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

.thank-you-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

.thank-you-text {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.thank-you-subtext {
  color: #6c757d;
  margin-bottom: 2rem;
}

.thank-you-info {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 12px;
  margin: 2rem 0;
  text-align: left;
}

.thank-you-info h3 {
  color: #f39c12;
  margin-bottom: 1rem;
}

.thank-you-info ul {
  list-style-type: none;
  padding: 0;
}

.thank-you-info li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e9ecef;
}

.thank-you-info li:last-child {
  border-bottom: none;
}

.thank-you-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: #2c3e50;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

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

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

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

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .newsletter-form .form-group {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .article-navigation {
    flex-direction: column;
  }

  .thank-you-actions {
    flex-direction: column;
    align-items: center;
  }

  .legal-content {
    padding: 1.5rem;
  }

  .article-content {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.5rem;
  }

  .section {
    padding: 2rem 0;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .services-grid,
  .info-grid,
  .gallery-grid,
  .reviews-grid,
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-header,
.info-card,
.service-card,
.review-card,
.article-card {
  animation: fadeInUp 0.6s ease forwards;
}

.info-card:nth-child(2) {
  animation-delay: 0.1s;
}

.info-card:nth-child(3) {
  animation-delay: 0.2s;
}

.service-card:nth-child(2) {
  animation-delay: 0.1s;
}

.service-card:nth-child(3) {
  animation-delay: 0.2s;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
  .header,
  .cookie-banner,
  .cookie-modal,
  .footer,
  .nav-hamburger {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
    background: #fff;
  }

  .legal-content,
  .article-content {
    box-shadow: none;
    border: 1px solid #ccc;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}
