/*
 Theme Name:   Refyne Face Aesthetics
 Description:  Bespoke Editorial Aesthetic for GeneratePress
 Author:       John Powers
 Template:     generatepress
 Version:      2.1
*/

/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    --color-cream: #F9F7F2;
    --color-sand: #D9C5B2;
    --color-charcoal: #2C2C2C;
    --color-white: #FFFFFF;
}

body {
    background: var(--color-cream);
    color: var(--color-charcoal);
    font-family: 'Inter', sans-serif;
}


/* ===================================
   2. HERO SECTION CUSTOMIZATION
   =================================== */

.hero-grid {
    display: block !important;
    grid-template-columns: none !important;
}

.hero-content {
    max-width: 100% !important;
    text-align: center !important;
    margin: 0 auto !important;
}

.hero-logo-img {
    display: block !important;
    margin: 0 auto !important;
    max-width: 300px !important;

.hero-section {
    text-align: center !important;
}

.hero-title, .hero-subtitle {
    text-align: center !important;
}
}
.u-container {
    width: 100%;
    max-width: 1300px; 
    margin: 0 auto;    
    padding: 0 40px;   
}

/* =========================================
   2. TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    color: var(--color-charcoal);
}

h1.hero-title, .main-title a {
    font-size: clamp(2.2rem, 5vw, 4rem) !important;
    line-height: 1.1;
    text-decoration: none;
    color: var(--color-charcoal);
}

/* =========================================
   3. BUTTONS & UI ELEMENTS
   ========================================= */
.u-button-gold {
    display: inline-block;
    background: var(--color-sand);
    color: #fff !important;
    padding: 15px 35px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    border-radius: 2px;
    transition: all 0.3s ease;
    border: 1px solid var(--color-sand);
}

.u-button-gold:hover {
    background: transparent;
    color: var(--color-sand) !important;
}

.u-link-underline {
    color: var(--color-charcoal);
    text-decoration: none;
    border-bottom: 1px solid var(--color-sand);
    padding-bottom: 3px;
    transition: border 0.3s ease;
}

.u-link-underline:hover {
    border-bottom: 1px solid var(--color-charcoal);
}

/* =========================================
   4. MOBILE STICKY CTA
   ========================================= */
.c-mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 15px;
    background: var(--color-white);
    box-shadow: 0 -5px 15px rgba(0,0,0,0.05);
    display: none;
}

@media (max-width: 768px) {
    .c-mobile-sticky-cta {
        display: block;
    }
    .site-footer {
        padding-bottom: 80px !important;
    }
}

/* =========================================
   5. HERO SECTION
   ========================================= */
.hero-section {
    padding: 40px 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%;
}

.hero-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    gap: 5%;
}

.hero-content {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero-image-box {
    width: 50%;
    display: flex;
    justify-content: flex-end;
}

.hero-logo-img {
    max-width: 100%;
    width: 450px;
    height: auto;
    display: block;
    margin-bottom: 25px;
}

h1.hero-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem) !important;
    font-weight: 400;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--color-charcoal);
}

h2.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-sand);
    margin-bottom: 25px;
}

.hero-portrait {
    width: auto;
    height: auto;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 20px 20px 0px rgba(217, 197, 178, 0.4);
}

@media (max-width: 1000px) {
    .hero-section {
        padding: 40px 0;
        min-height: auto;
    }

    .hero-grid {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 0 20px;
    }

    .hero-content,
    .hero-image-box {
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .hero-logo-img {
        width: 300px;
        margin: 0 auto 20px auto;
    }

    h1.hero-title { margin-bottom: 10px; }
    h2.hero-subtitle { margin-bottom: 30px; }

    .hero-image-box { justify-content: center; }

    .hero-portrait {
        max-height: 450px;
        width: 100%;
        object-fit: cover;
    }
}

/* =========================================
   6. TREATMENTS SECTION
   ========================================= */
.treatments-section {
    padding: 100px 0;
    background: #fff;
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.treatment-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--color-cream);
    transition: transform 0.3s ease;
}

.treatment-card:hover { transform: translateY(-5px); }

.treatment-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    display: block;
}

@media (max-width: 768px) {
    .treatments-grid { grid-template-columns: 1fr; }
}

/* =========================================
   7. RESULTS GALLERY
   ========================================= */
.gallery-section {
    padding: 100px 0;
    background: var(--color-cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.gallery-item:hover img { transform: scale(1.02); }

/* =========================================
   8. TRUST / BIO SECTION
   ========================================= */
.trust-section {
    padding: 100px 0;
    background: var(--color-cream);
}

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

.bio-portrait {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 20px 20px 0px rgba(217, 197, 178, 0.3);
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .trust-section { padding: 60px 0; }
}

/* =========================================
   9. REVIEWS SECTION
   ========================================= */
.reviews-section {
    padding: 80px 0;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.03);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.review-card {
    background: var(--color-cream);
    padding: 40px;
    border-radius: 4px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.review-card:hover { transform: translateY(-5px); }

.review-stars {
    color: var(--color-sand);
    font-size: 1.2rem;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.review-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--color-charcoal);
}

.review-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-charcoal);
}

/* =========================================
   10. LOCATION & MAP SECTION
   ========================================= */
.location-section {
    padding: 0;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.location-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    min-height: 500px;
}

.map-column {
    position: relative;
    min-height: 400px;
}

.map-wrapper {
    height: 100%;
    width: 100%;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.map-wrapper:hover { filter: grayscale(0%); }

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.info-column {
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--color-cream);
}

@media (max-width: 900px) {
    .location-grid { grid-template-columns: 1fr; }
    .map-column { height: 300px; order: 2; }
    .info-column { padding: 60px 30px; order: 1; }
}

/* =========================================
   11. BOOKING PAGE TEMPLATE
   ========================================= */
.booking-page-container {
    padding-bottom: 80px;
    background: #fff;
    min-height: 80vh;
}

.booking-widget-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.booking-widget-wrapper iframe {
    width: 100% !important;
    min-height: 800px;
    border: none !important;
    display: block;
}

.page-template-refyne-booking-engine .c-mobile-sticky-cta {
    display: none !important;
}

/* =========================================
   12. SOCIAL ICONS (SVG)
   ========================================= */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
    color: #fff; /* Default icon color: White */
}

.social-icon svg {
    width: 20px;  /* Icon Width */
    height: 20px; /* Icon Height */
    fill: currentColor; /* Allows color change on hover */
}

.social-icon:hover {
    color: var(--color-sand); /* Turns Gold on Hover */
    transform: translateY(-3px);
}