/* ========================================================================== 
   Cayemay — Restored & Cleaned Stylesheet
   - Preserves working mobile header + cards
   - H&M-style footer fully aligned
   ========================================================================== */

/* ==========================================================
   RESET & BASE
========================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --nav-bg: #000;
  --gold: #f5c542;
  --royal: #007bff;
  --page-bg: #fff;
  --muted: #f9f9f9;
}
html, body { height: 100%; }
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: var(--page-bg);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }

/* ==========================================================
   HEADER & NAVIGATION
========================================================== */
header { position: sticky; top: 0; z-index: 1000; }
.navbar {
  width: 100%;
  background: var(--nav-bg);
  color: #fff;
  padding: 0.8rem 2rem;
  transition: background 0.25s ease;
}
.nav-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}
.nav-links {
  justify-self: start;
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.nav-links li a {
  color: #fff;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}
.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-links li a:hover::after,
.nav-links li a.active::after { width: 100%; }
.nav-links li a:hover { color: var(--gold); }

/* Logo */
.logo { justify-self: center; position: relative; }
.logo img { height: 70px; width: auto; transition: transform 0.25s ease; display: block; }
.logo img:hover { transform: scale(1.05); }

/* Desktop social icons */
.social-icons {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.social-icons img { height: 20px; filter: invert(1); transition: opacity 0.2s ease; }
.social-icons img:hover { opacity: 0.8; }

/* ==========================================================
   MOBILE ICONS & HAMBURGER
========================================================== */
.mobile-icons { display: none; align-items: center; gap: 0.8rem; }
.mobile-icons img.icon { width: 26px; height: 26px; filter: invert(1); }
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 2000;
  width: 36px;
  height: 36px;
  background: transparent;
  border-radius: 6px;
}
.hamburger span {
  background: var(--royal);
  height: 3px;
  width: 22px;
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.25s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ==========================================================
   HERO SECTION
========================================================== */
.hero {
  color: #fff;
  text-align: center;
  padding: 8rem 2rem;
  background-color: #111;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-content {
  background: rgba(0, 0, 0, 0.55);
  display: inline-block;
  padding: 2rem;
  border-radius: 10px;
  max-width: 800px;
}
.hero h1 { font-size: 3rem; margin-bottom: 1rem; }
.hero .tagline { font-size: 1.2rem; margin-bottom: 1rem; }
.hero .mission { font-size: 1rem; max-width: 700px; margin: 0 auto 1.5rem; line-height: 1.6; }
.cta-btn { display: inline-block; padding: 0.8rem 1.8rem; background: var(--gold); color: #000; border-radius: 5px; font-weight: bold; transition: background 0.3s; }
.cta-btn:hover { background: #e2a700; }

/* ==========================================================
   INTRO GALLERY
========================================================== */
.intro-gallery { background: #fff; padding: 2rem 0; }
.gallery-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.gallery-grid img {
  width: 220px;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-grid img:hover { transform: scale(1.05); box-shadow: 0 8px 16px rgba(0,0,0,0.2); }

/* ==========================================================
   ABOUT & FEATURE STRIP
========================================================== */
.about-preview { background: #fafafa; text-align: center; padding: 3rem 1.5rem; }
.feature-strip { display: flex; justify-content: center; gap: 3rem; background: #fff; padding: 2rem 1rem; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.feature { text-align: center; }
.feature h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.feature p { font-size: 0.95rem; color: #555; }

/* ==========================================================
   BRAND BANNER + SCROLL
========================================================== */
.brand-banner { background: #111; color: #fff; text-align: center; padding: 3rem 1rem; }
.brand-banner h2 { font-size: 2rem; margin-bottom: 0.5rem; letter-spacing: 1px; }
.brand-banner p { font-size: 1.1rem; opacity: 0.9; }
.brand-scroll { overflow: hidden; white-space: nowrap; background: #f5f5f5; padding: 1rem 0; }
.scroll-track { display: inline-block; animation: scroll 15s linear infinite; }
.scroll-track span { display: inline-block; margin: 0 2rem; font-size: 1.2rem; font-weight: 500; color: #333; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================
   HIGHLIGHTS
========================================================== */
.highlights { text-align: center; padding: 4rem 2rem; background: var(--muted); }
.highlights h2 { font-size: 2rem; margin-bottom: 2rem; }
.grid.two-column { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 2.5rem; justify-items: center; }
.item { background: #fff; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; max-width: 450px; }
.item:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }
.item img { width: 100%; height: 280px; object-fit: cover; }
.item h3 { margin: 1rem 0 0.5rem; font-size: 1.3rem; color: #333; }
.item p { color: #555; padding: 0 1.5rem; }

/* ==========================================================
   H&M-STYLE FOOTER
========================================================== */
.footer {
  background-color: #000;
  color: #fff;
  padding: 56px 20px 36px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 36px;
  align-items: start;
}
.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-column h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  color: #fff;
}
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column ul li { margin-bottom: 10px; }
.footer-column ul li a {
  color: #fff;
  opacity: 0.9;
  font-size: 15px;
  transition: opacity 0.2s ease;
}
.footer-column ul li a:hover { opacity: 1; color: var(--gold); }

/* Follow Us column: center icons under heading */
.footer-column.follow-us { align-items: center; }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  align-items: center;
}
.footer-social a img {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain;
  filter: invert(1) brightness(2);
  opacity: 1;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.footer-social a:hover img { transform: translateY(-3px); opacity: 1; }
.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

/* ==========================================================
   ABOUT PAGE SPECIFIC
========================================================== */
.about-page footer { background-color: #000 !important; color: #fff !important; }
.about-page footer a { color: #fff !important; }

/* ==========================================================
   MOBILE RESPONSIVE
========================================================== */
@media (max-width: 900px) {
  html, body { overflow-x: hidden; }
  .social-icons { display: none !important; }
  .nav-container { display: flex; justify-content: space-between; align-items: center; padding: 0.7rem 1rem; width: 100%; }
  .logo { order: 1; display: flex; align-items: center; position: relative; }
  .logo img { height: 72px; width: auto; }
  .mobile-icons { display: flex; order: 2; align-items: center; gap: 0.6rem; position: relative; }
  .hamburger { display: flex; order: 3; position: relative; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: 100%; height: 100vh;
    background: rgba(0,0,0,0.96);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 2rem; transform: translateY(-100%);
    transition: transform 0.4s ease-in-out; z-index: 1500;
  }
  .nav-links.open { transform: translateY(0); }
}

@media (max-width: 650px) and (orientation: portrait) {
  .logo { left: -190px; height: 50px; }
  .mobile-icons, .hamburger { left: -180px; }
  .logo img { height: 74px; }
  html, body, .navbar, .nav-container { overflow-x: hidden; }
  .hamburger { position: absolute; left: 80px; top: 50%; transform: translateY(-50%); z-index: 1600; }
  .mobile-icons { position: absolute; left: 240px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: .95rem; z-index: 1600; }
}

@media (min-width: 901px) { .mobile-icons, .hamburger { display: none !important; } }

/* ==========================================================
   ENSURE FOOTER STAYS AT BOTTOM WITHOUT EXTRA SPACE
========================================================== */
html, body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

body > *:not(header):not(.nav-container):not(.hamburger):not(.mobile-icons) {
  flex: 1 0 auto; /* allows content to grow and push footer down */
}

footer {
  flex-shrink: 0; /* prevents footer from shrinking */
}

/* ABOUT PAGE SPECIFIC FIX */
.about-page .about-container {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 56px); /* 56px padding top of footer as base */
}

/* ==========================================================
   ABOUT SECTION PROFESSIONAL TEXT STYLING
========================================================== */
.about-section {
  background: var(--page-bg);
  color: #333;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.8;
  padding: 80px 20px;
}

.about-section .about-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: left; /* professional alignment for readability */
}

.about-section .about-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
  color: #111;
}

.about-section .about-lead {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #555;
}

.about-section .about-body p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 25px;
  font-weight: 300;
  color: #444;
}

.about-section .about-subtitle {
  font-size: 26px;
  font-weight: 600;
  margin: 40px 0 20px;
  color: #111;
}

.about-section .about-list {
  list-style: disc inside;
  margin: 20px 0 40px;
  padding-left: 0;
}

.about-section .about-list li {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 12px;
  color: #333;
}

.about-section .about-ending {
  margin-top: 40px;
  font-size: 20px;
  font-weight: 400;
  color: #555;
}

.about-section .about-welcome {
  font-size: 26px;
  font-weight: 600;
  margin-top: 30px;
  color: #111;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-section .about-title { font-size: 36px; }
  .about-section .about-lead { font-size: 18px; }
  .about-section .about-subtitle { font-size: 22px; }
  .about-section .about-ending { font-size: 18px; }
  .about-section .about-welcome { font-size: 22px; }
  .about-section .about-body p, 
  .about-section .about-list li { font-size: 16px; }
}