/*
  Global Styles for Bridal Beautique Co
  Brand Palette:
  - Blush Pink: #fdf4f4
  - White: #ffffff
  - Charcoal: #333333
  - Soft Nude: #f5e6e1
*/

:root {
  --color-primary: #f8e3e5; /* Brand Pink matched to square logo */
  --color-secondary: #f5e6e1;
  --color-text: #333333;
  --color-light-text: #666666;
  --color-white: #ffffff;
  --color-border: #e0d8d8;

  --font-family-primary: 'Inter', sans-serif;
  --font-family-serif: 'Playfair Display', serif;
  
  --spacing-unit: 8px;
  --border-radius: 4px;
}

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

body {
  font-family: var(--font-family-primary);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-serif);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: calc(var(--spacing-unit) * 2);
}

h1 { font-size: 3rem; line-height: 1.2; }
h2 { font-size: 2.25rem; line-height: 1.3; }
h3 { font-size: 1.75rem; line-height: 1.4; }

p {
  margin-bottom: calc(var(--spacing-unit) * 2);
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-light-text);
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 calc(var(--spacing-unit) * 3);
}

.section {
  padding: calc(var(--spacing-unit) * 10) 0;
}

.section-light {
  background-color: var(--color-primary);
}

.text-center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-family: var(--font-family-primary);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--color-text);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: transparent;
  color: var(--color-text);
}

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

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

.btn-outline {
  background-color: transparent;
  color: var(--color-text);
}

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

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: var(--color-white); /* Back to white as requested */
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 140px; /* Accommodate larger 120px logo */
  padding: 10px calc(var(--spacing-unit) * 3);
  position: relative;
}

.logo-link {
  display: flex;
  align-items: center;
  z-index: 1001; /* Stay above mobile nav */
}

.logo-img {
  max-height: 120px; /* Increased by 100% */
  width: auto;
}

.nav-links {
  display: flex;
  gap: calc(var(--spacing-unit) * 3);
  align-items: center;
}

.nav-link {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
  color: var(--color-text);
}

.nav-link.btn-primary {
  color: var(--color-white);
}

.menu-toggle {
  display: none; /* Shown in media query */
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text);
  padding: var(--spacing-unit);
}


/* Mobile Sticky CTA */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: calc(var(--spacing-unit) * 2);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--color-border);
  z-index: 999;
  text-align: center;
}

.mobile-sticky-cta .btn {
  width: 100%;
  max-width: 400px;
}

.mobile-sticky-cta.hidden {
  display: none !important;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-color: var(--color-primary); /* Fallback before image loads */
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(253, 244, 244, 0.4); /* Soft blush overlay for text readability */
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero h1 {
  margin-bottom: calc(var(--spacing-unit) * 3);
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: calc(var(--spacing-unit) * 4);
}

.hero-ctas {
  display: flex;
  gap: calc(var(--spacing-unit) * 2);
}

/* Proof Strip */
.proof-strip {
  background-color: var(--color-text);
  color: var(--color-white);
  padding: calc(var(--spacing-unit) * 3) 0;
}

.proof-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: calc(var(--spacing-unit) * 2);
}

.proof-item {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Forms */
.form-group {
  margin-bottom: calc(var(--spacing-unit) * 3);
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: calc(var(--spacing-unit));
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  font-family: var(--font-family-primary);
  font-size: 1rem;
  background-color: var(--color-white);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-text);
}

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

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: calc(var(--spacing-unit));
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing-unit));
  font-weight: 400;
  cursor: pointer;
}

/* Footer */
.footer {
  background-color: var(--color-primary);
  padding: calc(var(--spacing-unit) * 8) 0 calc(var(--spacing-unit) * 4);
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing-unit) * 2);
  margin-bottom: calc(var(--spacing-unit) * 4);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: calc(var(--spacing-unit) * 3);
  margin-bottom: calc(var(--spacing-unit) * 2);
  flex-wrap: wrap;
}

.footer p {
  color: var(--color-light-text);
  font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-ctas {
    flex-direction: column;
  }
  
  .hero-ctas .btn {
    width: 100%;
  }

  .proof-strip .container {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-ctas {
    display: none; /* Prevent double inquire button on mobile */
  }

  .header .container {
    justify-content: space-between; /* Logo left, toggle right */
    gap: var(--spacing-unit);
  }

  .logo-link {
    position: relative;
    left: auto;
    transform: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    flex-direction: column;
    padding: calc(var(--spacing-unit) * 4) 24px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-link {
    padding: calc(var(--spacing-unit) * 2) 0;
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .menu-toggle {
    display: block;
    font-size: 2rem;
  }

  .mobile-sticky-cta {
    display: block;
  }

  body {
    padding-bottom: 80px;
  }

  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
}

@media (max-width: 480px) {
  .hero {
    min-height: 60vh;
  }
  
  .proof-item {
    width: 100%;
    text-align: center;
  }
}

