/* ========================
   RESET
======================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ========================
   VARIABLES (YOUR DESIGN)
======================== */
:root {
  --bg-main: #FFFAEE;
  --bg-section: #FFF4DA;

  --primary: #764537;        /* titles + buttons */
  --text: #020202;
  --footer-text: #EFE9D9;
  --footer-bg: #335254;

  --container-width: 1200px;

  /* TYPOGRAPHY */
  --h1-size: 64px;
  --desc-size: 24px;
  --text-size: 18px;

  /* SPACING */
  --section-padding: 80px;
}

/* ========================
   BASE
======================== */
html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--text-size);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-main);

  display: flex;
  flex-direction: column;
}
/* PAGE TRANSITION */
body {
  opacity: 1;
  transition: opacity 0.4s ease;
}

/* FADE OUT */
body.fade-out {
  opacity: 0;
}

/* ========================
   FONTS
======================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Ivy Mode', serif;
  color: var(--primary);
  font-weight: 400; /* you said regular */
}

h1 {
  font-size: var(--h1-size);
}

/* DESCRIPTION TEXT (IMPORTANT) */
.desc {
  font-size: var(--desc-size);
  font-weight: 400;
  margin-top: 10px;
}

/* NORMAL TEXT */
.text {
  font-size: var(--text-size);
  margin-top: 10px;
}

/* ========================
   LAYOUT
======================== */
/*.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}*/

.container {
  width: 100%;          /* 🔥 full width */
  max-width: 100%;      /* 🔥 remove 1200px limit */
  margin: 0;
  padding: 0 20px;      /* ✅ always 20px */
}

main {
  flex: 1;
}

section {
  padding: var(--section-padding) 0;
}

/* SECTION VARIATION */
.section-light {
  background: var(--bg-section);
}

/* ========================
   ELEMENTS
======================== */
a {
  text-decoration: none;
  color: inherit;
}

img {
  width: 100%;
  display: block;
}

/* ========================
   PAGE BASE
======================== */
.page {
  padding-top: 120px;
  text-align: center;
}

/* ========================
   BUTTON
======================== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--primary);
  color: var(--bg-main);
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn:hover {
  opacity: 0.85;
}

/* ========================
   FOOTER BASE (for later)
======================== */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 60px 0;
}

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 768px) {
  :root {
    --h1-size: 36px;
    --desc-size: 18px;
    --text-size: 16px;
    --section-padding: 60px;
  }
}


/* ========================
   HEADER
======================== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(255, 250, 238, 0.8); /* your BG with opacity */
  backdrop-filter: blur(10px); /* premium glass effect */
}

/* INNER */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* LOGO */
.logo img {
  height: 40px;
}

/* NAV */
.nav {
  display: flex;
  gap: 40px;
}

/* NAV LINKS */
/* NAV LINKS */
.nav-link {
  position: relative;
  font-size: 18px;
  padding: 5px 0;
}

/* REMOVE old animation */
.nav-link span {
  transform: none;
}

/* UNDERLINE ANIMATION (bottom → center feel) */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--primary);

  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.4s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* NAV DIVIDER LINES */
.nav-link:not(:last-child)::before {
  content: "";
  position: absolute;
  right: -20px; /* adjust spacing */
  top: 50%;
  transform: translateY(-50%);

  width: 1px;
  height: 16px; /* line height */
  background: var(--primary);
  opacity: 0.5;
}

/* ========================
   SOCIAL
======================== */

.social-icon {
  width: 20px;
  height: 20px;
  transition: 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-2px);
  opacity: 0.7;
}

.social {
  display: flex;
  gap: 24px;
}

.icon {
  font-size: 14px;
  padding: 6px 8px;
  border: 1px solid var(--primary);
  transition: 0.3s;
}

.icon:hover {
  background: var(--primary);
  color: #fff;
}


/* ========================
   HAMBURGER
======================== */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text);
}

/* ========================
   MOBILE
======================== */
@media (max-width: 900px) {

  .nav {
    display: none;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-main);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: 0.4s;
    
  }

  .nav.active {
    right: 0;
  }

  .social {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
}

/* ========================
   MOBILE MENU OVERLAY
======================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;

  background: var(--bg-main);
  z-index: 2000;

  display: flex;
  flex-direction: column;

  transform: translateY(-100%);
   opacity: 0;

  transition: transform 0.6s ease, opacity 0.5s ease;
}

/* ACTIVE STATE */
.mobile-menu.active {
   transform: translateY(0);
  opacity: 1;
}

/* TOP */
.mobile-top {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 20px /* left-right spacing added */
}

/* CLOSE BUTTON */
.close-menu {
  font-size: 26px;
  cursor: pointer;
}

/* LINKS */
.mobile-links {
  display: flex;
  flex-direction: column;

  gap: 24px;

  margin-top: 70px;

  padding-left: 24px;   /* LEFT ALIGN FIX */
  
}

.mobile-links a {
  font-family: 'Ivy Mode', serif;
  font-size: 24px; /* slightly bigger = more premium */
  color: var(--primary);

  text-align: left;

  display: inline-block;

  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

/* WHEN MENU OPENS */
.mobile-menu.active .mobile-links a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-links a:hover {
   transform: translateX(6px);
  opacity: 0.7;
}

/* DIVIDER */
.mobile-divider {
  height: 1px;
  background: #999;
  margin: 40px 24px;
}

/* SOCIAL */
.mobile-social {
  display: flex;
  gap: 16px;
  padding: 24px;

  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.mobile-menu.active .mobile-social {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

.mobile-social a {
  width: 40px;
  height: 40px;

  border: 1px solid var(--primary);

  display: flex;
  align-items: center;
  justify-content: center;

  transition: 0.3s ease;
}

.mobile-social img {
  width: 24px;
  height: 24px;
}

.mobile-social a:hover {
  background: var(--primary);
  color: #fff;
}

.social-icon {
  width: 20px;
  height: 20px;
  transition: 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-2px);
  opacity: 0.7;
}
.social img,
.mobile-social img {
  width: 20px;
  height: 20px;
}


.mobile-menu.active .mobile-links a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-links a:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-links a:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-links a:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu.active .mobile-links a:nth-child(5) { transition-delay: 0.5s; }
.mobile-menu.active .mobile-links a:nth-child(6) { transition-delay: 0.6s; }


/*FOOTER*/

/* ========================
   FOOTER (FINAL)
======================== */
.footer {
  background: #335254;
  color: #EFE9D9;
  padding: 60px 0;
}

/* TOP LINKS */
.footer-links {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 30px;
}

.footer-links a {
  font-size: 18px;
  color: #EFE9D9;
  transition: 0.3s ease;
}

.footer-links a:hover {
  opacity: 0.7;
}

/* DIVIDER */
.footer-divider {
  height: 1px;
  background: rgba(239, 233, 217, 0.5);
  width: 100%;
  margin: 20px 0 40px;
}

/* BOTTOM ROW */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.footer-logo img {
  height: 60px;
}

/* SOCIAL */
.footer-social {
  display: flex;
  gap: 24px;
}

.footer-social a {
  color: #EFE9D9;
  transition: 0.3s ease;
}

.footer-social a:hover {
  opacity: 0.7;
}

/* COPYRIGHT */
.footer-copy {
  font-size: 14px;
}

@media (max-width: 768px) {

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .footer-divider {
    width: 80%;
    margin: 30px auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-logo {
    order: 1;
  }

  .footer-social {
    order: 2;
  }

  .footer-copy {
    order: 3;
    font-size: 12px;
  }
}



/* =========================
   WHATSAPP FLOATING BUTTON
========================= */

.whatsapp-float{
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 64px;
  height: 64px;

  background: #25D366;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 10px 30px rgba(37,211,102,0.35);

  z-index: 9999;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;

  animation: whatsappFloat 3s ease-in-out infinite;
}

/* ICON */
.whatsapp-float img{
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
}

/* HOVER EFFECT */
.whatsapp-float:hover{
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 14px 35px rgba(37,211,102,0.45);
}

/* FLOAT ANIMATION */
@keyframes whatsappFloat{
  0%{
    transform: translateY(0);
  }

  50%{
    transform: translateY(-8px);
  }

  100%{
    transform: translateY(0);
  }
}

/* PULSE EFFECT */
.whatsapp-float::before{
  content: "";
  position: absolute;

  width: 100%;
  height: 100%;

  border-radius: 50%;
  background: rgba(37,211,102,0.4);

  z-index: -1;

  animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse{
  0%{
    transform: scale(1);
    opacity: 0.7;
  }

  70%{
    transform: scale(1.5);
    opacity: 0;
  }

  100%{
    opacity: 0;
  }
}

/* =========================
   TABLET
========================= */

@media (max-width: 768px){

  .whatsapp-float{
    width: 58px;
    height: 58px;
    right: 18px;
    bottom: 18px;
  }

  .whatsapp-float img{
    width: 26px;
    height: 26px;
  }
}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px){

  .whatsapp-float{
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-float img{
    width: 24px;
    height: 24px;
  }
}


/*CURSOR*/
/* =========================
CUSTOM CURSOR
========================= */

html{
  cursor:none;
}

body{
  cursor:none;
}

/* HIDE DEFAULT CURSOR */
a,
button,
img,
.service-card,
.proj-slide{
  cursor:none;
}

/* CUSTOM CURSOR */
.custom-cursor{
  position: fixed;

  top: 0;
  left: 0;

  width: 20px;
  height: 20px;

  background: #764537;

  border-radius: 50%;

  pointer-events: none;

  transform: translate(-50%, -50%);

  z-index: 999999999;

  will-change: transform;

  transition:
    width 0.25s ease,
    height 0.25s ease,
    background 0.25s ease;

  box-shadow:
    0 0 10px rgba(118,69,55,0.5),
    0 0 25px rgba(118,69,55,0.3);
}

/* HOVER EFFECT */
.custom-cursor.active{
  width: 55px;
  height: 55px;

  background: rgba(118,69,55,0.2);

  border: 1px solid #764537;
}

/* MOBILE */
@media(max-width:768px){

  html,
  body,
  a,
  button{
    cursor:auto;
  }

  .custom-cursor{
    display:none;
  }

}