/* =========================================================
   RICHARDT EJENDOMME
   Main stylesheet
   ========================================================= */


/* ---------------------------------------------------------
   VARIABLES
--------------------------------------------------------- */

:root {
    --re-dark: #1d2523;
    --re-dark-soft: #29322f;
    --re-green: #52635c;
    --re-accent: #b49a72;
    --re-sand: #eee9e1;
    --re-light: #f7f5f1;
    --re-white: #ffffff;
    --re-text: #262b29;
    --re-muted: #6c7470;
    --re-border: #deded9;

    --re-radius: 4px;
    --re-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}


/* ---------------------------------------------------------
   GENERAL
--------------------------------------------------------- */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--re-white);
    color: var(--re-text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
}

.section {
    padding: 100px 0;
}

.section-label,
.eyebrow {
    display: inline-block;
    margin-bottom: 16px;

    color: var(--re-accent);

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-label.light {
    color: #d7c7ad;
}

h1,
h2,
h3 {
    color: var(--re-dark);
    font-weight: 600;
    line-height: 1.15;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: relative;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.site-header .navbar {
    min-height: 90px;
    padding: 0;
}


/* LOGO */

.logo {
    display: flex;
    flex-direction: column;

    margin-right: 35px;

    line-height: 1;
}

.logo-main {
    color: var(--re-dark);

    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.logo-sub {
    margin-top: 6px;

    color: var(--re-accent);

    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.35em;
}


/* NAVIGATION */

.navbar-nav {
    gap: 6px;
}

.navbar .nav-link {
    position: relative;

    padding: 34px 11px !important;

    color: var(--re-text);

    font-size: 0.92rem;
    font-weight: 500;
}

.navbar .nav-link:hover {
    color: var(--re-accent);
}

.navbar .nav-link.active {
    color: var(--re-dark);
}

.navbar .nav-link.active::after {
    position: absolute;
    right: 11px;
    bottom: 24px;
    left: 11px;

    height: 2px;

    background: var(--re-accent);

    content: "";
}


/* DROPDOWN */

.dropdown-menu {
    padding: 10px;

    border: 0;
    border-radius: var(--re-radius);

    box-shadow: var(--re-shadow);
}

.dropdown-item {
    padding: 10px 16px;

    border-radius: 3px;

    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: var(--re-light);
    color: var(--re-dark);
}


/* INTERESSELISTE BUTTON */

.header-button {
    padding: 12px 20px !important;

    background: var(--re-dark);
    border: 1px solid var(--re-dark);
    border-radius: 2px;

    color: var(--re-white) !important;

    font-size: 0.88rem;
}

.header-button:hover {
    background: var(--re-accent);
    border-color: var(--re-accent);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 650px;

    overflow: hidden;

    /*
       Midlertidig baggrund.
       Senere erstatter vi gradienten med et rigtigt
       ejendomsfoto.
    */

    background:
        linear-gradient(
        90deg,
        rgba(18, 25, 23, 0.92) 0%,
        rgba(18, 25, 23, 0.76) 38%,
        rgba(18, 25, 23, 0.30) 68%,
        rgba(18, 25, 23, 0.08) 100%
        ),
        url("../images/hero-ejendom.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
        180deg,
        transparent 50%,
        rgba(0, 0, 0, 0.2)
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    padding-top: 80px;
    padding-bottom: 120px;
}

.hero .eyebrow {
    color: #d8c6a8;
}

.hero h1 {
    max-width: 760px;
    margin-bottom: 24px;

    color: var(--re-white);

    font-size: clamp(3rem, 6vw, 5.3rem);
    font-weight: 500;
    letter-spacing: -0.03em;
}

.hero p {
    max-width: 620px;
    margin-bottom: 35px;

    color: rgba(255, 255, 255, 0.85);

    font-size: 1.15rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    padding: 14px 24px;

    border-radius: 2px;

    font-weight: 600;
}

.btn-primary {
    background: var(--re-accent);
    border-color: var(--re-accent);

    color: var(--re-dark);
}

.btn-primary:hover {
    background: #c4aa82;
    border-color: #c4aa82;

    color: var(--re-dark);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.65);

    color: var(--re-white);
}

.btn-secondary:hover {
    background: var(--re-white);
    border-color: var(--re-white);

    color: var(--re-dark);
}

.btn-dark {
    background: var(--re-dark);
    border-color: var(--re-dark);
}

.btn-light {
    background: var(--re-white);
    border-color: var(--re-white);

    color: var(--re-dark);
}


/* =========================================================
   PROPERTY SEARCH
========================================================= */

.property-search {
    position: relative;
    z-index: 20;

    margin-top: -60px;
}

.search-box {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1.2fr auto;

    background: var(--re-white);

    box-shadow: var(--re-shadow);
}

.search-field {
    padding: 22px 25px;

    border-right: 1px solid var(--re-border);
}

.search-field label {
    display: block;

    margin-bottom: 5px;

    color: var(--re-muted);

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.search-field select {
    width: 100%;

    padding: 2px 25px 2px 0;

    background: transparent;
    border: 0;
    outline: 0;

    color: var(--re-dark);

    font-size: 1rem;
}

.search-button {
    min-width: 165px;

    padding: 20px 28px;

    background: var(--re-dark);
    border: 0;

    color: var(--re-white);

    font-weight: 600;
}

.search-button:hover {
    background: var(--re-accent);
    color: var(--re-dark);
}


/* =========================================================
   INTRO
========================================================= */

/*.intro-section {
    padding-top: 140px;
}*/

.intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 100px;
    align-items: start;
}

.intro-text {
    padding-top: 30px;

    color: var(--re-muted);

    font-size: 1.05rem;
}

.intro-text p {
    margin-bottom: 20px;
}

.text-link {
    display: inline-block;

    margin-top: 10px;

    color: var(--re-dark);

    font-weight: 600;
}

.text-link:hover {
    color: var(--re-accent);
}


/* =========================================================
   PROPERTIES
========================================================= */

.properties-section {
    background: var(--re-light);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;

    margin-bottom: 45px;
}

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

.property-card {
    overflow: hidden;

    background: var(--re-white);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

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

    box-shadow: var(--re-shadow);
}


/* Midlertidigt billede */

.property-placeholder {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    height: 340px;

    background:
        linear-gradient(
        135deg,
        #d7d8d2,
        #aeb6b0
        );

    color: rgba(255, 255, 255, 0.75);
}

.property-placeholder.commercial {
    background:
        linear-gradient(
        135deg,
        #919a95,
        #4c5953
        );
}

.property-placeholder > span {
    position: absolute;
    top: 20px;
    left: 20px;

    padding: 7px 12px;

    background: var(--re-white);

    color: var(--re-dark);

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.property-info {
    padding: 28px;
}

.property-type {
    color: var(--re-accent);

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.property-info h3 {
    margin: 8px 0 6px;

    font-size: 1.55rem;
}

.property-location {
    margin-bottom: 20px;

    color: var(--re-muted);
}

.property-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;

    padding: 15px 0;

    border-top: 1px solid var(--re-border);
    border-bottom: 1px solid var(--re-border);

    color: var(--re-muted);

    font-size: 0.9rem;
}

.property-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-top: 22px;
}

.property-bottom a {
    color: var(--re-dark);

    font-weight: 600;
}

.property-bottom a:hover {
    color: var(--re-accent);
}


/* =========================================================
   ERHVERVSEJENDOMSSERVICE
========================================================= */

.service-section {
    padding: 120px 0;

    background: var(--re-dark);

    color: var(--re-white);
}

.service-content {
    max-width: 700px;
}

.service-content h2 {
    margin-bottom: 25px;

    color: var(--re-white);
}

.service-content p {
    max-width: 620px;
    margin-bottom: 35px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 1.05rem;
}


/* =========================================================
   INTERESSELISTE
========================================================= */

.waiting-section {
    padding: 90px 0;

    background: var(--re-sand);
}

.waiting-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.waiting-inner h2 {
    margin-bottom: 15px;
}

.waiting-inner p {
    max-width: 650px;
    margin-bottom: 0;

    color: var(--re-muted);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 80px 0 30px;

    background: #151b19;

    color: rgba(255, 255, 255, 0.68);
}

.footer-logo {
    display: flex;
    flex-direction: column;

    margin-bottom: 20px;

    color: var(--re-white);

    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
}

.footer-logo span {
    margin-top: 7px;

    color: var(--re-accent);

    font-size: 0.65rem;
    letter-spacing: 0.35em;
}

.footer-description {
    max-width: 400px;
}

.site-footer h3 {
    margin-bottom: 20px;

    color: var(--re-white);

    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);

    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--re-accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;

    margin-top: 65px;
    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

    font-size: 0.8rem;
}


/* =========================================================
   GENERIC CONTENT PAGES
========================================================= */

#main-content > .container.py-5 {
    min-height: 450px;
    padding-top: 80px !important;
    padding-bottom: 100px !important;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

    .site-header .navbar {
        min-height: 75px;
    }

    .navbar-collapse {
        padding: 20px 0 30px;
    }

    .navbar .nav-link {
        padding: 10px 0 !important;
    }

    .navbar .nav-link.active::after {
        display: none;
    }

    .header-button {
        display: inline-block;

        margin-top: 12px;
    }

    .hero {
        min-height: 580px;
    }

    .hero-content {
        padding-top: 70px;
        padding-bottom: 110px;
    }

    .search-box {
        grid-template-columns: 1fr 1fr;
    }

    .search-field {
        border-bottom: 1px solid var(--re-border);
    }

    .search-button {
        min-height: 75px;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .intro-text {
        padding-top: 0;
    }

    .property-grid {
        grid-template-columns: 1fr;
    }

    .waiting-inner {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 767.98px) {

    .section {
        padding: 70px 0;
    }

    .hero {
        min-height: 520px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .property-search {
        margin-top: -30px;
    }

    .search-box {
        grid-template-columns: 1fr;
    }

    .search-field {
        border-right: 0;
    }

    .intro-section {
        padding-top: 100px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .property-placeholder {
        height: 250px;
    }

    .property-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .service-section {
        padding: 80px 0;
    }

    .waiting-section {
        padding: 70px 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }

}
/* =========================================================
   Interesseliste
   ========================================================= */

.interest-page {
    background: #f7f7f5;
}

.interest-intro {
    max-width: 760px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.interest-eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #68736d;
}

.interest-intro h1 {
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: #17201d;
}

.interest-intro p {
    max-width: 650px;
    margin: 0 auto;
    color: #68706c;
    line-height: 1.7;
}

.interest-form-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    background: #ffffff;
    border: 1px solid #e7e9e6;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(23, 32, 29, 0.06);
}

.interest-section + .interest-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #e4e7e4;
}

.interest-section-header {
    margin-bottom: 1.75rem;
}

.interest-section-header h2 {
    margin-bottom: 0.4rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: #17201d;
}

.interest-section-header p {
    margin: 0;
    color: #7a817e;
    font-size: 0.92rem;
}

.interest-form-card .form-label {
    margin-bottom: 0.5rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #303936;
}

.interest-form-card .form-control,
.interest-form-card .form-select,
.interest-form-card .input-group-text {
    min-height: 48px;
    border-color: #dfe3df;
}

.interest-form-card .form-control,
.interest-form-card .form-select {
    border-radius: 9px;
}

.interest-form-card .form-control:focus,
.interest-form-card .form-select:focus {
    border-color: #7c8983;
    box-shadow: 0 0 0 0.2rem rgba(23, 32, 29, 0.08);
}

.interest-form-card textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.interest-form-card .input-group .form-control {
    border-radius: 9px 0 0 9px;
}

.interest-form-card .input-group-text {
    border-radius: 0 9px 9px 0;
    background: #f6f7f5;
    color: #606864;
}

.interest-form-card .form-text {
    margin-top: 0.5rem;
    color: #8a918e;
}

.interest-privacy {
    margin-top: 3rem;
    padding: 1.25rem 1.4rem;
    background: #f6f7f5;
    border-radius: 12px;
}

.interest-submit {
    margin-top: 1.75rem;
}

.interest-submit .btn {
    min-height: 50px;
    padding-left: 1.75rem;
    padding-right: 1.75rem;
    border-radius: 8px;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .interest-form-card {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .interest-intro {
        margin-bottom: 2rem;
    }

    .interest-section + .interest-section {
        margin-top: 2rem;
        padding-top: 2rem;
    }
}
/* =========================================================
   EJENDOMSSERVICE
   ========================================================= */


/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */

.service-page-hero {
    padding: 70px 0;
    background: #f3f0e9;
}

.service-page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    min-height: 500px;
    background: #1d2523;
    overflow: hidden;
}

.service-page-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 65px 55px;
}


.service-page-hero .eyebrow {
    display: block;
    margin-bottom: 18px;

    color: #b49a72;

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.service-page-hero h1 {
    margin: 0 0 24px;

    color: #ffffff;

    font-size: clamp(2.25rem, 3.1vw, 3.35rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.service-page-hero-content p {
    max-width: 560px;
    margin: 0 0 32px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 1.05rem;
    line-height: 1.75;
}

.service-page-hero-content .btn {
    align-self: flex-start;
}

.service-page-hero-image {
    position: relative;
    min-height: 500px;
}

.service-page-hero-image img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


/* ---------------------------------------------------------
   Tømrer / Maler
   --------------------------------------------------------- */

.service-trades {
    padding: 90px 0;
    background: #ffffff;
}

.service-trades-heading {
    max-width: 700px;
    margin-bottom: 45px;
}

.service-trades .section-label {
    display: block;
    margin-bottom: 12px;

    color: #b49a72;

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.service-trades-heading h2 {
    margin-bottom: 16px;

    color: #1d2523;

    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
}

.service-trades-heading p {
    margin: 0;

    color: #5e6462;

    font-size: 1.05rem;
    line-height: 1.7;
}

.service-trades-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.service-trade-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 28px;

    padding: 42px;

    border: 1px solid #dedbd4;
    background: #f8f6f1;
}

.service-trade-number {
    color: #b49a72;

    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.service-trade-card h3 {
    margin: 0 0 14px;

    color: #1d2523;

    font-size: 1.65rem;
    font-weight: 700;
}

.service-trade-card p {
    margin: 0 0 22px;

    color: #5e6462;

    line-height: 1.7;
}

.service-trade-card a {
    color: #1d2523;

    font-weight: 700;
    text-decoration: none;
}

.service-trade-card a:hover {
    color: #b49a72;
}


/* ---------------------------------------------------------
   Mobil
   --------------------------------------------------------- */

@media (max-width: 991.98px) {

    .service-page-hero {
        padding: 40px 0;
    }

    .service-page-hero-grid {
        grid-template-columns: 1fr;
    }

    .service-page-hero-content {
        padding: 50px 35px;
    }

    .service-page-hero-image {
        min-height: 400px;
    }

    .service-trades {
        padding: 65px 0;
    }

    .service-trades-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 575.98px) {

    .service-page-hero {
        padding: 0;
    }

    .service-page-hero .container {
        padding: 0;
    }

    .service-page-hero-content {
        padding: 45px 24px;
    }

    .service-page-hero-image {
        min-height: 300px;
    }

    .service-trade-card {
        padding: 30px 24px;
        gap: 18px;
    }
}