/* ============================================
   ArfaNova Technologies — WANDERLAND EXACT CLONE
   Light, Elegant, Editorial Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Jost:wght@300;400;500;600&family=Great+Vibes&display=swap');

/* =====================
   CSS CUSTOM PROPERTIES
   ===================== */
:root {
  --navy:         #050B2D;
  --navy-light:   #0A174E;
  --royal:        #2563EB;
  --royal-light:  #3B82F6;
  --text-main:    #4B5563;
  --bg-white:     #FFFFFF;
  --bg-beige:     #F9F8F6;
  --bg-light:     #F3F4F6;
  --border:       #E5E7EB;
  
  --font-heading: 'Playfair Display', serif;
  --font-body:    'Jost', sans-serif;
  --font-script:  'Great Vibes', cursive;
  
  --ease-out:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =====================
   GLOBAL RESET
   ===================== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  background: var(--bg-white);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}

::selection { background: var(--royal); color: #fff; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-white); }
::-webkit-scrollbar-thumb { background: var(--navy-light); }

img { display: block; max-width: 100%; }
a { color: var(--navy); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--royal); }

/* =====================
   TRANSPARENT HEADER 
   ===================== */
.topbar-transparent {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: transparent !important;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  z-index: 1000;
}
.topbar-transparent a, .topbar-transparent i { color: rgba(255,255,255,0.8) !important; }

.navbar-transparent {
  position: absolute;
  top: 40px; left: 0; right: 0;
  background: transparent !important;
  border-bottom: none;
  z-index: 1000;
}
.navbar-transparent.scrolled {
  position: fixed;
  top: 0;
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(10px);
}
.navbar-transparent:not(.scrolled) .nav-link-custom { color: rgba(255,255,255,0.9) !important; }
.navbar-transparent:not(.scrolled) .nav-link-custom:hover, 
.navbar-transparent:not(.scrolled) .nav-link-custom.active { color: #fff !important; }

/* =====================
   HOME HERO WANDERLAND
   ===================== */
.home-hero-wanderland {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 120px 0;
}
.home-hero-wanderland::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5); /* Dark overlay */
  z-index: 1;
}

.hero-meta {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 600;
}
.hero-meta i { margin-right: 5px; opacity: 0.8; }

.hero-title-wanderland {
  font-family: var(--font-heading);
  font-size: 5.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: -1px;
}
.hero-desc-wanderland {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  margin: 0 auto 40px;
  max-width: 600px;
  font-weight: 300;
}
.btn-wanderland {
  display: inline-block;
  padding: 15px 40px;
  background: #608861; /* The green button color from Wanderland */
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s;
}
.btn-wanderland:hover {
  background: #4a6c4b;
  color: #fff;
}
.btn-wanderland i {
  margin-left: 10px;
  transition: transform 0.3s;
}
.btn-wanderland:hover i {
  transform: translateX(5px);
}

.brush-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background-image: url('../img/brush.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: bottom;
  z-index: 5;
}

@media (max-width: 991px) {
  .hero-title-wanderland { font-size: 3.5rem; }
  .brush-bottom { height: 40px; }
  .navbar-transparent { top: 0; }
}

/* =====================
   INNER HERO SECTION (Brush Borders & Beige Background)
   ===================== */
.inner-hero {
  background-color: #ede9e1;
  padding: 160px 0 120px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Top White Brush Border */
.inner-hero::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 40px;
  background-image: url('../img/brush.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  transform: rotate(180deg);
  z-index: 5;
}

/* Bottom White Brush Border */
.inner-hero::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 40px;
  background-image: url('../img/brush.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: 5;
}

.inner-hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.inner-hero-img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
}

.floating-anim {
  animation: floatUpDown 6s ease-in-out infinite;
}
@keyframes floatUpDown {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.inner-hero-content { 
  padding-left: 50px; 
  position: relative;
  z-index: 2;
}

.inner-hero-title {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 25px;
  text-transform: uppercase;
}
.inner-hero-title em {
  font-style: normal;
  color: var(--royal);
}

.inner-hero-desc {
  font-size: 1.1rem;
  color: var(--text-main);
  line-height: 1.8;
  margin-bottom: 30px;
  font-weight: 400;
}

@media (max-width: 991px) {
  .inner-hero .row {
    display: flex;
    flex-direction: column-reverse; /* Text on top, Image on bottom for mobile! */
    gap: 40px;
  }
  .inner-hero-content { padding-left: 0; margin-top: 0; text-align: center; }
  .inner-hero-title { font-size: 2.8rem; }
  .inner-hero-img-wrap { max-width: 80%; margin: 0 auto; padding: 20px; border-radius: 30px; }
}

/* =====================
   HEADER NAV
   ===================== */
.topbar {
  background: var(--bg-white);
  padding: 8px 0;
  font-size: 0.75rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-contact, .topbar-social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-contact a {
  color: var(--navy);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.5px;
}

.topbar-contact a i { font-size: 0.8rem; color: var(--royal); }
.topbar-social a { color: var(--navy); }
.topbar-social a:hover { color: var(--royal); }

/* WhatsApp Header Button */
.btn-whatsapp-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #25D366;
  color: #fff !important;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}
.btn-whatsapp-header:hover {
  background: #128C7E;
  color: #fff !important;
  transform: translateY(-2px);
}

/* =====================
   NAVBAR
   ===================== */
.navbar-custom {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  padding: 20px 0;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.navbar-custom.scrolled {
  padding: 12px 0;
  box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
}
.nav-right { justify-content: flex-end; }

.nav-logo {
  text-align: center;
  flex-shrink: 0;
  padding: 0 40px;
}

/* Uploaded Logo Styles */
.logo-img {
  max-height: 80px;
  width: auto;
  transition: all 0.3s ease;
}
.navbar-custom.scrolled .logo-img { max-height: 60px; }

.logo-img-footer {
  max-height: 70px;
  width: auto;
  margin-bottom: 20px;
}

.nav-link-custom {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  white-space: nowrap;
}

.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--royal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Mobile hamburger */
.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.hamburger-btn span {
  display: block; width: 24px; height: 2px; background: var(--navy); transition: 0.3s;
}

/* =====================
   TYPOGRAPHY & SECTIONS
   ===================== */
section { padding: 100px 0; }
.section-bg-beige { background: var(--bg-beige); }

.script-title {
  font-family: var(--font-script);
  font-size: 2.8rem;
  color: var(--royal);
  margin-bottom: -10px;
  line-height: 1;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1.2;
}

.section-title em {
  font-style: italic;
  font-weight: 400;
}

.section-desc {
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 40px;
  color: var(--text-main);
}

/* Elegant Button */
.btn-elegant {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.4s ease;
}

.btn-elegant:hover {
  background: var(--navy);
  color: var(--bg-white);
}

.btn-solid {
  background: var(--navy);
  color: var(--bg-white);
  border-color: var(--navy);
}
.btn-solid:hover {
  background: var(--royal);
  border-color: var(--royal);
}

/* =====================
   HERO SLIDER
   ===================== */
.hero-slider {
  height: 90vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  background: var(--bg-beige);
}

.swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.8;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.4);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  background: var(--bg-white);
  padding: 60px 80px;
  max-width: 700px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
  transform: translateY(30px);
  opacity: 0;
  transition: all 1s ease;
}

.swiper-slide-active .hero-content {
  transform: translateY(0);
  opacity: 1;
}

.hero-content .script-title {
  font-size: 3.5rem;
  margin-bottom: 0;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-content p {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 30px;
}

/* =====================
   INFO BOXES (Wanderland style)
   ===================== */
.info-box {
  text-align: center;
  padding: 30px 20px;
  transition: transform 0.3s ease;
}

.info-box:hover {
  transform: translateY(-10px);
}

.info-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--bg-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--royal);
  transition: all 0.4s ease;
}

.info-box:hover .info-icon {
  background: var(--navy);
  color: var(--bg-white);
}

.info-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.info-desc {
  font-size: 0.95rem;
  color: var(--text-main);
}

/* =====================
   ABOUT IMAGE SPLIT
   ===================== */
.img-split-wrap {
  position: relative;
  padding-right: 40px;
  padding-bottom: 40px;
}
.img-split-main {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  box-shadow: 20px 20px 0 var(--bg-beige);
}

/* =====================
   PORTFOLIO MASONRY
   ===================== */
.portfolio-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pf-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-light);
  aspect-ratio: 1/1;
  border-radius: 12px;
}

.pf-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.pf-card:hover .pf-img {
  transform: scale(1.05);
}

.pf-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
  padding: 30px;
  text-align: center;
}

.pf-card:hover .pf-overlay {
  opacity: 1;
}

.pf-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.pf-cat {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--royal);
  font-weight: 500;
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: var(--bg-beige);
  padding: 80px 0 30px;
  border-top: 1px solid var(--border);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
}
.footer-links li { margin-bottom: 12px; }
.footer-links a {
  color: var(--text-main);
  font-size: 0.95rem;
}
.footer-links a:hover { color: var(--royal); padding-left: 5px; }

.f-socials {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.f-socials a {
  display: inline-flex;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-white);
  align-items: center;
  justify-content: center;
  color: var(--navy);
  border: 1px solid var(--border);
  transition: 0.3s;
}
.f-socials a:hover {
  background: var(--navy);
  color: var(--bg-white);
  border-color: var(--navy);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-main);
}

/* =====================
   FORMS & INPUTS
   ===================== */
.form-control-elegant {
  width: 100%;
  padding: 15px 20px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 20px;
  transition: all 0.3s;
}
.form-control-elegant:focus {
  border-color: var(--navy);
  outline: none;
}
textarea.form-control-elegant {
  min-height: 150px;
  resize: vertical;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 991px) {
  .nav-left, .nav-right { display: none; }
  .hamburger-btn { display: flex; }
  .hero-content { padding: 40px 30px; }
  .hero-content h1 { font-size: 2.5rem; }
  .portfolio-masonry { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .portfolio-masonry { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .pf-overlay { padding: 15px; }
  .pf-title { font-size: 1.2rem; }
  .pf-cat { font-size: 0.7rem; }
  section { padding: 60px 0; }
  .section-title { font-size: 2.2rem; }
  .topbar { display: none; }
}
