@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
    --white: #FFFFFF;
    --off-white: #F8FAFB;
    --navy-50: #F0F4F8;
    --navy-100: #D9E2EC;
    --navy-200: #BCCCDC;
    --navy-400: #829AB1;
    --navy-500: #627D98;
    --navy-600: #486581;
    --navy-700: #334E68;
    --navy-800: #243B53;
    --navy-900: #102A43;
    --ocean-300: #4FD1C7;
    --ocean-400: #38B2AC;
    --ocean-500: #319795;
    --ocean-600: #2C7A7B;
    --gold-300: #FCD34D;
    --gold-400: #FBBF24;
    --gold-500: #F59E0B;
    --gold-600: #D97706;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-ocean: 0 10px 30px -5px rgba(56, 178, 172, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--navy-700), var(--ocean-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--navy-600);
}

.nav-links a:hover::after {
    width: 100%;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56, 178, 172, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.05); }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fix headshot shadow to ocean theme */
.headshot {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 32px;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-xl), var(--shadow-ocean);
    transition: transform 0.3s ease;
}

.headshot:hover {
    transform: scale(1.05);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 22px;
    color: var(--navy-100);
    margin-bottom: 40px;
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), 0 15px 35px -5px rgba(56, 178, 172, 0.3);
}

.cta-button:hover::before {
    left: 100%;
}

.section {
    padding: 100px 0;
}

.section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 64px;
    color: var(--gray-900);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--ocean-500), var(--gold-500));
    border-radius: 2px;
}

.about {
    background: var(--white);
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray-700);
    text-align: center;
}

.about-text strong {
    color: var(--navy-700);
    font-weight: 600;
}

.projects {
    background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.project-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-600), var(--gold-500));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--navy-100);
}

.project-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.project-card p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tech-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--navy-50);
    color: var(--navy-700);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--navy-100);
}

.project-link {
    color: var(--ocean-500);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: var(--gold-600);
    transform: translateX(4px);
}

.contact {
    background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.contact h2 {
    color: var(--white);
}

.contact h2::after {
    background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
}

.contact-intro {
    text-align: center;
    font-size: 18px;
    color: var(--navy-100);
    margin-bottom: 48px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto 48px;
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--navy-100);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-400);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.submit-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), 0 15px 35px -5px rgba(245, 158, 11, 0.4);
}

.submit-button:active {
    transform: translateY(0);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--gold-500);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
    border-color: var(--gold-500);
}

.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 32px 0;
    text-align: center;
}

.footer p {
    font-size: 14px;
}

@media (max-width: 768px) {
    .nav-links {
        gap: 24px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .subtitle {
        font-size: 18px;
    }

    .section {
        padding: 64px 0;
    }

    .section h2 {
        font-size: 32px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .cta-button {
        padding: 14px 36px;
    }
}

/* Update CTA button colors to ocean/navy */
.cta-button {
  background: linear-gradient(135deg, var(--ocean-500), var(--navy-700));
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl), 0 15px 35px -5px rgba(56, 178, 172, 0.3);
}

.cta-button:hover::before {
  left: 100%;
}

.section {
  padding: 100px 0;
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 64px;
  color: var(--gray-900);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--ocean-500), var(--gold-500));
  border-radius: 2px;
}

.about {
  background: var(--white);
}

.about-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.8;
  color: var(--gray-700);
  text-align: center;
}

.about-text strong {
  color: var(--blue-700);
  font-weight: 600;
}

.projects {
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.project-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-600), var(--gold-500));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--blue-100);
}

.project-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.project-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 24px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tech-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--blue-50);
  color: var(--blue-700);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--blue-100);
}

.project-link {
  color: var(--blue-600);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.project-link:hover {
  color: var(--gold-600);
  transform: translateX(4px);
}

.contact {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.contact h2 {
  color: var(--white);
}

.contact h2::after {
  background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
}

.contact-intro {
  text-align: center;
  font-size: 18px;
  color: var(--blue-100);
  margin-bottom: 48px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto 48px;
  position: relative;
  z-index: 1;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--navy-100);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-400);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.submit-button {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl), 0 15px 35px -5px rgba(245, 158, 11, 0.4);
}

.submit-button:active {
  transform: translateY(0);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.social-link {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
  background: var(--gold-500);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
  border-color: var(--gold-500);
}

.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 32px 0;
  text-align: center;
}

.footer p {
  font-size: 14px;
}

@media (max-width: 768px) {
  .nav-links {
    gap: 24px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .subtitle {
    font-size: 18px;
  }

  .section {
    padding: 64px 0;
  }

  .section h2 {
    font-size: 32px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .cta-button {
    padding: 14px 36px;
  }
}
