/* ==========================================================================
   Base & Reset
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Poppins:wght@300;400;500;600&display=swap');

:root {
  /* Colors */
  --color-bg-main: #FDFBF7; /* warm cream */
  --color-bg-alt: #F5EFE6;
  --color-bg-card: #FFFFFF;

  --color-burgundy-light: #d84315; /* warm orange/red */
  --color-burgundy: #bf360c;
  --color-burgundy-dark: #870000;

  --color-text-heading: #3E2723;
  --color-text-main: #5D4037;
  --color-text-muted: #8D6E63;
  --color-border: #E8DCC8;
  
  /* Gradients */
  --gradient-bg-1: linear-gradient(135deg, #FDFBF7, #F5EFE6);
  --gradient-bg-2: linear-gradient(160deg, #F5EFE6, #EFEBE0);
  --gradient-burgundy: linear-gradient(135deg, #bf360c, #870000);
  --gradient-burgundy-hover: linear-gradient(135deg, #d84315, #bf360c);
  --gradient-card: #ffffff;

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-text: 'Poppins', sans-serif;

  /* Sizes */
  --header-height: 90px;
  --container-width: 1280px;

  /* Shadows */
  --shadow-soft: 0 10px 30px rgba(93, 64, 55, 0.1);
  --shadow-glow: 0 10px 25px rgba(216, 67, 21, 0.3);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-text);
  background: var(--gradient-bg-1);
  background-attachment: fixed;
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-heading);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: 5rem; letter-spacing: 2px; }
h2 { font-size: 3.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 2.2rem; }
p { margin-bottom: 1rem; color: var(--color-text-muted); font-weight: 400; letter-spacing: 0.5px; }

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

ul {
  list-style: none;
}

/* ==========================================================================
   Layout & Components
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 10rem 0;
  position: relative;
}

.section-alt {
  background: var(--gradient-bg-2);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 3rem;
  font-family: var(--font-text);
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--gradient-burgundy);
  color: #FFFFFF;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--gradient-burgundy-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-text-heading);
  border: 1px solid var(--color-burgundy-light);
}

.btn-outline:hover {
  background: var(--gradient-burgundy);
  border-color: transparent;
  color: #FFFFFF;
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  transition: var(--transition-normal);
  background: rgba(253, 251, 247, 0.95);
  border-bottom: 1px solid var(--color-border);
}

.header.scrolled {
  background: rgba(253, 251, 247, 0.98);
  backdrop-filter: blur(15px);
  height: 80px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text-heading);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.logo span {
  color: var(--color-burgundy-light);
}

.nav-menu {
  display: flex;
  gap: 3rem;
}

.nav-link {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-main);
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -6px;
  left: 0;
  background: var(--color-burgundy-light);
  transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-burgundy-light);
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--color-text-heading);
  font-size: 1.8rem;
  z-index: 101;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--gradient-bg-1);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-nav-list {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--color-text-heading);
  transition: var(--transition-normal);
}

.mobile-nav-link:hover {
  color: var(--color-burgundy-light);
  transform: scale(1.05);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--color-bg-alt);
  padding: 6rem 0 3rem;
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem;
  margin-bottom: 5rem;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-text-heading);
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 2px;
  background: var(--color-burgundy-light);
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.footer-links a:hover {
  color: var(--color-burgundy-light);
  padding-left: 5px;
}

.footer-info p {
  color: var(--color-text-muted);
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 3rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.designer-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.designer-badge:hover {
  color: var(--color-burgundy);
  border-color: var(--color-burgundy);
  background: rgba(216, 67, 21, 0.05);
}

/* ==========================================================================
   Progress Bar
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-burgundy-hover);
  width: 0%;
  z-index: 102;
  transition: width 0.1s ease;
}

/* ==========================================================================
   Global Sections (Hero, Section Titles)
   ========================================================================== */
.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-subtitle {
  font-family: var(--font-text);
  color: var(--color-burgundy-light);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 1rem;
  margin-bottom: 1rem;
  display: block;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: #FFFFFF;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.9;
  animation: bounce 2s infinite;
}

.scroll-indicator::after {
  content: '';
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, #FFFFFF, transparent);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-15px) translateX(-50%); }
  60% { transform: translateY(-7px) translateX(-50%); }
}

/* Specific Card Styling */
.card-lift {
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.card-lift:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-soft);
  border-color: var(--color-burgundy-light);
}

.badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--gradient-burgundy);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(191, 54, 12, 0.4);
  z-index: 10;
}
