/* Vanilla CSS for CV GAMMA PRODUKSI ASAHAN */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@400;500;700&display=swap');

:root {
  --primary-color: #d32f2f; /* Red from the PDF logo/accents */
  --primary-dark: #b71c1c;
  --secondary-color: #1a1a2e; /* Dark modern blue/black */
  --accent-color: #e53935;
  --text-dark: #333333;
  --text-light: #f5f5f5;
  --bg-light: #fafafa;
  --bg-dark: #121212;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* --- Utilities --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 3rem;
  color: var(--secondary-color);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: var(--font-heading);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(211, 47, 47, 0.6);
  color: white;
}

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

.btn-outline:hover {
  background: var(--text-light);
  color: var(--secondary-color);
}

/* --- Header & Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  background: transparent;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

header.scrolled .logo {
  color: var(--primary-color);
}

header.scrolled .nav-links a {
  color: var(--text-dark);
}

header.scrolled .nav-links a:hover {
  color: var(--primary-color);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.logo span {
  font-weight: 300;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: white;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
}

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

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

/* --- Hero Section --- */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/hero.png');
  background-size: cover;
  background-position: center;
  z-index: -2;
  filter: brightness(0.7);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(211, 47, 47, 0.4) 100%);
  z-index: -1;
}

.hero-content {
  color: white;
  max-width: 800px;
  z-index: 1;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

.hero-content h1 span {
  color: var(--primary-color);
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  opacity: 0;
  animation: fadeInUp 1s ease 0.6s forwards;
}

/* --- Why Choose Us --- */
.why-choose {
  padding: 100px 0;
  background-color: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  padding: 40px 30px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  transition: var(--transition);
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-card:hover::before {
  height: 100%;
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon,
.feature-card:hover h3,
.feature-card:hover p {
  color: white;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  transition: var(--transition);
}

.feature-card p {
  color: #666;
  transition: var(--transition);
}

/* --- Specs Section --- */
.specs {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.specs-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.specs-image {
  flex: 1;
  min-width: 300px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.specs-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.specs-image:hover img {
  transform: scale(1.05);
}

.specs-content {
  flex: 1;
  min-width: 300px;
}

.specs-content h3 {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.specs-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.specs-list li i {
  color: var(--primary-color);
  margin-top: 5px;
}

/* --- Portfolio --- */
.portfolio {
  padding: 100px 0;
  background-color: white;
}

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

.portfolio-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  aspect-ratio: 16/9;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 46, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
  text-align: center;
  padding: 20px;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h4 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 10px;
  transform: translateY(20px);
  transition: var(--transition);
}

.portfolio-overlay p {
  color: var(--primary-color);
  font-weight: 500;
  transform: translateY(20px);
  transition: var(--transition);
  transition-delay: 0.1s;
}

.portfolio-item:hover .portfolio-overlay h4,
.portfolio-item:hover .portfolio-overlay p {
  transform: translateY(0);
}

/* --- CTA / Contact Section --- */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--secondary-color), #0a0a1a);
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.8;
}

.contact-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 50px;
}

.contact-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 40px 30px;
  border-radius: 20px;
  min-width: 300px;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.contact-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.contact-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* --- Footer --- */
footer {
  background-color: #050505;
  color: rgba(255,255,255,0.7);
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
}

footer p {
  font-size: 0.9rem;
}

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

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .nav-links {
    display: none; /* Mobile menu needed for real app, hidden for simplicity here */
  }
  .section-title {
    font-size: 2rem;
  }
}
