/*
Theme Name: The Urban Huts
Theme URI: https://theurbanhuts.com
Author: The Urban Huts Team
Author URI: https://theurbanhuts.com
Description: A premium, modern custom WordPress theme designed for high-end home interior designs. Fully integrated with Advanced Custom Fields (ACF).
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: theurbanhuts
*/

/* ==========================================================================
   Design Tokens & Variables
   ========================================================================== */
:root {
  /* Color Palette */
  --primary: #C86B4A;          /* Terracotta accent color from Brand Guidelines */
  --primary-hover: #b55938;    /* Darker terracotta for hover states */
  --secondary: #6B7280;        /* Concrete Grey */
  --dark-slate: #222222;       /* Charcoal Black */
  --accent: #C86B4A;
  --bg-light: #ffffff;
  --bg-warm: #E5E5E5;          /* Stone Grey */
  --bg-dark: #222222;          /* Charcoal Black for footer */
  --white: #ffffff;
  --gray-100: #f3f4f6;
  --gray-200: #E5E5E5;
  --gray-300: #d1d5db;
  --gray-500: #6B7280;
  --gray-700: #374151;
  --gray-800: #222222;

  /* Typography */
  --font-sans: 'Poppins', sans-serif;  /* Body Text */
  --font-serif: 'Montserrat', sans-serif; /* Headings / Titles */

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-premium: 0 15px 35px rgba(34, 34, 34, 0.06);

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease-in-out;

  /* Border Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* ==========================================================================
   CSS Reset & Base Rules
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  background-color: var(--white);
  color: var(--gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  width: 100%;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--gray-500); }

/* Background Utilities */
.bg-light { background-color: var(--bg-light) !important; }
.bg-warm { background-color: var(--bg-warm) !important; }
.bg-white { background-color: var(--white) !important; }
.bg-dark { background-color: var(--bg-dark) !important; }

.flex { display: flex; }
.grid { display: grid; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }

.section-padding {
  padding-top: 80px;
  padding-bottom: 80px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--dark-slate);
  margin-bottom: 12px;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(240, 84, 84, 0.3);
}

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

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