/* ===========================================
   css/style.css
   Oucho Refrigeration Ltd — Airwave-inspired theme
   Updated Theme: Gray + Sky Blue + Orange Accent
   =========================================== */

/* Reset */
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color:#333; background:#fff; line-height:1.6; }

/* Variables */
:root{
  --primary-blue: #374151;        /* Replaced dark navy with cool gray */
  --accent-blue: #38bdf8;         /* Sky blue accent */
  --light-gray: #f3f4f6;          /* Softer background tone */
  --text-dark: #1e293b;
  --text-light: #ffffff;
  --accent-orange: #f97316;       /* Orange highlight accent */
  --success: #25d366;
  --transition: all 0.35s cubic-bezier(.25,.8,.25,1);
  --max-width: 1200px;
}

/* Container */
.container { width:90%; max-width:var(--max-width); margin:0 auto; }

/* Reusable */
.section { padding:80px 0; }
.center { text-align:center; }
.btn { display:inline-block; background:var(--accent-orange); color:#fff; padding:12px 22px; border-radius:6px; font-weight:600; transition:var(--transition); }
.btn:hover { transform:translateY(-3px); background:#ea580c; }
.btn-outline { background:transparent; border:2px solid var(--accent-orange); color:var(--accent-orange); padding:10px 20px; border-radius:6px; }
.link { color:var(--accent-blue); font-weight:600; }

/* NAVBAR */
.navbar { background:var(--primary-blue); color:var(--text-light); position:fixed; top:0; left:0; right:0; z-index:999; padding:12px 0; }
.nav-container { display:flex; align-items:center; gap:18px; justify-content:space-between; }
.logo img { height:44px; display:block; }
.nav-links ul { display:flex; gap:22px; list-style:none; }
.nav-links a { color:var(--text-light); font-weight:600; padding:6px 0; }
.nav-links a:hover, .nav-links a.active { color:var(--accent-blue); }
.quote-btn { background:var(--accent-orange); color:#fff; padding:10px 16px; border-radius:4px; font-weight:700; }

/* Mobile nav toggle */
.nav-toggle { display:none; background:transparent; border:0; color:#fff; font-size:22px; cursor:pointer; }

/* HERO SLIDER */
.hero-slider { position:relative; height:100vh; overflow:hidden; display:block; margin-top:64px; }
.hero-slides { height:100%; position:relative; }
.hero-slide { position:absolute; inset:0; background-size:cover; background-position:center; opacity:0; transform:scale(1.02); transition:opacity .8s ease, transform .8s ease; display:flex; align-items:center; justify-content:center; }
.hero-slide.active { opacity:1; transform:scale(1); z-index:1; }
.hero-slide .overlay { position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.55) 100%); }
.hero-inner { position:relative; color:#fff; z-index:2; text-align:center; max-width:1000px; padding:0 20px; }
.hero-inner h1 { font-size:3rem; line-height:1.05; margin-bottom:12px; }
.hero-inner p { font-size:1.15rem; margin-bottom:18px; color:rgba(255,255,255,0.92); }

/* Hero controls */
.hero-arrow { position:absolute; top:50%; transform:translateY(-50%); background:rgba(0,0,0,0.4); color:#fff; border:0; padding:10px 14px; cursor:pointer; border-radius:4px; font-size:20px; z-index:5; transition:var(--transition); }
.hero-arrow:hover { background:rgba(0,0,0,0.6); }
.hero-arrow.prev { left:20px; }
.hero-arrow.next { right:20px; }
.hero-dots { position:absolute; bottom:22px; left:50%; transform:translateX(-50%); display:flex; gap:8px; z-index:5; }
.hero-dots button { width:12px; height:12px; border-radius:50%; border:0; background:rgba(255,255,255,0.5); cursor:pointer; }
.hero-dots button.active { background:var(--accent-blue); }

/* Intro */
.intro { background:#fff; padding:70px 0; }
.intro-grid { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; }
.intro-image img { width:100%; border-radius:8px; box-shadow:0 8px 30px rgba(0,0,0,0.08); }

/* Services grid */
.service-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:20px; margin-top:28px; }
.service-card { background:#fff; border-radius:8px; box-shadow:0 10px 30px rgba(0,0,0,0.06); overflow:hidden; transition:var(--transition); }
.service-card:hover { transform:translateY(-6px); }
.service-card .media img { width:100%; height:360px; object-fit:cover; }
.card-body { padding:18px; }

/* Why choose */
.why-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:24px; }
.why-item { background:#fff; padding:18px; border-radius:8px; text-align:center; box-shadow:0 6px 20px rgba(0,0,0,0.05); }

/* Projects preview */
.project-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:20px; }
.project-card { background:#fff; border-radius:8px; overflow:hidden; box-shadow:0 8px 24px rgba(0,0,0,0.08); transition:var(--transition); }
.project-card img { width:100%; height:190px; object-fit:cover; }
.project-meta { padding:14px; }

/* Sections used elsewhere */
.section-subtitle { color:#666; max-width:820px; margin:10px auto 0; }

/* SERVICES / DETAILED LAYOUT (service-section) */
.service-section { padding:60px 0; }
.service-grid { display:grid; grid-template-columns:1fr 1fr; gap:36px; align-items:center; }
.service-image img { width:100%; border-radius:8px; box-shadow:0 8px 28px rgba(0,0,0,0.08); }

/* Process / certifications */
.process-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:24px; }
.process-step { background:#fff; padding:18px; border-radius:8px; box-shadow:0 6px 20px rgba(0,0,0,0.05); text-align:left; }

/* Projects grid */
.projects-grid .grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(280px,1fr)); gap:24px; margin-top:28px; }

/* Contact grid */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:36px; align-items:start; }
.contact-form input, .contact-form textarea { width:100%; padding:10px; border-radius:6px; border:1px solid #ddd; }
.whatsapp-btn { display:inline-flex; align-items:center; gap:10px; background:var(--success); color:#fff; padding:10px 14px; border-radius:30px; font-weight:700; }
.whatsapp-btn img { width:20px; }

/* CTA */
.cta { background:var(--primary-blue); color:#fff; padding:48px 0; text-align:center; }
.cta .btn { background:var(--accent-orange); }

/* FOOTER */
.footer { background:var(--primary-blue); color:#fff; padding:48px 0 24px; } 
.footer-flex { display:grid; grid-template-columns:repeat(3, 1fr); gap:20px; }

/* Reveal animations (fade-up) */
.fade-up { opacity:0; transform:translateY(12px); transition:opacity .6s ease, transform .6s ease; }
.fade-up.delay-1 { transition-delay:0.12s; }
.fade-up.delay-2 { transition-delay:0.24s; }
.fade-up.delay-3 { transition-delay:0.36s; }
.fade-up.delay-4 { transition-delay:0.48s; }
.appear { opacity:1; transform:translateY(0); }

/* Utility */
img { display:block; max-width:100%; }

/* Responsive */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns:repeat(2,1fr); }
  .why-grid { grid-template-columns:repeat(2,1fr); }
  .intro-grid { grid-template-columns:1fr; }
  .project-grid { grid-template-columns:repeat(2,1fr); }
  .nav-links ul { gap:14px; }
}

@media (max-width: 768px) {
  .nav-toggle { display:block; }
  .nav-links { display:none; position:absolute; top:64px; left:0; right:0; background:var(--primary-blue); padding:12px 0; }
  .nav-links ul { flex-direction:column; gap:8px; align-items:center; }
  .nav-links.show { display:block; }
  .hero-inner h1 { font-size:1.9rem; }
  .service-grid { grid-template-columns:1fr; }
  .why-grid { grid-template-columns:1fr; }
  .project-grid { grid-template-columns:1fr; }
  .contact-grid { grid-template-columns:1fr; }
  .footer-flex { grid-template-columns:1fr; }
  .hero-arrow { display:none; }
  .hero-dots { bottom:12px; }
}

/* small tweaks */
.center { margin-top:8px; }
.section h2 { margin-bottom:8px; color:var(--accent-blue); }
/* ===== FOOTER ===== */
.footer {
  background-color: #2e3a4a; /* Dark grey-blue background */
  color: #e6e6e6;
  padding: 60px 0 30px;
  font-size: 0.95rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  align-items: start;
}

.footer h3, 
.footer h4 {
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-about p {
  line-height: 1.6;
  max-width: 350px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #66b2ff; /* Sky blue link */
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #ffa64d; /* Orange accent on hover */
}

.footer-contact p {
  margin: 5px 0;
}

.footer-contact a {
  color: #66b2ff;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #ffa64d;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 20px;
  font-size: 0.9rem;
  color: #ccc;
}
.rotating-image {
  width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
  animation: spin 12s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
