/*
Theme Name: Hanurental Solutions
Theme URI: https://hanurental.com
Author: Hanurental Team
Author URI: https://hanurental.com
Description: Premium real estate rental theme with luxury design, property listings, and advanced filtering
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hanurental
Tags: real-estate, properties, rental, luxury, responsive, custom-post-types

This theme, like WordPress, is licensed under the GPL.
*/

/* ==========================================================================
   DESIGN SYSTEM - COLOR VARIABLES (HSL)
   ========================================================================== */

:root {
  /* Brand Colors */
  --brand-blue: 206 100% 30%;
  --brand-dark: 210 76% 11%;
  --brand-gold: 46 67% 52%;
  
  /* Base Colors */
  --background: 0 0% 100%;
  --foreground: 210 22% 12%;
  
  /* UI Colors */
  --card: 0 0% 100%;
  --card-foreground: 210 22% 12%;
  --secondary: 210 40% 96.1%;
  --secondary-foreground: 210 22% 12%;
  --muted: 210 40% 96.1%;
  --muted-foreground: 215.4 16.3% 46.9%;
  --accent: 46 67% 52%;
  --accent-foreground: 210 22% 12%;
  
  /* Borders & Inputs */
  --border: 214.3 31.8% 91.4%;
  --input: 214.3 31.8% 91.4%;
  --ring: 206 100% 30%;
  
  /* Destructive */
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 100%;
  
  /* Border Radius */
  --radius: 1rem;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.font-serif {
  font-family: 'Playfair Display', serif;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Shadows */
.shadow-soft {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.shadow-luxury {
  box-shadow: 0 8px 32px rgba(0, 78, 152, 0.12);
}

/* Glass Morphism */
.glass {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Transitions */
.transition-smooth {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrollbar Hide */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes fade-in {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes slide-right {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}

.animate-fade-in {
  animation: fade-in 0.5s ease-out;
}

.animate-slide-left {
  animation: slide-left 30s linear infinite;
}

.animate-slide-right {
  animation: slide-right 30s linear infinite;
}

/* ==========================================================================
   RESPONSIVE GRID SYSTEM
   ========================================================================== */

.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

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

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: hsl(206 100% 25%);
}

.btn-gold {
  background: hsl(var(--brand-gold));
  color: hsl(var(--brand-dark));
}

.btn-gold:hover {
  background: hsl(46 67% 45%);
}

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

.btn-outline:hover {
  background: hsl(var(--secondary));
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.card {
  background: hsl(var(--card));
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(0, 78, 152, 0.12);
  transform: translateY(-0.5rem);
}

/* ==========================================================================
   WORDPRESS SPECIFIC
   ========================================================================== */

.alignleft {
  float: left;
  margin-right: 1.5rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.5rem;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
