/*
Theme Name: StaySuite
Theme URI: https://staysuite.com
Author: StaySuite Team
Author URI: https://staysuite.com
Description: A modern WordPress theme for StaySuite property management platform
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: staysuite
Tags: business, corporate, custom-logo, custom-menu, featured-images, flexible-header, one-column, two-columns, block-styles
*/

/* ===== Brand Tokens ===== */
:root{
  --brand: #503D6C;
  --brand-dark: #3E2F55;
  --cream: #F9F7E8;
  --ink: #1E1A22;
  --muted: #615678;
  --radius: 14px;
  --shadow: 0 10px 28px rgba(0,0,0,0.12);
}

/* ===== Base ===== */
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family: "Poppins", sans-serif;
}

h1, h2{
  font-family:"DM Serif Display", serif;
  color:var(--brand);
}

p{
  color:var(--muted);
}

.muted{
  color:var(--muted);
}

.wrap{
  width:min(100% - 32px, 1180px);
  margin-inline:auto;
}

/* ===== Navigation ===== */
header{
  background:var(--cream);
  border-bottom:1px solid rgba(0,0,0,0.05);
  position:sticky;
  top:0;
  z-index:20;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 0;
}

.brand{
  font-weight:600;
  color:var(--brand);
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration: none;
}

.brand .glyph{
  width:26px;
  height:26px;
}

.actions{
  display:flex;
  gap:12px;
}

.btn{
  padding:10px 16px;
  font-size:0.9rem;
  border-radius:var(--radius);
  border:1px solid var(--brand);
  background:white;
  color:var(--brand);
  font-weight:600;
  cursor:pointer;
  text-decoration: none;
  display: inline-block;
  line-height: 1.4;
}

.btn.primary{
  background:var(--brand);
  color:var(--cream);
}

.btn:hover{
  opacity: 0.9;
}

/* ===== Hero ===== */
.hero{
  padding:80px 0 60px;
}

.hero .grid{
  display:grid;
  gap:48px;
  grid-template-columns:1.25fr 1fr;
  align-items:center;
}

.kicker{
  text-transform:uppercase;
  letter-spacing:0.08em;
  font-size:0.8rem;
  color:var(--ink);
  opacity:.6;
}

h1{
  margin:12px 0 20px;
  font-size:clamp(2.4rem, 2.6rem + 1vw, 3.4rem);
  font-weight: 600;
}

h2{
  font-size:1.8rem;
  font-weight: 600;
}

.lead{
  max-width:50ch;
  font-size:1.1rem;
}

.cta-row{
  display:flex;
  gap:14px;
  margin-top:28px;
  flex-wrap:wrap;
}

.art{
    
    max-width: 50vw;
    margin: auto;
}

.art img{
    width:100%;
    height:100%;
    aspect-ratio:3/2; 
    object-fit:contain;
}

/* ===== Sections ===== */
section{
  padding:90px 0;
  border-top:1px solid rgba(0,0,0,0.05);
}

.two{
  display:grid;
  gap:48px;
  grid-template-columns:1fr 1fr;
}

.cards{
  display:grid;
  gap:24px;
  grid-template-columns:repeat(2,1fr);
}

.cards.four{
  grid-template-columns:repeat(4,1fr);
}

.card{
  background:white;
  padding:28px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  border:1px solid rgba(0,0,0,0.05);
}

/* Subtle reveal animation for cards */
.card.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
  will-change: opacity, transform;
}

.card.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.card h3{
  margin-top:0;
  color:var(--brand);
  font-size:1.1rem;
  font-weight:600;
}

/* Three column cards default styling */
.three-column-cards-section .cards {
  grid-template-columns: repeat(6, 1fr);
  align-items: start;
}

.three-column-cards-section .card {
  grid-column: span 2;
  align-self: start;
}

.three-column-cards-section .cards .card:nth-child(4) {
  grid-column: 2 / span 2;
}

.three-column-cards-section .cards .card:nth-child(5) {
  grid-column: 4 / span 2;
}


/* General card icon styling (applies to all cards with SVG icons) */
.highlights .card {
  background: #FFFFFF;
  border: 1px solid rgba(80, 61, 108, 0.16);
  box-shadow: 0 6px 18px rgba(30, 26, 34, 0.08);
  border-radius: 12px;
}

.highlights .card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.01em;
  position: relative;
  padding-bottom: 8px;
}

.highlights .card h3 svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  stroke: var(--brand);
}

.highlights .card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 2px;
  background: var(--brand);
}

/* ===== CTA ===== */
.cta{
  text-align:center;
  padding:70px 0 100px;
}

.cta h2{
  margin-bottom:10px;
}

.cta .lead{
  margin-inline:auto;
}

footer{
  font-size:.9rem;
  padding:40px 0;
  border-top:1px solid rgba(0,0,0,0.07);
  color:var(--muted);
  background:#F2EFE3;
}

footer .cols{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
}

/* ===== Pill Styling ===== */

.pill {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 999px;
  
  /* Brand colours */
  color: var(--brand);
  background: rgba(80, 61, 108, 0.10);  /* subtle plum tint */
  border: 1px solid rgba(80, 61, 108, 0.25);
  
  /* Visual refinement */
  letter-spacing: 0.02em;
  white-space: nowrap;
}



@media(max-width:1000px){
  section { padding:60px 0; }
  .lead{ max-width:100%; }
  .hero .grid{ grid-template-columns:1fr; }
  .two{ grid-template-columns:1fr; }
  .cards.four{ grid-template-columns:repeat(2,1fr); }

  .three-column-cards-section .cards{ grid-template-columns:repeat(4,1fr); }
  .three-column-cards-section .cards .card,
  .three-column-cards-section .cards .card:nth-child(4){ grid-column: span 2 }
  .three-column-cards-section .cards .card:nth-child(5){ grid-column: 2 / span 2;}
  .bullets{ grid-template-columns:repeat(2,1fr); }

}

@media(max-width:600px){
  section { padding:30px 0; }
  .cards{ grid-template-columns:1fr; }
  .bullets{ grid-template-columns:1fr; }
  .actions{ display:none; }

  .three-column-cards-section .cards{ grid-template-columns:repeat(1,1fr); }
  .three-column-cards-section .cards .card,
  .three-column-cards-section .cards .card:nth-child(4), .three-column-cards-section .cards .card:nth-child(5){ grid-column: 1;}

}

@media (prefers-reduced-motion: reduce){
  .card.reveal,
  .card.reveal.in-view{
    opacity: 1;
    transform: none;
    transition: none;
  }
}
