/* ========================================
   Agent Web Developer - Shared Styles
   Warm cream palette, Cormorant Garamond display, amber orange accent
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --cream: #FDF8F0;
  --cream-dark: #F5EDE0;
  --charcoal: #2C2C2C;
  --charcoal-light: #444444;
  --amber: #E8850C;
  --amber-light: #F5A623;
  --amber-dark: #C06D00;
  --white: #FFFFFF;
  --grey-light: #E8E4DE;
  --grey-text: #777777;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
}

a { text-decoration: none; color: inherit; transition: color 0.3s; }
a:hover { color: var(--amber); }

img { max-width: 100%; height: auto; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- NAVIGATION ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(253, 248, 240, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--grey-light);
  padding: 16px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
}

.nav-logo span { color: var(--amber); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--charcoal);
  transition: 0.3s;
}

/* ---- PAGE HEADER ---- */
.page-header {
  padding: 140px 0 80px;
  text-align: center;
  background: var(--cream);
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.page-header p {
  font-size: 1.15rem;
  color: var(--grey-text);
  max-width: 600px;
  margin: 0 auto;
}

/* ---- HERO (Home) ---- */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 span { color: var(--amber); }

.hero p {
  font-size: 1.2rem;
  color: var(--grey-text);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn-primary {
  background: var(--amber);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--amber-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 133, 12, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--charcoal);
  color: var(--charcoal);
}

.btn-outline:hover {
  background: var(--charcoal);
  color: var(--white);
}

/* ---- SERIOUS PROJECT CTA ---- */
.serious-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--charcoal);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 12px;
  transition: background 0.3s;
}

.serious-cta:hover {
  background: var(--charcoal-light);
  color: var(--white);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

/* ---- SECTIONS ---- */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--white);
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--grey-text);
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

/* ---- SERVICES PREVIEW (Home) ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.service-card {
  background: var(--white);
  padding: 36px;
  border-radius: 12px;
  border: 1px solid var(--grey-light);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.service-card .icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--grey-text);
  font-size: 0.95rem;
}

/* ---- PROCESS STEPS ---- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  counter-reset: step;
}

.process-step {
  text-align: center;
  counter-increment: step;
}

.process-step::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--amber);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 20px;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.process-step p {
  color: var(--grey-text);
  font-size: 0.9rem;
}

/* ---- TESTIMONIALS ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--grey-light);
}

.testimonial-card .stars {
  color: var(--amber);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.testimonial-card blockquote {
  font-style: italic;
  color: var(--charcoal-light);
  margin-bottom: 16px;
  line-height: 1.6;
}

.testimonial-card .author {
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-card .role {
  color: var(--grey-text);
  font-size: 0.85rem;
}

/* ---- SERVICES PAGE ---- */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.service-row:nth-child(even) {
  direction: rtl;
}

.service-row:nth-child(even) > * {
  direction: ltr;
}

.service-row .content h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.service-row .content p {
  color: var(--grey-text);
  margin-bottom: 16px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  color: var(--charcoal-light);
}

.feature-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 700;
}

.service-visual {
  background: var(--cream-dark);
  border-radius: 16px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

/* ---- ABOUT PAGE ---- */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.about-story .content h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 16px;
}

.about-story .content p {
  color: var(--grey-text);
  margin-bottom: 16px;
}

.about-photo {
  background: var(--cream-dark);
  border-radius: 16px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.value-card {
  text-align: center;
  padding: 32px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--grey-light);
}

.value-card .icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.value-card p {
  color: var(--grey-text);
  font-size: 0.9rem;
}

.availability-badge {
  text-align: center;
  margin-top: 48px;
  padding: 24px;
  background: var(--charcoal);
  color: var(--white);
  border-radius: 12px;
}

.availability-badge h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.availability-badge p {
  color: var(--grey-light);
  font-size: 0.9rem;
}

/* ---- PORTFOLIO ---- */
.filter-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--grey-light);
  border-radius: 50px;
  background: transparent;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.portfolio-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--grey-light);
  background: var(--white);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.portfolio-card .thumb {
  height: 220px;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.portfolio-card .info {
  padding: 24px;
}

.portfolio-card .info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.portfolio-card .info p {
  color: var(--grey-text);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.portfolio-card .tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.portfolio-card .tags span {
  padding: 4px 12px;
  background: var(--cream);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--charcoal-light);
}

/* ---- PRICING ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 64px;
}

.pricing-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid var(--grey-light);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.pricing-card.featured {
  border-color: var(--amber);
  position: relative;
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--white);
  padding: 4px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.pricing-card .price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 8px;
}

.pricing-card .price-note {
  color: var(--grey-text);
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.pricing-card ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--grey-light);
  font-size: 0.9rem;
  padding-left: 24px;
  position: relative;
}

.pricing-card ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 700;
}

/* ---- DECISION MAKER / ADVANCED OPTIONS ---- */
.decision-maker {
  background: var(--charcoal);
  color: var(--white);
  padding: 80px 0;
}

.decision-maker .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.decision-maker h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 16px;
  line-height: 1.2;
}

.decision-maker p {
  color: var(--grey-light);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.decision-maker .phone-number {
  color: var(--amber);
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 16px;
  display: block;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-category {
  margin-bottom: 16px;
}

.tech-category h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--amber);
  margin-bottom: 8px;
}

.tech-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255,255,255,0.1);
  border-radius: 50px;
  font-size: 0.8rem;
  margin: 3px;
  transition: background 0.3s;
}

.tech-tag:hover {
  background: var(--amber);
  color: var(--white);
}

/* ---- CONTACT PAGE ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--grey-light);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 16px;
  background: var(--white);
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--amber);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-methods {
  display: grid;
  gap: 24px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--grey-light);
}

.contact-method .icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-method h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.contact-method p {
  color: var(--grey-text);
  font-size: 0.9rem;
}

.contact-method a {
  color: var(--amber);
  font-weight: 500;
}

/* ---- CTA SECTION ---- */
.cta-section {
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--grey-light);
  max-width: 500px;
  margin: 0 auto 32px;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--charcoal);
  color: var(--grey-light);
  padding: 48px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand .logo span { color: var(--amber); }

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer ul { list-style: none; }

.footer ul li { margin-bottom: 8px; }

.footer ul a {
  color: var(--grey-light);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer ul a:hover { color: var(--amber); }

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--cream);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--grey-light);
  }
  .hero h1 { font-size: 2.4rem; }
  .page-header h1 { font-size: 2.2rem; }
  .service-row { grid-template-columns: 1fr; }
  .service-row:nth-child(even) { direction: ltr; }
  .about-story { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .decision-maker .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
}
