/* ============================================
   LANKAWEB - Web Design Agency
   Stylesheet
   ============================================ */

/* --- Material Symbols (Google Material Design Icons) --- */
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200");

/* Base icon styling — theme colours & size */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 48;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Filled icon variant for special uses */
.material-symbols-outlined.filled {
  font-variation-settings: 'FILL' 1, 'wght' 300, 'GRAD' 0, 'opsz' 48;
}

/* --- CSS Variables / Theme Colors --- */
:root {
  --black: #0a0a0a;
  --black-light: #111111;
  --black-lighter: #1a1a1a;
  --red: #e63946;
  --red-dark: #b71c1c;
  --orange: #f4a261;
  --orange-bright: #ff6b00;
  --yellow: #e9c46a;
  --yellow-bright: #ffd700;
  --white: #ffffff;
  --gray: #888888;
  --gray-light: #cccccc;
  --transition: 0.3s ease;
  --glow-orange: rgba(244, 162, 97, 0.4);
  --glow-red: rgba(230, 57, 70, 0.3);
  --glow-yellow: rgba(233, 196, 106, 0.3);
}

/* --- Reset & Base --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--black);
}
::-webkit-scrollbar-thumb {
  background: var(--orange);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--red);
}

/* --- Utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 3rem;
  max-width: 600px;
}

.accent-red { color: var(--red); }
.accent-orange { color: var(--orange); }
.accent-yellow { color: var(--yellow); }

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, var(--red), var(--orange), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: var(--white);
  border-color: transparent;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}

.btn-outline:hover {
  background: var(--orange);
  color: var(--black);
  transform: translateY(-2px);
}

/* --- Navigation / Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(244, 162, 97, 0.15);
  transition: all var(--transition);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.logo span {
  color: var(--orange);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow));
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--orange);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* --- Hero Section (Home) --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(230, 57, 70, 0.08), transparent 60%),
              radial-gradient(circle at 80% 20%, rgba(244, 162, 97, 0.06), transparent 50%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: fadeInUp 0.8s ease;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: rgba(230, 57, 70, 0.15);
  border: 1px solid rgba(230, 57, 70, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--orange);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--red), var(--orange), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--gray-light);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s ease;
}

.hero-image img {
  width: 100%;
  max-width: 550px;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(230, 57, 70, 0.25);
  border: 1px solid rgba(244, 162, 97, 0.2);
  transition: transform var(--transition), box-shadow var(--transition);
}

.hero-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 80px rgba(230, 57, 70, 0.35);
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--black-lighter);
  border-top: 1px solid rgba(244, 162, 97, 0.1);
  border-bottom: 1px solid rgba(244, 162, 97, 0.1);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item p {
  color: var(--gray);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.3rem;
}

/* --- Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--black-lighter);
  border: 1px solid rgba(244, 162, 97, 0.1);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--red), var(--orange), var(--yellow));
  transition: width var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(244, 162, 97, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
  width: 6px;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service-icon .material-symbols-outlined {
  font-size: 2.5rem;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;
  background: linear-gradient(135deg, var(--red), var(--orange), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--orange);
}

.service-card p {
  color: var(--gray-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(244, 162, 97, 0.15);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.about-text p {
  color: var(--gray-light);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.value-item .marker {
  color: var(--yellow);
  font-size: 1.2rem;
  line-height: 1;
  margin-top: 2px;
}

.value-item span {
  color: var(--gray-light);
  font-size: 0.95rem;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), rgba(244, 162, 97, 0.08));
  border-top: 1px solid rgba(244, 162, 97, 0.15);
  border-bottom: 1px solid rgba(244, 162, 97, 0.15);
  text-align: center;
  padding: 5rem 0;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--gray-light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.contact-info > p {
  color: var(--gray-light);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--black-lighter);
  border: 1px solid rgba(244, 162, 97, 0.1);
  border-radius: 8px;
  transition: all var(--transition);
}

.contact-item:hover {
  border-color: var(--orange);
  transform: translateX(5px);
}

.contact-item .icon {
  font-size: 1.5rem;
  min-width: 40px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-item .icon .material-symbols-outlined {
  font-size: 1.6rem;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-item .label {
  font-size: 0.8rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-item .value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}

.contact-item .value a {
  color: var(--orange);
}

.contact-item .value a:hover {
  color: var(--yellow);
}

/* WhatsApp Button */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.5rem;
  background: #25d366;
  color: var(--white);
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.whatsapp-btn .material-symbols-outlined {
  font-size: 1.4rem;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: var(--white);
  background-clip: unset;
  color: var(--white);
}

.whatsapp-btn:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* --- Page Header (inner pages) --- */
.page-header {
  padding: 10rem 0 4rem;
  text-align: center;
  background: radial-gradient(circle at 50% 50%, rgba(230, 57, 70, 0.06), transparent 70%);
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.page-header p {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* --- Services Page --- */
.services-page .service-card-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem;
  background: var(--black-lighter);
  border: 1px solid rgba(244, 162, 97, 0.1);
  border-radius: 12px;
  margin-bottom: 2rem;
  transition: all var(--transition);
}

.services-page .service-card-full:hover {
  border-color: rgba(244, 162, 97, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.services-page .service-card-full:nth-child(even) {
  direction: rtl;
  text-align: left;
}

.services-page .service-card-full:nth-child(even) .service-text {
  direction: ltr;
}

.service-card-full .service-icon-large {
  font-size: 4rem;
  text-align: center;
}

.service-card-full .service-icon-large .icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(244, 162, 97, 0.08);
  border: 2px solid rgba(244, 162, 97, 0.2);
  font-size: 3rem;
}

.service-card-full .service-icon-large .icon-circle .material-symbols-outlined {
  font-size: 3.2rem;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;
  background: linear-gradient(135deg, var(--red), var(--orange), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-card-full h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--orange);
}

.service-card-full p {
  color: var(--gray-light);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* --- Footer --- */
.footer {
  background: var(--black-lighter);
  border-top: 1px solid rgba(244, 162, 97, 0.1);
  padding: 3rem 0;
  margin-top: 3rem;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer p {
  color: var(--gray);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--gray);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links a:hover {
  color: var(--orange);
}

/* ============================================
   SCROLL-BASED GLOW / LIGHT-UP ANIMATIONS
   ============================================ */

/* Base state — dimmed / no glow */
.glow-element {
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0.6;
  filter: brightness(0.7) saturate(0.5);
  transform: scale(0.95);
}

/* Active state — fully lit up when scrolled to center */
.glow-active {
  opacity: 1;
  filter: brightness(1.1) saturate(1.1);
  transform: scale(1);
}

/* Glow shadow variants for different element types */

/* Cards / boxes */
.glow-active.glow-card {
  box-shadow:
    0 0 20px var(--glow-orange),
    0 0 40px var(--glow-red),
    0 0 60px rgba(244, 162, 97, 0.15);
  border-color: rgba(244, 162, 97, 0.4) !important;
}

/* Text headings */
.glow-active.glow-text {
  text-shadow:
    0 0 20px var(--glow-orange),
    0 0 40px var(--glow-red);
}

/* Icon glow */
.glow-active.glow-icon {
  filter: brightness(1.3) saturate(1.3) drop-shadow(0 0 12px var(--glow-orange));
  transform: scale(1.1);
}

/* Stat numbers */
.glow-active.glow-stat {
  text-shadow:
    0 0 15px var(--glow-yellow),
    0 0 30px var(--glow-orange);
}

/* Service icon circles */
.glow-active.glow-circle {
  box-shadow:
    0 0 20px var(--glow-orange),
    0 0 40px var(--glow-red),
    inset 0 0 20px rgba(244, 162, 97, 0.1);
  border-color: rgba(244, 162, 97, 0.5) !important;
  background: rgba(244, 162, 97, 0.15);
}

/* Hero image glow */
.glow-active.glow-image {
  box-shadow:
    0 0 30px var(--glow-orange),
    0 0 60px var(--glow-red),
    0 20px 60px rgba(230, 57, 70, 0.3) !important;
}

/* CTA section glow */
.glow-active.glow-cta {
  box-shadow:
    0 0 40px rgba(230, 57, 70, 0.15),
    0 0 80px rgba(244, 162, 97, 0.1);
}

/* Stat items */
.glow-active.glow-stat-item {
  background: rgba(244, 162, 97, 0.05);
  border-radius: 8px;
  padding: 0.5rem;
  transform: scale(1.02);
}

/* Contact item glow */
.glow-active.glow-contact {
  border-color: rgba(244, 162, 97, 0.4) !important;
  box-shadow:
    0 0 15px var(--glow-orange),
    0 0 30px rgba(230, 57, 70, 0.15);
  background: rgba(244, 162, 97, 0.05);
}

/* Page header glow */
.glow-active.glow-header-text {
  text-shadow:
    0 0 30px var(--glow-orange),
    0 0 60px var(--glow-red);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .hero .container {
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    max-width: 400px;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-page .service-card-full {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .services-page .service-card-full:nth-child(even) {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 320px;
    height: 100vh;
    background: var(--black-lighter);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transition: right var(--transition);
    border-left: 1px solid rgba(244, 162, 97, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .page-header h1 {
    font-size: 2.2rem;
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}