/*
Theme Name: Berles Luxury Amenities
Theme URI: https://berles.com
Author: Berles Algiers
Author URI: https://berles.com
Description: Premium B2B Hotel Amenities & Cosmetics WordPress Theme. Featuring luxury hotel bathroom cosmetics, eco-friendly hygiene solutions, Arabic/French/English multilingual support, Day/Night mode switcher, interactive hotel bottle co-branding customizer, and Elementor compatibility.
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: berles-luxury
Tags: custom-header, custom-menu, full-width-template, translation-ready, e-commerce, dark-mode, rtl-language-support
*/

:root {
  --color-emerald: #466756;
  --color-emerald-dark: #324e41;
  --color-emerald-light: #5d836f;
  --color-gold: #d4af37;
  --color-gold-warm: #d6bd94;
  --color-gold-light: #fee7b0;
  --color-alabaster: #ede8de;
  --color-cream: #f7f5f0;
  --color-onyx: #141213;
  --color-charcoal: #241f21;
  --color-terracotta: #742213;
  --font-serif: 'Cormorant Garamond', 'Playfair Display', 'Amiri', Georgia, serif;
  --font-sans: 'Montserrat', 'Cairo', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-premium: 0 12px 40px rgba(36, 31, 33, 0.12);
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
}

/* Light Theme Variables */
body.theme-light {
  --bg-primary: #ede8de;
  --bg-surface: #f7f5f0;
  --bg-card: #ffffff;
  --bg-accent: #e2dccf;
  --text-primary: #241f21;
  --text-secondary: #575253;
  --text-muted: #888280;
  --border-color: rgba(70, 103, 86, 0.18);
  --border-color-subtle: rgba(36, 31, 33, 0.08);
  --header-bg: rgba(237, 232, 222, 0.88);
}

/* Dark Theme Variables */
body.theme-dark {
  --bg-primary: #121413;
  --bg-surface: #191c1b;
  --bg-card: #202422;
  --bg-accent: #282d2a;
  --text-primary: #f5f5f0;
  --text-secondary: #c5c8c6;
  --text-muted: #8c908e;
  --border-color: rgba(212, 175, 55, 0.22);
  --border-color-subtle: rgba(255, 255, 255, 0.08);
  --header-bg: rgba(18, 20, 19, 0.9);
}

/* Global resets & typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

/* RTL layout overrides for Arabic */
body[dir="rtl"] {
  font-family: 'Cairo', 'Amiri', var(--font-sans);
  direction: rtl;
  text-align: right;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

body[dir="rtl"] h1,
body[dir="rtl"] h2,
body[dir="rtl"] h3 {
  font-family: 'Amiri', 'Cairo', serif;
  letter-spacing: 0;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

/* Responsive containers */
.berles-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 1536px) {
  .berles-container {
    max-width: 1400px;
  }
}
