:root {
  --primary-color: #213363;
  --secondary-color: #17594A;
  --accent-color: #8EAC50;
  --highlight-color: #D3D04F;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --medium-gray: #e0e0e0;
  --dark-gray: #333333;

  --font-primary: 'Cormorant Garamond', serif;
  --font-secondary: 'Montserrat', sans-serif;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;

  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);

  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

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

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

html, body {
  height: 100%;
}

body {
  font-family: var(--font-secondary);
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--primary-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--space-md);
}

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

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

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

button,
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  background-color: var(--accent-color);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-secondary);
  font-weight: 500;
  text-align: center;
  transition: var(--transition-normal);
}

button:hover,
.btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 var(--space-md);
  margin: 0 auto;
}

.section {
  padding: var(--space-xl) 0;
}

body > header,
body > section {
  flex-shrink: 0;
}

header {
  position: relative;
  background-color: var(--white);
  z-index: 100;
  flex-shrink: 0;
}

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

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

.logo img {
  width: 4rem;
  position: relative;
  z-index: 20;
}

.logo img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.logo:hover img {
  transform: rotate(0);
}

@media (max-width: 992px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 576px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 400px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

nav ul {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
}

nav a {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(rgba(33, 51, 99, 0.7), rgba(23, 89, 74, 0.7));
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/watercolor-background.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: -1;
}

.hero-content {
  max-width: 600px;
  text-align: center;
  margin: 0 auto;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: var(--space-lg);
  color: var(--white);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
}

.cta-button {
  padding: var(--space-md) var(--space-lg);
  background-color: var(--highlight-color);
  color: var(--primary-color);
  font-weight: 700;
  border-radius: var(--radius-md);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button:hover {
  background-color: var(--white);
  color: var(--secondary-color);
}

.features {
  background-color: var(--light-gray);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.feature {
  background-color: var(--white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition-normal);
}

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

.feature i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: var(--space-md);
}

.feature h3 {
  margin-bottom: var(--space-md);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

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

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.product {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

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

.product-image {
  height: 250px;
  background-size: cover;
  background-position: center;
}

.product-content {
  padding: var(--space-lg);
}

.product-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.product-price {
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.team-member {
  text-align: center;
}

.team-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--space-md);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
}

.team-name {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.team-title {
  color: var(--secondary-color);
  font-style: italic;
  margin-bottom: var(--space-md);
}

.team-bio {
  font-size: 0.9rem;
}

.contact {
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/watercolor-pattern.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: -1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.contact-form {
  background-color: var(--white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid var(--medium-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-secondary);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.checkbox-group input {
  width: auto;
  margin-top: 0.3rem;
}

.submit-button {
  width: 100%;
  padding: var(--space-md);
  background-color: var(--accent-color);
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.map {
  height: 450px;
  overflow: hidden;
  margin-top: var(--space-xl);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: var(--space-xl) 0 var(--space-lg);
  position: relative;
  z-index: 10000;
  margin-top: auto;
  width: 100%;
  flex-shrink: 0;
  min-height: auto;
}

.footer-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/watercolor-pattern.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
}

.footer-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  width: 100%;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  width: 100%;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-column h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-column ul li {
  margin: 0;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  text-decoration: none;
  display: inline-block;
}

.footer-column a:hover {
  color: var(--highlight-color);
  transform: translateX(5px);
}

.footer-about {
  grid-column: span 1;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.footer-logo img {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.footer-logo h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin: 0;
  font-weight: 600;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.social-links {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.25rem;
  transition: var(--transition-normal);
  text-decoration: none;
}

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

.footer-links ul li a {
  padding: var(--space-xs) 0;
}

.footer-contact .contact-info {
  gap: var(--space-md);
}

.footer-contact .contact-info li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-contact .contact-info i {
  font-size: 1.1rem;
  color: var(--highlight-color);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-contact .contact-info a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact .contact-info a:hover {
  color: var(--highlight-color);
}

.footer-bottom {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  width: 100%;
}

.copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: none;
}

footer {
  z-index: 10000 !important;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 0;
    min-height: 100vh;
    min-height: -webkit-fill-available;
  }

  html {
    height: -webkit-fill-available;
  }
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

@media (max-width: 768px) {
  .cookie-popup {
    z-index: 9999;
    max-height: 50vh;
    overflow-y: auto;
  }

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

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}

.cookie-buttons {
  display: flex;
  gap: var(--space-md);
}

.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 80vh;
  text-align: center;
}

.error-code {
  font-size: 8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--space-md);
}

.error-message {
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
}

.thank-you-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 80vh;
  text-align: center;
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--accent-color);
  margin-bottom: var(--space-lg);
}

.thank-you-title {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.thank-you-message {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: var(--space-lg);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
  }

  nav.active {
    opacity: 1;
    visibility: visible;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav li {
    margin-bottom: var(--space-lg);
  }

  nav a {
    font-size: 1.5rem;
  }


  

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .feature,
  .product,
  .team-member {
    padding: var(--space-md);
  }

  .section {
    padding: var(--space-lg) 0;
  }
}

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .footer-about {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  footer {
    padding: var(--space-lg) 0 var(--space-md);
    position: relative;
    z-index: 10000;
    margin-top: auto;
    flex-shrink: 0;
    min-height: auto;
  }

  .footer-content {
    gap: var(--space-lg);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-about {
    grid-column: span 1;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-column {
    text-align: center;
  }

  .footer-column ul {
    align-items: center;
  }

  .footer-contact .contact-info {
    align-items: center;
  }

  .footer-contact .contact-info li {
    justify-content: center;
    text-align: center;
  }

  .footer-bottom {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
  }

  .copyright {
    font-size: 0.85rem;
  }

  .cookie-popup {
    z-index: 9999;
  }
}

@media (max-width: 480px) {
  footer {
    padding: var(--space-md) 0 var(--space-sm);
  }

  .footer-content {
    gap: var(--space-md);
  }

  .footer-top {
    gap: var(--space-lg);
  }

  .footer-logo img {
    width: 2.5rem;
    height: 2.5rem;
  }

  .footer-logo h3 {
    font-size: 1.1rem;
  }

  .footer-column h4 {
    font-size: 1rem;
  }

  .footer-column a,
  .footer-contact .contact-info li {
    font-size: 0.85rem;
  }

  .social-links {
    gap: var(--space-sm);
  }

  .social-links a {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.1rem;
  }

  .footer-bottom {
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
  }

  .copyright {
    font-size: 0.8rem;
  }
}

@media (max-width: 360px) {
  footer {
    padding: var(--space-sm) 0;
  }

  .footer-content {
    gap: var(--space-sm);
  }

  .footer-top {
    gap: var(--space-md);
  }

  .footer-logo {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .footer-logo img {
    width: 2rem;
    height: 2rem;
  }

  .footer-logo h3 {
    font-size: 1rem;
  }

  .footer-column h4 {
    font-size: 0.95rem;
  }

  .footer-column a,
  .footer-contact .contact-info li {
    font-size: 0.8rem;
  }

  .social-links a {
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
  }

  .copyright {
    font-size: 0.75rem;
  }
}