@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Lato:wght@300;400;700&display=swap');

:root {
  --primary-color: #1f1f20ff;
  --secondary-color: rgb(14, 102, 6);
  --background-color: #F9FAFB;
  --text-primary: #111827;
  --text-secondary: #6B7280;
  --accent-color: rgb(120, 133, 0);
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  
  --font-primary: 'Playfair Display', serif;
  --font-secondary: 'Lato', sans-serif;
  
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  color: var(--text-primary);
  background-color: var(--background-color);
  line-height: 1.6;
  font-size: 0.9rem;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  line-height: 1.3;
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.6rem;
}

h3 {
  font-size: 1.3rem;
}

h4 {
  font-size: 1.1rem;
}

p {
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.header-main {
  background: linear-gradient(135deg, var(--primary-color), rgba(31, 31, 32, 0.95));
  padding: var(--space-sm) 0;
  position: relative;
  box-shadow: var(--shadow-md);
  transform: translateY(0);
  transition: transform var(--transition-normal);
}

.header-main.hidden {
  transform: translateY(-100%);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.logo {
  color: white;
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.logo:hover {
  color: var(--accent-color);
  transform: scale(1.02);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 2px solid white;
  color: white;
  padding: var(--space-xs) var(--space-sm);
  cursor: pointer;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.menu-toggle:hover {
  background: white;
  color: var(--primary-color);
}

.nav-main ul {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.nav-main a {
  color: white;
  font-weight: 400;
  font-size: 0.85rem;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  position: relative;
}

.nav-main a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transform: translateX(-50%);
  transition: var(--transition-fast);
}

.nav-main a:hover {
  color: var(--accent-color);
}

.nav-main a:hover::after {
  width: 80%;
}

.hero-section {
  height: 70vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(31, 31, 32, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  max-width: 800px;
  padding: var(--space-lg);
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1rem;
  margin-bottom: var(--space-lg);
  opacity: 0.95;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition-normal);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--secondary-color);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary-color);
}

.section-standard {
  padding: var(--space-xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  font-size: 1.8rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: var(--space-sm);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--secondary-color);
}

.grid-three {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.gallery-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.gallery-item:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.card-item {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  border: 1px solid rgba(0,0,0,0.05);
}

.card-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: var(--space-sm);
}

.card-item h3 {
  color: var(--primary-color);
  margin-bottom: var(--space-sm);
  font-size: 1.2rem;
}

.card-item p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.7;
}

.section-alt {
  background: white;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--background-color);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.feature-item:hover {
  background: white;
  box-shadow: var(--shadow-md);
}

.feature-icon {
  color: var(--secondary-color);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.feature-text p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
}

.contact-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  font-family: var(--font-secondary);
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(14, 102, 6, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin: var(--space-md) 0;
}

.checkbox-wrapper input[type="checkbox"] {
  width: auto;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.checkbox-wrapper label {
  font-size: 0.8rem;
  font-weight: 400;
}

button[type="submit"] {
  width: 100%;
  background: var(--secondary-color);
  color: white;
  padding: 0.8rem;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-normal);
}

button[type="submit"]:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.map-wrapper {
  margin: var(--space-lg) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-wrapper iframe {
  width: 100%;
  height: 350px;
  border: none;
}

.footer-main {
  background: var(--primary-color);
  color: white;
  padding: var(--space-lg) 0 var(--space-md);
  margin-top: var(--space-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
}

.footer-section h4 {
  font-size: 1rem;
  margin-bottom: var(--space-sm);
  color: var(--accent-color);
}

.footer-section p,
.footer-section a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.4rem;
}

.footer-section a:hover {
  color: var(--accent-color);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}

.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-color);
  color: white;
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.cookie-popup.active {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cookie-content p {
  flex: 1;
  font-size: 0.8rem;
  margin: 0;
}

.cookie-content a {
  color: var(--accent-color);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: var(--space-sm);
}

.cookie-btn {
  padding: 0.5rem 1.2rem;
  border: 1px solid white;
  background: transparent;
  color: white;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.8rem;
  transition: var(--transition-fast);
}

.cookie-btn:hover,
.cookie-btn.accept {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

.thank-you-wrapper,
.error-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-lg);
  background: linear-gradient(135deg, var(--background-color), white);
}

.thank-you-content,
.error-content {
  max-width: 600px;
}

.thank-you-content h1,
.error-content h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: var(--space-md);
}

.thank-you-content p,
.error-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.info-icon {
  font-size: 4rem;
  color: var(--secondary-color);
  margin-bottom: var(--space-md);
}

@media (max-width: 841px) {
  html {
    font-size: 95%;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-main {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
  }
  
  .nav-main.active {
    max-height: 500px;
  }
  
  .nav-main ul {
    flex-direction: column;
    padding: var(--space-md) 0;
    gap: var(--space-xs);
  }
  
  .nav-main a {
    display: block;
    text-align: center;
    padding: var(--space-sm);
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  h1 {
    font-size: 1.7rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
  .section-standard {
    padding: var(--space-lg) 0;
  }
  
  .grid-three {
    grid-template-columns: 1fr;
  }
  
  .gallery-three {
    grid-template-columns: 1fr;
  }
  
  .gallery-item img {
    height: 220px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .logo{
    font-size: 1rem;
  }
  .logo img{
    width: 30px;
  }
  .menu-toggle{
    padding: 0.5rem;
  }
  html {
    font-size: 90%;
  }
  
  :root {
    --space-sm: 0.8rem;
    --space-md: 1.2rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
  }
  
  .hero-section {
    height: 60vh;
  }
  
  .hero-content h1 {
    font-size: 1.6rem;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 87.5%;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }
}
