/*
Theme Name: PixiUp Photography
Theme URI: https://pixiup.com
Author: PixiUp
Author URI: https://pixiup.com
Description: A premium, SEO-optimized WordPress theme for PixiUp Photography — Indian wedding photographers based in Hyderabad. Features candid & traditional photography showcases, booking integration, lead capture, and full Core Web Vitals compliance.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pixiup
Tags: photography, wedding, portfolio, custom-logo, custom-menu, featured-images, theme-options, one-column, two-columns

PixiUp Photography WordPress Theme
Copyright (C) 2025 PixiUp
*/

/* ==========================================================================
   DESIGN SYSTEM — CSS Custom Properties
   ========================================================================== */

:root {
  /* Colors — Primary */
  --gold: #C9A84C;
  --gold-light: #E8D5A3;
  --gold-dark: #8B6914;

  /* Colors — Deep / Dark */
  --deep: #1A0A0A;

  /* Colors — Accent */
  --maroon: #6B1A1A;
  --maroon-soft: #8B2E2E;

  /* Colors — Neutral */
  --cream: #FAF6F0;
  --cream-dark: #F0E8DC;
  --off-white: #FDF9F4;

  /* Colors — Text */
  --text-dark: #1A0A0A;
  --text-mid: #4A3728;
  --text-muted: #8A7060;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Segoe UI', sans-serif;

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

  /* Borders */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-full: 50%;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.4s ease;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(107, 26, 26, 0.12);

  /* Layout */
  --container-max: 1200px;
  --nav-height: 72px;
}


/* ==========================================================================
   GLOBAL RESET
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}


/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--deep);
  padding: 0.75rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 9999;
  border-radius: var(--radius-sm);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  clip: auto !important;
  clip-path: none;
  display: block;
  height: auto;
  left: 5px;
  top: 5px;
  width: auto;
  z-index: 100000;
  background: var(--gold);
  color: var(--deep);
  padding: 0.75rem 1.5rem;
  font-size: 0.85rem;
}


/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  nav,
  .sticky-cta,
  .proof-bar,
  .scroll-indicator,
  .btn-primary,
  .btn-secondary,
  .whatsapp-btn,
  .final-cta {
    display: none !important;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  h1, h2, h3 {
    page-break-after: avoid;
  }
}
