/* ============================================================
   DO Urbanology Outlet — Custom Stylesheet
   Depends on: Bootstrap 5, Bootstrap Icons
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --primary:       #1a6fc4;
  --primary-dark:  #155da0;
  --accent:        #1a9b7b;
  --foreground:    #0d1117;
  --muted:         #6b7280;
  --border:        #dde1e7;
  --card-bg:       #ffffff;
  --section-bg:    #f4f5f7;
  --font-heading:  'Space Grotesk', sans-serif;
  --font-body:     'Inter', sans-serif;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font-body); color: var(--foreground); background: var(--section-bg); }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); }
a     { text-decoration: none; color: inherit; }
img   { max-width: 100%; display: block; }
.font-heading { font-family: var(--font-heading); }

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNav {
  transition: all 0.4s ease;
  background: rgba(0,0,0,0.25) !important;
  backdrop-filter: blur(8px);
}
#mainNav.scrolled {
  background: rgba(255,255,255,0.97) !important;
  box-shadow: 0 2px 20px rgba(26,111,196,0.08);
  border-bottom: 1px solid var(--border);
}
#mainNav .navbar-brand img {
  height: 42px;
  filter: brightness(0) invert(1);
  transition: filter 0.4s;
}
#mainNav.scrolled .navbar-brand img { filter: none; }

#mainNav .nav-link {
  color: rgba(255,255,255,0.82) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s;
}
#mainNav.scrolled .nav-link          { color: var(--muted) !important; }
#mainNav .nav-link:hover,
#mainNav.scrolled .nav-link:hover    { color: var(--foreground) !important; }

#mainNav .navbar-toggler {
  border-color: rgba(255,255,255,0.3);
}
#mainNav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
#mainNav.scrolled .navbar-toggler {
  border-color: var(--border);
}
#mainNav.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280,0,0,0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-navbar {
  background: var(--primary);
  color: #fff !important;
  border-radius: 8px;
  padding: 0.45rem 1.25rem !important;
  font-family: var(--font-heading);
  font-weight: 600;
}
.btn-navbar:hover { background: var(--primary-dark); color: #fff !important; }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  background: url('../images/hero.png') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right,
    rgba(13,17,23,0.92) 0%,
    rgba(13,17,23,0.78) 50%,
    rgba(13,17,23,0.45) 100%);
}
.hero-content  { position: relative; z-index: 2; padding: 7rem 0 5rem; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 1rem; border-radius: 50px;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 0.85rem; color: rgba(255,255,255,0.85); font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); display: inline-block;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 700; color: #fff; line-height: 1.12; margin-bottom: 1.5rem;
}
.hero-title .gradient {
  background: linear-gradient(90deg, #fff 0%, #93c5fd 50%, #5eead4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem; color: rgba(255,255,255,0.72);
  line-height: 1.8; margin-bottom: 2.25rem; max-width: 38rem;
}
.hero-stat-val   { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: #fff; }
.hero-stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary-custom {
  background: var(--primary); color: #fff; border: none;
  border-radius: 10px; padding: 0.75rem 1.75rem;
  font-family: var(--font-heading); font-weight: 600; font-size: 1rem;
  transition: all 0.2s; display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer;
}
.btn-primary-custom:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }

.btn-outline-custom {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px; padding: 0.75rem 1.75rem;
  font-family: var(--font-heading); font-weight: 600; font-size: 1rem;
  transition: all 0.2s; cursor: pointer;
}
.btn-outline-custom:hover { background: rgba(255,255,255,0.1); color: #fff; }

.btn-send {
  background: var(--primary); color: #fff; border: none;
  border-radius: 10px; padding: 0.8rem 1.5rem;
  font-family: var(--font-heading); font-weight: 600; font-size: 1rem;
  width: 100%; display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; transition: background 0.2s; cursor: pointer;
}
.btn-send:hover    { background: var(--primary-dark); }
.btn-send:disabled { opacity: 0.65; cursor: not-allowed; }

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section-tag {
  font-size: 0.8rem; font-family: var(--font-heading); font-weight: 700;
  color: var(--primary); text-transform: uppercase; letter-spacing: 0.12em;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 700;
  color: var(--foreground); margin-top: 0.5rem;
}
.section-desc {
  color: var(--muted); margin-top: 0.75rem; line-height: 1.8;
  max-width: 44rem; margin-left: auto; margin-right: auto;
}

/* ============================================================
   ABOUT
   ============================================================ */
#about { background: #fff; padding: 6rem 0; }

.founder-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem;
  box-shadow: 0 4px 24px rgba(26,111,196,0.06);
}
.founder-img   { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; object-position: top; }
.founder-name  { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; }
.founder-role  { font-size: 0.85rem; color: var(--primary); font-weight: 500; }
.founder-email { font-size: 0.75rem; color: var(--muted); }
.founder-bio   { font-size: 0.875rem; color: var(--muted); line-height: 1.8; margin-top: 1rem; }

.timeline-item   { display: flex; gap: 0; }
.timeline-dot    { width: 12px; height: 12px; border-radius: 50%; background: var(--primary); margin-top: 5px; flex-shrink: 0; }
.timeline-line   { width: 1px; background: var(--border); height: 40px; margin: 4px auto 0; }
.timeline-year   { font-size: 0.72rem; font-family: var(--font-heading); font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.08em; }
.timeline-text   { font-size: 0.875rem; color: var(--foreground); }

.stat-box      { background: rgba(26,111,196,0.05); border: 1px solid rgba(26,111,196,0.12); border-radius: 12px; padding: 1.25rem; text-align: center; }
.stat-big      { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--primary); }
.stat-name     { font-size: 0.85rem; font-weight: 600; color: var(--foreground); margin-top: 4px; }
.stat-sub      { font-size: 0.72rem; color: var(--muted); }

.value-card    { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; height: 100%; transition: box-shadow 0.3s; }
.value-card:hover { box-shadow: 0 8px 32px rgba(26,111,196,0.08); }
.value-icon    { width: 44px; height: 44px; border-radius: 10px; background: rgba(26,111,196,0.1); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--primary); margin-bottom: 0.875rem; }
.value-title   { font-family: var(--font-heading); font-weight: 600; font-size: 1rem; margin-bottom: 0.4rem; }
.value-desc    { font-size: 0.85rem; color: var(--muted); line-height: 1.7; }

/* ============================================================
   SERVICES
   ============================================================ */
#services { background: var(--section-bg); padding: 6rem 0; }

.services-feature-img { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 4px 24px rgba(26,111,196,0.06); }
.services-feature-img img { width: 100%; height: 240px; object-fit: cover; }
@media (min-width: 576px) { .services-feature-img img { height: 300px; } }

.service-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 1.75rem; height: 100%; transition: all 0.3s; }
.service-card:hover { box-shadow: 0 12px 36px rgba(26,111,196,0.1); border-color: rgba(26,111,196,0.2); transform: translateY(-3px); }
.service-icon-wrap { width: 48px; height: 48px; border-radius: 12px; background: rgba(26,111,196,0.1); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; color: var(--primary); transition: all 0.3s; }
.service-card:hover .service-icon-wrap { background: var(--primary); color: #fff; }
.service-tag   { font-size: 0.65rem; font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); background: var(--section-bg); padding: 3px 10px; border-radius: 50px; }
.service-title { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; }
.service-desc  { font-size: 0.85rem; color: var(--muted); line-height: 1.7; }

/* ============================================================
   CONTACT
   ============================================================ */
#contact { background: #fff; padding: 6rem 0; }

.contact-info-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 2rem; box-shadow: 0 4px 24px rgba(26,111,196,0.06); }
.contact-cta { background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 16px; padding: 2rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.contact-item-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(26,111,196,0.1); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1rem; flex-shrink: 0; }
.contact-item-label { font-size: 0.72rem; color: var(--muted); }
.contact-item-value { font-size: 0.875rem; font-weight: 500; transition: color 0.2s; }
.contact-item:hover .contact-item-value { color: var(--primary); }

.contact-form-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 2rem; box-shadow: 0 4px 24px rgba(26,111,196,0.06); }
.form-label { font-size: 0.78rem; font-weight: 500; color: var(--muted); margin-bottom: 0.375rem; }
.form-control { background: var(--section-bg); border: 1px solid var(--border); border-radius: 8px; font-size: 0.875rem; padding: 0.6rem 0.875rem; color: var(--foreground); }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,111,196,0.1); background: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--foreground); color: rgba(244,245,247,0.65); padding: 5rem 0 2rem; }
.footer-logo img  { height: 42px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-desc      { font-size: 0.875rem; line-height: 1.8; color: rgba(244,245,247,0.45); max-width: 26rem; }
.footer-heading   { font-family: var(--font-heading); font-weight: 600; color: rgba(244,245,247,0.9); margin-bottom: 1rem; font-size: 0.95rem; }
.footer-link      { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: rgba(244,245,247,0.6); padding: 0.3rem 0; background: none; border: none; cursor: pointer; font-family: var(--font-body); transition: color 0.2s; text-align: left; }
.footer-link:hover { color: rgba(244,245,247,1); }
.footer-divider   { border-top: 1px solid rgba(244,245,247,0.1); margin-top: 3rem; padding-top: 1.75rem; }
.footer-copy      { font-size: 0.75rem; color: rgba(244,245,247,0.35); }

/* ============================================================
   TOAST
   ============================================================ */
.toast-custom {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
  min-width: 280px; border-radius: 12px; padding: 1rem 1.5rem;
  font-size: 0.875rem; font-weight: 500; color: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  opacity: 0; transform: translateY(20px); transition: all 0.4s ease; pointer-events: none;
}
.toast-custom.show   { opacity: 1; transform: translateY(0); pointer-events: auto; }
.toast-custom.success { background: var(--accent); }
.toast-custom.error   { background: #dc2626; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up           { opacity: 0; transform: translateY(30px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-up.visible   { opacity: 1; transform: translateY(0); }
.fade-up-delay-1   { transition-delay: 0.1s; }
.fade-up-delay-2   { transition-delay: 0.2s; }
.fade-up-delay-3   { transition-delay: 0.3s; }
.fade-up-delay-4   { transition-delay: 0.4s; }
.fade-up-delay-5   { transition-delay: 0.5s; }
