/* ==========================================
   Beauty Mari'S — Main Stylesheet
   ========================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Lato:wght@300;400;700&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  color: #2c2c2c;
  background-color: #f7e2e2;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
}

h2.section-title {
  font-size: 2.4rem;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 0.4rem;
  color: #888888;
  font-style: italic;
  font-weight: 300;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #c9a96e;
  margin-bottom: 3rem;
}

/* --- Gold Divider --- */
.gold-divider {
  width: 60px;
  height: 1px;
  background: #c9a96e;
  margin: 0.8rem auto 0.5rem;
}

/* --- Sections --- */
section {
  padding: 5rem 1.5rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* ==========================================
   NAVIGATION
   ========================================== */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #edbcbc;
  padding: 0 2rem;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #c9a96e;
}

.nav-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: #2c2c2c;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2c2c2c;
  transition: color 0.25s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: #c9a96e;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #c9a96e;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hamburger — CSS checkbox trick */
.hamburger-checkbox {
  display: none;
}

.hamburger-label {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger-label span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #2c2c2c;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Mobile nav */
@media (max-width: 768px) {
  .hamburger-label {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: center;
    gap: 0;
    border-bottom: 1px solid #edbcbc;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #f7e2e2;
  }

  .nav-links a {
    display: block;
    padding: 1rem;
  }

  .hamburger-checkbox:checked ~ .nav-links {
    display: flex;
  }

  /* Animate hamburger to X */
  .hamburger-checkbox:checked ~ .hamburger-label span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .hamburger-checkbox:checked ~ .hamburger-label span:nth-child(2) {
    opacity: 0;
  }

  .hamburger-checkbox:checked ~ .hamburger-label span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }
}

/* ==========================================
   HERO
   ========================================== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, #fff 0%, #f7e2e2 50%, #edbcbc 100%);
  padding: 6rem 1.5rem;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237,188,188,0.6) 0%, transparent 70%);
  pointer-events: none;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 2rem;
  border: 2px solid #c9a96e;
  box-shadow: 0 8px 40px rgba(201,169,110,0.2), 0 2px 12px rgba(0,0,0,0.06);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  line-height: 1.15;
  background: linear-gradient(
    90deg,
    #9a6e2e 0%,
    #c9a96e 20%,
    #f5e6a3 40%,
    #fffbe8 50%,
    #f5e6a3 60%,
    #c9a96e 80%,
    #9a6e2e 100%
  );
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title em {
  font-style: italic;
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-style: italic;
  font-weight: 300;
  color: #888888;
  margin: 1.5rem 0 2.5rem;
  letter-spacing: 0.04em;
}

.btn-cta {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  border: 1.5px solid #c9a96e;
  color: #c9a96e;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  background: transparent;
}

.btn-cta:hover {
  background: #c9a96e;
  color: #fff;
  box-shadow: 0 4px 20px rgba(201,169,110,0.35);
}


/* ==========================================
   O NAMA (ABOUT)
   ========================================== */
#o-nama {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.about-image-wrap {
  position: relative;
}


.about-image {
  width: 100%;
  height: auto;
  display: block;
}

.about-text-wrap .about-text {
  font-size: 1.25rem;
  line-height: 1.9;
  color: #4a4040;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    aspect-ratio: unset;
    height: auto;
  }

  .about-image-wrap::before {
    display: none;
  }
}

/* ==========================================
   USLUGE (SERVICES)
   ========================================== */
#usluge {
  background: #f7e2e2;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.service-card {
  background: #fff;
  border: 1px solid #edbcbc;
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c9a96e, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.07);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
  color: #c9a96e;
}

.service-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #2c2c2c;
  margin-bottom: 0.5rem;
}

.service-desc {
  font-size: 0.82rem;
  color: #9a8a8a;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   CJENIK (PRICING)
   ========================================== */
#cjenik {
  background: #fff;
}

.pricing-container {
  max-width: 760px;
  margin: 0 auto;
}

/* details/summary accordion */
details.price-group {
  border: 1px solid #edbcbc;
  border-radius: 16px;
  margin-bottom: 0.75rem;
  background: #fff;
  transition: box-shadow 0.2s;
  overflow: hidden;
}

details.price-group[open] {
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

details.price-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  color: #2c2c2c;
  background: #f7e2e2;
  transition: background 0.2s;
}

details.price-group summary::-webkit-details-marker {
  display: none;
}

details.price-group summary::after {
  content: '+';
  font-size: 1.3rem;
  color: #c9a96e;
  font-weight: 300;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

details.price-group[open] summary::after {
  transform: rotate(45deg);
}

details.price-group[open] summary {
  background: #fff;
  border-bottom: 1px solid #edbcbc;
}

.price-list {
  padding: 0.5rem 0;
}

.price-row {
  padding: 0.6rem 1.4rem;
  border-bottom: 1px solid #f7e2e2;
  transition: background 0.15s;
}

.price-row:last-child {
  border-bottom: none;
}

.price-row:hover {
  background: #f7e2e2;
}

.price-name {
  font-size: 0.9rem;
  color: #4a4040;
}

.summary-icon {
  margin-right: 0.6rem;
  font-size: 0.95rem;
  color: #c9a96e;
}

/* ==========================================
   GALERIJA (GALLERY)
   ========================================== */
#galerija {
  background: #f7e2e2;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto 2rem;
}

.gallery-cell {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #edbcbc 0%, #f7e2e2 50%, #e8c4c4 100%);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-cell:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.gallery-cell:hover img {
  transform: scale(1.05);
}

.gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-cell--hide-mobile {
    display: none;
  }
}

/* ==========================================
   KONTAKT (CONTACT)
   ========================================== */
#kontakt {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

/* Contact info */
.contact-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #2c2c2c;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  color: #4a4040;
  line-height: 1.5;
}

.contact-icon {
  color: #c9a96e;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item a:hover {
  color: #c9a96e;
}


/* Contact form */
.contact-form h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #2c2c2c;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #9a8a8a;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #edbcbc;
  background: #f7e2e2;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: #2c2c2c;
  outline: none;
  transition: border-color 0.25s;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 12px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #c9a96e;
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: #c9a96e;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-submit:hover {
  background: #b8975e;
  box-shadow: 0 4px 16px rgba(201,169,110,0.35);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* --- Booking buttons (WhatsApp / Viber) --- */
.booking-block {
  margin-top: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid #edbcbc;
}

.booking-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #9a8a8a;
  margin-bottom: 0.75rem;
}

.booking-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-whatsapp,
.btn-viber {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  border-radius: 12px;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #fff;
  transition: filter 0.25s, transform 0.2s;
  white-space: nowrap;
}

.btn-whatsapp {
  background: #25D366;
}

.btn-viber {
  background: #7360F2;
}

.btn-whatsapp:hover,
.btn-viber:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* --- Instagram block --- */
.instagram-block {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1000px;
  margin: 3rem auto 0;
  padding: 1.6rem 2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #f7e2e2 0%, #fff 100%);
  border: 1px solid #edbcbc;
  border-left: 3px solid;
  border-image: linear-gradient(180deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) 1;
}

.ig-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.ig-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) border-box;
  flex-shrink: 0;
}

.ig-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.ig-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ig-handle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c2c2c;
  letter-spacing: 0.03em;
}

.ig-name {
  font-size: 0.78rem;
  color: #9a8a8a;
  letter-spacing: 0.06em;
}

.ig-center {
  flex: 1;
}

.ig-desc {
  font-size: 0.88rem;
  color: #4a4040;
  line-height: 1.6;
}

.ig-right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  border-radius: 12px;
  white-space: nowrap;
  transition: filter 0.25s, transform 0.2s;
}

.btn-instagram:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-facebook {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  background: #1877F2;
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  border-radius: 12px;
  white-space: nowrap;
  transition: filter 0.25s, transform 0.2s;
}

.btn-facebook:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .instagram-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.4rem;
    border-left: none;
    border-top: 3px solid;
    border-image: linear-gradient(90deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) 1;
  }

  .ig-center {
    width: 100%;
  }

  .ig-right {
    width: 100%;
  }

  .btn-instagram,
  .btn-facebook {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================
   RECENZIJE (TESTIMONIALS)
   ========================================== */
#recenzije {
  background: #f7e2e2;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  background: #fff;
  border: 1px solid #edbcbc;
  border-radius: 20px;
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  line-height: 1;
  color: #edbcbc;
  position: absolute;
  top: 0.5rem;
  left: 1.2rem;
  pointer-events: none;
}

.testimonial-stars {
  color: #c9a96e;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.testimonial-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 400;
  color: #4a4040;
  line-height: 1.75;
  border: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c9a96e;
  margin-top: auto;
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
  background: #2c2c2c;
  color: rgba(255,255,255,0.55);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

footer span {
  color: #c9a96e;
}

footer p + p {
  margin-top: 0.3rem;
  font-size: 0.75rem;
  opacity: 0.7;
}

/* ==========================================
   UTILITY
   ========================================== */
@media (max-width: 768px) {
  section {
    padding: 3.5rem 1.2rem;
  }

  h2.section-title {
    font-size: 1.9rem;
  }
}

/* ==========================================
   ANIMATIONS
   ========================================== */

/* Hero entrance — staggered */
@keyframes shimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero-logo    { animation: fadeIn  1s   ease         both; }
.hero-title   { animation: fadeUp 0.9s ease 0.25s both, shimmer 4s linear 1.2s infinite; }
.hero-tagline { animation: fadeUp  0.9s ease 0.45s   both; }
.btn-cta      { animation: fadeUp  0.9s ease 0.65s   both; }

/* Scroll-reveal base state */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Nav stays always visible */
nav { opacity: 1 !important; transform: none !important; }
