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

:root {
  /* Colors */
  --color-base: #FFFBF5;
  --color-surface: #FAF3EA;
  --color-primary: #C98A9B; /* Dusty rose */
  --color-secondary: #8B9A6B; /* Sage green */
  --color-accent: #E8B84B; /* Golden yellow */
  --color-text: #3A322C; /* Charcoal */
  --color-text-light: #6b625a;
  --color-border: #E7DDD0;
  
  /* Typography */
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout & Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  --container-width: 1200px;
  
  /* UI Elements */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 4px 20px rgba(58, 50, 44, 0.05);
  --shadow-hover: 0 10px 30px rgba(58, 50, 44, 0.1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s ease;
}

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

html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-base);
  color: var(--color-text);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Typography Utilities */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.small-caps {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--color-text-light);
}
.section-title {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
}

/* Sections */
section {
  padding: var(--space-xl) 0;
  position: relative;
}

.bg-surface {
  background-color: var(--color-surface);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(201, 138, 155, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-text);
}

.btn-accent {
  background-color: var(--color-accent);
  color: white;
  box-shadow: 0 4px 15px rgba(232, 184, 75, 0.3);
}

/* Cards */
.card {
  background-color: white;
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-slow);
  position: relative;
}

.flower-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.flower-card-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.flower-card-content {
  padding: var(--space-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.flower-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.flower-card .price {
  margin-top: auto;
  font-weight: 500;
  color: var(--color-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Header & Nav */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: var(--space-sm) 0;
  transition: var(--transition-base);
}

.navbar.scrolled {
  background-color: rgba(255, 251, 245, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 400;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-primary);
  transition: var(--transition-base);
}

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

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  margin: 5px 0;
  transition: var(--transition-base);
}

/* Footer */
.footer {
  background-color: var(--color-surface);
  padding: var(--space-xl) 0 var(--space-md);
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer h4 {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
}

.footer p {
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer ul a {
  color: var(--color-text-light);
}

.footer ul a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* Layout Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

/* Background blob decorations */
.blob-bg {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.4;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background-color: rgba(201, 138, 155, 0.3); /* primary */
  top: -100px;
  right: -100px;
}

.blob-2 {
  width: 300px;
  height: 300px;
  background-color: rgba(139, 154, 107, 0.2); /* secondary */
  bottom: 100px;
  left: -50px;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition-base);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background-color: var(--color-surface);
  color: var(--color-text);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  z-index: 999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
