/* Design two: modern, clean and relaxed.
   Everything is scoped to body.theme-modern, so design one (the default) is untouched.
   Delete this file and the chooser to retire the experiment. */

@font-face {
    font-family: "Outfit";
    src: url("../fonts/outfit.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: "DM Sans";
    src: url("../fonts/dm-sans.woff2") format("woff2");
    font-weight: 100 1000;
    font-display: swap;
}

body.theme-modern {
    --ink: #1d1b4b;
    --accent: #ff4f5e;
    --accent-dark: #e03345;
    --accent-2: #ffd23f;
    --accent-3: #2ec4b6;
    --paper: #fff4ea;
    --font-display: "Outfit", system-ui, sans-serif;
    --bs-body-font-family: "DM Sans", system-ui, sans-serif;
    /* Re-declared here because :root computed these from the classic colours. */
    --bs-body-color: var(--ink);
    --bs-link-color: var(--accent-dark);
    --bs-link-hover-color: var(--ink);
    --bs-link-color-rgb: 224, 51, 69;
    --bs-link-hover-color-rgb: 29, 27, 75;
    --soft-shadow: 0 .75rem 2rem rgba(29, 27, 75, .18);
    font-size: 1.05rem;
}

/* Type */
.theme-modern h1,
.theme-modern h2,
.theme-modern h3,
.theme-modern h4,
.theme-modern .navbar-brand,
.theme-modern .offcanvas-title {
    font-weight: 700;
    letter-spacing: -.02em;
}

.theme-modern h2.section-title {
    text-transform: none;
    letter-spacing: -.03em;
    font-size: clamp(1.9rem, 4.5vw, 2.8rem);
    line-height: 1.1;
}

.theme-modern h2.section-title::after {
    -webkit-mask: none;
    mask: none;
    width: 4rem;
    height: .4rem;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

/* Buttons */
.theme-modern .btn-accent,
.theme-modern .btn-outline-light,
.theme-modern .btn.rounded-0 {
    border-radius: 99px !important;
    text-transform: none;
    letter-spacing: 0;
    font-size: 1rem;
    font-weight: 600;
    padding-inline: 1.6rem;
    transition: background-color .2s, border-color .2s, color .2s;
}

.theme-modern .btn-accent {
    --bs-btn-bg: var(--accent);
    --bs-btn-border-color: var(--accent);
    --bs-btn-hover-bg: var(--accent-dark);
    --bs-btn-hover-border-color: var(--accent-dark);
    --bs-btn-active-bg: var(--accent-dark);
    --bs-btn-active-border-color: var(--accent-dark);
}

.theme-modern .btn-outline-light:hover { color: var(--ink); }

.theme-modern .btn-outline-dark {
    --bs-btn-color: var(--ink);
    --bs-btn-border-color: var(--ink);
    --bs-btn-hover-bg: var(--ink);
    --bs-btn-active-bg: var(--ink);
}

/* Navigation */
.theme-modern .site-nav .navbar-brand { text-transform: none; letter-spacing: -.03em; font-size: 1.5rem; }
.theme-modern .site-nav .nav-link { text-transform: none; letter-spacing: 0; font-size: 1rem; font-weight: 500; border-radius: 99px; padding-inline: 1rem; }
.theme-modern .site-nav .nav-link:hover { background: rgba(255, 255, 255, .1); }
.theme-modern .site-nav .nav-link.active { background: var(--accent-2); color: var(--ink); }
.theme-modern .logo-mark { color: var(--accent-2); }
.theme-modern.no-hero .site-nav,
.theme-modern .site-nav.scrolled {
    background-color: rgba(29, 27, 75, .88);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: none;
}

.theme-modern .site-nav .offcanvas { background-color: var(--ink); }

@media (max-width: 991.98px) {
    .theme-modern.has-hero .site-nav:not(.scrolled) { background-color: rgba(29, 27, 75, .4); }
    .theme-modern .site-nav .nav-link { border-bottom: 0; font-size: 1.3rem; padding: .6rem 1rem; }
}

/* Hero, banners and call-to-action band: colourful gradient wash over the photo */
.theme-modern .hero::before {
    background: linear-gradient(135deg, rgba(29, 27, 75, .78), rgba(255, 79, 94, .4));
}

.theme-modern .hero h1 {
    text-transform: none;
    letter-spacing: -.035em;
    line-height: 1;
    font-size: clamp(2.6rem, 9vw, 6rem);
    font-weight: 800;
}

.theme-modern .hero .lead { letter-spacing: 0; font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

/* Small "Bristol & the South West" tag: yellow pill, kept straight */
.theme-modern .hero p.text-uppercase {
    display: inline-block;
    text-transform: none !important;
    letter-spacing: .02em;
    font-size: 1rem;
    font-weight: 700;
    padding: .3rem 1.1rem;
    background: var(--accent-2);
    color: var(--ink);
    border-radius: 99px;
}

.theme-modern .page-banner {
    background: linear-gradient(135deg, rgba(29, 27, 75, .8), rgba(255, 79, 94, .45)), var(--hero-img, none) center / cover var(--ink);
}

.theme-modern .page-banner h1 {
    text-transform: none;
    letter-spacing: -.035em;
    font-size: clamp(2.3rem, 7vw, 4rem);
    font-weight: 800;
}

.theme-modern .cta-band {
    background: linear-gradient(135deg, rgba(29, 27, 75, .85), rgba(255, 79, 94, .55)), var(--hero-img) center / cover fixed;
}

.theme-modern .cta-band h2 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.03em; }

/* Sections and cards */
.theme-modern .section-alt { background: var(--paper); }

.theme-modern .img-card {
    border-radius: 1rem;
    box-shadow: var(--soft-shadow);
    transition: transform .3s;
}

/* Each home-page card gets its own accent colour, as a thin line along the bottom edge */
.theme-modern .img-card { border-bottom: .4rem solid var(--accent-2); }
.theme-modern .col-md-4:nth-child(2) .img-card { border-bottom-color: var(--accent-3); }
.theme-modern .col-md-4:nth-child(3) .img-card { border-bottom-color: var(--accent); }
.theme-modern .img-card:hover { transform: translateY(-.3rem); }
.theme-modern .img-card .caption { background: linear-gradient(transparent, rgba(29, 27, 75, .85)); }
.theme-modern .img-card h3 { text-transform: none; letter-spacing: -.02em; font-size: 1.5rem; }

.theme-modern .feature-img { border-radius: .75rem; }
.theme-modern .ratio iframe { border-radius: 1rem; }
.theme-modern .gallery-grid { gap: .6rem; }
.theme-modern .gallery-grid a { border-radius: .75rem; }

.theme-modern .price-card {
    border: 2px solid var(--ink);
    border-radius: 1rem;
    box-shadow: var(--soft-shadow);
    background: #fff;
}

.theme-modern .col-md-6:nth-child(2) .price-card { background: var(--paper); }
.theme-modern .price-card .price { color: var(--accent); font-weight: 800; font-size: 2.8rem; letter-spacing: -.03em; }
.theme-modern .border { border: 2px solid var(--ink) !important; border-radius: .75rem; }

/* Forms */
.theme-modern .form-control {
    border: 2px solid var(--ink);
    border-radius: .75rem;
    padding: .7rem 1rem;
}

.theme-modern .form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 .25rem rgba(255, 79, 94, .25); }
.theme-modern .form-label { font-weight: 600; }
.theme-modern .alert { border-radius: .75rem; }

/* Footer */
.theme-modern .site-footer h2 { font-weight: 700; letter-spacing: -.02em; text-transform: none !important; }
.theme-modern .site-footer a:hover { color: var(--accent-2); }
