/* === Root Variables === */
:root {
  --green: #378100;
  --blue-light: #ECF8FF;
  --blue-primary: #0064AE;
  --pink-light: #FFF4F9;
}

/* === Base Styles === */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  background-color: var(--blue-light);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
  color: var(--blue-primary);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

p, ul {
  color: #333;
}

p {
  font-size: 1.1rem;
}

ul {
  padding-left: 1.5rem;
}

/* === Utilities & Animations === */
@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-menu a.active {
  border-bottom: 2px solid #004d91;
  padding-bottom: 2px;
}

.process ol li::marker {
  color: var(--blue-primary);
  font-weight: bold;
}

/* === Header (Nav Bar) === */
.site-header {
  border-bottom: 1px solid #eee;
  padding: 1.5rem 2rem;
  background: #fff;
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.site-logo {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
}

.main-nav .nav-menu {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  text-decoration: none;
  font-weight: 600;
  color: var(--green);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-menu li a:hover {
  color: var(--blue-primary);
}

.nav-right {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
}

.social-icons a {
  color: var(--green);
  font-size: 1.25rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  color: var(--blue-primary);
  transform: scale(1.2);
}

/* === Footer === */
footer {
  text-align: center;
  padding: 3rem 1rem 2rem;
  font-size: 0.95rem;
  border-top: 1px solid #eee;
  color: #333;
  background: white;
}

.footer-links {
  margin: 1rem 0;
}

.footer-links a {
  margin: 0 0.25rem;
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--blue-primary);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  color: #333;
  font-size: 1.2rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  color: var(--blue-primary);
  transform: scale(1.2);
}

/* === Sections === */
section {
  padding: 4rem 2rem;
  max-width: 960px;
  margin: auto;
  opacity: 0;
  animation: fadeSlideIn 1s ease forwards;
  animation-delay: 0.3s;
}

/* Special Quote Section Animation & Design */
.quote-section {
  position: relative;
  background: linear-gradient(135deg, #ECF8FF 60%, #FFF4F9 100%);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  padding: 3rem 2rem 2.5rem 2rem;
  margin: 3rem auto 2rem auto;
  max-width: 800px;
  overflow: hidden;
}
.quote-section::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, #0064AE33 60%, transparent 100%);
  animation: floatGlow 4s ease-in-out infinite alternate;
  z-index: 0;
}
.quote-section::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, #37810033 60%, transparent 100%);
  animation: floatGlow2 4s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes floatGlow {
  0% { transform: scale(1) translateY(0); opacity: 0.7; }
  100% { transform: scale(1.2) translateY(20px); opacity: 1; }
}
@keyframes floatGlow2 {
  0% { transform: scale(1) translateY(0); opacity: 0.7; }
  100% { transform: scale(1.2) translateY(-20px); opacity: 1; }
}
.quote-section blockquote {
  position: relative;
  z-index: 1;
  font-size: 1.25rem;
  font-style: italic;
  color: #004d91;
  margin: 0 0 2rem 0;
  padding: 1.5rem 2rem 1.5rem 2.5rem;
  background: rgba(255,255,255,0.7);
  border-left: 6px solid #0064AE;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  animation: quotePulse 2.5s infinite alternate;
}
.quote-section cite {
  display: block;
  text-align: right;
  font-size: 1.1rem;
  color: #378100;
  margin-top: 0.5rem;
  font-style: normal;
  font-weight: bold;
  letter-spacing: 0.5px;
}
@keyframes quotePulse {
  0% { box-shadow: 0 2px 12px rgba(0,0,0,0.05); background: rgba(255,255,255,0.7); }
  100% { box-shadow: 0 8px 32px rgba(0,100,174,0.10); background: rgba(236,248,255,0.9); }
}

.intro p,
.brand-check p,
.work-showcase p,
.process p,
.cta-hero p,
.faq p {
  max-width: 700px;
  margin-bottom: 1.5rem;
}

/* === Hero Layout Adjustment === */
.hero-intro {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 3rem;
}

.hero-intro img {
  width: 450px;
  height: 450px;
  border-radius: 10%;
  object-fit: cover;
  animation: fadeSlideIn 1.2s ease forwards;
  opacity: 0;
}

.hero-intro-text {
  flex: 1;
  min-width: 300px;
}

/* === Work Showcase === */
.work-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  animation: fadeSlideIn 1.5s ease forwards;
}

.work-item {
  flex: 1 1 280px;
  background: white;
  border: 1px solid #eee;
  padding: 1rem;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.work-item:hover {
  transform: scale(1.03);
}

.work-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
  object-fit: cover;
}

.view-more {
  text-align: center;
  margin-top: 2rem;
}

.cta-button {
  background: var(--blue-primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: #004d91;
}

/* === FAQ === */
details {
  margin-bottom: 1.2rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 1rem;
}

summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--blue-primary);
}

/* === Services === */
.services {
  padding: 4rem 2rem;
  background-color: #fdfaf7;
  text-align: center;
}

.services h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.services p {
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.service-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin: 0.5rem 0;
  font-size: 1.5rem;
}

.service-card ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.service-card ul li {
  margin-bottom: 0.5rem;
  list-style: disc;
}

.cta-button.alt {
  background-color: #e3f4e9;
  color: #1a531b;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
}

/* === Branding Examples === */
.poor-branding,
.great-branding {
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #ddd;
}

.poor-branding {
  background-color: #ffe5e5;
}

.great-branding {
  background-color: #e5ffe9;
}

/* === Typed Heading Utility === */
.typed-heading {
  white-space: nowrap;
  overflow: visible;
  text-overflow: unset;
  max-width: none;
}

#typed {
  display: inline;
  white-space: nowrap;
}

/* === Mockup Gallery === */
.mockup-gallery {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

/* === Coming Soon === */
.coming-soon {
  opacity: 0.75;
  position: relative;
  pointer-events: none;
}

.coming-soon .coming-label {
  display: inline-block;
  background-color: #ffeaa7;
  color: #8d4b00;
  font-weight: bold;
  font-size: 0.85rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  margin-top: 1rem;
}

.coming-soon img {
  filter: grayscale(100%) blur(1px);
  opacity: 0.9;
}

/* === About Me Page === */
.about-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.about-section {
  margin-bottom: 4rem;
  animation: fadeSlideIn 1s ease forwards;
  animation-delay: 0.2s;
}

.about-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--blue-primary);
}

.about-section p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-portrait {
  max-width: 260px;
  width: 100%;
  border-radius: 12px;
  margin: 2rem 0;
  object-fit: cover;
}

/* Visual Gallery for Project Highlights */
.visual-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
.gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 1rem;
}
.gallery-item img {
  width: 100%;
  max-width: 320px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-bottom: 0.75rem;
}
.caption {
  font-size: 1rem;
  color: #555;
  text-align: center;
  margin-top: 0.25rem;
}

.portrait {
  max-width: 400px;
  width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.project-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.project-gallery img {
  width: 100%;
  max-width: 280px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.design-quote {
  font-style: italic;
  color: #555;
  font-size: 1.15rem;
  border-left: 4px solid #ccc;
  padding-left: 1.2rem;
  margin-top: 3rem;
  max-width: 700px;
}
