/*
Theme Name: Anora Makeup Studio
Theme URI: https://anoramakeupstudio.com
Author: Ayushi Srivastava
Author URI: https://anoramakeupstudio.com
Description: A luxury makeup studio WordPress theme with elegant cream, maroon, and gold design for Anora Makeup Studio by Ayushi Srivastava.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: anora-theme
Tags: beauty, makeup, luxury, one-page, portfolio, responsive
*/

/* ============================================================
   GLOBAL BASE STYLES — ANORA MAKEUP STUDIO THEME
   All page-specific styles are in assets/css/ folder
   ============================================================ */

/* CSS Custom Properties / Design Tokens */
:root {
  /* Colors */
  --color-bg:          #f9f0e6;
  --color-bg-light:    #fdf7f0;
  --color-bg-dark:     #f0dcc5;
  --color-primary:     #3d1220;
  --color-primary-mid: #6b2d3e;
  --color-primary-light:#9c4d62;
  --color-gold:        #c9a55a;
  --color-gold-light:  #e8c97a;
  --color-gold-dark:   #a6813a;
  --color-text:        #2a0d16;
  --color-text-mid:    #5a3040;
  --color-text-light:  #9c7080;
  --color-white:       #ffffff;
  --color-border:      #e2c9b0;

  /* Typography */
  --font-heading:      'Cormorant Garamond', Georgia, serif;
  --font-script:       'Cormorant Garamond', Georgia, serif;
  --font-body:         'DM Sans', system-ui, sans-serif;

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

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

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(61,18,32,0.08);
  --shadow-md:  0 4px 20px rgba(61,18,32,0.12);
  --shadow-lg:  0 8px 40px rgba(61,18,32,0.18);
  --shadow-xl:  0 16px 60px rgba(61,18,32,0.25);
  --shadow-gold:0 4px 20px rgba(201,165,90,0.3);

  /* Transitions */
  --transition-fast:   0.15s ease;
  --transition-base:   0.3s ease;
  --transition-slow:   0.5s ease;

  /* Layout */
  --container-max:  1200px;
  --container-wide: 1400px;
  --header-height:  80px;
}

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

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

/* Base Body */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Links */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-gold);
}

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

/* Lists */
ul, ol {
  list-style: none;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
}

/* Paragraphs */
p {
  margin-bottom: var(--space-md);
  color: var(--color-text-mid);
}

p:last-child {
  margin-bottom: 0;
}

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

.container--wide {
  max-width: var(--container-wide);
}

/* Section Spacing */
.section {
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
}

.section--sm {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

/* Section Title Global Styles */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: var(--space-2xl);
  font-style: normal;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

/* Section divider — simple line */
.gold-divider,
.section-line {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--color-border);
  margin: var(--space-md) auto var(--space-lg);
}

/* Utility Classes */
.text-center  { text-align: center; }
.text-gold    { color: var(--color-gold); }
.text-primary { color: var(--color-primary); }
.text-script  { font-family: var(--font-script); }
.bg-primary   { background-color: var(--color-primary); }
.bg-cream     { background-color: var(--color-bg-light); }
.d-flex       { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-md       { gap: var(--space-md); }
.mt-xl        { margin-top: var(--space-xl); }
.mb-xl        { margin-bottom: var(--space-xl); }

/* Button Global Base */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition-base), border-color var(--transition-base), color var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--color-primary-mid);
  color: var(--color-white);
  transform: none;
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
}

.btn-outline:hover {
  background: var(--color-bg-dark);
  color: var(--color-primary);
  transform: none;
}

.btn-outline-gold {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
}

.btn-outline-gold:hover {
  background: var(--color-bg-dark);
  color: var(--color-primary);
  transform: none;
}

/* Responsive Grid */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary-mid);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Selection Color */
::selection {
  background: var(--color-gold);
  color: var(--color-primary);
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  :root { --header-height: 70px; }
}

@media (max-width: 768px) {
  .container { padding-left: var(--space-lg); padding-right: var(--space-lg); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding-top: var(--space-3xl); padding-bottom: var(--space-3xl); }
}

@media (max-width: 480px) {
  .container { padding-left: var(--space-md); padding-right: var(--space-md); }
  .section { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); }
}
