@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600&family=Poppins:wght@300;400;500;600&display=swap');

:root {
    --font-h1: 60px;
    --font-h2: 44px;
    --font-h3: 30px;
    --font-body: 17px;
    --font-caption: 12px;
    --font-button: 14px;
}

html {
    scrollbar-gutter: stable;
}

body {
    font-family: 'Jost', sans-serif;
    font-size: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    color: #000;
    background: #fff;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}


/* ==========================================================
   UNIVERSAL EDITORIAL TEMPLATE (ABOUT, PRIVACY, TERMS, ETC)
========================================================== */

/* 1. The Hero Header */
body.page:not(.woocommerce-page):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .entry-header {
    text-align: center;
    padding: 40px 20px 30px !important; /* Reduced from 80px/50px */
    background: #fbfbfb; 
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 40px !important; /* Reduced gap below the header */
    width: 100%;
}

body.page:not(.woocommerce-page):not(.woocommerce-account) .entry-title,
body.page:not(.woocommerce-page):not(.woocommerce-account) .page-title {
    font-family: 'Times New Roman', Times, serif; /* Luxury serif to match your brand */
    font-size: 48px;
    font-weight: 400;
    color: #111;
    margin: 0;
    letter-spacing: -0.5px;
}

/* 2. The Content Wrapper (Narrow Reading Column) */
body.page:not(.woocommerce-page):not(.woocommerce-account) .entry-content {
    max-width: 800px; /* Constrains text width for easy reading */
    margin: 0 auto 100px auto;
    padding: 0 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.85;
    color: #444;
}

/* 3. Elegant Typography for Text Elements */
body.page:not(.woocommerce-page) .entry-content h1,
body.page:not(.woocommerce-page) .entry-content h2,
body.page:not(.woocommerce-page) .entry-content h3 {
    font-family: 'Times New Roman', Times, serif;
    color: #111;
    font-weight: 400;
    margin-top: 50px;
    margin-bottom: 20px;
}

body.page:not(.woocommerce-page) .entry-content h2 {
    font-size: 32px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
}

body.page:not(.woocommerce-page) .entry-content h3 {
    font-size: 24px;
}

body.page:not(.woocommerce-page) .entry-content p {
    margin-bottom: 25px;
}

/* 4. Beautiful Lists (Crucial for Policies and Terms) */
body.page:not(.woocommerce-page) .entry-content ul,
body.page:not(.woocommerce-page) .entry-content ol {
    margin-bottom: 30px;
    padding-left: 20px;
}

body.page:not(.woocommerce-page) .entry-content li {
    margin-bottom: 10px;
    padding-left: 10px;
}

body.page:not(.woocommerce-page) .entry-content li::marker {
    color: #a67c52; /* Your brand gold/brown color for bullets */
    font-weight: 600;
}

/* 5. Mobile Responsiveness */
@media screen and (max-width: 768px) {
    body.page:not(.woocommerce-page):not(.woocommerce-account) .entry-header {
        padding: 25px 20px 20px !important; /* Drastically reduced for mobile screens */
        margin-bottom: 30px !important;
    }
    
    body.page:not(.woocommerce-page):not(.woocommerce-account) .entry-title,
    body.page:not(.woocommerce-page):not(.woocommerce-account) .page-title {
        font-size: 32px !important; /* Slightly smaller title for mobile */
    }
    
    body.page:not(.woocommerce-page):not(.woocommerce-account) .entry-content {
        font-size: 15px;
        margin-bottom: 60px;
    }
}

/* ==========================================================
   HIDE GLOBAL THEME DEFAULT PAGE HEADER
========================================================== */
header.page-header {
    display: none !important;
}

/* ==========================================================
   CONTACT PAGE CONTAINER FIX
========================================================== */
/* Force the parent container to expand to 1200px ONLY on the contact page */
body.page .entry-content:has(.marbo-contact-wrapper) {
    max-width: 1200px !important;
    padding: 0 !important;
}

/* Give the form column slightly more breathing room */
.marbo-contact-grid {
    grid-template-columns: 1fr 1fr !important; /* Makes both sides perfectly equal */
    gap: 60px !important;
}

/* ==========================================================
   CONTACT PAGE LUXURY LAYOUT (UPDATED)
========================================================== */
.marbo-contact-wrapper {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 20px 80px;
    font-family: 'Poppins', sans-serif;
}

/* Hero Section */
.marbo-contact-hero {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}
.marbo-contact-hero h1 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 54px;
    color: #111;
    margin-bottom: 10px;
    letter-spacing: -1px;
}
.marbo-contact-hero .marbo-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #a67c52;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.marbo-contact-hero .marbo-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
}

/* Grid Layout (Text is wider, form is a sticky sidebar) */
.marbo-contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: start; /* Required for sticky to work */
}

/* Left Column: Text Info with Icons */
.marbo-contact-info .info-block {
    margin-bottom: 40px;
}
.marbo-contact-info .info-block h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 24px;
    color: #111;
    margin-bottom: 15px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 10px;
}
.marbo-contact-info .info-block h3 svg {
    color: #a67c52; /* Gold brand color for icons */
}
.info-content {
    padding-left: 34px; /* Indents text so it aligns with the words, not the icon */
}
.info-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin: 0 0 10px 0;
}
.info-content a {
    color: #111;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
.info-content a:hover {
    color: #a67c52;
}
.contact-social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.contact-social-links a {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid #eaeaea;
    background: #fff;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}
.contact-social-links a:hover {
    background: #111;
    color: #fff;
    border-color: #111;
    transform: translateY(-2px);
}

/* Right Column: Sticky Form Card */
.marbo-contact-form-column {
    position: sticky;
    top: 100px; /* Floats down the page as user scrolls */
}
.marbo-contact-form-card {
    background: #fff;
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}
.form-card-header h3 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 32px;
    color: #111;
    margin: 0 0 10px;
}
.form-card-header p {
    font-size: 14px;
    color: #666;
    margin-bottom: 35px;
    line-height: 1.6;
}

/* Refined Premium Form Styling */
.marbo-custom-form .form-row { margin-bottom: 20px; }
.marbo-custom-form .split-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.marbo-custom-form label { display: block; font-size: 12px; font-weight: 600; color: #333; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.marbo-custom-form input,
.marbo-custom-form textarea {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid transparent; /* Hidden border until focus */
    border-radius: 12px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: #f7f7f7; /* Very subtle luxury grey */
    color: #111;
}
.marbo-custom-form input::placeholder,
.marbo-custom-form textarea::placeholder {
    color: #aaa;
}
.marbo-custom-form input:focus,
.marbo-custom-form textarea:focus {
    border-color: #111;
    background: #fff;
    outline: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.marbo-submit-btn {
    width: 100%;
    background: #111;
    color: #fff;
    border: none;
    padding: 18px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
}
.marbo-submit-btn:hover {
    background: #a67c52;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(166, 124, 82, 0.2);
}

/* ==========================================================
   MOBILE & TABLET RESPONSIVENESS
========================================================== */
@media screen and (max-width: 1024px) {
    .marbo-contact-grid { gap: 40px; }
    .marbo-contact-form-card { padding: 35px 25px; }
}

@media screen and (max-width: 768px) {
    .marbo-contact-hero h1 { font-size: 42px; }
    .marbo-contact-grid { 
        grid-template-columns: 1fr; /* Stacks to single column */
        gap: 60px; 
    }
    .marbo-contact-form-column {
        position: relative; /* Turns off sticky on mobile */
        top: 0;
    }
    .marbo-custom-form .split-row { grid-template-columns: 1fr; }
    .info-content { padding-left: 0; } /* Remove indent on small screens */
}
/* ==========================================================
   CONTACT PAGE: RESPONSIVE FIXES (TABLET & MOBILE)
========================================================== */

/* Tablet (1024px and below) */
@media screen and (max-width: 1024px) {
    /* 1. Force the layout to stack into a single column */
    .marbo-contact-grid {
        grid-template-columns: 1fr !important; 
        gap: 50px !important;
    }
    
    /* 2. Turn off the "sticky" floating form so it scrolls normally */
    .marbo-contact-form-column {
        position: relative !important;
        top: 0 !important;
    }
    
    /* 3. Ensure the page still has breathing room on the sides */
    body.page .entry-content:has(.marbo-contact-wrapper) {
        padding: 0 20px !important;
    }
}

/* Mobile Phones (768px and below) */
@media screen and (max-width: 768px) {
    /* 1. Shrink the main hero title */
    .marbo-contact-hero h1 {
        font-size: 38px !important;
    }
    
    /* 2. Stack the "Name" and "Phone" form inputs on top of each other */
    .marbo-custom-form .split-row {
        grid-template-columns: 1fr !important;
    }
    
    /* 3. Reduce the padding inside the form card to save screen space */
    .marbo-contact-form-card {
        padding: 30px 20px !important;
    }
    
    /* 4. Remove the text indentation next to the icons so text fits better */
    .info-content {
        padding-left: 0 !important;
    }
}