/*
Theme Name: Immigration Corner Inc
Theme URI: https://immigrationcorner.ca/
Author: Immigration Corner Inc
Author URI: https://immigrationcorner.ca/
Description: Custom theme for Immigration Corner Inc. Clean, red-accented, responsive, with booking form and reviews link.
Version: 1.0.0
Text Domain: immigration-corner-inc
*/
:root {
  --ic-red: #cc0000;
  --ic-dark: #1a1a1a;
  --ic-light: #f7f7f7;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--ic-dark);
  background: #fff;
}

a { color: var(--ic-red); text-decoration: none; }
a:hover { text-decoration: underline; }

.header {
  display:flex; align-items:center; justify-content:space-between;
  padding: 16px 24px; border-bottom: 1px solid #eee; background: #fff;
}

.header .logo { display:flex; align-items:center; gap:12px; }
.header .logo img { width:48px; height:48px; border-radius: 50%; }
.header .cta { background: var(--ic-red); color:#fff; padding:10px 16px; border-radius:12px; }
.nav a { margin: 0 10px; font-weight:600; }

.hero { position: relative; }
.hero img { width:100%; height:auto; display:block; }
.hero .overlay {
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  color:#fff; text-shadow: 0 3px 10px rgba(0,0,0,.5);
  font-size: clamp(24px, 4vw, 54px); font-weight: 800;
}

.section { padding: 48px 24px; max-width: 1200px; margin: 0 auto; }
.section h2 { font-size: 28px; margin-bottom: 12px; }
.grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap:16px; }

.card { background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 18px; box-shadow: 0 6px 20px rgba(0,0,0,.04); }
.card img { width:100%; border-radius: 12px; }

.footer { background: var(--ic-dark); color:#fff; padding: 32px 24px; margin-top: 40px; }
.footer a { color:#fff; text-decoration: underline; }

.notice { background: var(--ic-light); border-left: 4px solid var(--ic-red); padding: 12px 16px; border-radius: 8px; }
form.ic-booking input, form.ic-booking select, form.ic-booking textarea {
  width:100%; padding: 12px; margin: 8px 0; border:1px solid #ddd; border-radius: 10px;
}
form.ic-booking button { background: var(--ic-red); color:#fff; border:0; padding:12px 18px; border-radius: 12px; cursor:pointer; }
form.ic-booking button:hover { opacity:.9; }
.success { color: green; font-weight: 600; }
.error { color: #cc0000; font-weight: 600; }

/* Hero Slider */
.hero-slider {
  position: relative;
  height: 70vh;
  overflow: hidden;
}
.hero-slider .slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slider .slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-slider .slide.active {
  opacity: 1;
}
.hero-slider .overlay-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  background: rgba(0,0,0,0.4);
  padding: 20px 40px;
  border-radius: 10px;
}
.hero-slider .overlay-text h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.hero-slider .overlay-text p {
  font-size: 1.2rem;
}
.btn-consult {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #c00;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
}
.btn-consult:hover {
  background: #900;
}

/* Contact Section */
.contact-section {
  background: #f9f9f9;
  padding: 40px 20px;
  text-align: center;
}
.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.contact-grid div {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.contact-grid a {
  color: #c00;
  text-decoration: none;
}
.contact-grid a:hover {
  text-decoration: underline;
}


/* Service Links */
.service-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
