/* 
  FATMA TERZI - Ultra-Premium Floral Atelier System
  Color Palette: Soft creams, sage greens, peach highlights.
  Fonts: Playfair Display & Inter.
  Style: Editorial, calming, high-trust.
*/

:root {
  /* Variables */
  --bg-cream: #FCFAF5;
  --bg-alabaster: #F4EFEB;
  --accent-sage: #4A5D4E;
  --accent-sage-light: #6A8270;
  --highlight-peach: #E8B4A2;
  --text-charcoal: #2C302E;
  --text-muted: #6A6E6B;

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  --space-unit: 8px;
  --radius-sm: 8px;
  --radius-md: 16px;

  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 16px 48px rgba(74, 93, 78, 0.08);
  /* Sage tinted shadow */

  --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--text-charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

.h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

.subtitle {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  font-weight: 300;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

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

/* Layout & Utils */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.container-md {
  max-width: 800px;
}

.max-w-lg {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.section {
  padding: 8rem 0;
}

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

.relative {
  position: relative;
}

.z-10 {
  z-index: 10;
}

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

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

.text-white {
  color: #fff;
}

.mb-4 {
  margin-bottom: calc(var(--space-unit) * 4);
}

.mb-6 {
  margin-bottom: calc(var(--space-unit) * 6);
}

.mb-8 {
  margin-bottom: calc(var(--space-unit) * 8);
}

.mt-4 {
  margin-top: calc(var(--space-unit) * 4);
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-sm {
  gap: 1rem;
}

.gap-md {
  gap: 1.5rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.cols-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 40px;
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent-sage);
  color: #fff;
  box-shadow: 0 4px 14px rgba(74, 93, 78, 0.2);
}

.btn-primary:hover {
  background-color: var(--accent-sage-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(74, 93, 78, 0.3);
}

.btn-secondary {
  background-color: #fff;
  color: var(--text-charcoal);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.btn-ghost {
  background-color: transparent;
  border: 1px solid var(--accent-sage);
  color: var(--accent-sage);
}

.btn-ghost:hover {
  background-color: rgba(74, 93, 78, 0.05);
  transform: translateY(-3px);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-charcoal);
}

.btn-outline:hover {
  border-color: var(--accent-sage);
  color: var(--accent-sage);
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(252, 250, 245, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  padding: 1.25rem 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--accent-sage);
}

.desktop-nav {
  display: flex;
  gap: 2rem;
}

.desktop-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
}

.desktop-nav a:hover {
  color: var(--accent-sage);
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--accent-sage);
  transition: var(--transition);
}

.desktop-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-charcoal);
  transition: var(--transition);
  background: transparent;
  position: relative;
}

.icon-btn:hover {
  background: rgba(74, 93, 78, 0.08);
  color: var(--accent-sage);
}

.tooltip {
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-charcoal);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  white-space: nowrap;
  font-family: var(--font-body);
  pointer-events: none;
}

.tooltip-parent:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-charcoal);
  padding: 8px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg-cream);
  padding: 1rem 5%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  font-weight: 500;
  color: var(--text-charcoal);
}

/* SVG Background Floral Motif */
.floral-bg {
  position: absolute;
  top: -5%;
  right: -10%;
  width: 800px;
  height: 800px;
  color: var(--accent-sage);
  opacity: 0.04;
  transform: scale(1.5) rotate(15deg);
  pointer-events: none;
  z-index: 0;
}

/* Hero Section */
.hero {
  padding: 10rem 0 8rem;
  position: relative;
  overflow: hidden;
}

/* Service Cards */
.card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.02);
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(74, 93, 78, 0.1);
}

.icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-alabaster);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--accent-sage);
  transition: var(--transition);
}

.card:hover .icon-wrap {
  background: var(--accent-sage);
  color: #fff;
  transform: scale(1.1) rotate(-5deg);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-charcoal);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* B2B Section */
.b2b-section {
  overflow: hidden;
}

.workflow {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.25rem;
}

.flow-step {
  text-align: center;
  line-height: 1.3;
}

/* Timeline Setup (Process) */
.timeline-card {
  text-align: center;
}

.badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-alabaster);
  color: var(--accent-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.timeline-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.timeline-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.timeline-card:hover .badge {
  background: var(--accent-sage);
  color: #fff;
  transform: scale(1.1);
}

/* FAQ Accordion */
.faq-accordion details {
  background: #fff;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.faq-accordion details:hover {
  border-color: rgba(74, 93, 78, 0.2);
}

.faq-accordion summary {
  color: var(--text-charcoal);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}

.faq-accordion summary::-webkit-details-marker {
  display: none;
}

.faq-accordion summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--accent-sage);
  transition: transform 0.3s;
}

.faq-accordion details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-accordion p {
  margin-top: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Footer */
.footer-logo {
  display: inline-block;
}

.contact-items p {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.contact-items svg {
  color: var(--accent-sage);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-map-container iframe {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.footer-copy {
  padding: 2rem 0;
  margin-top: 3rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Floating WhatsApp FAB */
.fab-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: var(--transition);
}

.fab-whatsapp:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Responsiveness */
@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .grid.cols-3,
  .grid.cols-4,
  .grid.cols-2 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 6rem 0 4rem;
  }

  .floral-bg {
    display: none;
  }
}