/* DermodyAI Design System */
/* Dark Blue Gradient + Gold Accents */

:root {
  --navy-dark: #0a1628;
  --navy-mid: #0f2847;
  --navy-light: #1a3a5c;
  --gold: #d4af37;
  --gold-light: #e8c564;
  --white: #ffffff;
  --white-muted: #c8d4e3;
  --gray: #8899aa;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 50%, var(--navy-dark) 100%);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
}

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

/* Typography */
h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 12px;
}

p {
  color: var(--white-muted);
  font-size: 1.05rem;
}

.gold {
  color: var(--gold);
}

/* Header / Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  height: 60px;
  width: auto;
  max-width: 200px;
}

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

.nav-links a {
  color: var(--white-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-cta {
  background: var(--gold);
  color: var(--navy-dark);
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero-logo {
  max-width: 450px;
  width: 90%;
  margin-bottom: 30px;
}

.hero h1 {
  max-width: 800px;
}

.hero p {
  max-width: 600px;
  font-size: 1.15rem;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.3);
  text-decoration: none;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}

.btn-secondary:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
}

/* Sections */
.section {
  padding: 80px 24px;
}

.section-dark {
  background: rgba(0,0,0,0.2);
  padding: 80px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 32px;
  transition: transform 0.2s, border-color 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.service-card h3 {
  color: var(--gold);
}

.service-card .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin: 16px 0;
}

.service-card ul {
  list-style: none;
  margin: 20px 0;
}

.service-card li {
  color: var(--white-muted);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.service-card li:last-child {
  border-bottom: none;
}

/* Portfolio Section */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.portfolio-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.portfolio-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.portfolio-placeholder {
  height: 200px;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.9rem;
}

.portfolio-item-content {
  padding: 20px;
}

.portfolio-item h4 {
  color: var(--white);
  margin-bottom: 8px;
}

.portfolio-item p {
  font-size: 0.9rem;
}

/* Why Me Section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.why-card {
  text-align: center;
  padding: 24px;
}

.why-card h3 {
  color: var(--white);
  margin-bottom: 12px;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-placeholder {
  height: 400px;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-light) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 30px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--white-muted);
}

.contact-form {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--white);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  color: var(--white);
  font-size: 1rem;
  font-family: inherit;
}

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

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 14px 32px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.form-submit:hover {
  background: var(--gold-light);
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 80px 24px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background: rgba(0,0,0,0.3);
  padding: 50px 24px 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-brand img {
  height: 50px;
  max-width: 180px;
  margin-bottom: 12px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
}

.footer-links h4 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--white-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--gray);
  font-size: 0.85rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-logo {
    height: 45px;
    max-width: 150px;
  }
  
  .hero-logo {
    max-width: 320px;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .nav-cta {
    display: none;
  }
  
  .hero {
    padding: 100px 20px 60px;
    min-height: auto;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}
