/* ============================================
   WE STONE & TILE - Global Base Styles
   ============================================ */

/* CSS Variables */
:root {
  --color-primary: #FE5E03;
  --color-primary-alt: #e03f26;
  --color-bg-black: #000000;
  --color-bg-dark: #0a0a0a;
  --color-text-white: #FFFFFF;
  --color-text-gray: #757575;
  --color-text-dark: #212121;
  --color-border: rgba(255, 255, 255, 0.1);
  --color-green: #00d255;

  --font-primary: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --transition-fast: 0.3s ease;
  --transition-normal: 0.5s ease;
  --transition-slow: 0.8s ease;

  --container-max: 1400px;
  --container-padding: 40px;
  --header-height: 80px;

  --z-intro: 9999;
  --z-menu: 9998;
  --z-gnb: 100;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-white);
  background-color: var(--color-bg-black);
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Section base */
.section {
  position: relative;
  width: 100%;
}

/* Typography */
.h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
}

.h3 {
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.3;
}

.h4 {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600;
  line-height: 1.4;
}

.body-text {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text-gray);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--color-text-white);
  color: var(--color-text-white);
  transition: all var(--transition-fast);
}

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

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

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-text-white);
}

/* Scroll reveal base (GSAP will animate these) */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
}

/* Utility */
.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;
}

/* Responsive breakpoints */
@media (max-width: 1024px) {
  :root {
    --container-padding: 30px;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 20px;
    --header-height: 60px;
  }

  body {
    font-size: 14px;
  }

  .body-text {
    font-size: 14px;
  }
}
