/* =============================================================
   BrambleTrek Art Invest – Elegant Classic CSS
   Brand: Modern, elegant, timeless with a refined muted palette
   Font stack: serif for headlines, refined sans-serif for body
   ============================================================== */
/* Normalize / Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}

body {
    line-height: 1.5;
    background-color: #F5F6FA;
    color: #212745;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg {
    max-width: 100%;
    display: block;
    height: auto;
    vertical-align: middle;
}

ul, ol {
    margin-left: 1.2em;
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}
li {
    margin-bottom: 0.6em;
}
strong { font-weight: 700; }

a {
    color: #212745;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover, a:focus {
    color: #927959;
    text-decoration: underline;
}

/* =============================
   Typography
   ============================= */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Georgia', serif;
    color: #212745;
    line-height: 1.2;
}
h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.01em;
}
h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 18px;
}
h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 14px;
}
h4, h5, h6 { font-size: 1rem; font-weight: 600; }
p {
    font-size: 1rem;
    margin-bottom: 18px;
    color: #242b4a;
}

.text-section p,
.text-section ul,
.text-section ol {
    max-width: 750px;
}

/* =============================
   Layout Containers & Spacing
   ============================= */
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 18px;
}
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background-color: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 24px rgba(33,39,69,0.06);
    /* only minimal shadow for elegance */
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(33,39,69,0.045);
    padding: 28px 24px 24px;
    margin-bottom: 20px;
    position: relative;
    transition: box-shadow 0.18s;
}
.card:hover {
    box-shadow: 0 4px 32px rgba(33,39,69,0.12);
    z-index: 1;
}

.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.testimonial-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    margin-bottom: 20px;
    background: #F5F6FA;
    border: 1.5px solid #C6B09E;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(33,39,69,0.04);
}
.testimonial-card p {
    font-style: italic;
    color: #212745;
    flex: 1;
    margin: 0 0 3px 0;
}
.testimonial-card span {
    font-size: 1rem;
    color: #704e2e;
    font-family: 'Montserrat', Georgia, serif;
    min-width: 140px;
    text-align: right;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* ============================
   HERO SECTION
   ============================ */
.hero {
    background: #212745;
    color: #fff;
    min-height: 300px;
    display: flex;
    align-items: center;
    margin-bottom: 52px;
    border-radius: 0 0 38px 38px;
    box-shadow: 0 5px 28px -10px #c6b09e0f;
    position: relative;
}
.hero .container {
    padding-top: 40px;
    padding-bottom: 40px;
}
.hero .content-wrapper {
    color: #fff;
    align-items: flex-start;
    gap: 14px;
}
.hero h1 {
    color: #fff;
    font-size: 2.4rem;
    margin-bottom: 8px;
}
.hero p {
    color: #F5F6FA;
    margin-bottom: 20px;
}

/* ============================
   Navigation
   ============================ */
header {
    background: #fff;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 50;
    box-shadow: 0 2px 12px rgba(33,39,69,0.04);
    padding-bottom: 0;
}
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px 14px 22px;
}
nav > a img {
    height: 38px;
    width: auto;
}
nav ul {
    display: flex;
    flex-direction: row;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}
nav ul li a {
    font-family: 'Montserrat', Georgia, serif;
    font-size: 1rem;
    letter-spacing: 0.01em;
    color: #212745;
    padding: 4px 6px;
    border-radius: 6px;
    transition: background 0.2s, color 0.18s;
}
nav ul li a:hover, nav ul li a:focus {
    background: #F5F6FA;
    color: #704e2e;
}
nav .cta {
    background: #212745;
    color: #fff;
    font-family: 'Montserrat', Georgia, serif;
    padding: 8px 22px;
    border: none;
    border-radius: 28px;
    font-size: 1rem;
    font-weight: 600;
    margin-left: 30px;
    letter-spacing: 0.03em;
    transition: background 0.19s, color 0.19s, box-shadow 0.19s;
    box-shadow: 0 2px 8px rgba(198,176,158,0.05);
    cursor: pointer;
    text-shadow: none;
}
nav .cta:hover, nav .cta:focus {
    background: #C6B09E;
    color: #212745;
    box-shadow: 0 4px 22px rgba(198,176,158,0.11);
}

.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 2rem;
    color: #212745;
    margin-left: 18px;
    display: none;
    cursor: pointer;
    z-index: 110;
    transition: color 0.18s;
    padding: 8px 12px;
    border-radius: 7px;
}
.mobile-menu-toggle:focus {
    outline: 2px solid #c6b09e;
}

/* ============================
   Mobile Nav
   ============================ */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(33,39,69,0.96);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.7,0,0.3,1), opacity 0.25s;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.mobile-menu.open {
    transform: translateX(0);
    opacity: 1;
}
.mobile-menu-close {
    align-self: flex-end;
    background: none;
    border: none;
    color: #C6B09E;
    font-size: 2.1rem;
    padding: 16px 18px 10px 0;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
    color: #fff;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 32px;
    width: 100%;
    padding-left: 32px;
}
.mobile-nav a {
    font-family: 'Montserrat', Georgia, serif;
    color: #fff;
    font-size: 1.25rem;
    padding: 7px 0 7px 0;
    transition: color 0.16s;
    border-radius: 2px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    color: #C6B09E;
    text-decoration: underline;
}

/* Hide desktop nav on mobile and vice versa */
@media (max-width: 1023px) {
    nav ul, nav .cta {
        display: none;
    }
    .mobile-menu-toggle {
        display: inline-block;
    }
}
@media (min-width: 1024px) {
    .mobile-menu {
        display: none !important;
    }
}

/* ============================
   Service List
   ============================ */
.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 18px;
}
.service-list > div {
    flex: 1 1 230px;
    background: #fff;
    border: 1px solid #C6B09E;
    border-radius: 12px;
    padding: 28px 20px 20px 20px;
    min-width: 210px;
    box-shadow: 0 2px 8px rgba(198,176,158,0.04);
    transition: box-shadow 0.17s;
}
.service-list > div:hover {
    box-shadow: 0 4px 24px rgba(198,176,158,0.13);
    z-index: 1;
}

/* ============================
   Buttons
   ============================ */
.cta,
button {
    font-family: 'Montserrat', Georgia, serif;
    font-size: 1rem;
    color: #fff;
    background: #212745;
    padding: 10px 30px;
    border-radius: 28px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 8px rgba(33,39,69,0.04);
    transition: background 0.22s, color 0.22s, box-shadow 0.19s, transform 0.16s;
    margin-top: 7px;
    min-width: 160px;
}
.cta:hover,
.cta:focus,
button:hover,
button:focus {
    background: #C6B09E;
    color: #212745;
    box-shadow: 0 3px 19px rgba(33,39,69,0.07);
    transform: translateY(-2px) scale(1.03);
}

/* Non-CTA secondary button style for cookie banner */
.btn-secondary {
    background: #fff;
    color: #212745;
    border: 1.2px solid #C6B09E;
    box-shadow: none;
    transition: background 0.19s, color 0.16s, border 0.15s;
}
.btn-secondary:hover, .btn-secondary:focus {
    background: #F5F6FA;
    color: #704e2e;
    border: 1.4px solid #704e2e;
}

.btn-tertiary {
    background: transparent;
    color: #212745;
    border: none;
    padding: 8px 0;
    box-shadow: none;
    min-width: unset;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: underline;
}
.btn-tertiary:hover, .btn-tertiary:focus {
    color: #C6B09E;
    background: none;
}

/* ============================
   Footer
   ============================ */
footer {
    background: #fff;
    padding: 36px 0 12px 0;
    margin-top: 36px;
    border-top: 1.5px solid #ece3d7;
}
footer nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    gap: 0;
    padding: 0;
}
footer nav a {
    color: #212745;
    font-size: 1rem;
    padding: 0 8px;
    transition: color 0.17s;

}
footer nav a:hover, footer nav a:focus {
    color: #C6B09E;
}
footer .contact-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    font-size: 1rem;
    color: #242b4a;
    margin-top: 16px;
    margin-bottom: 8px;
}
footer .contact-details img {
    width: 42px;
    margin-bottom: 5px;
}
footer .contact-details a {
    color: #704e2e;
    text-decoration: underline;
    font-weight: 500;
}
footer .contact-details a:hover {
    color: #C6B09E;
}

/* ============================
   Contact Details (also in pages)
   ============================ */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 1rem;
    color: #212745;
    margin-bottom: 20px;
}
.contact-details img[alt*="icon"] {
    width: 22px;
    vertical-align: middle;
    margin-right: 8px;
    display: inline-block;
}

/* ============================
   Cookie Consent Banner
   ============================ */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    box-shadow: 0 -3px 22px rgba(33,39,69,0.10);
    background: #fff;
    border-top: 2.5px solid #C6B09E;
    padding: 24px 15px 18px 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 99999;
    gap: 13px;
    font-size: 1rem;
    animation: fadeInUp 0.44s cubic-bezier(.3,1.6,.42,1);
}

@keyframes fadeInUp {
    from { transform: translateY(60px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .btn-group {
    display: flex;
    gap: 16px;
    margin-top: 3px;
}
.cookie-consent-banner .btn-group .btn-tertiary {
    margin-left: 16px;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%) scale(1);
    z-index: 100002;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 48px #21274511;
    padding: 36px 36px 32px 36px;
    min-width:280px;
    max-width: 97vw;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    gap: 22px;
    opacity: 1;
    animation: fadeInPop .28s cubic-bezier(.5,.6,.5,1);
}
@keyframes fadeInPop {
    from { opacity: 0; transform: translate(-50%,-56%) scale(0.96); }
    to { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
.cookie-modal h2 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #212745;
    margin-bottom: 7px;
}
.cookie-modal .cookie-category {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}
.cookie-modal label {
    font-size: 1rem;
    color: #212745;
    font-family: 'Montserrat', Georgia, serif;
    cursor: pointer;
}
/* Custom toggle switches */
.cookie-modal input[type=checkbox] {
    accent-color: #C6B09E;
    width: 18px;
    height: 18px;
}
.cookie-modal .cookie-close {
    background: transparent;
    color: #C6B09E;
    border: none;
    font-size: 1.55rem;
    position: absolute;
    top: 0;
    right: 8px;
    padding: 8px 10px;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.17s;
}
.cookie-modal .cookie-close:hover { background: #F5F6FA; color: #212745; }

/* ============================
   Utility
   ============================ */
.hide { display: none !important; }

/* ============================
   Responsive Queries
   ============================ */
@media (max-width: 1023px) {
    .container {
        max-width: 100vw;
        padding: 0 10px;
    }
    .section {
        margin-bottom: 36px;
        padding: 26px 8px;
    }
    .service-list > div {
        min-width: 180px;
        padding: 22px 10px;
    }
}
@media (max-width: 768px) {
    nav {
        padding: 10px 8px 10px 8px;
    }
    .hero {
        margin-bottom: 36px;
        border-radius: 0 0 20px 20px;
        min-height: 180px;
    }
    .hero .container { padding: 20px 7px; }
    .hero h1 { font-size: 1.35rem; }
    .hero p { font-size: 0.98rem; }
    .section {
        margin-bottom: 28px;
        padding: 18px 5px;
        border-radius: 10px;
    }
    .content-wrapper, .content-grid {
        gap: 13px;
    }
    .card, .testimonial-card {
        padding: 14px 10px;
        border-radius: 9px;
        font-size: 0.98rem;
    }
    .service-list {
        gap: 15px;
    }
    .service-list > div {
        min-width: 110px;
        padding: 16px 6px;
        border-radius: 9px;
    }
    .testimonial-card span {
        font-size: 0.95rem;
        min-width: 90px;
    }
    .text-image-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 9px;
    }
    .contact-details {
        font-size: 0.97rem;
        gap: 4px;
    }
}

/* Flex direction column for text/image layouts on mobile */
@media (max-width: 768px) {
    .text-image-section,
    .content-grid,
    .card-container,
    .service-list {
        flex-direction: column !important;
        gap: 12px !important;
        align-items: stretch;
    }
}

/* ============================
   Focus Styles for Accessibility
   ============================ */
:focus-visible {
    outline: 2.5px solid #C6B09E;
    outline-offset: 1px;
}
button:active, .cta:active {
    transform: scale(0.98);
}

/* ============================
   Subtle Animation for Button Hover
   ============================ */
.cta, button, .btn-secondary {
    transition: background 0.18s, color 0.18s, box-shadow 0.21s, transform 0.13s;
}

/* ============================
   Print Styles
   ============================ */
@media print {
    header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal { display: none !important; }
    .section { box-shadow: none; border-radius: 0; padding: 8px; }
    body { color: #000 !important; background: #fff !important; }
}

/* =========================================================
   END: BrambleTrek Art Invest – Elegant Classic CSS
   ========================================================= */
