/*!
Theme Name: Rozenheem Landing
Theme URI: https://rozenheem.com
Description: A beautiful one-page landing theme for Rozenheem saddle craftsmanship services
Version: 1.0.0
Author: Rozenheem
Author URI: https://rozenheem.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rozenheem-landing
Domain Path: /languages
*/

/* CSS Variables */
:root {
  /* Colors - Light Mode */
  --color-primary: #653d1f;
  --color-primary-fg: #f5f2ed;
  --color-accent: #b8860b;
  --color-foreground: #3d3530;
  --color-background: #f5f2ed;
  --color-card: #f1ebe2;
  --color-muted-fg: #8b7355;
  --color-border: #ddd5cb;
  --color-gold: #b8860b;
  --color-leather: #5c3d1f;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;

  /* Border Radius */
  --radius: 0.375rem;

  /* Breakpoints */
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1400px;

  /* Max Container Width */
  --container-max-width: 1400px;
  --container-padding: 2rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-background: #1a1410;
    --color-foreground: #f0ead8;
    --color-primary: #d4a574;
    --color-primary-fg: #1a1410;
    --color-card: #2a241a;
    --color-card-fg: #f0ead8;
    --color-muted-fg: #a89968;
    --color-border: #4a4038;
    --color-accent: #d4a574;
  }
}

/* Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base Typography */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-foreground);
  background-color: var(--color-background);
  antialiased: true;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 600;
}

h1 {
  font-size: clamp(2rem, 8vw, 3.75rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.875rem, 6vw, 2.25rem);
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

p {
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity 0.3s ease-out;
}

a:hover {
  opacity: 0.8;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

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

.text-muted {
  color: var(--color-muted-fg);
}

.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.uppercase {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: var(--spacing-md); }
.mb-6 { margin-bottom: 1.5rem; }
.mb-12 { margin-bottom: 3rem; }

.mt-4 { margin-top: var(--spacing-md); }
.mt-6 { margin-top: 1.5rem; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

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

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

.flex-wrap {
  flex-wrap: wrap;
}

.justify-between {
  justify-content: space-between;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

/* Grid */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Main Layout */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

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

.rounded {
  border-radius: var(--radius);
}

.rounded-lg {
  border-radius: calc(var(--radius) * 3);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.aspect-video {
  aspect-ratio: 16 / 9;
}

.aspect-3-2 {
  aspect-ratio: 3 / 2;
}

.object-cover {
  object-fit: cover;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.h-6 {
  height: 1.5rem;
}

.w-auto {
  width: auto;
}

.max-w-lg {
  max-width: 32rem;
}

.max-w-xl {
  max-width: 36rem;
}

.max-w-3xl {
  max-width: 48rem;
}

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

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

.fade-in.visible {
  opacity: 1;
  animation: none;
}

/* Border */
.border {
  border: 1px solid var(--color-border);
}

.border-t {
  border-top: 1px solid var(--color-border);
}

.opacity-80 {
  opacity: 0.8;
}

.opacity-60 {
  opacity: 0.6;
}

.transition-opacity {
  transition: opacity 0.3s ease-out;
}

/* Card */
.card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
}

/* Dot bullet */
.dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background-color: var(--color-accent);
}

.list-item {
  display: flex;
  gap: var(--spacing-md);
  font-size: 0.875rem;
  margin-bottom: var(--spacing-md);
}
