/* 
   Gabriel Christian Portfolio - Premium Dark Mode Cinematic
   Custom Styles
*/

:root {
  --primary: #ff6b35;
  --primary-hover: #ff8c5a;
  --accent: #00d9ff;
  --background: #000000;
  --card-bg: #0a0a0a;
  --text-main: #ffffff;
  --text-muted: #b0b0b0;
  --border-color: #1a1a1a;
}

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

body {
  background-color: var(--background);
  color: var(--text-main);
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* Sections */
.section-spacing {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .section-spacing { padding: 8rem 0; }
}

@media (min-width: 1024px) {
  .section-spacing { padding: 10rem 0; }
}

/* Typography */
.heading-xl {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .heading-xl { font-size: 3.75rem; }
}

@media (min-width: 1024px) {
  .heading-xl { font-size: 4.5rem; }
}

.heading-lg {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .heading-lg { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .heading-lg { font-size: 3.75rem; }
}

.subheading {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .subheading { font-size: 1.5rem; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(to right, #ff6b35, #ff8c5a);
  color: #000;
  box-shadow: 0 10px 15px -3px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
  background-color: var(--accent);
  color: #000;
}

.btn-secondary:hover {
  background-color: #00b8d9;
  transform: translateY(-2px) scale(1.05);
}

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

.btn-outline:hover {
  background: rgba(255, 107, 53, 0.1);
}

/* Cards */
.card-dark {
  background: linear-gradient(to bottom right, #111, #000);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.card-dark:hover {
  border-color: rgba(255, 107, 53, 0.5);
  box-shadow: 0 10px 30px -10px rgba(255, 107, 53, 0.2);
}

/* Before & After */
.before-after-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .before-after-container {
    grid-template-columns: 1fr 1fr;
  }
}

.before-box {
  padding: 2rem;
  border-radius: 0.5rem;
  border: 2px solid rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.05);
}

.after-box {
  padding: 2rem;
  border-radius: 0.5rem;
  border: 2px solid rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.05);
}

/* Utils */
.text-orange { color: var(--primary); }
.text-cyan { color: var(--accent); }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }

.bg-gradient-hero {
  background: radial-gradient(circle at top right, rgba(255, 107, 53, 0.15), transparent 40%),
              radial-gradient(circle at bottom left, rgba(0, 217, 255, 0.15), transparent 40%);
}

.sticky-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--border-color);
}

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

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

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Responsive Images */
.img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
}

.profile-img-wrapper {
  position: relative;
}

.profile-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(255, 107, 53, 0.3), rgba(0, 217, 255, 0.3));
  filter: blur(40px);
  border-radius: 1rem;
}

.rounded-2xl { border-radius: 1rem; }
