/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: #0ea5e9; /* Light Blue */
  --primary-dark: #0284c7;
  --secondary-color: #0f172a; /* Deep Navy / Almost Black */
  --accent-color: #38bdf8;
  --bg-color: #ffffff;
  --bg-light: #f8fafc;
  --text-main: #334155;
  --text-muted: #64748b;
  --white: #ffffff;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  
  --radius: 0.5rem;
  --radius-lg: 1rem;
  
  --transition: all 0.3s ease;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--secondary-color);
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

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

.section-padding {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

/* Utilities */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 14px 0 rgba(14, 165, 233, 0.39);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.23);
}

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

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

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.section-subtitle {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: block;
}

/* Header & Nav */
header {
  background-color: transparent;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  padding: 5px 0;
}

header:not(.scrolled) .logo img {
  filter: brightness(0) invert(1);
}

/* Top Bar */
.top-bar {
  background-color: var(--secondary-color);
  color: #cbd5e1;
  font-size: 0.9rem;
  padding: 8px 0;
  transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
  max-height: 50px;
  opacity: 1;
  overflow: hidden;
}

header.scrolled .top-bar {
  max-height: 0;
  padding: 0;
  opacity: 0;
}

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

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar a {
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar a:hover {
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  gap: 15px;
  border-right: 1px solid rgba(255,255,255,0.2);
  padding-right: 20px;
}

.btn-small {
  padding: 6px 15px;
  font-size: 0.8rem;
}

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

.logo img {
  height: 80px;
  border-radius: 4px;
}

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

.nav-links a {
  font-weight: 500;
  position: relative;
}

header:not(.scrolled) .nav-links a {
  color: var(--white);
}

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

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

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

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

header:not(.scrolled) .nav-links a:hover, header:not(.scrolled) .nav-links a.active {
  color: var(--accent-color);
}

/* Mobile Menu Button */
.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

header:not(.scrolled) .menu-btn {
  color: var(--white);
}

header.scrolled .menu-btn {
  color: var(--secondary-color);
}

/* Hero Section Slider */
.hero {
  position: relative;
  overflow: hidden;
  height: 100vh;
  min-height: 600px;
  background: #0f172a;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.hero #smokeCanvas {
  z-index: 5;
}

.slide .container {
  z-index: 10;
  position: relative;
}

.slider-controls {
  position: absolute;
  bottom: 50px;
  right: 50px;
  z-index: 15;
  display: flex;
  gap: 15px;
}

.slider-controls button {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.5);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-controls button:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: scale(1.1);
}

.hero-content {
  position: relative;
  z-index: 10;
  color: var(--white);
  max-width: 800px;
}

.hero h1 {
  font-size: 4rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero .btn-group {
  animation: fadeInUp 1s ease 0.4s both;
  display: flex;
  gap: 15px;
}

/* Services / Applications */
.services-section {
  background-color: var(--bg-light);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  group: hover;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

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

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-content {
  padding: 25px;
}

.service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.service-content p {
  color: var(--text-muted);
}

/* About Snippet / Features */
.features-section {
  display: flex;
  align-items: center;
  gap: 50px;
}

.features-content {
  flex: 1;
}

.features-image {
  flex: 1;
  position: relative;
}

.features-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

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

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.feature-icon {
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

/* Call to Action */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-section .btn {
  background: var(--white);
  color: var(--primary-color);
  margin-top: 20px;
}

.cta-section .btn:hover {
  background: var(--bg-light);
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about img {
  height: 50px;
  background: white;
  padding: 5px;
  border-radius: 4px;
  margin-bottom: 15px;
}

.footer-about p {
  color: #cbd5e1;
}

.footer-links h4, .footer-contact h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

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

.footer-links a {
  color: #cbd5e1;
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-contact p {
  color: #cbd5e1;
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.footer-contact i {
  color: var(--accent-color);
  margin-right: 10px;
  margin-top: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #94a3b8;
  font-size: 0.9rem;
}

/* Page Headers */
.page-header {
  background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('../assets/images/dry_ice_hero.jpg') center/cover no-repeat;
  padding: 150px 0 80px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-header .container {
  position: relative;
  z-index: 10;
}

#smokeCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.6;
  pointer-events: none;
}

.page-header h1 {
  color: var(--white);
  font-size: 3rem;
}

/* Contact Page specific */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-right: 20px;
  flex-shrink: 0;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

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

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

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

.map-container {
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 40px;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* About Page Specific */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text p {
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}


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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .features-section, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .features-image {
    order: -1;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .top-bar-left {
    display: none;
  }
  .top-bar-container {
    justify-content: flex-end;
  }
}

@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 100px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 100px);
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: var(--transition);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .top-bar {
    display: none;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero .btn-group {
    flex-direction: column;
  }
}

/* Floating Actions */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

/* Feature Cards (Why Choose Us) */
.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 20px;
}

.feature-card h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-color);
}

.float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: white;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
  text-decoration: none;
}

.float-btn:hover {
  transform: scale(1.1);
  color: white;
}

.float-whatsapp {
  background-color: #25d366;
}

.float-call {
  background-color: var(--primary-color);
}

@media (max-width: 768px) {
  .floating-actions {
    bottom: 20px;
    right: 20px;
  }
  .float-btn {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}
