/* -------------------------------------------------------------
   Oviyas Design Studio — Global Custom Stylesheet
   ------------------------------------------------------------- */

/* Reset & Base Elements */
* {
  scroll-behavior: smooth;
}

body {
  background: #F8F7F4;
  color: #1A1A2E;
  font-family: 'Poppins', 'Inter', system-ui, sans-serif;
}

/* Brand Gradients */
.text-gradient {
  background: linear-gradient(90deg, #FF6B00, #FF2D78, #8B5CF6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-brand {
  background: linear-gradient(90deg, #FF6B00, #FF2D78, #8B5CF6);
}

/* Navbar Scrolled State */
.nav-base {
  background: transparent;
}

.nav-scrolled {
  background: rgba(248, 247, 244, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 #E8E6E0;
}

.logo-dark {
  filter: invert(1) brightness(0.1);
}

/* Premium Card Components */
.card-bg {
  background: #FFFFFF;
  border: 1px solid #E8E6E0;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
}

.hover-card {
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

/* Default brand-specific orange tinted hover shadow */
.hover-card:hover {
  box-shadow: 0 8px 32px rgba(255, 107, 0, 0.14);
  border-color: rgba(255, 107, 0, 0.35);
  transform: translateY(-4px);
}

/* Specific neutral / black tinted hover shadow (used in blog & portfolio) */
.hover-card-neutral {
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.hover-card-neutral:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border-color: #E0DDD8;
  transform: translateY(-4px);
}

/* Specific portfolio layout hover card shadow */
.hover-card-portfolio {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.hover-card-portfolio:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

/* Interactive Filter Components (Blog & Portfolio) */
.filter-bar {
  background: rgba(248, 247, 244, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #E8E6E0;
}

.filter-btn {
  background: #FFFFFF;
  border: 1px solid #E8E6E0;
  color: #6B7280;
  transition: all 0.3s ease;
}

.filter-btn.active {
  background: #FF6B00 !important;
  color: #FFFFFF !important;
  border-color: #FF6B00 !important;
}

.filter-btn:hover:not(.active) {
  border-color: #FF6B00;
  color: #FF6B00;
}

/* Marquee / Infinite Ticker (Home Page) */
.marquee-wrap {
  display: flex;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Status Pulse Dot (Hero Section) */
@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.dot-pulse {
  animation: pulse-green 2s infinite;
}

/* Premium Animations (Entrance & Delays) */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.afu {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.af {
  animation: fadeIn 1s ease forwards;
}

.d1 {
  animation-delay: 0.1s;
  opacity: 0;
}

.d2 {
  animation-delay: 0.2s;
  opacity: 0;
}

.d3 {
  animation-delay: 0.35s;
  opacity: 0;
}

.d4 {
  animation-delay: 0.5s;
  opacity: 0;
}

.d5 {
  animation-delay: 0.65s;
  opacity: 0;
}

/* Custom Badge / Label (Homepage Sections) */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  border: 1px solid #E0DDD8;
  background: #F0EEE9;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888888;
  margin-bottom: 1.5rem;
}

/* Premium Form Elements */
.form-input {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #D8D5D0;
  border-radius: 12px;
  color: #1A1A2E;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  font-family: inherit;
  font-size: 0.95rem;
}

.form-input::placeholder {
  color: #9CA3AF;
}

.form-input:focus {
  border-color: rgba(255, 107, 0, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

/* Custom Interactive Controls (Radio & Select on Contact Page) */
.radio-option input:checked+.radio-label {
  border-color: #FF6B00;
  background: rgba(255, 107, 0, 0.08);
  color: #1A1A2E;
}

.radio-label {
  border: 1px solid #E0DDD8;
  background: #FFFFFF;
  color: #6B7280;
}

/* Testimonial slider & accessories */
.testi-slider {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.star {
  color: #FF6B00;
}

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 0, 0.1);
  margin-bottom: 1.25rem;
}

/* -------------------------------------------------------------
   Home Page Section Structure
   ------------------------------------------------------------- */
.home-section {
  padding: 8rem 1.5rem;
}

.home-section-alt {
  background: #F0EEE9;
}

.home-container {
  max-width: 72rem;
}

.home-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 7rem;
}

/* -------------------------------------------------------------
   Page Gutters: keep desktop spacing aligned with base layout
   ------------------------------------------------------------- */
@media (min-width: 1024px) {

  section,
  header#navbar>div,
  footer>div {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .home-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
