/* ==========================================================================
   CSS VARIABLES & DESIGN TOKENS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Colors - Ultra-Luxury Black & White Theme */
  --color-bg: #050505;
  --color-surface: #0f0f0f;
  --color-surface-2: #181818;
  --color-border: #262626;
  --color-border-light: #383838;

  --color-text: #f5f5f5;
  --color-text-muted: #a3a3a3;

  --color-accent: #ffffff;
  --color-accent-hover: #e0e0e0;
  --color-accent-glow: rgba(255, 255, 255, 0.25);
  --gradient-gold: linear-gradient(135deg, #ffffff 0%, #d4d4d4 50%, #a3a3a3 100%);
  --gradient-gold-dark: linear-gradient(135deg, #a3a3a3 0%, #ffffff 100%);
  --gradient-surface: linear-gradient(180deg, rgba(20,20,20,0.9) 0%, rgba(10,10,10,0.98) 100%);

  --color-white: #ffffff;
  --color-black: #000000;
  --color-error: #ef4444;
  --color-success: #10b981;

  /* Typography */
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;

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

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 300ms ease-in-out;
  --transition-slow: 500ms ease-out;

  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 10px 20px -3px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 20px 35px -5px rgba(0, 0, 0, 0.9);
  --shadow-glow: 0 0 25px rgba(255, 255, 255, 0.25);

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  color: var(--color-white);
  word-break: break-word;
}

h1 { font-size: clamp(2rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 2.5rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.75rem); }

p {
  margin-bottom: var(--space-sm);
  color: var(--color-text-muted);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  word-break: break-word;
}

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

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

ul, ol {
  list-style: none;
}

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

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 1.5rem);
  box-sizing: border-box;
}

.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-text-muted); }

.section { padding: clamp(2.5rem, 6vw, 5rem) 0; }

.section-title {
  text-align: center;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.section-title h2 { margin-bottom: 0.5rem; }

.section-title .subtitle {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  color: var(--color-accent);
  margin-bottom: 1rem;
  display: block;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: clamp(0.6rem, 1.5vw, 0.75rem) clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  cursor: pointer;
  transition: all var(--transition-normal);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-white);
  color: #000000;
  font-weight: 600;
  border: 1px solid var(--color-white);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
  background: #f0f0f0;
  color: #000;
}

.btn-outline {
  background-color: rgba(15, 15, 15, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--color-white);
}

.btn-outline:hover {
  background: var(--color-white);
  border-color: var(--color-white);
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-group { margin-bottom: 1.5rem; }

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text);
  letter-spacing: 1px;
}

.form-control {
  width: 100%;
  padding: clamp(0.75rem, 2vw, 1rem);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast);
  font-size: clamp(0.875rem, 1.5vw, 1rem);
}

.form-control:focus {
  border-color: var(--color-white);
  box-shadow: 0 0 0 1px var(--color-white);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */
.card {
  background: var(--gradient-surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--color-white);
  box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   GLIGHTBOX - Premium Dark Theme Override
   ========================================================================== */
.glightbox-clean .gslide-title {
  color: var(--color-white) !important;
  font-family: var(--font-heading) !important;
  font-size: clamp(1rem, 2.5vw, 1.5rem) !important;
  padding: 0.5rem 1rem !important;
}
.glightbox-clean .gslide-desc {
  color: var(--color-text-muted) !important;
  font-family: var(--font-body) !important;
}
.glightbox-clean .gclose,
.glightbox-clean .gnext,
.glightbox-clean .gprev {
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid var(--color-white) !important;
  border-radius: 50% !important;
}
.glightbox-clean .gclose svg,
.glightbox-clean .gnext svg,
.glightbox-clean .gprev svg {
  color: var(--color-white) !important;
}
.glightbox-clean .gdesc-inner {
  background: rgba(10,10,10,0.95) !important;
  backdrop-filter: blur(12px) !important;
  border-top: 1px solid var(--color-border) !important;
  padding: 1rem 1.5rem !important;
}
.glightbox-container .goverlay {
  background: rgba(0,0,0,0.96) !important;
}
.glightbox-container .gslide-image img {
  border-radius: var(--radius-sm) !important;
  box-shadow: 0 0 60px rgba(255,255,255,0.15) !important;
}

/* ==========================================================================
   PAGE HEADER (Used on Services, About, etc.)
   ========================================================================== */
.page-header {
  padding: clamp(6rem, 12vw, 10rem) 0 clamp(2.5rem, 5vw, 5rem);
  text-align: center;
  background-color: var(--color-surface-2);
  border-bottom: 1px solid var(--color-border);
}

.page-header h1 { font-size: clamp(2rem, 5vw, 4rem); }
.page-header p { font-size: clamp(0.9rem, 2vw, 1.1rem); max-width: 600px; margin: 0 auto; }

/* ==========================================================================
   RESPONSIVE DESIGN — GLOBAL BREAKPOINTS
   ========================================================================== */

@media (max-width: 1168px) {
  :root { --space-lg: 3.5rem; --space-xl: 6rem; }
  .container { max-width: 1050px; }
}

@media (max-width: 968px) {
  :root { --space-lg: 3rem; --space-xl: 5rem; }
  .container { max-width: 100%; padding: 0 1.5rem; }
  h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
  h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
  .section { padding: 3rem 0; }
}

@media (max-width: 868px) {
  :root { --space-lg: 2.5rem; }
  .container { padding: 0 1.25rem; }
  h1 { font-size: clamp(1.75rem, 3.5vw, 2.8rem); }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { max-width: 100%; padding: 0 1.25rem; }
  .section { padding: 2.5rem 0; }
  h1 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
  h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
  .section-title { margin-bottom: 1.5rem; }
}

@media (max-width: 668px) {
  html { font-size: 14.5px; }
  .container { padding: 0 1rem; }
  .section { padding: 2rem 0; }
  h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
  h2 { font-size: clamp(1.3rem, 3.5vw, 1.8rem); }
  .section-title .subtitle { letter-spacing: 1px; }
}

@media (max-width: 568px) {
  html { font-size: 14px; }
  .container { padding: 0 1rem; }
  h1 { font-size: clamp(1.4rem, 5vw, 2rem); }
  h2 { font-size: clamp(1.2rem, 4vw, 1.7rem); }
  .section-title { margin-bottom: 1.25rem; }
}

@media (max-width: 468px) {
  html { font-size: 13.5px; }
  .container { padding: 0 0.875rem; }
  h1 { font-size: clamp(1.3rem, 5.5vw, 1.9rem); }
  h2 { font-size: clamp(1.15rem, 4.5vw, 1.6rem); }
  h3 { font-size: clamp(1rem, 4vw, 1.35rem); }
  .section { padding: 1.75rem 0; }
  .btn { font-size: 0.75rem; padding: 0.55rem 1rem; }
}

@media (max-width: 368px) {
  html { font-size: 13px; }
  .container { padding: 0 0.75rem; }
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.1rem; }
  h3 { font-size: 1rem; }
  .section { padding: 1.5rem 0; }
  .btn { font-size: 0.7rem; padding: 0.5rem 0.875rem; letter-spacing: 0.5px; }
}
