/* ============================================================
   STA Hospitality LLC — styles.css
   Colors: Navy #1a2744 | Gold #c9a84c | White #fff | Charcoal #2d2d2d
   ============================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #1a2744;
  --navy-dark: #0f1a30;
  --gold:      #c9a84c;
  --gold-light:#e0c068;
  --white:     #ffffff;
  --charcoal:  #2d2d2d;
  --gray-light:#f5f5f0;
  --gray-mid:  #e8e8e4;
  --gray-text: #6b6b6b;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius:    12px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,.08);
  --shadow-md: 0 6px 30px rgba(0,0,0,.12);
  --shadow-lg: 0 12px 50px rgba(0,0,0,.18);
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.mt-4 { margin-top: 1.5rem; }
.mt-3 { margin-top: 1rem; }

/* ---- Section Shared ---- */
.section { padding: 90px 0; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .6rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--gray-text);
  font-size: 1.05rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 2rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-sm { padding: .55rem 1.3rem; font-size: .85rem; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: var(--navy-dark);
  padding: 12px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: .4rem;
}

.logo-sta {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .04em;
}

.logo-text {
  font-size: .9rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: .02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-link {
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  padding: .5rem .85rem;
  border-radius: 5px;
  transition: var(--transition);
  letter-spacing: .02em;
}

.nav-link:hover { color: var(--gold); }

.nav-link.active { color: var(--gold); }

.nav-link.nav-cta {
  background: var(--gold);
  color: var(--navy);
  padding: .5rem 1.2rem;
  margin-left: .5rem;
}
.nav-link.nav-cta:hover { background: var(--gold-light); color: var(--navy); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(10,18,42,.85) 0%, rgba(10,18,42,.6) 60%, rgba(10,18,42,.75) 100%),
    url('https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?w=1800&q=80') center/cover no-repeat fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,18,42,.4) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 860px;
}

.hero-badge {
  display: inline-block;
  background: rgba(201,168,76,.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .45rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.2rem;
  text-shadow: 0 4px 24px rgba(0,0,0,.3);
}

.hero-tagline {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--gold);
  font-style: italic;
  margin-bottom: 1.2rem;
  line-height: 1.4;
}

.hero-sub {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.5);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,100% { opacity: .4; transform: scaleY(1); }
  50%      { opacity: 1;  transform: scaleY(.7); }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--navy);
  padding: 40px 0;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 48px;
}

.stat-number {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: .8rem;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: .3rem;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.15);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-img-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}

.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.about-img-frame:hover img { transform: scale(1.04); }

.about-accent-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--navy);
  color: var(--white);
  padding: 18px 22px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-md);
  max-width: 220px;
}
.about-accent-card i {
  font-size: 1.8rem;
  color: var(--gold);
  flex-shrink: 0;
}
.about-accent-card strong {
  display: block;
  font-size: .9rem;
  font-weight: 600;
}
.about-accent-card span {
  font-size: .75rem;
  color: rgba(255,255,255,.7);
}

.about-content { }

.about-text {
  color: var(--gray-text);
  margin-bottom: 1.1rem;
  font-size: 1rem;
  line-height: 1.8;
}

.about-highlights {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: .95rem;
}
.highlight-item i {
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--gray-light); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border-bottom: 3px solid transparent;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--gold);
}

.service-icon {
  width: 56px; height: 56px;
  background: rgba(201,168,76,.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.service-icon i {
  font-size: 1.4rem;
  color: var(--gold);
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .75rem;
}

.service-card p {
  color: var(--gray-text);
  font-size: .92rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.service-list li {
  font-size: .85rem;
  color: var(--gray-text);
  padding-left: 1.1rem;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0; top: .55em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* ============================================================
   PROPERTIES & PROJECTS
   ============================================================ */
.properties { background: var(--white); }
.projects   { background: var(--gray-light); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.prop-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.prop-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.prop-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.prop-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.prop-card:hover .prop-card-image img { transform: scale(1.06); }

.prop-badge {
  position: absolute;
  top: 14px; right: 14px;
  padding: .3rem .85rem;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.prop-badge.active    { background: rgba(34,197,94,.9); color: #fff; }
.prop-badge.completed { background: rgba(201,168,76,.9); color: var(--navy); }

.prop-card-body {
  padding: 24px 26px 28px;
}

.prop-brand {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: .5rem;
}
.prop-brand i { margin-right: .3rem; }

.prop-card-body h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .75rem;
}

.prop-card-body p {
  color: var(--gray-text);
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.prop-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.tag {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .05em;
  padding: .25rem .8rem;
  border-radius: 50px;
  background: rgba(26,39,68,.08);
  color: var(--navy);
}

.project-card .prop-card-image { height: 220px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--navy); }

.contact .section-label { color: var(--gold); }
.contact .section-title { color: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-desc {
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-bottom: 2rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 42px; height: 42px;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-detail-item strong {
  display: block;
  color: var(--white);
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: .15rem;
}
.contact-detail-item span {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* ---- Form ---- */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.6rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: .45rem;
}

.required { color: #e53e3e; margin-left: .15rem; }
.optional  { color: var(--gray-text); font-weight: 400; font-size: .8rem; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--gray-mid);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6b6b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e53e3e;
}

.field-error {
  display: block;
  font-size: .78rem;
  color: #e53e3e;
  margin-top: .3rem;
  min-height: 1rem;
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-feedback {
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.25);
  color: #166534;
  font-size: .9rem;
}
.form-feedback i { font-size: 1.1rem; flex-shrink: 0; margin-top: .1rem; }
.form-feedback p  { margin: 0; line-height: 1.5; }

.form-feedback--error {
  background: rgba(229,62,62,.08);
  border-color: rgba(229,62,62,.25);
  color: #991b1b;
}

/* Loader in button */
.btn-loader { pointer-events: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand p {
  font-size: .9rem;
  line-height: 1.8;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  margin-bottom: .25rem;
}

.footer-socials {
  display: flex;
  gap: .7rem;
  margin-top: 1.4rem;
}
.footer-socials a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  transition: var(--transition);
}
.footer-socials a:hover {
  background: var(--gold);
  color: var(--navy);
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
  font-size: .85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1.2rem;
}

.footer-links ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a {
  font-size: .88rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-services ul {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.footer-services li { font-size: .88rem; }

.footer-contact p {
  font-size: .88rem;
  margin-bottom: .6rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.footer-contact i { color: var(--gold); width: 14px; }
.footer-contact .btn-outline {
  color: rgba(255,255,255,.8);
  border-color: rgba(255,255,255,.3);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

/* ============================================================
   WHATSAPP FAB
   ============================================================ */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 54px; height: 54px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-fab:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 24px rgba(37,211,102,.6);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 92px;
  right: 28px;
  width: 42px; height: 42px;
  background: var(--navy);
  color: var(--gold);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  cursor: pointer;
  z-index: 998;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { background: var(--navy-dark); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid    { gap: 48px; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 820px) {
  .section { padding: 64px 0; }

  /* Navbar mobile */
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(300px, 80vw);
    height: 100vh;
    background: var(--navy-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 32px;
    gap: .2rem;
    transition: right var(--transition);
    box-shadow: -6px 0 30px rgba(0,0,0,.3);
  }
  .nav-links.open { right: 0; }
  .nav-link { font-size: 1rem; padding: .7rem 1rem; width: 100%; }
  .nav-link.nav-cta { margin-left: 0; margin-top: 1rem; }

  /* Hero */
  .hero { background-attachment: scroll; }
  .hero-content { padding-top: 100px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image-wrap { max-width: 520px; margin: 0 auto; }
  .about-accent-card { right: 0; bottom: -16px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Stats */
  .stat-divider { display: none; }
  .stats-container { gap: 8px; }
  .stat-item { padding: 12px 28px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .hero-title { font-size: 2.6rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .cards-grid  { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-container { flex-direction: column; }
  .stat-item { padding: 10px 0; }
  .about-accent-card { display: none; }
}
