:root {
  --bg-primary: #0A0A0B;
  --bg-secondary: rgba(255, 255, 255, 0.02);
  --bg-tertiary: rgba(255, 255, 255, 0.05);
  --text-primary: #ffffff;
  --text-secondary: #A1A1AA;
  --accent-primary: #10b981; /* sharp modern green */
  --accent-secondary: #f97316; /* vibrant orange */
  --border-color: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(10, 10, 11, 0.85);
  --glass-border: rgba(255, 255, 255, 0.08);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.05), 0 8px 10px -6px rgb(0 0 0 / 0.05);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 800;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

.text-gradient {
  color: var(--accent-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 8px; /* Sharper modern corners */
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent-primary);
  color: #ffffff !important;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: #166534;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: rgba(21, 128, 61, 0.05);
  transform: translateY(-2px);
}

.btn-glass {
  background: var(--bg-secondary);
  backdrop-filter: blur(10px);
  color: var(--accent-primary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

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

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 100;
  transition: var(--transition);
}

.site-header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--accent-secondary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav a:not(.btn) {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.main-nav a:not(.btn):hover {
  color: var(--accent-primary);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10rem 0 6rem 0;
  overflow: hidden;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 40%);
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
  text-align: center;
  margin: 0 auto;
}

.hero-content h1 {
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  color: var(--text-secondary);
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Portfolio Section */
.portfolio-section {
  padding: 8rem 0;
  position: relative;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-heading {
  margin-bottom: 4rem;
  text-align: center;
}

.portfolio-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.portfolio-card:hover {
  border-color: rgba(21, 128, 61, 0.3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.portfolio-image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  max-height: 400px;
}

.portfolio-image {
  width: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 3s ease;
}

.portfolio-card:hover .portfolio-image {
  transform: translateY(-10%);
}

.portfolio-overlay {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.portfolio-info h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.portfolio-info p {
  margin-bottom: 2rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tag {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Contact Section */
.contact-section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}

.glass-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(21, 128, 61, 0.1);
  color: var(--accent-primary);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  margin: 2rem 0;
  font-weight: 500;
  border: 1px solid rgba(21, 128, 61, 0.2);
}

.direct-email a {
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--accent-secondary);
  padding-bottom: 2px;
  transition: var(--transition);
}

.direct-email a:hover {
  color: var(--accent-secondary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  transition: var(--transition);
  box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.02);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.1);
}

.submit-btn {
  margin-top: 1rem;
  width: 100%;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  background: var(--bg-secondary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .portfolio-card,
  .glass-card {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .glass-card {
    padding: 2.5rem;
  }
}

@media (max-width: 768px) {
  .main-nav a:not(.btn) {
    display: none;
  }
  
  h1 {
    font-size: 2.5rem;
  }
}
