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

:root {
  --primary-color: #1a1a1a;
  --secondary-color: #4a4a4a;
  --accent-color: #6b6b6b;
  --text-color: #2d2d2d;
  --light-bg: #f5f5f5;
  --white: #ffffff;
  --border-color: #e0e0e0;
  --transition: all 0.3s ease;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.4rem;
}

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

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

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

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 1000;
  transition: var(--transition);
}

.header.scroll-down {
  transform: translateY(-100%);
}

.header.scroll-up {
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-color);
  position: fixed;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--primary-color);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 50px;
}

.nav a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-color);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

main {
  margin-top: 0;
}

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

.hero-content {
  text-align: center;
  max-width: 900px;
  padding: 60px 20px;
}

.hero-content h1 {
  font-size: 4.5rem;
  margin-bottom: 30px;
  color: var(--primary-color);
  line-height: 1.1;
  font-weight: 300;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 20px;
  color: var(--accent-color);
  line-height: 1.8;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 16px 45px;
  font-size: 0.8rem;
  font-weight: 400;
  border-radius: 0;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 10px;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--white);
  color: var(--primary-color);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--white);
}

section {
  padding: 70px 0;
}

.page-hero {
  background: var(--light-bg);
  padding: 80px 0 60px;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--accent-color);
}

.about-craft {
  background: var(--white);
}

.craft-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.craft-text h2 {
  margin-bottom: 25px;
  color: var(--primary-color);
}

.craft-text p {
  margin-bottom: 15px;
  line-height: 1.8;
}

.craft-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 2px;
}

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

.features h2 {
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary-color);
}

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

.feature-card {
  text-align: center;
  padding: 40px 25px;
  background: var(--white);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.feature-card h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.collections {
  background: var(--white);
}

.collections h2 {
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary-color);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.collection-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.collection-image {
  overflow: hidden;
  border-radius: 2px;
}

.collection-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

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

.collection-info h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.collection-info p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.process {
  background: var(--light-bg);
}

.process h2 {
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary-color);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.step {
  text-align: center;
  padding: 30px 20px;
  background: var(--white);
  border: 1px solid var(--border-color);
}

.step-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.step h3 {
  margin-bottom: 12px;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.step p {
  font-size: 0.85rem;
  line-height: 1.6;
}

.cta {
  background: var(--light-bg);
  color: var(--text-color);
  text-align: center;
  padding: 100px 0;
}

.cta-content h2 {
  color: var(--primary-color);
  margin-bottom: 25px;
  font-size: 2.5rem;
  font-weight: 300;
}

.cta-content p {
  font-size: 1.05rem;
  margin-bottom: 40px;
  color: var(--accent-color);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.products {
  background: var(--white);
}

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

.product-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--white);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.product-card:nth-child(1) .product-image {
  background-image: url(../visual_gallery/1.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.product-card:nth-child(2) .product-image {
  background-image: url(../visual_gallery/2.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.product-card:nth-child(3) .product-image {
  background-image: url(../visual_gallery/3.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.product-image {
  width: 100%;
  height: 250px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-bg);
  border: 1px solid var(--border-color);
}

.product-card h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.product-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.product-details {
  background: var(--light-bg);
}

.product-details h2 {
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary-color);
}

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

.detail-item {
  text-align: center;
  padding: 40px 25px;
  background: var(--white);
  border: 1px solid var(--border-color);
}

.detail-item h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.detail-item p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.contact-section {
  background: var(--white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  margin-bottom: 30px;
  color: var(--primary-color);
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.info-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.info-item p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-form-wrapper h2 {
  margin-bottom: 30px;
  color: var(--primary-color);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group input,
.form-group textarea {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.checkbox-group input {
  width: auto;
}

.checkbox-group label {
  font-size: 0.85rem;
}

.map-section {
  background: var(--light-bg);
}

.map-section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.map-wrapper {
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.thank-you-section,
.error-section {
  min-height: calc(100vh);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-bg);
}

.thank-you-content,
.error-content {
  text-align: center;
  max-width: 600px;
  padding: 40px;
}

.thank-you-content h1,
.error-content h1 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.error-content h1 {
  font-size: 5rem;
  color: var(--primary-color);
  font-weight: 300;
}

.error-content h2 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.thank-you-content p,
.error-content p {
  margin-bottom: 30px;
  line-height: 1.8;
  font-size: 1rem;
}

.policy-section {
  background: var(--white);
  padding: 80px 0;
}

.policy-section h1 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.policy-date {
  font-size: 0.9rem;
  color: var(--accent-color);
  margin-bottom: 40px;
}

.policy-content h2 {
  margin-top: 35px;
  margin-bottom: 15px;
  color: var(--primary-color);
  font-size: 1.6rem;
}

.policy-content p {
  margin-bottom: 15px;
  line-height: 1.8;
}

.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 30px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-info p {
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--white);
}

.footer-links a:hover {
  opacity: 0.7;
}

.privacy-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: var(--primary-color);
  color: var(--white);
  padding: 20px;
  z-index: 9999;
  transition: bottom 0.5s ease;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.privacy-popup.show {
  bottom: 0;
}

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

.privacy-content p {
  font-size: 0.9rem;
  flex: 1;
}

.privacy-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.privacy-actions a {
  color: var(--white);
  font-size: 0.9rem;
  text-decoration: underline;
}

.privacy-actions button {
  padding: 10px 25px;
  background: var(--white);
  color: var(--primary-color);
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 400;
  transition: var(--transition);
  letter-spacing: 1px;
}

.privacy-actions button:hover {
  background: var(--light-bg);
}

@media (max-width: 992px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.7rem;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .craft-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .features-grid,
  .products-grid,
  .details-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .collection-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 30px 20px;
    gap: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  .nav.active {
    transform: translateX(0);
  }
  .nav-toggle {
    display: flex;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .header-content {
    padding: 20px 0;
  }
  .features-grid,
  .products-grid,
  .details-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
  .privacy-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .page-hero h1 {
    font-size: 2rem;
  }
  section {
    padding: 50px 0;
  }
  .btn-primary,
  .btn-secondary {
    padding: 12px 30px;
    font-size: 0.75rem;
  }
}

@media (max-width: 320px) {
  body {
    font-size: 13px;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  h3 {
    font-size: 1.1rem;
  }
  .hero-content h1 {
    font-size: 1.7rem;
  }
  .logo {
    font-size: 1rem;
    letter-spacing: 2px;
  }
}
