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

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

/* CSS Custom Properties */
:root {
  --primary: #2A2D34;
  --primary-dark: #1A1D24;
  --accent: #C9A77A;
  --accent-hover: #B8956A;
  --bg-primary: #E8E4E1;
  --bg-secondary: #F5F3F1;
  --bg-card: #FFFFFF;
  --text-primary: #2A2D34;
  --text-secondary: #7A8C8D;
  --border-color: #A3B4A2;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Open Sans', sans-serif;
  --section-padding: 80px 0;
  --container-max-width: 1200px;
  --border-radius: 8px;
  --shadow-light: 0 4px 24px rgba(42, 45, 52, 0.08);
  --shadow-medium: 0 8px 32px rgba(42, 45, 52, 0.12);
  --shadow-heavy: 0 12px 48px rgba(42, 45, 52, 0.16);
  --transition: all 0.3s ease;
}

/* Layout Utilities */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col {
  padding: 0 15px;
  flex: 1;
}

.col-12 { width: 100%; }
.col-6 { width: 50%; }
.col-4 { width: 33.333%; }
.col-3 { width: 25%; }

@media (max-width: 768px) {
  .col-6, .col-4, .col-3 {
    width: 100%;
  }
  
  .container {
    padding: 0 15px;
  }
}

/* Text Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-accent { color: var(--accent); }

/* Spacing Utilities */
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }

.mt-0 { margin-top: 0; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

.pt-80 { padding-top: 80px; }
.pb-80 { padding-bottom: 80px; }

/* Display Utilities */
.d-flex { display: flex; }
.d-block { display: block; }
.d-none { display: none; }

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

/* Animation Base Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.slide-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Remove default focus styles and add custom ones */
button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Smooth transitions on interactive elements */
a, button, input, textarea, select {
  transition: var(--transition);
}

/* Base typography styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-primary);
}

p {
  margin-bottom: 16px;
  color: var(--text-primary);
}

ul, ol {
  margin-bottom: 16px;
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
}

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