/* CSS Variables */
:root {
  --color-primary: #0A3816;
  --color-secondary: #001F3F;
  --color-accent: #B87333;
  --color-accent-alt: #C2B280;
  --color-neutral: #FAF9F6;
  --color-text: #2C2C2C;
  --color-text-light: #666666;
  --font-primary: 'Playfair Display', serif;
  --font-secondary: 'Inter', sans-serif;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition-fast: 0.3s ease;
  --transition-slow: 0.5s ease;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-secondary);
  color: var(--color-text);
  background-color: var(--color-neutral);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  margin-bottom: var(--space-md);
  font-size: clamp(0.875rem, 2vw, 1rem);
}

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

a:hover {
  color: var(--color-accent);
}

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

/* Header */
.site-header {
  background-color: var(--color-neutral);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1000;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.brand-name {
  font-family: var(--font-primary);
  font-size: clamp(1rem, 2vw, 1.75rem);
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}

.nav-menu li a {
  font-size: clamp(0.875rem, 2vw, 1rem);
  padding: var(--space-sm) var(--space-md);
  display: block;
  transition: all var(--transition-fast);
}

.nav-menu li a:hover {
  color: var(--color-accent);
  transform: translateY(-2px);
}

.burger-button {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  font-size: 1.5rem;
  color: var(--color-primary);
  order: 999;
  transition: transform var(--transition-fast);
}

.burger-button:hover {
  transform: scale(1.1);
}

.burger-button.active {
  transform: rotate(90deg);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .burger-button {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-neutral);
    flex-direction: column;
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    gap: var(--space-md);
  }

  .nav-menu.active {
    display: flex;
  }
}

/* Main Content */
main {
  min-height: calc(100vh - 200px);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  margin-bottom: var(--space-xxl);
  padding: var(--space-xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
  margin: var(--space-md) auto;
}

/* Banner */
.banner-section {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
  margin-bottom: var(--space-xl);
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.banner-section:hover .banner-image {
  transform: scale(1.05);
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(10, 56, 22, 0.3), rgba(10, 56, 22, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-content {
  text-align: center;
  color: white;
  z-index: 1;
  padding: var(--space-lg);
}

.banner-content h1 {
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: var(--space-md);
}

.banner-content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Grid Layouts */
.grid-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.grid-three {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.grid-four {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

/* Cards */
.card {
  background-color: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-image {
  transform: scale(1.1);
}

.card-content {
  padding: var(--space-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

.card-text {
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.card-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-top: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  background-color: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  font-family: var(--font-secondary);
    margin-top: 10px;
}

.btn:hover {
    color: white;
  background-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

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

/* Forms */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.95rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-md);
  font-family: var(--font-secondary);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

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

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.checkbox-input {
  margin-top: 4px;
  cursor: pointer;
}

.checkbox-label {
  font-size: 0.9rem;
  color: var(--color-text-light);
  cursor: pointer;
}

.checkbox-label a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Google Maps */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-xl);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
.site-footer {
  background-color: var(--color-primary);
  color: white;
  padding: var(--space-xl) var(--space-lg);
  margin-top: var(--space-xxl);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.footer-section h3 {
  color: white;
  margin-bottom: var(--space-md);
  font-size: 1.25rem;
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: var(--space-sm);
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition-fast);
}

.footer-menu a:hover {
  color: var(--color-accent-alt);
}

.footer-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  margin-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* Privacy Popup */
.privacy-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.privacy-popup.active {
  display: flex;
}

.popup-content {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.popup-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.popup-close:hover {
  color: var(--color-accent);
}

.popup-title {
  margin-bottom: var(--space-lg);
  color: var(--color-primary);
}

.popup-text {
  color: var(--color-text-light);
  line-height: 1.8;
}

/* Cost Per Wear Calculator */
.calculator-section {
  background-color: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-xl);
}

.calculator-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.calculator-result {
  text-align: center;
  padding: var(--space-lg);
  background-color: var(--color-neutral);
  border-radius: var(--radius-md);
  margin-top: var(--space-lg);
}

.result-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  font-family: var(--font-primary);
}

.result-label {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-top: var(--space-sm);
}

/* Search & Filter */
.search-container {
  margin-bottom: var(--space-xl);
}

.search-input {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: var(--font-secondary);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.filter-btn {
  padding: var(--space-sm) var(--space-md);
  background-color: white;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-secondary);
  font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* Brand Profile */
.brand-profile {
  background-color: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-lg);
}

.brand-header {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.brand-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.brand-info h3 {
  margin-bottom: var(--space-xs);
}

.brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.tag {
  padding: var(--space-xs) var(--space-md);
  background-color: var(--color-neutral);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--color-text);
}

/* Video Container */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  margin-bottom: var(--space-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Text Content */
.text-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-lg);
}

.text-content p {
  margin-bottom: var(--space-md);
}

.text-content ul,
.text-content ol {
  margin-left: var(--space-lg);
  margin-bottom: var(--space-md);
  color: var(--color-text-light);
}

.text-content li {
  margin-bottom: var(--space-sm);
}

/* Date Display */
.date {
  color: var(--color-text-light);
  font-size: 0.9rem;
  font-style: italic;
  margin-top: var(--space-lg);
}

/* 404 Page */
.error-page {
  text-align: center;
  padding: var(--space-xxl) var(--space-lg);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.error-code {
  font-size: 8rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-primary);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.error-message {
  font-size: 1.5rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
}

/* Thank You Page */
.thank-you-section {
  text-align: center;
  padding: var(--space-xxl) var(--space-lg);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
}

.thank-you-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--space-md);
}

.thank-you-text {
  font-size: 1.125rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin-bottom: var(--space-xl);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 var(--space-md);
  }

  .banner-section {
    height: 50vh;
    min-height: 350px;
  }

  .grid-three {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 2rem;
    --space-xxl: 3rem;
  }

  .section {
    padding: var(--space-lg) 0;
  }

  .banner-section {
    height: 40vh;
    min-height: 300px;
  }

  .grid-two,
  .grid-three,
  .grid-four {
    grid-template-columns: 1fr;
  }

  .calculator-form {
    grid-template-columns: 1fr;
  }

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

  .brand-header {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: var(--space-md);
  }

  .header-container {
    gap: var(--space-sm);
  }

  .banner-section {
    height: 50vh;
    min-height: 250px;
  }

  .card-content {
    padding: var(--space-md);
  }

  .popup-content {
    padding: var(--space-lg);
    margin: var(--space-md);
  }

  .error-code {
    font-size: 5rem;
  }
}

@media (max-width: 320px) {
  .container {
    padding: 0 var(--space-sm);
  }

  .banner-section {
    min-height: 200px;
  }

  .btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.9rem;
  }
}

