:root {
  --cream: #f5efe6;
  --beige: #e8d9c5;
  --sand: #d4b896;
  --brown-lt: #a07850;
  --brown: #7a5230;
  --brown-dk: #4e3320;
  --text-dark: #2c1f14;
  --text-mid: #6b4c30;
  --white: #fffdf9;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lato", sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* NAVBAR */
.navbar {
  background: var(--brown-dk) !important;
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(78, 51, 32, 0.4);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--sand) !important;
  letter-spacing: 0.5px;
}

.nav-link {
  color: var(--beige) !important;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: color 0.25s;
}

.nav-link:hover {
  color: var(--sand) !important;
}

.dropdown-menu {
  background: var(--brown-dk);
  border: 1px solid rgba(212, 184, 150, 0.25);
  border-radius: 10px;
  margin-top: 10px !important;
  padding: 6px 0;
  min-width: 200px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.dropdown-item {
  color: var(--beige);
  font-size: 0.92rem;
  padding: 11px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition:
    background 0.2s,
    color 0.2s;
}

.dropdown-item i {
  width: 18px;
  text-align: center;
  color: var(--sand);
  flex-shrink: 0;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(212, 184, 150, 0.15);
  color: var(--white);
}

.dropdown-divider {
  border-color: rgba(212, 184, 150, 0.2) !important;
  margin: 4px 0;
}

.navbar-toggler {
  border-color: var(--sand);
}

.navbar-toggler-icon {
  filter: invert(1) sepia(1) saturate(0.5);
}

/* BUTTONS */
.btn-primary-custom {
  background: var(--sand);
  color: var(--brown-dk);
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  padding: 14px 34px;
  border-radius: 40px;
  transition:
    background 0.3s,
    transform 0.3s,
    box-shadow 0.3s,
    letter-spacing 0.25s;
  box-shadow: 0 4px 20px rgba(160, 120, 80, 0.4);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.btn-primary-custom i {
  transition: transform 0.3s;
}
.btn-primary-custom:hover {
  background: var(--beige);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 32px rgba(160, 120, 80, 0.55);
  color: var(--brown-dk);
  letter-spacing: 0.9px;
}
.btn-primary-custom:hover i {
  transform: translateX(5px);
}
.btn-primary-custom:active {
  transform: translateY(-1px) scale(1.01);
}

.btn-outline-custom {
  background: transparent;
  color: var(--beige);
  border: 2px solid var(--sand);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 30px;
  border-radius: 40px;
  transition:
    color 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.btn-outline-custom::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  border-radius: 40px;
  z-index: 0;
}
.btn-outline-custom > * {
  position: relative;
  z-index: 1;
}
.btn-outline-custom:hover {
  color: var(--brown-dk);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(212, 184, 150, 0.3);
}
.btn-outline-custom:hover::before {
  transform: scaleX(1);
}

.btn-submit {
  background: linear-gradient(135deg, var(--brown), var(--brown-lt));
  color: var(--white);
  border: none;
  padding: 13px 40px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(122, 82, 48, 0.3);
  width: 100%;
  cursor: pointer;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(122, 82, 48, 0.4);
  color: var(--white);
}

/* HERO */
#hero {
  min-height: 92vh;
  background:
    linear-gradient(
      160deg,
      rgba(78, 51, 32, 0.85) 0%,
      rgba(122, 82, 48, 0.6) 50%,
      rgba(212, 184, 150, 0.3) 100%
    ),
    url("https://images.unsplash.com/photo-1513519245088-0e12902e35a6?w=1600&q=80")
      center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(255, 255, 255, 0.02) 40px,
    rgba(255, 255, 255, 0.02) 41px
  );
}

/* Hero animations */
.hero-badge {
  display: inline-block;
  background: var(--sand);
  color: var(--brown-dk);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.6s ease forwards 0.1s;
}
.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 0.7s ease forwards 0.25s;
}
.hero-title em {
  color: var(--sand);
  font-style: normal;
}
.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  color: var(--beige);
  font-weight: 300;
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.7s ease forwards 0.4s;
}
.hero-cta-row {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.7s ease forwards 0.55s;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 16px;
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.7s ease forwards 0.7s;
}

/* Stat hover */
.hero-stat {
  cursor: default;
  transition: transform 0.3s;
  position: relative;
}
.hero-stat::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sand);
  border-radius: 2px;
  transition: width 0.35s ease;
}
.hero-stat:hover {
  transform: translateY(-5px);
}
.hero-stat:hover::after {
  width: 100%;
}
.hero-stat-number {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sand);
  transition:
    color 0.3s,
    text-shadow 0.3s;
}
.hero-stat:hover .hero-stat-number {
  color: var(--white);
  text-shadow: 0 0 20px rgba(212, 184, 150, 0.55);
}
.hero-stat-label {
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.8;
  color: var(--beige);
  transition:
    opacity 0.3s,
    color 0.3s;
}
.hero-stat:hover .hero-stat-label {
  opacity: 1;
  color: var(--sand);
}

/* Frame */
.hero-frame-deco {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(28px);
  animation: slideInRight 0.9s ease forwards 0.5s;
}
.frame-card {
  background: var(--white);
  border-radius: 4px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 0 8px var(--brown-lt),
    0 0 0 12px var(--brown-dk);
  overflow: hidden;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4/5;
  transform: rotate(2deg);
  transition:
    transform 0.4s,
    box-shadow 0.4s;
}
.frame-card:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 0 8px var(--brown-lt),
    0 0 0 12px var(--brown-dk);
}
.frame-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* SHARED */
section {
  padding: 90px 0;
}
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brown-lt);
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--brown-dk);
  margin-bottom: 16px;
  line-height: 1.25;
}
.section-desc {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 560px;
}
.divider-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--brown-lt), var(--sand));
  border-radius: 2px;
  margin: 20px 0;
}

/* FEATURES */
#features {
  background: var(--white);
}
.feature-card {
  background: var(--cream);
  border: 1px solid var(--beige);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.35s;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sand), var(--brown-lt));
  transform: scaleX(0);
  transition: transform 0.35s;
  transform-origin: left;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(122, 82, 48, 0.15);
}
.feature-card:hover::before {
  transform: scaleX(1);
}
.feature-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--beige), var(--sand));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 1.8rem;
  color: var(--brown-dk);
  box-shadow: 0 4px 16px rgba(122, 82, 48, 0.2);
  transition:
    transform 0.35s,
    box-shadow 0.35s;
}
.feature-card:hover .feature-icon {
  transform: scale(1.12) rotate(-5deg);
  box-shadow: 0 8px 24px rgba(122, 82, 48, 0.35);
}
.feature-card h5 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brown-dk);
  margin-bottom: 12px;
}
.feature-card p {
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* CONTACT */
#contact {
  background: var(--cream);
}
.contact-wrapper {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(122, 82, 48, 0.12);
}
.contact-info {
  background: linear-gradient(160deg, var(--brown-dk), var(--brown));
  padding: 50px 40px;
  color: var(--beige);
  height: 100%;
}
.contact-info h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
  color: var(--white);
  margin-bottom: 16px;
}
.contact-info p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--sand);
  margin-bottom: 32px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  color: var(--beige);
  font-size: 0.9rem;
  transition: transform 0.25s;
}
.contact-item:hover {
  transform: translateX(4px);
}
.contact-icon-wrap {
  width: 40px;
  height: 40px;
  background: rgba(212, 184, 150, 0.15);
  border: 1px solid rgba(212, 184, 150, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--sand);
  font-size: 0.9rem;
  transition:
    background 0.25s,
    border-color 0.25s;
}
.contact-item:hover .contact-icon-wrap {
  background: rgba(212, 184, 150, 0.28);
  border-color: var(--sand);
}
.contact-form-area {
  padding: 50px 40px;
}
.form-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 6px;
}
.form-control,
.form-select {
  border: 1.5px solid var(--beige);
  border-radius: 8px;
  background: var(--cream);
  color: var(--text-dark);
  padding: 11px 16px;
  font-size: 0.93rem;
  transition:
    border 0.25s,
    box-shadow 0.25s;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--brown-lt);
  box-shadow: 0 0 0 3px rgba(160, 120, 80, 0.15);
  background: var(--white);
  outline: none;
}
.form-select option {
  background: var(--brown-dk);
  color: var(--beige);
}

/* MODALS */
.modal-content {
  border-radius: 16px;
  border: none;
  overflow: hidden;
}
.modal-header {
  background: linear-gradient(135deg, var(--brown-dk), var(--brown));
  border: none;
  padding: 24px 28px;
}
.modal-title {
  font-family: "Playfair Display", serif;
  color: var(--white);
  font-size: 1.35rem;
}
.btn-close-modal {
  background: transparent;
  border: none;
  color: var(--beige);
  font-size: 1.2rem;
  cursor: pointer;
}
.modal-body {
  background: var(--cream);
  padding: 32px 28px;
}
.modal-footer {
  background: var(--cream);
  border-top: 1px solid var(--beige);
  padding: 16px 28px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gallery-item {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 0 0 3px var(--brown-lt),
    0 0 0 5px var(--brown-dk);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.success-icon {
  width: 64px;
  height: 64px;
  background: rgba(212, 184, 150, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--sand);
  margin: 0 auto;
}

/* FOOTER */
footer {
  background: var(--brown-dk);
  color: var(--sand);
  padding: 36px 0 24px;
  text-align: center;
}
.brand-footer {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: var(--beige);
  margin-bottom: 8px;
}
footer p {
  font-size: 0.85rem;
  color: var(--sand);
  opacity: 0.8;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 16px 0;
}
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(212, 184, 150, 0.15);
  border: 1px solid rgba(212, 184, 150, 0.3);
  color: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s;
}
.social-btn:hover {
  background: var(--brown-lt);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-copy {
  font-size: 0.78rem;
  opacity: 0.6;
  margin-top: 12px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  #hero {
    min-height: 100vh;
    padding: 80px 0 60px;
  }
  .hero-frame-deco {
    margin-top: 40px;
  }
  .frame-card {
    max-width: 260px;
  }
  .contact-info {
    padding: 36px 24px;
  }
  .contact-form-area {
    padding: 36px 24px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.1rem;
  }
  section {
    padding: 60px 0;
  }
  .feature-card {
    padding: 28px 20px;
  }
  .hero-stats {
    gap: 20px;
  }
}
