/* Blumenrosi Website - Romantic & Elegant Design */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Colors - Rose, Green, Cream */
  --rose-primary: #D4849A;
  --rose-light: #F4D5DE;
  --rose-accent: #C96C85;
  --green-primary: #7FAA84;
  --green-light: #A8C9AD;
  --cream: #FAF7F2;
  --white: #FFFFFF;
  --charcoal: #2D2D2D;
  --grey-dark: #555555;
  --grey-light: #DDDDDD;
  
  /* Typography */
  --font-display: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
  
  /* Spacing */
  --section-padding: 5rem 1.5rem;
  --container-max: 1200px;
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.3;
  color: var(--charcoal);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--grey-dark);
}

.subtitle {
  font-size: 1.25rem;
  color: var(--grey-dark);
  font-weight: 300;
  margin-bottom: 2rem;
}

/* ===== LAYOUT UTILITIES ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-padding);
}

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

/* ===== HEADER & NAVIGATION ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 247, 242, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 60px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  transition: color 0.3s ease;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--rose-accent);
  transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--rose-accent);
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--charcoal);
  cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--rose-light) 0%, var(--cream) 50%, var(--green-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 150%;
  background: radial-gradient(circle, rgba(212, 132, 154, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-30px, 30px) rotate(5deg); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

.hero-text .subtitle {
  font-size: 1.35rem;
  color: var(--grey-dark);
  margin-bottom: 2.5rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-flower-icon {
  width: 100%;
  max-width: 450px;
  height: auto;
  opacity: 0.9;
  animation: gentle-bounce 4s ease-in-out infinite;
}

@keyframes gentle-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

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

.btn-primary:hover {
  background: #B85A75;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 108, 133, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--rose-accent);
  border: 2px solid var(--rose-accent);
}

.btn-secondary:hover {
  background: var(--rose-accent);
  color: var(--white);
}

.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== SERVICES SECTION ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--rose-accent), var(--green-primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.12);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  color: var(--rose-accent);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--grey-dark);
  line-height: 1.7;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  background: var(--white);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--rose-light), var(--green-light));
  color: var(--grey-dark);
  font-style: italic;
  text-align: center;
  padding: 2rem;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: var(--white);
  cursor: pointer;
  z-index: 10000;
  background: none;
  border: none;
  line-height: 1;
  transition: transform 0.2s ease;
}

.lightbox-close:hover {
  transform: scale(1.2);
}

/* ===== CONTACT SECTION ===== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info {
  background: var(--white);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.contact-item-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--rose-accent);
}

.contact-item-content p,
.contact-item-content a {
  color: var(--grey-dark);
  font-size: 1.05rem;
}

.contact-item-content a:hover {
  color: var(--rose-accent);
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  height: 450px;
  background: var(--white);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 5rem;
}

.footer-content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--rose-light);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.footer-section p,
.footer-section a {
  color: var(--cream);
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.9;
}

.footer-section a:hover {
  color: var(--rose-light);
  opacity: 1;
}

.footer-nav {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 0.75rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 247, 242, 0.15);
  color: var(--cream);
  opacity: 0.8;
  font-size: 0.9rem;
}

/* ===== ABOUT PAGE ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.about-image {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.about-image-placeholder {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--rose-light), var(--green-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-dark);
  font-style: italic;
  padding: 2rem;
  text-align: center;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    padding: 5rem 2rem;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    transition: right 0.4s ease;
    align-items: flex-start;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero-content,
  .contact-container,
  .about-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero {
    min-height: auto;
    padding: 4rem 0;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .hero-flower-icon {
    max-width: 300px;
  }
}

@media (max-width: 640px) {
  :root {
    --section-padding: 3rem 1.25rem;
  }
  
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.85rem;
  }
  
  .services-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .cta-group {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Stagger animations */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

.gallery-item:nth-child(1) { animation-delay: 0.05s; }
.gallery-item:nth-child(2) { animation-delay: 0.1s; }
.gallery-item:nth-child(3) { animation-delay: 0.15s; }
.gallery-item:nth-child(4) { animation-delay: 0.2s; }
.gallery-item:nth-child(5) { animation-delay: 0.25s; }
.gallery-item:nth-child(6) { animation-delay: 0.3s; }
