@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@400;500;600;700&display=swap');

:root {
  --primary: #EA4235;
  --primary-dark: #d33629;
  --dark: #0a0a0a;
  --dark-secondary: #1a1a1a;
  --dark-tertiary: #2a2a2a;
  --light: #ffffff;
  --gray: #666666;
  --gray-light: #999999;
  --border: #333333;
  --shadow: rgba(0, 0, 0, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Urbanist', sans-serif;
  background: var(--dark);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
}

/* ========== SPLASH SCREEN ========== */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #000000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.splash-screen.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-loader {
  width: 60px;
  height: 60px;
  border: 4px solid #333;
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: splash-spin 1s linear infinite;
  margin-bottom: 50px;
}

@keyframes splash-spin {
  to { transform: rotate(360deg); }
}

.splash-content {
  display: flex;
  align-items: center;
  font-size: clamp(2rem, 8vw, 4rem);
  font-family: 'Urbanist', sans-serif;
  font-weight: 800;
}

.static-text {
  color: #888;
}

.rolling-window {
  height: 1.2em;
  overflow: hidden;
  margin-left: 20px;
}

#roll-list {
  list-style: none;
  padding: 0;
  margin: 0;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

#roll-list li {
  height: 1.2em;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.red-text {
  color: #ff0000;
  font-weight: 900;
}

/* ========== HEADER / NAVIGATION ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background: transparent;
}

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

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

.logo img {
  width: 80px;
  height: auto;
}

.nav-menu {
  display: flex;
  gap: 40px;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding: 5px 0;
}

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

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a:hover {
  color: var(--primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--light);
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 992px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: right 0.4s ease;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    font-size: 24px;
  }
}

/* ========== HERO / SLIDER ========== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 100%;
  width: 100%;
  white-space: nowrap;
}

.hero-content h1 {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  white-space: nowrap;
  display: inline;
}

#hero-typing {
  color: var(--primary);
  font-family: 'Urbanist', sans-serif;
  font-weight: 800;
  white-space: nowrap;
  display: inline;
}

.hero-cursor {
  color: var(--primary);
  font-family: 'Urbanist', sans-serif;
  font-weight: 800;
  animation: hero-blink 0.7s infinite;
  display: inline;
}

@keyframes hero-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-content p {
  font-size: clamp(16px, 2vw, 22px);
  color: var(--gray-light);
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: var(--primary);
  color: var(--light);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  border: 2px solid var(--primary);
}

.hero-btn:hover {
  background: transparent;
  color: var(--primary);
}

.hero-btn i {
  transition: transform 0.3s ease;
}

.hero-btn:hover i {
  transform: translateX(5px);
}

.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .hero {
    min-height: 500px;
  }
}

/* ========== ABOUT SECTION ========== */
.about {
  background: var(--dark-secondary);
  border-radius: 24px;
  margin: 30px;
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-content h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.2;
}

.about-content h2 span {
  color: var(--primary);
}

.about-content h3 {
  font-size: 20px;
  color: var(--primary);
  margin: 30px 0 15px;
  font-weight: 600;
}

.about-content p {
  color: var(--gray-light);
  font-size: 16px;
  line-height: 1.8;
}

.about-list {
  margin-top: 20px;
}

.about-list li {
  color: var(--gray-light);
  font-size: 16px;
  line-height: 2.2;
  padding-left: 30px;
  position: relative;
}

.about-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.specialties-list li::before {
  content: '→';
}

.services-box {
  background: var(--dark-tertiary);
  padding: 40px;
  border-radius: 16px;
  margin-top: 40px;
}

.services-box h3 {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 25px;
}

.services-box ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.services-box li {
  color: var(--gray-light);
  font-size: 15px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.services-box li:hover {
  color: var(--primary);
  padding-left: 10px;
}

@media (max-width: 992px) {
  .about {
    margin: 20px;
    padding: 60px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-box ul {
    grid-template-columns: 1fr;
  }
}

/* ========== PORTFOLIO SECTION ========== */
.portfolio {
  padding: 80px 0;
}

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

.section-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 15px;
}

.section-header p {
  color: var(--gray-light);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 4/3;
  cursor: pointer;
}

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

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.portfolio-overlay h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 5px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.portfolio-overlay p {
  color: var(--gray-light);
  font-size: 14px;
  transform: translateY(20px);
  transition: transform 0.3s ease 0.1s;
}

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

@media (max-width: 992px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== PROCESS SECTION ========== */
.process {
  background: var(--dark-secondary);
  border-radius: 24px;
  margin: 0 30px;
  padding: 80px 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.process-item {
  text-align: center;
  padding: 40px 20px;
  background: var(--dark-tertiary);
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.process-item:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--light);
  font-size: 24px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.process-item h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.process-item p {
  color: var(--gray-light);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 992px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== CTA SECTION ========== */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
  padding: 100px 0;
  border-radius: 24px;
  margin: 30px;
}

.cta h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 20px;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 40px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: var(--light);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
}

.cta-btn:hover {
  background: var(--dark);
  color: var(--light);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--primary);
  padding: 60px 0 30px;
  border-radius: 24px 24px 0 0;
  margin: 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.7;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

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

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--light);
  padding-left: 5px;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-contact a {
  color: var(--light);
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--light);
  color: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.footer-bottom a {
  color: var(--light);
  font-weight: 600;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer {
    margin: 0 15px;
    border-radius: 24px 24px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

/* ========== CONTACT PAGE ========== */
.contact-page {
  padding-top: 120px;
  min-height: 100vh;
}

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

.contact-info h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--gray-light);
  margin-bottom: 40px;
  font-size: 16px;
}

.contact-details {
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;
}

.contact-item i {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-item p {
  color: var(--gray-light);
  margin: 0;
  font-size: 14px;
}

.contact-form {
  background: var(--dark-secondary);
  padding: 50px;
  border-radius: 24px;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  background: var(--dark-tertiary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--light);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

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

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

.form-btn {
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: var(--light);
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.whatsapp-btn {
  margin-top: 15px;
  background: #25D366;
}

.whatsapp-btn:hover {
  background: #1da851;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 30px;
  }
}

/* ========== UTILITY CLASSES ========== */
.text-primary { color: var(--primary); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 40px; }

/* Animation on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background: #1da851;
  transform: scale(1.1);
  color: white;
}
