/* ============================================================
   SK INVISIBLE GRILLS — Global Design System
   Brand Colors: Navy Blue + Gold (from logo)
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- Design Tokens --- */
:root {
  /* Brand Colors */
  --navy-900: #0D1B2A;
  --navy-800: #1B2A4A;
  --navy-700: #243B5C;
  --navy-600: #2D4A6F;
  --navy-500: #3A5F8A;
  --navy-400: #5A7FA8;
  --navy-300: #8AABC4;
  --navy-200: #B8D0E2;
  --navy-100: #E0EBF3;
  --navy-50:  #F0F5FA;

  --gold-900: #6B5A1E;
  --gold-800: #8B7628;
  --gold-700: #A89030;
  --gold-600: #C8A84E;
  --gold-500: #D4B85E;
  --gold-400: #E0C87E;
  --gold-300: #E8D5A0;
  --gold-200: #F0E4C0;
  --gold-100: #F8F0DA;
  --gold-50:  #FDFBF4;

  /* Semantic Colors */
  --primary: var(--navy-800);
  --primary-dark: var(--navy-900);
  --primary-light: var(--navy-700);
  --accent: var(--gold-600);
  --accent-light: var(--gold-300);
  --accent-dark: var(--gold-800);

  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-400: #CED4DA;
  --gray-500: #ADB5BD;
  --gray-600: #6C757D;
  --gray-700: #495057;
  --gray-800: #343A40;
  --gray-900: #212529;

  /* Functional */
  --success: #28A745;
  --whatsapp: #25D366;
  --phone: #0088CC;
  --danger: #DC3545;

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

  /* Font Sizes (fluid) */
  --fs-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --fs-sm: clamp(0.8rem, 0.75rem + 0.3vw, 0.9rem);
  --fs-base: clamp(0.9rem, 0.85rem + 0.3vw, 1rem);
  --fs-md: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --fs-lg: clamp(1.1rem, 1rem + 0.6vw, 1.35rem);
  --fs-xl: clamp(1.3rem, 1.1rem + 1vw, 1.75rem);
  --fs-2xl: clamp(1.6rem, 1.3rem + 1.5vw, 2.25rem);
  --fs-3xl: clamp(1.9rem, 1.5rem + 2vw, 3rem);
  --fs-4xl: clamp(2.2rem, 1.7rem + 2.5vw, 3.75rem);
  --fs-5xl: clamp(2.5rem, 1.8rem + 3.5vw, 4.5rem);

  /* 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;
  --space-5xl: 8rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(13, 27, 42, 0.08);
  --shadow-md: 0 4px 12px rgba(13, 27, 42, 0.1);
  --shadow-lg: 0 8px 30px rgba(13, 27, 42, 0.12);
  --shadow-xl: 0 16px 48px rgba(13, 27, 42, 0.15);
  --shadow-gold: 0 4px 20px rgba(200, 168, 78, 0.25);
  --shadow-gold-lg: 0 8px 40px rgba(200, 168, 78, 0.3);
  --shadow-navy: 0 4px 20px rgba(27, 42, 74, 0.3);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --transition-fast: 200ms var(--ease-out);
  --transition-base: 350ms var(--ease-out);
  --transition-slow: 500ms var(--ease-out);

  /* Layout */
  --header-height: 72px;
  --max-width: 1280px;
  --max-width-lg: 1440px;
  --content-padding: clamp(1rem, 3vw, 2rem);

  /* Z-index scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
  --z-max: 9999;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 100%;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--gray-800);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

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

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

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-800);
  text-wrap: balance;
}

h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }
h5 { font-size: var(--fs-lg); }
h6 { font-size: var(--fs-md); }

p {
  text-wrap: pretty;
  max-width: 72ch;
}

strong { font-weight: 600; }

::selection {
  background-color: var(--gold-600);
  color: var(--white);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--navy-900);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-600);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-500);
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--content-padding);
}

.container-lg {
  max-width: var(--max-width-lg);
  margin-inline: auto;
  padding-inline: var(--content-padding);
}

.section {
  padding-block: var(--space-4xl);
}

.section-sm {
  padding-block: var(--space-3xl);
}

/* --- Grid System --- */
.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 1024px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4, .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .grid-2, .grid-3, .grid-4, .grid-5 {
    grid-template-columns: 1fr;
  }
}

/* --- Flex Utilities --- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.gap-2xl { gap: var(--space-2xl); }

/* --- Text Utilities --- */
.text-center { text-align: center; }
.text-gold { color: var(--gold-600); }
.text-navy { color: var(--navy-800); }
.text-white { color: var(--white); }
.text-gray { color: var(--gray-600); }
.text-sm { font-size: var(--fs-sm); }
.text-lg { font-size: var(--fs-lg); }
.text-uppercase { text-transform: uppercase; letter-spacing: 0.08em; }

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-600);
  margin-bottom: var(--space-md);
}

.section-label::before,
.section-label::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold-600);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--gray-600);
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.7;
}

/* --- Background Patterns --- */
.bg-navy {
  background-color: var(--navy-900);
  color: var(--white);
}

.bg-navy h2,
.bg-navy h3,
.bg-navy h4,
.bg-navy .section-title {
  color: var(--white);
}

.bg-navy .section-subtitle {
  color: var(--navy-200);
}

.bg-light {
  background-color: var(--gray-50);
}

.bg-gold-subtle {
  background: linear-gradient(135deg, var(--gold-50) 0%, var(--white) 50%, var(--gold-50) 100%);
}

/* Net Pattern Overlay */
.net-pattern {
  position: relative;
}

.net-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 168, 78, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 168, 78, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.net-pattern > * {
  position: relative;
  z-index: 1;
}

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

@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
}

@media (min-width: 769px) {
  .hide-desktop { display: none !important; }
}

/* --- Global Transitions for page load --- */
.page-loaded .animate-on-load {
  opacity: 1;
  transform: translateY(0);
}

/* Footer Watermark */
.watermark {
  font-size: 0.85rem;
  color: #a0a0a0;
  margin-top: 15px;
  letter-spacing: 0.5px;
  text-align: center;
}

.watermark a {
  color: #a0a0a0;
  text-decoration: none;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.watermark a:hover {
  color: #ffffff; 
  text-decoration: underline;
}