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

:root {
  --color-copper: #c17753;
  --color-copper-dark: #a65f3e;
  --color-bronze: #8c6a5d;
  --color-cream: #f9f6f0;
  --color-dark-brown: #2d2420;
  --color-text: #4a3f3a;
  --color-text-light: #786a64;

  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;

  --transition: all 0.3s ease;
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, .logo {
  font-family: var(--font-heading);
  color: var(--color-dark-brown);
  font-weight: 600;
}

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

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

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

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

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-dark-brown);
}

.section-title.left-align {
  text-align: left;
}

.bg-light {
  background-color: #ffffff;
}

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

.btn {
  display: inline-block;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
  text-decoration: none;
}

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

.btn-primary:hover {
  background-color: var(--color-copper-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(193, 119, 83, 0.3);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(249, 246, 240, 0.95);
  backdrop-filter: blur(5px);
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-dark-brown);
}

.logo:hover {
  color: var(--color-copper);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.main-nav a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-nav a:hover {
  color: var(--color-copper);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle .bar {
  width: 100%;
  height: 3px;
  background-color: var(--color-dark-brown);
  border-radius: 3px;
  transition: var(--transition);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('images/hero.png');
  background-size: cover;
  background-position: center;
  padding-top: 80px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(45, 36, 32, 0.9) 0%, rgba(45, 36, 32, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.hero-text {
  flex: 1;
  color: var(--color-cream);
}

.hero-text h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--color-cream);
}

.hero-text p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 500px;
}

.hero-form-wrapper {
  flex: 0 0 400px;
}

.lead-form {
  background-color: var(--color-cream);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.lead-form h3 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  text-align: center;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #dcd3cb;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: #fff;
  transition: var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-copper);
  box-shadow: 0 0 0 2px rgba(193, 119, 83, 0.2);
}

.lead-form .btn {
  width: 100%;
  margin-top: 10px;
}

.form-note {
  margin-top: 15px;
  font-size: 0.8rem;
  text-align: center;
  color: var(--color-text-light);
}

.grid {
  display: grid;
  gap: 30px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: #fff;
  padding: 40px 30px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 5px 20px rgba(45, 36, 32, 0.05);
  transition: var(--transition);
  border: 1px solid #f0eae1;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(45, 36, 32, 0.1);
  border-color: var(--color-copper);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--color-copper);
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.split-layout {
  display: flex;
  align-items: center;
  gap: 50px;
}

.split-layout.reverse {
  flex-direction: row-reverse;
}

.split-image {
  flex: 1;
}

.split-image img {
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.split-text {
  flex: 1;
}

.skills-list {
  list-style: none;
}

.skills-list li {
  margin-bottom: 20px;
  padding-left: 30px;
  position: relative;
}

.skills-list li::before {
  content: '✧';
  position: absolute;
  left: 0;
  color: var(--color-copper);
  font-size: 1.2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(45, 36, 32, 0.9), transparent);
  color: #fff;
  padding: 30px 20px 20px;
  transform: translateY(100%);
  transition: var(--transition);
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #dcd3cb;
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-dark-brown);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-copper);
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

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

.footer {
  background-color: var(--color-dark-brown);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 20px;
}

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

.footer .logo {
  color: var(--color-cream);
  margin-bottom: 15px;
  display: inline-block;
}

.footer h4 {
  color: var(--color-cream);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer ul {
  list-style: none;
}

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

.footer a {
  color: rgba(255, 255, 255, 0.7);
}

.footer a:hover {
  color: var(--color-copper);
}

.footer-contacts p {
  margin-bottom: 8px;
}

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

.page-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  padding-top: 100px;
}

.center-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.document-container {
  max-width: 800px;
  background: #fff;
  padding: 50px;
  border-radius: var(--radius);
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.document-text h2 {
  margin: 30px 0 15px;
  font-size: 1.5rem;
}

.document-text p {
  margin-bottom: 15px;
}

.success-icon {
  font-size: 4rem;
  color: var(--color-copper);
  margin-bottom: 20px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-dark-brown);
  color: #fff;
  padding: 20px;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.5s ease;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

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

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

.cookie-content p {
  font-size: 0.9rem;
  margin: 0;
}

.cookie-content a {
  color: var(--color-copper);
  text-decoration: underline;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding-top: 40px;
  }

  .hero-text h1 {
    font-size: 3rem;
  }

  .hero-text p {
    margin: 0 auto;
  }

  .split-layout, .split-layout.reverse {
    flex-direction: column;
  }

  .section-title.left-align {
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .grid-3, .gallery-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(249, 246, 240, 0.98);
    padding: 20px;
    box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .main-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

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

  .hero-form-wrapper {
    width: 100%;
    flex: none;
  }
}

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

  .lead-form {
    padding: 25px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .document-container {
    padding: 30px 20px;
  }
}
