@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

:root {
  --color-primary: #3E3F29;
  --color-secondary: #7D8D86;
  --color-accent: #BCA88D;
  --color-light: #F1F0E4;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;

  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;

  --shadow-sm: 0 2px 8px rgba(62, 63, 41, 0.1);
  --shadow-md: 0 4px 16px rgba(62, 63, 41, 0.15);
  --shadow-lg: 0 8px 32px rgba(62, 63, 41, 0.2);
  --shadow-carved: inset 0 2px 8px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(241, 240, 228, 0.1);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-primary);
  background: var(--color-light);
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(1.75rem, 5vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--space-sm);
  font-weight: 400;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--color-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
.btn {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--color-primary);
  background: var(--color-primary);
  color: var(--color-light);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

button:hover,
.btn:hover {
  background: transparent;
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

button:active,
.btn:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary);
}

.btn-secondary:hover {
  background: transparent;
  color: var(--color-accent);
}

header {
  background: linear-gradient(135deg, var(--color-primary) 0%, rgba(62, 63, 41, 0.95) 100%);
  padding: var(--space-sm) 0;
  position: relative;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(45deg, transparent 48%, rgba(188, 168, 141, 0.1) 50%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(188, 168, 141, 0.1) 50%, transparent 52%);
  background-size: 20px 20px;
  opacity: 0.3;
  pointer-events: none;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.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 ul {
  list-style: none;
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

nav ul li a {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition-fast);
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: var(--transition-smooth);
}

nav ul li a:hover {
  color: var(--color-accent);
}

nav ul li a:hover::after {
  width: 100%;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.burger span {
  width: 28px;
  height: 3px;
  background: var(--color-light);
  transition: var(--transition-smooth);
  display: block;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  overflow: hidden;
  padding: var(--space-xl) 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    repeating-linear-gradient(0deg,
      transparent,
      transparent 2px,
      rgba(188, 168, 141, 0.03) 2px,
      rgba(188, 168, 141, 0.03) 4px),
    repeating-linear-gradient(90deg,
      transparent,
      transparent 2px,
      rgba(188, 168, 141, 0.03) 2px,
      rgba(188, 168, 141, 0.03) 4px);
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(40px, 40px);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-light);
  max-width: 800px;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 {
  color: var(--color-light);
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.4);
  margin-bottom: var(--space-md);
}

.hero-content p {
  font-size: 1.125rem;
  margin-bottom: var(--space-md);
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section:nth-child(even) {
  background: rgba(125, 141, 134, 0.05);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
  position: relative;
}

.section-header::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--color-accent);
  margin: var(--space-sm) auto 0;
  box-shadow: var(--shadow-carved);
}

.grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: white;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-carved);
  transition: var(--transition-smooth);
  border: 1px solid rgba(62, 63, 41, 0.1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(188, 168, 141, 0.2), transparent);
  transition: var(--transition-smooth);
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  display: block;
}

.card h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-secondary);
}

.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  border: 2px solid transparent;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
}

.product-info {
  padding: var(--space-md);
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: var(--space-sm) 0;
}

.product-description {
  font-size: 0.9rem;
  color: var(--color-secondary);
  margin-bottom: var(--space-md);
}

.testimonial-card {
  background: white;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-carved);
  border-left: 4px solid var(--color-accent);
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}

.testimonial-text {
  font-style: italic;
  font-size: 1rem;
  margin-bottom: var(--space-md);
  color: var(--color-secondary);
  line-height: 1.8;
}

.testimonial-author {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.95rem;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.portfolio-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.portfolio-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-image {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(62, 63, 41, 0.9), rgba(125, 141, 134, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
  padding: var(--space-md);
  text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  color: var(--color-light);
  font-size: 1.25rem;
}

.contact-section {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-light);
  padding: var(--space-xl) 0;
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(188, 168, 141, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(188, 168, 141, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.contact-content {
  position: relative;
  z-index: 2;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm);
  background: rgba(241, 240, 228, 0.1);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-accent);
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-top: 0.25rem;
}

.contact-item-content h4 {
  color: var(--color-light);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.contact-item-content p {
  color: rgba(241, 240, 228, 0.9);
  font-size: 0.95rem;
  margin: 0;
}

.contact-form {
  background: rgba(241, 240, 228, 0.1);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
  color: var(--color-light);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid rgba(241, 240, 228, 0.3);
  background: rgba(241, 240, 228, 0.95);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-primary);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(188, 168, 141, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
  cursor: pointer;
}

.checkbox-group label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  margin: 0;
  cursor: pointer;
  color: rgba(241, 240, 228, 0.9);
}

.map-container {
  width: 100%;
  height: 350px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: var(--space-lg);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

footer {
  background: var(--color-primary);
  color: var(--color-light);
  padding: var(--space-md) 0;
  text-align: center;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
}

.footer-links {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(241, 240, 228, 0.8);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.copyright {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: var(--space-sm);
}

.privacy-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-primary);
  color: var(--color-light);
  padding: var(--space-md);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  transform: translateY(100%);
  transition: var(--transition-smooth);
}

.privacy-popup.show {
  transform: translateY(0);
}

.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-text {
  flex: 1;
  min-width: 250px;
  font-size: 0.9rem;
}

.privacy-text a {
  color: var(--color-accent);
  text-decoration: underline;
}

.privacy-buttons {
  display: flex;
  gap: var(--space-sm);
}

.privacy-buttons button {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
}

.thankyou-container {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.thankyou-content {
  max-width: 600px;
}

.thankyou-icon {
  font-size: 5rem;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  animation: scaleIn 0.6s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.error-container {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.error-content h1 {
  font-size: clamp(4rem, 15vw, 10rem);
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-sm);
  text-shadow: 4px 4px 16px rgba(62, 63, 41, 0.2);
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.policy-content h1 {
  margin-bottom: var(--space-lg);
}

.policy-content h2 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
}

.policy-content p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.policy-content ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-md);
}

.policy-content li {
  margin-bottom: var(--space-xs);
  line-height: 1.7;
}

@media (max-width: 768px) {
  nav ul {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(62, 63, 41, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
  }

  nav ul.active {
    opacity: 1;
    pointer-events: all;
  }

  nav ul li a {
    font-size: 1.25rem;
  }

  .burger {
    display: flex;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 250px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .privacy-content {
    flex-direction: column;
    text-align: center;
  }

  .privacy-buttons {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: var(--space-md) 0;
  }
}