/*
Theme Name: Wedding Bali Proposal
Theme URI: https://happybaliwedding.com/
Author: Yan
Description: Elegant Bali & Lombok wedding proposal theme.
Version: 1.0
License: GPLv2 or later
Text Domain: weddingbaliproposal
*/

@import url("https://fonts.googleapis.com/css2?family=Boldonse&family=Bricolage+Grotesque:opsz@12..96&display=swap");

:root {
  --primary: #54595f;
  --secondary: #7a7a7a;
  --accent: #edefec;
  --white: #ffffff;
  --coco-bg: #806967;
  --coco-soft-1: #f5f1f1;
}

body {
  font-family: "Bricolage Grotesque", sans-serif;
  color: var(--primary);
}

a:hover.link-coco-hover {
  color: var(--coco-bg) !important;
  background-color: var(--coco-bg);
}

.color-primary {
  color: var(--primary);
}

.color-secondary {
  color: var(--secondary);
}

.color-ancent {
  color: var(--accent);
}

.color-white {
  color: var(--white);
}

h1,
h2,
h3,
h4 {
  font-family: "Boldonse", serif;
  line-height: 3.5rem !important;
}

.heading-1 {
  font-size: 35px;
}
.heading-2 {
  font-size: 30px;
}
.heading-3 {
  font-size: 25px;
}
.section {
  padding: 80px 0;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border: none;
}

.btn-accent:hover {
  background: #b8946c;
}

/* BOX BACKGROUND */
.box-bg-gradient {
  width: 100%;
  background: linear-gradient(to bottom, #f5f1f1, #ffffff);
}

.box-bg-soft-1 {
  background: var(--coco-soft-1) !important;
}

.box-bg-coco {
  background: var(--coco-bg) !important;
}

/* =========================
   HEADER BASE
========================= */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  transition: all 0.4s ease;
}

/* DEFAULT (HERO MODE) */
.site-header:not(.scrolled) {
  background: rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(0px);
}

/* SCROLLED MODE */
.site-header.scrolled {
  background: #fff;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

/* =========================
   NAVBAR HEIGHT
========================= */
.navbar {
  min-height: 100px;
  transition: all 0.4s ease;
  align-items: center;
}

.site-header.scrolled .navbar {
  min-height: 60px;
}

/* =========================
   LOGO SWITCH (NO SHIFT)
========================= */
.logo-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  height: 100px;
  transition: all 0.4s ease;
}

.site-header.scrolled .logo-wrapper {
  height: 60px;
}

/* STACKED LOGOS */
.logo {
  position: absolute;
  inset: 0;
  margin: auto;
  height: 100%;
  width: auto;
  transition: opacity 0.4s ease;
}

.logo-white {
  opacity: 1;
}
.logo-dark {
  opacity: 0;
}

.site-header.scrolled .logo-white {
  opacity: 0;
}
.site-header.scrolled .logo-dark {
  opacity: 1;
}

/* =========================
   MENU STYLE
========================= */
.navbar-nav {
  gap: 30px;
  align-items: center;
}

.navbar-nav .nav-link {
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding: 8px 0;
  transition: all 0.3s ease;
}

/* HERO (WHITE TEXT) */
.site-header:not(.scrolled) .nav-link,
.site-header:not(.scrolled) .navbar-brand {
  color: #fff;
}

/* SCROLLED (DARK TEXT) */
.site-header.scrolled .nav-link,
.site-header.scrolled .navbar-brand {
  color: #000;
}

/* HOVER */
.navbar-nav .nav-link:hover {
  color: #c5a47e;
}

/* UNDERLINE ANIMATION */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: #c5a47e;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* ACTIVE */
.navbar-nav .current-menu-item > a {
  color: #c5a47e;
}

/* =========================
   DROPDOWN (DESKTOP)
========================= */
.navbar-nav .sub-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background: #fff;
  padding: 15px;
  min-width: 200px;
  display: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

@media (min-width: 992px) {
  .navbar-nav li:hover > .sub-menu {
    display: block;
  }
}

/* =========================
   MOBILE MENU
========================= */

/* DEFAULT (HERO - WHITE ICON) */
.site-header:not(.scrolled) .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* SCROLLED (DARK ICON) */
.site-header.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='black' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* REMOVE BORDER + OUTLINE */
.navbar-toggler {
  border: none;
  box-shadow: none;
  outline: none;
}

/* REMOVE ON CLICK / FOCUS */
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:focus-visible {
  outline: none;
  box-shadow: none;
}

.mobile-menu {
  list-style: none;
  padding: 0;
}

.mobile-menu li {
  border-bottom: 1px solid #eee;
  position: relative;
}

.mobile-menu a {
  display: block;
  padding: 12px 40px 12px 0;
  text-decoration: none;
  color: #000;
}

.mobile-menu .sub-menu {
  display: none;
  padding-left: 15px;
}

/* TOGGLE (+ / -) */
.menu-toggle {
  position: absolute;
  right: 0;
  top: 12px;
  cursor: pointer;
}

.menu-toggle::before {
  content: "+";
  font-size: 18px;
}

.menu-toggle.active::before {
  content: "-";
}

@media (min-width: 992px) {
  .menu-toggle {
    display: none;
  }
}

/* Hero */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.75) 0%,
    /* STRONG DARK TOP */ rgba(0, 0, 0, 0.5) 30%,
    rgba(0, 0, 0, 0.3) 60%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

.hero h1 {
  max-width: 700px;
}

.hero p {
  max-width: 500px;
}

/* IMAGE ZOOM IN */

.service-card {
  overflow: hidden;
}

.zoom-img {
  display: block;
  overflow: hidden;
  /* control image height ONLY here */
  aspect-ratio: 4 / 3;
}

/* IMAGE */
.zoom-img img {
  width: 100%;
  height: 100%; /* safe now because parent controls height */
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

/* HOVER */
.zoom-img:hover img {
  transform: scale(1.08);
}

/* FADE ANIMATION */
.fade-section {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s ease;
}

.fade-section.active {
  opacity: 1;
  transform: translateY(0);
}

/* About */
.about-section {
  background: var(--coco-soft-1);
}

.about-section h2 {
  line-height: normal;
}

.about-images {
  min-height: 600px;
}

.img-main {
  position: relative;
  z-index: 2;
  width: 65%;
}

.img-secondary {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55%;
}

.img-main img,
.img-secondary img {
  object-fit: cover;
  height: 100%;
}

@media (max-width: 991px) {
  .about-images {
    position: relative;
    min-height: auto;
  }

  .img-main,
  .img-secondary {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
  }
}

/* SERVICES CARD CONTAINER */
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

/* IMAGE */
.service-img {
  display: block;
  position: relative;
  aspect-ratio: 3 / 4;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

/* OVERLAY BASE */
.service-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 25px;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.2),
    transparent
  );

  transition: all 0.5s ease;
}

/* HOME CONTENT */
.service-content {
  color: #fff;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 5px;
}

.service-price {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* HOVER EFFECT */
.service-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-card:hover img {
  transform: scale(1.08);
}

.service-card:hover .service-content {
  transform: translateY(0);
}

/* OPTIONAL: DARKEN ON HOVER */
.service-card:hover .service-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0.3),
    transparent
  );
}

/* SINGLE PAGE TOP SECTION */
/* GLOBAL OFFSET FOR FIXED HEADER */
.content-top {
  padding-top: 120px; /* desktop default */
}

/* TABLET */
@media (max-width: 992px) {
  .content-top {
    padding-top: 100px;
  }
}

/* MOBILE */
@media (max-width: 576px) {
  .content-top {
    padding-top: 90px;
  }
}

/* CUSTOM BULLETS */
.custom-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-list li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
}

/* SVG ICON */
.custom-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;

  width: 18px;
  height: 18px;

  background: url("assets/img/arrow-right-svgrepo-com.svg") no-repeat center;
  background-size: contain;
}
/* CUSTOM BULLETS AUTO APPLY TO WP CONTENT ONLY */
/* TARGET ONLY CONTENT AREAS */
/* RESET LIST */
.entry-content ul,
.service-content ul,
.content-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* LIST ITEM */
.entry-content ul li,
.service-content ul li,
.content-box ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

/* SVG ICON AS BULLET */
.entry-content ul li::before,
.service-content ul li::before,
.content-box ul li::before {
  content: "";
  flex: 0 0 18px;
  height: 18px;
  margin-top: 4px;

  background: url("assets/img/arrow-right-svgrepo-com.svg") no-repeat center;
  background-size: contain;
}

/* SERVICES SINGLE PAGE */
/* HERO */
.service-hero {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

.service-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.service-hero .content {
  position: absolute;
  bottom: 50px;
  left: 0;
  right: 0;
}

.service-hero h1 {
  font-size: 2.5rem;
}

.service-hero .price {
  font-size: 1.2rem;
  margin-top: 10px;
}

/* CONTENT BOX */
.content-box {
  border-radius: 10px;
}

/* BOOKING SIDEBAR */
.booking-box {
  position: sticky;
  top: 100px;
  padding: 25px;
  border: 1px solid var(--coco-bg);
  border-radius: 6px;
  background: #fff;
  z-index: 100;
}

.booking-box .price {
  font-size: 1.5rem;
  font-weight: 600;
}

  /* SERVICE LIST LEFT MENU SINGLE PAGE*/
.service-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #C5A47E;
}

.service-list li {
  margin-bottom: 10px;
}

/* LINK STYLE */
.service-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;

  color: #000;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

/* HOVER ANIMATION */
.service-list a:hover {
  background: #f5f5f5;
  transform: translateX(6px);
  color: #C5A47E;
}

/* LEFT ACCENT LINE */
.service-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);

  width: 3px;
  height: 70%;
  background: #C5A47E;

  transition: transform 0.3s ease;
  z-index: -1;
}

/* SHOW LINE ON HOVER */
.service-list a:hover::before {
  transform: translateY(-50%) scaleY(1);
}
footer {
  background: var(--coco-bg);
  padding: 40px 0 0 0;
  color: var(--white);
}

footer a{
  color: var(--white);
  text-decoration: none;
}

footer .nav-footer-link li a {
  color: var(--white) !important;
  text-decoration: none !important;
}

/* SOCIAL ICON WRAPPER */
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;
  margin-right: 10px;

  border-radius: 50%;
  background: #fff;

  transition: all 0.3s ease;
}

/* SVG ICON */
.footer-social img {
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
}

/* HOVER EFFECT */
.footer-social a:hover {
  background: #C5A47E;
  transform: translateY(0);
}

/* OPTIONAL: CHANGE ICON COLOR ON HOVER */
.footer-social a:hover img {
  filter: brightness(0) invert(1);
}

.footer-bottom {
  border-top: 1px solid #877270; /* your color */
  padding: 20px 0;
  margin-top: 30px;
  font-size: 14px;
}