/* ============================================================
   Gunjan Beauty World — Offers Page
   Design tokens & type system match index.php / services.php /
   about.php exactly. No hardcoded pixel layouts — everything
   below is fluid (%, rem, clamp(), minmax()) so it adapts to
   any viewport.
   ============================================================ */

:root {
    --ivory: #F4EEE7;
    --paper: #F8F7F5;
    --gold: #CFA57A;
    --gold2: #D5AD84;
    --ink: #111;
    --muted: rgba(102, 102, 102, .8);
    --espresso: #2A2019;
    --ease: cubic-bezier(.16, 1, .3, 1);
    --font-display: "Urbanist", sans-serif;
    --font-body: "outfit", sans-serif;
    --container-max: 1440px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth;
    overflow-x: clip
}

html,
body {
    min-width: 320px
}

body {
    font-family: "Urbanist", sans-serif;
    background: var(--ivory);
    color: var(--ink);
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block
}

a {
    color: inherit
}

button {
    font: inherit;
    cursor: pointer
}

.container {
    width: min(var(--container-max), calc(100% - 64px));
    margin-inline: auto
}

.section {
    position: relative
}

.eyebrow {
    font-family: "Urbanist", sans-serif;
    font-size: 13px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500
}

.section-title {
    font-family: "Urbanist", sans-serif;
    font-size: clamp(32px, 4.2vw, 56px);
    line-height: 1.06;
    font-weight: 400;
    text-transform: uppercase
}

.section-copy {
    font-family: "outfit", sans-serif;
    font-weight: 300;
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.7;
    color: var(--muted);
    max-width: 680px
}

/* ===== NAV (shared bar, matches services.php / about.php) ===== */
.hero-nav {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 24px;
    padding: 16px clamp(20px, 4vw, 56px);
    background: linear-gradient(180deg, rgba(15, 10, 6, .55), rgba(15, 10, 6, 0));
    transition: background-color .25s ease, padding .25s ease
}

.hero-logo {
    grid-column: 1;
    justify-self: start
}

.hero-nav.scrolled {
    background: rgba(30, 22, 16, .86);
    backdrop-filter: blur(14px);
    padding-block: 14px;
    position: fixed
}

.hero-logo img {
    width: auto;
    height: clamp(42px, 4vw, 54px);
    max-width: 150px;
    object-fit: contain
}

.hero-links {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(10px, 1.6vw, 22px);
    grid-column: 2;
    justify-self: center
}

.hero-links a {
    font-family: "Urbanist", sans-serif;
    font-size: clamp(14px, 1.1vw, 16px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ivory);
    position: relative
}

.hero-links a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 1px;
    background: #E4C793;
    transition: .3s
}

.hero-links a:hover:after,
.hero-links .active:after {
    width: 100%
}

.hero-right {
    display: flex;
    align-items: center;
    gap: 24px;
    grid-column: 3;
    justify-self: end
}

.hero-login {
    font-family: "outfit", sans-serif;
    font-weight: 500;
    text-decoration: none;
    color: var(--ivory);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.hero-login:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: #E4C793;
    transition: width .3s var(--ease)
}

.hero-login:hover:after {
    width: 100%
}

.hero-login:hover {
    color: #E4C793
}

.hero-login .login-icon {
    font-size: 16px;
    line-height: 1;
    display: inline-block;
    transition: transform .3s var(--ease), color .3s var(--ease)
}

.hero-login:hover .login-icon {
    transform: translate(2px, -2px);
    color: #E4C793
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px 12px;
    border-radius: 10px;
    background: #CFA57A;
    color: #F8F7F5;
    text-decoration: none;
    font-family: "outfit", sans-serif;
    font-weight: 300;
    font-size: 17px;
    transition: background-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease)
}

.hero-cta:hover {
    background-color: #D5AD84;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .25)
}

.btn-label {
    display: inline-block
}

.hero-toggle {
    display: none;
    border: 0;
    background: rgba(0, 0, 0, .2);
    border-radius: 8px;
    padding: 9px;
    gap: 5px;
    flex-direction: column
}

.hero-toggle span {
    width: 23px;
    height: 1px;
    background: var(--ivory)
}

.hero-menu {
    display: none
}

/* ===== PAGE BANNER (matches services.php / about.php) ===== */
.page-banner {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #17110c;
    color: var(--ivory)
}

.page-banner-media {
    position: absolute;
    inset: 0
}

.page-banner-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%
}

.page-banner-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 10, 6, .62) 0%, rgba(15, 10, 6, .42) 50%, rgba(12, 8, 5, .72) 100%);
    z-index: 1
}

.page-banner .container {
    position: relative;
    z-index: 2
}

.page-banner-eyebrow {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1.2px;
    color: #F4EEE7;
    text-transform: uppercase;
    margin-bottom: 16px
}

.page-banner h1 {
    font-family: "Urbanist", sans-serif;
    font-size: clamp(34px, 6.2vw, 56px);
    line-height: 64px;
    font-weight: 600;
    text-transform: uppercase;
    text-shadow: 0 0px 0px rgba(0, 0, 0, .0)
}

/* ===== OFFER PHOTOS (images only — no cards, badges, copy or buttons) ===== */
.offers {
    padding: 100px 0 32px;
}

.offer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, 2.5vw, 32px)
}

.offer-photo {
    position: relative;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease)
}

.offer-photo:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(42, 31, 20, .18)
}

.offer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== FEATURED OFFER PHOTO ===== */
.featured-offer {
    padding: 0 0 100px;
}

.offer-photo.featured {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== FOOTER (shared markup via includes/footer.php) ===== */
/* Layout (.footer-top/.footer-links flex, columns, etc.) now lives in the
   shared style.css so it matches every page — this file only tweaks the
   page-specific vertical padding + a couple of small-screen sizes. */
.footer {
    background: #D1A77D;
    color: var(--ivory);
    padding: clamp(48px, 7vw, 72px) 0 30px
}

.footer-divider {
    height: 1px;
    background: rgba(244, 238, 231, .35)
}

.footer-bottom {
    font-family: "outfit", sans-serif;
    font-weight: 400
}

.back-top {
    font-family: "outfit", sans-serif;
    font-weight: 400
}

@media(max-width:680px) {
    .footer-brand img {
        width: 125px;

    }
}

/* ============================================================
   FINAL SERVICE-SYSTEM RESPONSIVE OVERRIDES
   ============================================================ */

.hero-nav,
.page-banner,
.offers,
.featured-offer,
.footer {
    min-width: 0;
}

@media(max-width:1200px) {
    .hero-nav {
        padding-inline: 32px
    }

    .hero-links {
        gap: 14px
    }

    .hero-right {
        gap: 16px
    }

    .hero-cta {
        padding-inline: 18px;
        font-size: 14px;
        font-weight: 400;
        letter-spacing: 0
    }

    .page-banner {
        min-height: 500px
    }

    .page-banner h1 {
        font-size: 48px;
        line-height: 56px
    }

    .section-title {
        font-size: 48px
    }
}

@media(max-width:1000px) {

    .hero-links,
    .hero-right {
        display: none
    }

    .hero-nav {
        display: flex;
        justify-content: space-between;
    }

    .hero-toggle {
        display: flex
    }

    .hero-menu {
        position: fixed;
        inset: 0;
        z-index: 30;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 25px;
        padding: 80px 24px;
        background: var(--espresso);
        transform: translateY(-100%);
        transition: transform .5s var(--ease);
        overflow-y: auto;
    }

    .hero-menu.open {
        transform: none
    }

    .hero-menu a {
        color: var(--ivory);
        text-decoration: none;
        font-family: var(--font-display);
        font-size: clamp(25px, 6vw, 32px);
        line-height: 1.15;
        text-align: center;
    }

    .hero-menu .close {
        position: absolute;
        top: 22px;
        right: 24px;
        width: 44px;
        height: 44px;
        border: 0;
        background: none;
        color: var(--ivory);
        font-size: 34px;
    }

    .page-banner {
        min-height: 500px
    }

    .page-banner-eyebrow {
        font-size: 15px
    }

    .page-banner h1 {
        font-size: 48px;
        line-height: 56px
    }
}

@media(max-width:900px) {
    .container {
        width: min(calc(100% - 64px));
    }

    .page-banner {
        min-height: 450px
    }

    .page-banner h1 {
        font-size: 40px;
        line-height: 48px
    }

    .offers {
        padding-block: 64px 16px;
    }

    .offer-grid {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .footer-col {
        min-width: 90px
    }
}

@media(max-width:680px) {
    .container {
        width: calc(100% - 48px)
    }

    .hero-nav {
        padding: 12px 16px
    }

    .hero-logo img {
        height: 46px;
        max-width: 125px
    }

    .hero-toggle {
        padding: 8px
    }

    .hero-menu {
        padding: 80px 24px
    }

    .page-banner {
        min-height: 400px
    }

    .page-banner-media img {
        object-position: center center
    }

    .page-banner-scrim {
        background: linear-gradient(180deg, rgba(15, 10, 6, .68), rgba(15, 10, 6, .48) 48%, rgba(12, 8, 5, .78))
    }

    /*.page-banner .container {*/
    /*    padding-top: 48px*/
    /*}*/

    .page-banner-eyebrow {
        font-size: 14px;
        margin-bottom: 12px
    }

    .page-banner h1 {
        font-size: 36px;
        line-height: 44px
    }

    .section-title {
        font-size: 32px;
        line-height: 38px
    }

    .section-copy {
        font-size: 16px;
        line-height: 25px
    }

    .offers {
        padding-block: 64px 16px
    }

    .offer-grid {
        gap: 16px
    }

    .offer-photo {
        border-radius: 16px;
    }

    .featured-offer {
        padding-bottom: 64px
    }

    /* Service page footer structure */
    .footer {
        padding-top: 56px;
    }

    .footer-top {
        flex-direction: column;
        gap: 35px;
        padding-bottom: 32px;
    }

    .footer-brand {
        flex-basis: auto;
    }

    .footer-col {
        min-width: 120px
    }

    .footer-links {
        width: 100%;
        justify-content: flex-start;
        gap: 28px;
    }

    .footer-contact {
        flex-basis: 100%;
        max-width: none;
    }

    .footer-socials {
        margin-top: 30px;
    }

    .footer-socials img {
        width: 20px;
    }

    .footer-bottom {
    align-items: flex-start;
    flex-direction:row;
    gap: 12px;
    font-size: 14px;
    padding-top: 24px;
  }
  
  .back-top{
    min-height:14px;
  }
}

@media(max-width:480px) {
    .container {
        width: calc(100% - 48px)
    }

    .page-banner {
        min-height: 350px
    }

    .page-banner h1 {
        font-size: 32px;
        line-height: 38px
    }

    .section-title {
        font-size: 24px;
        line-height: 32px
    }

    .section-copy {
        font-size: 15.5px;
        line-height: 22px
    }

    .offers {
        padding-block: 56px 16px
    }

    .offer-grid {
        gap: 16px
    }

    .offer-photo {
        border-radius: 15px
    }

    .footer-links {
        flex-direction: column;
        gap: 24px;
    }

    .footer-col {
        min-width: 0;
    }

    .footer-brand p {
        font-size: 15px;
        line-height: 21px;
        max-width: 200px;
    }

    .footer-col a {
        font-size: 16px;
        line-height: 26px;
    }

    .footer-contact p {
        font-size: 16px;
        line-height: 22px;
    }

    .footer-bottom {
    text-align: center;    
    align-items: center;
    flex-direction:column;
    gap: 8px;
    font-size: 15px;
  }
  
  .back-top{
    min-height:14px;
  }
}

@media(max-width:380px) {

    .container,
    .footer .container {
        width: calc(100% - 32px)
    }

    .hero-nav {
        padding-inline: 12px
    }

    .hero-logo img {
        height: 42px;
        max-width: 112px
    }

    .hero-menu a {
        font-size: 25px
    }

    .page-banner {
        min-height: 350px
    }

    .page-banner h1 {
        font-size: 30px;
        line-height: 36px;
    }

    .section-title {
        font-size: 24px;
        line-height: 32px
    }

    .section-copy {
        font-size: 15px;
        line-height: 22px
    }

    .offers {
        padding-block: 56px 16px
    }

    .offer-grid {
        gap: 16px
    }

    .offer-photo {
        border-radius: 10px
    }

    .footer {
        padding-top: 48px;
    }

    .footer-brand img {
        width: 110px;
    }

    .footer-socials {
        margin-top: 24px;
    }

    .footer-socials img {
        width: 20px;
    }

    .footer-brand p {
        font-size: 15px;
        line-height: 21px;
        max-width: 200px;
    }

    .footer-col a {
        font-size: 16px;
        line-height: 26px;
    }

    .footer-contact p {
        font-size: 16px;
        line-height: 22px;
    }

    .footer-bottom {
        font-size: 14px;
    }
}

@media(hover:none) and (pointer:coarse) {

    .offer-photo:hover,
    .hero-cta:hover,
    .footer-col a:hover,
    .back-top:hover {
        transform: none;
    }

    .offer-photo:hover {
        box-shadow: none
    }

    .hero-cta:hover {
        box-shadow: none;
        background: var(--gold)
    }

    .hero-links a:hover:after {
        width: 0
    }

    .hero-login:hover {
        color: var(--ivory)
    }

    .hero-login:hover:after {
        width: 0
    }

    .hero-login:hover .login-icon {
        transform: none;
        color: inherit
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
.offer-book-cta{
  position:absolute;left:16px;bottom:16px;z-index:2;
  display:inline-flex;align-items:center;gap:8px;
  background:#2A2019;color:var(--ivory,#F4EEE7);
  padding:10px 18px;border-radius:999px;
  font-family:"Outfit",sans-serif;font-size:13px;font-weight:600;letter-spacing:.02em;
  opacity:0;transform:translateY(8px);transition:opacity .3s var(--ease),transform .3s var(--ease);
}
.offer-photo:hover .offer-book-cta{opacity:1;transform:translateY(0)}
.offer-book-cta .arrow{transition:transform .25s var(--ease)}
.offer-photo:hover .offer-book-cta .arrow{transform:translateX(3px)}

@media(hover:none){
  .offer-book-cta{opacity:1;transform:none;padding:8px 14px;font-size:12px}
}
@media(max-width:480px){
  .offer-book-cta{left:12px;bottom:12px}
}
