/* ===========================
   Circona - Main Stylesheet
   =========================== */

/* CSS Custom Properties */
:root {
  --primary: #ff5c17;
  --primary-hover: #f25005;
  --white: #ffffff;
  --light-gray: #f3f3f3;
  --dark: #333333;
  --font-main: 'Arial', sans-serif;
  --header-height: 70px;
  --transition: 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: inherit;
}

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

ul {
  list-style: none;
}

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

/* ===========================
   Header & Navigation
   =========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--white);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  transition: opacity var(--transition);
}

.nav-link:hover {
  opacity: 0.7;
}

.btn {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

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

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

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--header-height);
  overflow: hidden;
  background: var(--white);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-background-text {
  font-size: clamp(60px, 15vw, 200px);
  font-weight: 700;
  color: var(--light-gray);
  line-height: 0.8;
  position: absolute;
  top: 100px;
  left: -20px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-tagline {
  font-size: clamp(14px, 2vw, 34px);
  color: var(--light-gray);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-title {
  font-size: clamp(24px, 5vw, 60px);
  color: var(--primary);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(14px, 1.5vw, 18px);
  color: var(--primary);
  max-width: 400px;
  line-height: 1.5;
}

/* Decorative Elements */
.decorative-svg {
  position: absolute;
  z-index: 1;
  opacity: 0.8;
}

.decorative-svg.top-left {
  top: 30%;
  left: 20px;
  width: 100px;
  height: auto;
}

@media (max-width: 768px) {
  .decorative-svg.top-left {
    width: 60px;
    left: 10px;
    top: 25%;
    opacity: 0.5;
  }
}

@media (max-width: 480px) {
  .decorative-svg.top-left {
    display: none;
  }
}

.decorative-svg.top-right {
  top: 40%;
  right: 15%;
}

.decorative-svg.bottom-left {
  bottom: 20%;
  left: 5%;
}

/* Hero to About Transition SVG */
.hero-about-transition {
  position: relative;
  height: 0;
  overflow: visible;
}

.decorative-svg.transition-svg {
  position: absolute;
  right: 10%;
  top: -60px;
  width: 120px;
  height: auto;
  z-index: 10;
}

@media (max-width: 768px) {
  .decorative-svg.transition-svg {
    right: 5%;
    top: -40px;
    width: 80px;
  }
}

@media (max-width: 480px) {
  .decorative-svg.transition-svg {
    display: none;
  }
}

/* Orange Top Bar */
.top-bar {
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  height: 5px;
  background: var(--primary);
}

/* ===========================
   Section Styles
   =========================== */
section {
  padding: 80px 0;
}

.section-title {
  font-size: clamp(32px, 5vw, 70px);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 30px;
}

.section-title-underline {
  width: 100px;
  height: 8px;
  background: var(--primary);
  margin-bottom: 30px;
}

/* ===========================
   About / Tech Section
   =========================== */
.about {
  background: var(--white);
  position: relative;
  padding-top: 0;
  margin-top: -40px;
}

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

.about-text h3 {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 15px;
  line-height: 1.7;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 10px;
  width: 100%;
}

/* ===========================
   Statistics Section
   =========================== */
.stats {
  background: var(--white);
  padding: 60px 0;
}

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

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-number {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 15px;
}

.stat-description {
  font-size: 14px;
  color: var(--dark);
  line-height: 1.5;
}

/* ===========================
   Benefits Section
   =========================== */
.benefits {
  background: var(--light-gray);
  padding: 80px 0;
}

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

.benefit-card {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.benefit-card h3 {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 15px;
}

.benefit-card p {
  font-size: 14px;
  color: var(--dark);
  line-height: 1.7;
}

/* ===========================
   How It Works Section
   =========================== */
.how-it-works {
  background: var(--white);
  padding: 80px 0;
}

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

.step-card {
  background: var(--light-gray);
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.step-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
  line-height: 1;
}

.step-card h3 {
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 15px;
}

.step-card p {
  font-size: 14px;
  color: var(--dark);
  line-height: 1.7;
  opacity: 0.8;
}

/* ===========================
   Projects Section
   =========================== */
.projects {
  background: var(--white);
  padding: 80px 0 120px;
  position: relative;
  overflow: hidden;
}

.projects-background-text {
  position: absolute;
  font-size: clamp(300px, 40vw, 500px);
  font-weight: 700;
  color: var(--light-gray);
  opacity: 0.5;
  line-height: 0.8;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}

.projects-subtitle {
  font-size: clamp(14px, 1.5vw, 18px);
  color: var(--primary);
  max-width: 500px;
  line-height: 1.5;
  margin-bottom: 40px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.project-card {
  display: block;
  transition: transform var(--transition), opacity var(--transition), filter var(--transition);
}

.project-card:hover {
  filter: brightness(1.1);
  opacity: 0.9;
}

.project-card img {
  width: 100%;
  height: auto;
  display: block;
}

.projects-tagline-section {
  background: var(--white);
  padding: 20px 0;
  text-align: center;
}

.projects-tagline {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

/* ===========================
   Gallery Section
   =========================== */
.gallery {
  background: var(--white);
  padding: 80px 0;
}

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

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

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

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

.projects .container {
  position: relative;
  z-index: 1;
}

/* ===========================
   Contact CTA Section
   =========================== */
.contact-cta {
  background: var(--primary);
  padding: 100px 0;
  text-align: center;
}

.contact-cta h2 {
  font-size: clamp(28px, 5vw, 50px);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.2;
}

.contact-cta .btn {
  background: var(--white);
  color: var(--primary);
  padding: 15px 40px;
  font-size: 14px;
}

.contact-cta .btn:hover {
  background: var(--light-gray);
}

/* ===========================
   Footer
   =========================== */
.footer {
  background: var(--white);
  padding: 40px 0;
  border-top: 1px solid var(--light-gray);
}

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

.footer-logo img {
  height: 30px;
}

.footer-locations {
  font-size: clamp(14px, 1.5vw, 18px);
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 1px;
  margin: 0;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-gray);
  border-radius: 50%;
  transition: background var(--transition);
}

.social-links a:hover {
  background: var(--primary);
}

.social-links a:hover svg {
  fill: var(--white);
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: var(--primary);
}

.footer-text {
  font-size: 12px;
  color: var(--dark);
  opacity: 0.7;
}

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

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

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transform: translateX(100%);
    transition: transform var(--transition);
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 18px;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-background-text {
    font-size: 60px;
    top: 80px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

}

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

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .footer .container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .benefit-card {
    padding: 25px;
  }

  .step-card {
    padding: 30px 20px;
  }
}
