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

:root {
  --primary: #d60000;
  --secondary: #002b5c;
  --accent: #ffcc00;
  --bg: #ffffff;
  --text: #111111;
  --muted: #f4f7fb;
  --shadow: 0 10px 30px rgba(0, 43, 92, 0.12);
  --radius: 14px;
  --transition: all 0.35s ease;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; line-height: 1.65; color: var(--text); background: var(--bg); }
a { color: inherit; text-decoration: none; }
img { width: 100%; display: block; }
ul { list-style: none; }
.container { width: min(1200px, 92%); margin: 0 auto; }
.section { padding: 70px 0; }
.section-title { font-size: clamp(1.6rem, 2.8vw, 2.4rem); color: var(--secondary); margin-bottom: 14px; }
.section-subtitle { color: #555; max-width: 760px; margin-bottom: 28px; }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid #eee; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; gap: 10px; align-items: center; }

/* ===== LOGO FIX ===== */
.logo {
    height: 45px;              /* adjust this value to make logo smaller/larger */
    display: flex;
    align-items: center;
}
.logo img {
    height: 100%;              /* fills the container height */
    width: auto;               /* maintain aspect ratio */
    object-fit: contain;
    display: block;
}

.brand h1 { font-size: 1.1rem; color: var(--secondary); }
.nav-links { display: flex; gap: 18px; align-items: center; }
.nav-links a { font-weight: 500; padding: 6px 10px; border-radius: 8px; transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { background: var(--secondary); color: #fff; }
.hamburger { display: none; border: none; background: transparent; cursor: pointer; width: 42px; height: 42px; }
.hamburger span { display: block; width: 26px; height: 3px; margin: 5px auto; background: var(--secondary); transition: var(--transition); }
.hamburger.open span:nth-child(1){ transform: translateY(8px) rotate(45deg);} .hamburger.open span:nth-child(2){opacity:0;} .hamburger.open span:nth-child(3){ transform: translateY(-8px) rotate(-45deg);} 

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 999px; font-weight: 600; border: 2px solid transparent; transition: var(--transition); cursor: pointer; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #a70000; transform: translateY(-2px); }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { background: #001e42; transform: translateY(-2px); }
.btn-outline { border-color: var(--secondary); color: var(--secondary); }
.btn-outline:hover { background: var(--secondary); color: #fff; }
.btn-accent { background: var(--accent); color: #000; }
.btn-accent:hover { background: #f0bc00; transform: translateY(-2px); }

.hero { min-height: 88vh; position: relative; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); opacity: 0; transition: opacity .55s ease, transform 6s ease; }
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero::before { content:''; position:absolute; inset:0; background: linear-gradient(90deg, rgba(0,24,60,.78), rgba(214,0,0,.45)); z-index:1; }
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero h2 { font-size: clamp(2rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 12px; }
.hero p { font-size: 1.05rem; margin-bottom: 20px; }
.cta-group { display: flex; flex-wrap: wrap; gap: 10px; }
.service-hero { min-height: 45vh; background-size: cover; background-position: center; position: relative; display: grid; align-items: end; }
.service-hero::before { content:''; position: absolute; inset: 0; background: linear-gradient(140deg, rgba(0,43,92,.82), rgba(214,0,0,.52)); }
.service-hero .container { position: relative; z-index: 2; color: #fff; padding-bottom: 36px; }

.gallery-track { display: flex; gap: 16px; overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.gallery-inner { display: flex; gap: 16px; animation: marquee 22s linear infinite; }
.gallery-item { min-width: 280px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-item img { height: 190px; object-fit: cover; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%);} }

.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: #fff; padding: 0 20px 20px 20px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid #edf1f6; transition: var(--transition); overflow: hidden; }
.card:hover { transform: translateY(-6px); border-color: var(--primary); }
.card h3 { color: var(--secondary); margin-bottom: 8px; }
.card p { color: #666; margin-bottom: 12px; }

/* New card image styles */
.card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  margin: 0 -20px 12px -20px;  /* pulls image to card edges */
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .card-image img {
  transform: scale(1.05);
}

.highlight { background: linear-gradient(130deg, var(--secondary), #013d7f); color: #fff; border-radius: var(--radius); padding: 28px; }
.highlight-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 14px; }
.highlight li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.price-badge { background: var(--accent); color: #000; font-weight: 700; display: inline-block; padding: 8px 14px; border-radius: 999px; margin: 12px 0; }

.testimonials { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.quote { background: #fff9db; border: 1px solid #ffe48a; padding: 18px; border-radius: 12px; }
.quote strong { color: var(--secondary); }
.faq { display: grid; gap: 10px; }
.faq-item { border: 1px solid #dbe6f2; border-radius: 10px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: 12px 14px; background: #f7fbff; border: none; font-weight: 600; cursor: pointer; }
.faq-a { display: none; padding: 12px 14px; background: #fff; }
.faq-item.open .faq-a { display: block; }

.payment-grid { display: grid; grid-template-columns: repeat(5, minmax(120px,1fr)); gap: 12px; }
.pay-item { border: 1px solid #ddd; border-radius: 10px; padding: 14px; text-align: center; background: #fff; font-weight: 500; }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
input, textarea, select { width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid #ccd5e0; font: inherit; }
textarea { min-height: 130px; resize: vertical; }
.contact-pro { background: linear-gradient(180deg, #fff, #f4f8ff); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }

.footer { background: #081a35; color: #fff; padding: 54px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(4,1fr); gap: 18px; }
.footer h4 { color: var(--accent); margin-bottom: 10px; }
.footer a { color: #d8e6ff; transition: var(--transition); }
.footer a:hover { color: var(--accent); }
.footer ul li { margin-bottom: 6px; }

.cookie-banner { position: fixed; bottom: 18px; left: 18px; right: 18px; background: #fff; border: 1px solid #ddd; border-radius: 12px; box-shadow: var(--shadow); padding: 15px; z-index: 1100; display: none; align-items: center; justify-content: space-between; gap: 12px; }
.whatsapp-fab { position: fixed; right: 18px; bottom: 90px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: white; font-size: 1.4rem; background: #25D366; box-shadow: var(--shadow); z-index: 1080; }

.auth-layout { min-height: calc(100vh - 84px); display: grid; place-items: center; background: var(--muted); }
.auth-card { width: min(420px, 92%); background: #fff; border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
.notfound { min-height: calc(100vh - 84px); display: grid; place-items: center; text-align: center; }
.notfound .code { font-size: clamp(3.4rem, 12vw, 7rem); color: var(--primary); animation: bounce 1.6s infinite; }
@keyframes bounce { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-8px);} }
[data-animate] { opacity: 0; transform: translateY(18px); transition: all .5s ease; }
[data-animate].in-view { opacity: 1; transform: none; }
[data-animate="left"] { transform: translateX(-22px); }
[data-animate="right"] { transform: translateX(22px); }

@media (max-width: 1024px) { .cards-grid,.testimonials { grid-template-columns: repeat(2,1fr); } .footer-grid { grid-template-columns: repeat(3,1fr);} }
@media (max-width: 820px) {
  .hamburger { display:block; }
  .nav-links { position: fixed; left: -100%; top: 72px; height: calc(100vh - 72px); width: min(320px,80vw); background: #fff; box-shadow: var(--shadow); flex-direction: column; align-items: flex-start; padding: 26px; gap: 14px; transition: left .4s ease; }
  .nav-links.open { left: 0; }
  .highlight-grid,.form-grid,.footer-grid { grid-template-columns: 1fr; }
  .payment-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 560px) { .cards-grid,.testimonials { grid-template-columns: 1fr; } .hero { min-height: 78vh; } }

/* ===== PHOTO ANNOUNCEMENT MODAL ===== */
.modal {
  display: none;               /* Hidden by default */
  position: fixed;
  z-index: 2000;               /* Above header and other fixed elements */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay */
  backdrop-filter: blur(4px);  /* Soft blur effect */
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 1.8rem 1.8rem 1.2rem;
  border-radius: var(--radius);
  width: 90%;
  max-width: 900px;
  box-shadow: var(--shadow), 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: translateY(0);
  animation: slideDown 0.4s ease;
}

@keyframes slideDown {
  from { transform: translateY(-30px); opacity: 0.8; }
  to   { transform: translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 2.2rem;
  line-height: 1;
  color: #999;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0 0.5rem;
}
.modal-close:hover {
  color: var(--primary);
}

.modal-title {
  color: var(--secondary);
  margin-bottom: 1.2rem;
  font-size: 1.8rem;
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  padding-bottom: 0.3rem;
}

.modal-gallery {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1.5rem 0 1rem;
}

.modal-gallery img {
  width: calc(33.333% - 0.8rem);  /* three images side by side */
  max-width: 260px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  object-fit: cover;
  aspect-ratio: 4 / 3;  /* consistent rectangular shape */
}

.modal-gallery img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.modal-footer {
  text-align: center;
  color: #888;
  font-size: 0.9rem;
  margin-top: 1.2rem;
  border-top: 1px dashed #ddd;
  padding-top: 0.8rem;
}

/* Responsive: stack images on smaller screens */
@media (max-width: 700px) {
  .modal-gallery img {
    width: 80%;
    max-width: 300px;
  }
}
