/* ========================================
   Mays Square — Hotels & Lodging
   Emerald Green + Cream · Confident Corporate
   ======================================== */

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

:root {
    --emerald-900: #042f23;
    --emerald-800: #064e3b;
    --emerald-700: #065f46;
    --emerald-600: #047857;
    --emerald-500: #10b981;
    --cream-50: #faf9f6;
    --cream-100: #f5f0e8;
    --cream-200: #ede5d8;
    --cream-300: #e0d5c4;
    --warm-800: #2c2416;
    --warm-700: #3d3225;
    --warm-600: #5c4d3c;
    --warm-500: #8b7355;
    --warm-400: #a89279;
    --white: #ffffff;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 3px rgba(6, 78, 59, 0.06), 0 1px 2px rgba(6, 78, 59, 0.04);
    --shadow-md: 0 4px 16px rgba(6, 78, 59, 0.08), 0 2px 4px rgba(6, 78, 59, 0.04);
    --shadow-lg: 0 12px 40px rgba(6, 78, 59, 0.12), 0 4px 12px rgba(6, 78, 59, 0.06);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--warm-800);
    background: var(--cream-50);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* --- Section Header --- */
.section-header__eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 0.75rem;
}

.section-header__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
    color: var(--warm-800);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-header__desc {
    font-size: 1.05rem;
    color: var(--warm-600);
    max-width: 560px;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn--primary {
    background: var(--emerald-700);
    color: var(--white);
    border-color: var(--emerald-700);
}

.btn--primary:hover {
    background: var(--emerald-800);
    border-color: var(--emerald-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--emerald-700);
    border-color: var(--emerald-700);
}

.btn--outline:hover {
    background: var(--emerald-700);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--white {
    background: var(--white);
    color: var(--emerald-800);
    border-color: var(--white);
}

.btn--white:hover {
    background: var(--cream-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(6, 78, 59, 0.08);
    transition: all var(--transition);
}

.nav.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
}

.nav__logo-mark {
    width: 36px;
    height: 36px;
    background: var(--emerald-700);
    color: var(--cream-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
}

.nav__logo-text {
    font-family: var(--font-display);
    font-size: 1.1875rem;
    font-weight: 600;
    color: var(--warm-800);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav__link {
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--warm-600);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav__link:hover {
    color: var(--emerald-700);
    background: rgba(6, 78, 59, 0.06);
}

.nav__cta {
    padding: 0.625rem 1.375rem;
    background: var(--emerald-700);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-weight: 600;
    margin-left: 0.75rem;
    transition: all var(--transition);
}

.nav__cta:hover {
    background: var(--emerald-800);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav__toggle-bar {
    width: 22px;
    height: 2px;
    background: var(--warm-700);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav__toggle.active .nav__toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active .nav__toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active .nav__toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding: 6rem 1.5rem 4rem;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, 
            #042f23 0%, 
            #064e3b 25%, 
            #047857 50%, 
            #065f46 75%, 
            #022c22 100%);
    z-index: 0;
}

.hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(16, 185, 129, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(212, 163, 115, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 50% 50%, rgba(4, 47, 35, 0.3) 0%, transparent 70%);
}

.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(4, 47, 35, 0.3) 0%,
        rgba(4, 47, 35, 0.1) 50%,
        rgba(4, 47, 35, 0.5) 100%
    );
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.hero__badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    margin-bottom: 1.75rem;
}

.hero__headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero__headline em {
    font-style: normal;
    color: var(--cream-200);
}

.hero__subheadline {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 2.25rem;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.875rem;
}

.hero__trust-dot {
    color: rgba(255, 255, 255, 0.3);
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

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

@keyframes scrollLine {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* --- Features Strip --- */
.features {
    padding: 0;
    background: var(--cream-50);
    margin-top: -3rem;
    position: relative;
    z-index: 3;
}

.features__grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(6, 78, 59, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.feature-card {
    background: var(--cream-50);
    padding: 2.5rem 2rem;
    transition: all var(--transition);
}

.feature-card:hover {
    background: var(--white);
}

.feature-card__icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--emerald-700), var(--emerald-600));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.feature-card__title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--warm-800);
    margin-bottom: 0.5rem;
}

.feature-card__text {
    font-size: 0.9375rem;
    color: var(--warm-600);
    line-height: 1.6;
}

/* --- Rooms --- */
.rooms {
    padding: 6rem 0;
    background: var(--cream-50);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header__desc {
    margin: 0 auto;
}

.rooms__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.room-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.room-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.room-card__image {
    height: 240px;
    overflow: hidden;
}

.room-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.room-card:hover .room-card__image img {
    transform: scale(1.05);
}

.room-card__content {
    padding: 1.75rem;
}

.room-card__name {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--warm-800);
    margin-bottom: 0.625rem;
}

.room-card__desc {
    font-size: 0.9375rem;
    color: var(--warm-600);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.room-card__highlights {
    list-style: none;
    margin-bottom: 1.5rem;
}

.room-card__highlights li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.875rem;
    color: var(--warm-700);
    line-height: 1.8;
}

.room-card__highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    background: var(--emerald-500);
    border-radius: 50%;
}

/* --- Amenities --- */
.amenities {
    padding: 6rem 0;
    background: var(--white);
}

.amenities__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.amenities__text .section-header__desc {
    margin-bottom: 2rem;
}

.amenities__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--cream-50);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--warm-800);
    transition: all var(--transition);
}

.amenity-item:hover {
    background: var(--cream-100);
    transform: translateX(4px);
}

.amenity-item svg {
    color: var(--emerald-600);
    flex-shrink: 0;
}

/* --- Location --- */
.location {
    padding: 6rem 0;
    background: var(--cream-100);
}

.location__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.location__info {
    padding: 2.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.location__info .section-header__desc {
    margin-bottom: 2rem;
}

.location__details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.location__detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.location__detail svg {
    color: var(--emerald-600);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.location__detail strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--warm-800);
    margin-bottom: 0.25rem;
}

.location__detail p {
    font-size: 0.9375rem;
    color: var(--warm-600);
    line-height: 1.6;
}

.location__detail a {
    color: var(--emerald-700);
    font-weight: 600;
    transition: color var(--transition);
}

.location__detail a:hover {
    color: var(--emerald-500);
}

.location__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 420px;
    box-shadow: var(--shadow-md);
}

/* --- CTA --- */
.cta {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.cta__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--emerald-900) 0%, var(--emerald-700) 50%, var(--emerald-800) 100%);
}

.cta__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(212, 163, 115, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 10% 80%, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
}

.cta__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M20 20h20v20H20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta__content .section-header__eyebrow {
    color: var(--cream-200);
}

.cta__headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.cta__desc {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cta__actions {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.cta__address {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.45);
}

/* --- Footer --- */
.footer {
    background: var(--warm-800);
    padding: 3.5rem 0 2rem;
}

.footer__top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: start;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.75rem;
}

.footer__logo-mark {
    width: 32px;
    height: 32px;
    background: var(--emerald-600);
    color: var(--cream-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
}

.footer__logo-text {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--cream-100);
}

.footer__tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer__info p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.footer__info a {
    color: var(--emerald-400);
    font-weight: 600;
    transition: color var(--transition);
}

.footer__info a:hover {
    color: var(--emerald-300);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer__links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.55);
    transition: all var(--transition);
    padding: 0.25rem 0;
}

.footer__links a:hover {
    color: var(--cream-200);
    transform: translateX(4px);
}

.footer__bottom {
    padding-top: 2rem;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.3);
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

/* --- Mobile Responsive --- */
@media (max-width: 1024px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rooms__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .amenities__layout {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav__links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 249, 246, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.25rem;
        border-bottom: 1px solid rgba(6, 78, 59, 0.08);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }
    
    .nav__links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav__link {
        width: 100%;
        padding: 0.875rem 1rem;
    }
    
    .nav__cta {
        margin-left: 0;
        text-align: center;
        margin-top: 0.5rem;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .hero {
        padding: 7rem 1.5rem 4rem;
        min-height: 100svh;
    }
    
    .hero__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero__actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .features {
        margin-top: -2rem;
    }
    
    .features__grid {
        grid-template-columns: 1fr;
        border-radius: var(--radius-md);
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .rooms {
        padding: 4rem 0;
    }
    
    .rooms__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .amenities {
        padding: 4rem 0;
    }
    
    .amenities__layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .amenities__grid {
        grid-template-columns: 1fr;
    }
    
    .location {
        padding: 4rem 0;
    }
    
    .location__layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .location__info {
        padding: 1.75rem;
    }
    
    .location__map {
        min-height: 300px;
    }
    
    .cta {
        padding: 4rem 0;
    }
    
    .footer__top {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer__logo {
        justify-content: center;
    }
    
    .footer__links {
        align-items: center;
    }
    
    .footer__bottom p {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }
    
    .hero__badge {
        font-size: 0.6875rem;
    }
    
    .hero__trust {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .hero__trust-dot {
        display: none;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}
