/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  margin: 0;
  padding: 0;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: linear-gradient(135deg, #d1a6e2 0%, #b26ed2 100%);
  color: white;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-small {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-small img {
  border-radius: 50%;
  border: 2px solid white;
  object-fit: cover;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.header-logo {
  height: 50px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone-link,
.instagram-link {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 25px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
}

.phone-link:hover,
.instagram-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f4ecfb 0%, #e8d7f5 100%);
  padding: 30px 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-logo {
  width: 200px;
  height: 200px;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 5px solid #b26ed2;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(178, 110, 210, 0.3);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  color: #b26ed2;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-title-h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: #b26ed2;
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
}

.hero-slogan {
  font-size: 1.5rem;
  color: #555;
  margin-bottom: 15px;
  font-weight: 300;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #b26ed2;
  font-weight: 600;
}

/* Sections */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #b26ed2;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #d1a6e2, #b26ed2);
  border-radius: 2px;
}

/* Bouquets Section */
.bouquets-section {
  padding: 40px 0;
  background: white;
}

.bouquets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.bouquet-item {
  background: white;
  border-radius: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.bouquet-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(178, 110, 210, 0.2);
}

.bouquet-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.bouquet-info {
  padding: 10px 15px;
  text-align: right;
}

.bouquet-price {
  font-size: 1rem;
  font-weight: 400;
  color: #555;
  margin: 0;
}

.bouquet-disclaimer-top {
  text-align: center;
  margin-top: 15px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}

.bouquet-disclaimer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}

/* About Section */
.about-section {
  padding: 40px 0;
  background: linear-gradient(135deg, #f4ecfb 0%, #fff 100%);
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-content p {
  margin-bottom: 20px;
}

.features-list {
  list-style: none;
  margin-bottom: 25px;
  padding: 0;
}

.features-list li {
  padding: 12px 0;
  border-bottom: 1px solid #ead7f5;
}

.features-list li:last-child {
  border-bottom: none;
}

/* Social Icons in Header */
.social-icon {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.social-icon svg {
  width: 24px;
  height: 24px;
}

/* Map Section */
.map-section {
  padding: 40px 0;
  background: linear-gradient(135deg, #fff 0%, #f4ecfb 100%);
}

.map-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 40px;
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  margin-bottom: 50px;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-item {
  text-align: center;
  padding: 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(178, 110, 210, 0.12);
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
}

.contact-item h3 {
  font-family: 'Playfair Display', serif;
  color: #b26ed2;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.contact-item p {
  color: #555;
  line-height: 1.8;
}

.contact-item a {
  color: #b26ed2;
  text-decoration: none;
  font-weight: 600;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Reviews Section */
.reviews-section {
  padding: 40px 0;
  background: linear-gradient(135deg, #fff 0%, #f4ecfb 100%);
}

.reviews-link {
  text-align: center;
  margin-top: 30px;
}

.add-review-wrapper {
  text-align: center;
  margin-top: 25px;
}

.add-review-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #b26ed2 0%, #d1a6e2 100%);
  color: white;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(178, 110, 210, 0.3);
}

.add-review-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(178, 110, 210, 0.4);
}

.add-review-btn svg {
  flex-shrink: 0;
}

.reviews-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #4285f4 0%, #34a853 50%, #fbbc05 75%, #ea4335 100%);
  color: white;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(66, 133, 244, 0.3);
}

.reviews-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(66, 133, 244, 0.4);
}

.reviews-button svg {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .reviews-button {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

/* FAQ Section */
.faq-section {
  padding: 40px 0;
  background: linear-gradient(135deg, #f4ecfb 0%, #fff 100%);
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 15px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 5px 20px rgba(178, 110, 210, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(178, 110, 210, 0.18);
}

.faq-item h3 {
  font-family: 'Playfair Display', serif;
  color: #b26ed2;
  font-size: 1.2rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

.faq-item p {
  color: #555;
  line-height: 1.7;
  margin: 0;
}

.faq-item a {
  color: #b26ed2;
  text-decoration: none;
  font-weight: 600;
}

.faq-item a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .faq-item {
    padding: 20px;
    margin-bottom: 15px;
  }

  .faq-item h3 {
    font-size: 1.1rem;
  }
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #ba77da 0%, #a359c3 100%);
  color: white;
  text-align: center;
  padding: 10px 20px;
  margin-top: auto;
  position: sticky;
  bottom: 0;
  z-index: 100;
}

.footer p {
  margin: 5px 0;
  font-size: 0.85rem;
}

.footer-keywords {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-title-h1 {
    font-size: 1.6rem;
  }

  .hero-logo {
    width: 150px;
    height: 150px;
  }

  .hero-slogan {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .bouquets-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .bouquet-image {
    height: 350px;
  }

  .header-nav {
    gap: 10px;
  }

  .phone-link span {
    display: none;
  }

  .social-icon {
    padding: 6px;
  }

  .social-icon svg {
    width: 20px;
    height: 20px;
  }

  .footer {
    position: static;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-title-h1 {
    font-size: 1.3rem;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .bouquets-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .bouquet-image {
    height: 400px;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

