@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg-cream: #F5EFE0;
  --bg-linen: #EDE3CC;
  --accent-terra: #C06B3A;
  --accent-terra-hover: #a55b30;
  --text-espresso: #2C1A0F;
  --text-espresso-light: #4A3525;
  --accent-sage: #8A9A7A;

  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;

  --header-height: 80px;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-espresso);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-serif {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

.btn {
  display: inline-block;
  background-color: var(--accent-terra);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.1rem;
  padding: 16px 32px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: var(--accent-terra-hover);
  transform: translateY(-2px);
}

.section {
  padding: 100px 0;
}

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

.section-bg-linen {
  background-color: var(--bg-linen);
}

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

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(245, 239, 224, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(44, 26, 15, 0.05);
}

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

.logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--accent-terra);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--accent-terra);
}

.nav-btn {
  padding: 10px 24px;
  font-size: 0.95rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-espresso);
  margin-bottom: 5px;
  transition: 0.3s ease;
}

.mobile-menu-btn span:last-child {
  margin-bottom: 0;
}

.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('img/hero-sculpting.jpg');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(44, 26, 15, 0.5);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
  max-width: 800px;
  padding: 0 24px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: #F5EFE0;
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.skills-img {
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(44, 26, 15, 0.1);
}

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

.skills-item {
  margin-bottom: 2rem;
  position: relative;
  padding-left: 2rem;
}

.skills-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background-color: var(--accent-terra);
  border-radius: 50%;
}

.skills-item h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.skills-item p {
  color: var(--text-espresso-light);
}

.format-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.format-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-espresso-light);
}

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

.results-img {
  border-radius: 4px;
  margin: 0 auto 1.5rem;
  max-height: 600px;
  object-fit: cover;
  width: 100%;
}

.results-caption {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--text-espresso-light);
  margin-bottom: 2rem;
}

.results-text {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.author-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.author-img {
  border-radius: 4px;
  box-shadow: 15px 15px 0 var(--accent-sage);
}

.author-content h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.author-role {
  font-size: 1.1rem;
  color: var(--accent-terra);
  margin-bottom: 2rem;
  font-weight: 500;
}

.author-content p {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

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

.for-whom-card {
  background-color: var(--bg-cream);
  padding: 2.5rem 2rem;
  border-radius: 4px;
  border-top: 4px solid var(--accent-terra);
  box-shadow: 0 10px 30px rgba(44, 26, 15, 0.05);
  transition: transform 0.3s ease;
}

.for-whom-card:hover {
  transform: translateY(-5px);
}

.for-whom-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

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

.faq-item {
  border-bottom: 1px solid rgba(44, 26, 15, 0.1);
  margin-bottom: 1rem;
}

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

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--accent-terra);
  transition: transform 0.3s ease;
}

.faq-icon::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

.faq-icon::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}

.faq-item.active .faq-icon::after {
  transform: rotate(90deg);
}

.faq-item.active .faq-icon::before {
  transform: rotate(180deg);
}

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

.faq-answer-inner {
  padding-bottom: 1.5rem;
  color: var(--text-espresso-light);
}

.form-section {
  background-color: var(--bg-linen);
  padding: 100px 0;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: #fff;
  padding: 3rem;
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(44, 26, 15, 0.05);
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(44, 26, 15, 0.2);
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 1rem;
  background-color: #faf9f6;
  color: var(--text-espresso);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-terra);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  margin-top: 1rem;
}

.form-error {
  color: #d32f2f;
  font-size: 0.85rem;
  margin-top: 0.3rem;
  display: none;
}

.form-control.error {
  border-color: #d32f2f;
}

.footer {
  background-color: var(--text-espresso);
  color: var(--bg-cream);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--bg-cream);
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-tagline {
  color: rgba(245, 239, 224, 0.7);
  max-width: 300px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-link {
  color: rgba(245, 239, 224, 0.8);
  font-size: 0.95rem;
}

.footer-link:hover {
  color: var(--accent-terra);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 239, 224, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(245, 239, 224, 0.5);
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  padding: 1.5rem;
  box-shadow: 0 -10px 30px rgba(44, 26, 15, 0.1);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

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

.cookie-text {
  font-size: 0.95rem;
  max-width: 600px;
}

.cookie-text a {
  text-decoration: underline;
  color: var(--accent-terra);
}

.page-header {
  padding: 160px 0 60px;
  background-color: var(--bg-linen);
  text-align: center;
}

.page-title {
  font-size: 3rem;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
}

.page-content h2 {
  margin: 2rem 0 1rem;
  font-size: 1.8rem;
}

.page-content p {
  margin-bottom: 1.2rem;
  color: var(--text-espresso-light);
}

.page-content ul {
  margin-bottom: 1.2rem;
  padding-left: 2rem;
  color: var(--text-espresso-light);
}

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

.success-wrapper {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-height);
}

.success-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--accent-sage);
}

.success-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-espresso-light);
}

@media (max-width: 992px) {
  .skills-grid, .format-grid, .author-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .format-grid .format-img-col {
    order: -1;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--bg-cream);
    flex-direction: column;
    padding: 2rem 0;
    gap: 1.5rem;
    box-shadow: 0 10px 20px rgba(44, 26, 15, 0.05);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .mobile-menu-btn {
    display: block;
  }

  .form-container {
    padding: 2rem 1.5rem;
  }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
