:root {
  --primary: #662222;
  --secondary: #842A3B;
  --accent: #A3485A;
  --light: #F5DAA7;
  --dark: #1a1a1a;
  --white: #ffffff;
  --gray: #f8f8f8;

  --font-primary: 'Cormorant Garamond', serif;
  --font-secondary: 'Montserrat', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;

  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);

  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font-secondary);
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  font-size: 0.9rem;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
  color: var(--primary);
}

h2 {
  font-size: 2rem;
  color: var(--secondary);
}

h3 {
  font-size: 1.5rem;
  color: var(--accent);
}

h4 {
  font-size: 1.2rem;
}

p {
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
.btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius-sm);
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

button:hover,
.btn:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: var(--space-md) 0;
  position: relative;
  box-shadow: var(--shadow-md);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.logo {
  display: block;
}

.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);
}

/* Responsive Styles */
@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 {
  display: flex;
  gap: var(--space-md);
}

nav a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 0;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--light);
  transition: var(--transition);
}

nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.mobile-nav.active {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: var(--space-md);
}

.mobile-nav a {
  color: var(--white);
  font-size: 1.5rem;
  font-family: var(--font-primary);
  font-weight: 600;
}

.close-menu {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.hero {
  background: linear-gradient(135deg, var(--light) 0%, var(--gray) 100%);
  padding: var(--space-xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="%23662222" opacity="0.1"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: var(--space-md);
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto var(--space-md);
  color: var(--secondary);
  animation: fadeInUp 1s ease 0.2s backwards;
}

.hero .btn {
  animation: fadeInUp 1s ease 0.4s backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  padding: var(--space-xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--accent);
}

.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--gray);
}

.card-content {
  padding: var(--space-md);
}

.card-content h3 {
  margin-bottom: var(--space-xs);
}

.transformation-section {
  background: var(--gray);
  padding: var(--space-xl) 0;
}

.transformation-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  align-items: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.transformation-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.transformation-item:nth-child(even) {
  direction: rtl;
}

.transformation-item:nth-child(even)>* {
  direction: ltr;
}

.before-after {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.before-after img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.before-label,
.after-label {
  position: absolute;
  top: var(--space-sm);
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
}

.before-label {
  left: var(--space-sm);
}

.after-label {
  right: var(--space-sm);
}

.transformation-text h3 {
  margin-bottom: var(--space-sm);
  color: var(--primary);
}

.transformation-text p {
  color: var(--dark);
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
}

.service-item {
  text-align: center;
  padding: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.service-item h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.product-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: var(--gray);
}

.product-content {
  padding: var(--space-md);
}

.product-price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin: var(--space-sm) 0;
}

.contact-section {
  background: linear-gradient(135deg, var(--light) 0%, var(--gray) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.contact-info {
  background: var(--white);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary);
}

.contact-form {
  background: var(--white);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
  color: var(--dark);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: flex;
  align-items: start;
  gap: var(--space-xs);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
}

.checkbox-group label {
  font-size: 0.85rem;
  line-height: 1.4;
}

.map-container {
  margin-top: var(--space-md);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-container iframe {
  width: 100%;
  height: 350px;
  border: none;
}

footer {
  background: var(--dark);
  color: var(--white);
  padding: var(--space-md) 0;
  text-align: center;
  font-size: 0.85rem;
}

.footer-menu {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
  flex-wrap: wrap;
}

.footer-menu a {
  color: var(--light);
  font-size: 0.85rem;
}

.footer-menu a:hover {
  color: var(--white);
}

.privacy-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: var(--white);
  padding: var(--space-md);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  z-index: 999;
  display: none;
}

.privacy-popup.show {
  display: block;
}

.privacy-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.privacy-content p {
  margin: 0;
  font-size: 0.85rem;
  flex: 1;
  min-width: 250px;
}

.privacy-actions {
  display: flex;
  gap: var(--space-sm);
}

.privacy-actions button {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.accept-btn {
  background: var(--primary);
}

.decline-btn {
  background: transparent;
  border: 1px solid var(--white);
}

.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) 0;
}

.error-content h1 {
  font-size: 4rem;
  margin-bottom: var(--space-md);
}

.error-content p {
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
}

.thankyou-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) 0;
}

.thankyou-content {
  max-width: 600px;
}

.thankyou-icon {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.policy-page {
  padding: var(--space-xl) 0;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.policy-content h2 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
}

.policy-content p {
  margin-bottom: var(--space-md);
}

.policy-content ul {
  margin-left: var(--space-md);
  margin-bottom: var(--space-md);
}

.policy-content li {
  margin-bottom: var(--space-xs);
}

.client-testimonial {
  background: var(--white);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary);
}

.client-testimonial p {
  font-style: italic;
  margin-bottom: var(--space-sm);
  color: var(--dark);
}

.client-name {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
}

.timeline {
  position: relative;
  padding-left: var(--space-lg);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-lg);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-lg) - 6px);
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-item h3 {
  margin-bottom: var(--space-xs);
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .transformation-item {
    grid-template-columns: 1fr;
  }

  .transformation-item:nth-child(even) {
    direction: ltr;
  }

  .before-after img {
    height: 250px;
  }

  .footer-menu {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .privacy-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 90%;
  }

  .hero {
    padding: var(--space-md) 0;
  }

  section {
    padding: var(--space-md) 0;
  }

  .card-img,
  .product-img {
    height: 180px;
  }

  .before-after img {
    height: 200px;
  }
}