
/* =====================================================
   KAIRA HOTEL - PREMIUM SERVICES PAGE
   IVORY LUXURY DESIGN
===================================================== */

:root {
    --ivory: #F3EDE1;
    --paper: #FBF8F2;
    --white: #FFFDFA;
    --ink: #211B16;
    --muted: #81766A;
    --gold: #B78A4B;
    --line: #E5DACB;
    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* HEADER */

.services-header {
    width: 100%;
    min-height: 86px;
    padding: 0 5%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border-bottom: 1px solid rgba(183,138,75,.17);
    position: relative;
    z-index: 100;
}

.services-logo {
    display: flex;
    align-items: baseline;
    gap: 9px;
    white-space: nowrap;
}

.services-logo span {
    font-family: var(--serif);
    font-size: 29px;
    font-weight: 700;
    letter-spacing: 1px;
}

.services-logo small {
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
}

.services-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.services-nav a {
    color: #51483F;
    font-size: 12px;
    font-weight: 600;
    transition: .3s;
    position: relative;
}

.services-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    height: 1px;
    width: 0;
    background: var(--gold);
    transition: .3s;
}

.services-nav a:hover,
.services-nav a.active {
    color: var(--gold);
}

.services-nav a:hover::after,
.services-nav a.active::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.login-btn {
    font-size: 12px;
    font-weight: 600;
}

.header-book-btn {
    background: var(--ink);
    color: white;
    padding: 15px 19px;
    font-size: 11px;
    font-weight: 700;
    transition: .3s;
}

.header-book-btn span {
    color: #D6B47C;
    margin-left: 10px;
}

.header-book-btn:hover {
    background: var(--gold);
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;
    background: none;
    border: 0;
    font-size: 25px;
    cursor: pointer;
}

/* HERO */

.services-hero {
    min-height: 650px;
    height: 75vh;
    max-height: 760px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #4a4035;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image:
        url("https://images.unsplash.com/photo-1611892440504-42a792e24d32?auto=format&fit=crop&w=2200&q=85");
    background-size: cover;
    background-position: center;
    animation: heroZoom 14s ease-in-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(25,21,17,.82),
            rgba(25,21,17,.48),
            rgba(25,21,17,.10)
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-left: 9%;
    max-width: 700px;
    color: white;
    animation: slideUp .9s ease both;
}

.hero-label {
    color: #E4C28D;
    font-size: 10px;
    letter-spacing: 4px;
    font-weight: 700;
}

.hero-label::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 1px;
    background: #E4C28D;
    margin: 0 12px 3px 0;
}

.hero-content h1 {
    font-family: var(--serif);
    font-size: clamp(45px, 6vw, 79px);
    line-height: 1.12;
    font-weight: 500;
    margin: 27px 0 20px;
}

.hero-content h1 em {
    color: #C79D62;
}

.hero-content p {
    max-width: 470px;
    color: rgba(255,255,255,.83);
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 32px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    padding: 17px 23px;
    background: var(--white);
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
    transition: .3s;
}

.hero-button span {
    color: var(--gold);
    font-size: 17px;
}

.hero-button:hover {
    background: var(--ivory);
    transform: translateY(-4px);
}

.hero-bottom {
    position: absolute;
    bottom: 30px;
    left: 5%;
    right: 5%;
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,.7);
    font-size: 9px;
    letter-spacing: 2px;
}

/* INTRO */

.services-intro {
    padding: 110px 9%;
    background: var(--ivory);
}

.section-label {
    display: block;
    color: var(--gold);
    font-size: 9px;
    letter-spacing: 3px;
    font-weight: 700;
}

.intro-content {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 10%;
    align-items: end;
    margin-top: 25px;
}

.intro-content h2,
.section-heading h2,
.feature-content h2 {
    font-family: var(--serif);
    font-size: clamp(36px, 4.3vw, 57px);
    line-height: 1.2;
    font-weight: 500;
}

.intro-content h2 em,
.section-heading h2 em,
.feature-content h2 em {
    color: var(--gold);
}

.intro-description p {
    color: var(--muted);
    font-size: 13px;
    line-height: 2;
    margin-bottom: 22px;
}

.simple-link {
    font-size: 11px;
    font-weight: 700;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--gold);
}

.simple-link span {
    color: var(--gold);
    margin-left: 12px;
}

.intro-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #D9CBB8;
    padding-top: 18px;
    margin-top: 65px;
    color: #948676;
    font-size: 9px;
    letter-spacing: 2px;
}

.intro-bottom span:first-child {
    font-family: var(--serif);
    color: var(--gold);
    font-size: 14px;
}

/* SECTION HEADING */

.main-services,
.amenities-section {
    padding: 105px 8%;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 45px;
}

.section-heading h2 {
    margin-top: 16px;
}

.section-heading > p {
    max-width: 310px;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.9;
}

/* SERVICE CARDS */

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-card {
    padding: 27px 23px;
    min-height: 410px;
    display: flex;
    flex-direction: column;
    background: #EEE5D8;
    border: 1px solid rgba(135,111,81,.12);
    position: relative;
    overflow: hidden;
    transition: .4s ease;
}

.service-card:nth-child(2) {
    background: #F5EEE4;
}

.service-card:nth-child(3) {
    background: #E9E9DF;
}

.service-card:nth-child(4) {
    background: #F0E5DF;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gold);
    transition: .4s;
}

.service-card:hover::before {
    width: 100%;
}

.service-card:hover {
    transform: translateY(-9px);
    box-shadow: 0 22px 45px rgba(66,49,29,.10);
}

.service-card-top {
    display: flex;
    justify-content: space-between;
    color: #887966;
    font-size: 8px;
    letter-spacing: 2px;
    font-weight: 700;
}

.service-number {
    color: var(--gold);
}

.service-icon {
    width: 58px;
    height: 58px;
    border: 1px solid rgba(183,138,75,.45);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 42px 0 23px;
    font-size: 25px;
    color: #9B7544;
    transition: .4s;
}

.service-card:hover .service-icon {
    background: var(--gold);
    color: white;
    transform: rotate(-10deg);
}

.service-card h3 {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 13px;
}

.service-description {
    color: #786E63;
    font-size: 11px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.service-card ul {
    list-style: none;
    display: grid;
    gap: 11px;
    margin-bottom: 25px;
}

.service-card li {
    color: #655B50;
    font-size: 10px;
}

.service-card li span {
    color: var(--gold);
    margin-right: 8px;
}

.service-link {
    margin-top: auto;
    border-top: 1px solid rgba(108,89,65,.2);
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    font-weight: 700;
}

.service-link span {
    color: var(--gold);
    font-size: 15px;
    transition: .3s;
}

.service-link:hover span {
    transform: translate(4px,-4px);
}

/* FEATURE */

.feature-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #EEE5D8;
}

.feature-image {
    min-height: 490px;
    background:
        url("https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?auto=format&fit=crop&w=1400&q=85")
        center/cover no-repeat;
}

.feature-content {
    align-self: center;
    padding: 75px 12%;
}

.feature-content h2 {
    margin: 20px 0;
}

.feature-content p {
    color: var(--muted);
    font-size: 12px;
    line-height: 2;
    margin-bottom: 28px;
}

.feature-button {
    display: inline-flex;
    gap: 20px;
    align-items: center;
    background: var(--ink);
    color: white;
    padding: 16px 22px;
    font-size: 11px;
    font-weight: 700;
    transition: .3s;
}

.feature-button span {
    color: #D6B47C;
}

.feature-button:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

/* AMENITIES */

.amenities-section {
    background: var(--paper);
}

.amenities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line);
}

.amenity-card {
    min-height: 135px;
    padding: 22px 25px 22px 0;
    display: grid;
    grid-template-columns: 55px 1fr 20px;
    gap: 18px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    transition: .3s;
}

.amenity-card:nth-child(even) {
    padding-left: 30px;
    border-left: 1px solid var(--line);
}

.amenity-card:hover {
    background: rgba(243,237,225,.65);
    padding-right: 15px;
}

.amenity-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ivory);
    color: var(--gold);
    font-size: 21px;
}

.amenity-info h3 {
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 7px;
}

.amenity-info p {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.8;
}

.amenity-arrow {
    color: var(--gold);
}

/* CTA */

.services-cta {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 105px 20px;
    background: #28221C;
    color: white;
}

.cta-watermark {
    position: absolute;
    right: 7%;
    top: -100px;
    font-family: var(--serif);
    font-size: 400px;
    color: rgba(255,255,255,.035);
    pointer-events: none;
}

.services-cta .section-label {
    color: #E4C28D;
}

.services-cta h2 {
    position: relative;
    font-family: var(--serif);
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 500;
    line-height: 1.2;
    margin: 22px 0 16px;
}

.services-cta h2 em {
    color: #C79D62;
}

.services-cta > p {
    color: rgba(255,255,255,.65);
    font-size: 12px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.cta-primary {
    display: inline-flex;
    gap: 18px;
    align-items: center;
    padding: 16px 21px;
    background: var(--white);
    color: var(--ink);
    font-size: 10px;
    font-weight: 700;
    transition: .3s;
}

.cta-primary span {
    color: var(--gold);
}

.cta-primary:hover {
    background: var(--ivory);
    transform: translateY(-3px);
}

.cta-secondary {
    color: #EEE0CB;
    font-size: 10px;
    font-weight: 700;
    border-bottom: 1px solid #8E744F;
    padding-bottom: 8px;
}

/* FOOTER */

.services-footer {
    padding: 40px 8%;
    background: #F0E8DC;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo span {
    font-size: 25px;
}

.services-footer > p {
    color: var(--muted);
    font-family: var(--serif);
    font-style: italic;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 22px;
}

.footer-links a {
    font-size: 10px;
    color: #82776A;
    transition: .3s;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-copyright {
    width: 100%;
    border-top: 1px solid #DDD1C0;
    padding-top: 17px;
    color: #82776A;
    font-size: 9px;
}

/* ANIMATIONS */

@keyframes heroZoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.09);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */

@media(max-width: 1150px) {

    .services-header {
        padding: 0 3%;
        gap: 14px;
    }

    .services-nav {
        gap: 14px;
    }

    .services-nav a {
        font-size: 10px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media(max-width: 760px) {

    .services-header {
        min-height: 72px;
        padding: 0 5%;
    }

    .services-logo span {
        font-size: 24px;
    }

    .header-right .login-btn {
        display: none;
    }

    .header-book-btn {
        padding: 12px;
        font-size: 9px;
    }

    .mobile-menu {
        display: block;
    }

    .services-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 15px 6% 22px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        box-shadow: 0 15px 25px rgba(40,30,20,.09);
    }

    .services-nav.show-menu {
        display: flex;
    }

    .services-nav a {
        padding: 13px 0;
        border-bottom: 1px solid var(--line);
        font-size: 12px;
    }

    .services-hero {
        height: 620px;
        min-height: 560px;
    }

    .hero-content {
        margin: 0 7%;
    }

    .hero-content h1 {
        font-size: clamp(43px, 11vw, 61px);
    }

    .hero-content p {
        font-size: 12px;
    }

    .hero-bottom {
        font-size: 7px;
        letter-spacing: 1px;
    }

    .services-intro,
    .main-services,
    .amenities-section {
        padding: 75px 6%;
    }

    .intro-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .intro-content h2 {
        font-size: 40px;
    }

    .intro-bottom {
        margin-top: 40px;
    }

    .section-heading {
        display: block;
        margin-bottom: 30px;
    }

    .section-heading > p {
        margin-top: 15px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
        padding: 26px;
    }

    .service-icon {
        margin: 28px 0 20px;
    }

    .feature-section {
        grid-template-columns: 1fr;
    }

    .feature-image {
        min-height: 300px;
    }

    .feature-content {
        padding: 60px 7%;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .amenity-card:nth-child(even) {
        padding-left: 0;
        border-left: 0;
    }

    .amenity-card {
        min-height: 115px;
    }

    .services-cta {
        padding: 75px 6%;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .services-footer {
        padding: 35px 6%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .services-footer > p {
        text-align: right;
    }

    .footer-links {
        grid-column: 1 / -1;
        flex-wrap: wrap;
    }

    .footer-copyright {
        grid-column: 1 / -1;
    }

}

@media(max-width: 390px) {

    .services-logo {
        gap: 5px;
    }

    .services-logo span {
        font-size: 21px;
    }

    .services-logo small {
        font-size: 8px;
    }

    .header-book-btn {
        padding: 10px 8px;
        font-size: 8px;
    }

}

/* ACCESSIBILITY */

@media(prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

}
