/* =========================================================
   DAGGAFONTEIN GUEST HOUSE
   Main Website Stylesheet
   Colour Scheme: Yellow / Grey / White
   ========================================================= */

/* =========================================================
   1. GLOBAL RESET & BASE SETTINGS
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --yellow: #f7bd16;
    --yellow2: #ffd34e;
    --dark: #30343a;
    --gray: #62666b;
    --light: #f6f6f4;
    --white: #fff;
    --border: #e6e6e2;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", Arial, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =========================================================
   2. MAIN CONTAINER
   ========================================================= */

.container {
    width: min(1180px, 92%);
    margin: auto;
}

/* =========================================================
   3. TOP INFORMATION BAR
   ========================================================= */

.topbar {
    background: #44484c;
    color: #f7f7f7;
    font-size: 12px;
}

.topbar-inner {
    min-height: 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-links {
    display: flex;
    gap: 24px;
}

.top-links a:hover {
    color: var(--yellow);
}

/* =========================================================
   4. MAIN HEADER & NAVIGATION
   ========================================================= */

.site-header {
    background: #fff;

    position: sticky;
    top: 0;
    z-index: 20;

    box-shadow: 0 2px 15px #0000000d;
}

.nav {
    height: 108px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

/* =========================================================
   5. WEBSITE BRAND / LOGO
   ========================================================= */

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.brand-mark {
    font-size: 58px;
    line-height: 1;
    color: var(--yellow);
}

.brand strong {
    display: block;
    font-size: 24px;
}

.brand em {
    font-family: "Playfair Display", serif;
    color: #e2a900;
    font-size: 23px;

    display: block;
    line-height: 1.05;
}

.brand small {
    display: block;

    letter-spacing: 5px;
    text-align: center;

    margin-top: 5px;
}

/* =========================================================
   6. NAVIGATION LINKS
   ========================================================= */

.nav-links {
    display: flex;
    align-items: center;

    gap: 31px;

    font-size: 14px;
    font-weight: 600;
}

.nav-links a {
    position: relative;
    padding: 8px 0;
}

.nav-links a:not(.nav-book):hover {
    color: #d59e00;
}

/* Navigation underline animation */

.nav-links a:not(.nav-book)::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--yellow);

    transition: 0.25s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* =========================================================
   7. BOOK NOW NAVIGATION BUTTON
   ========================================================= */

.nav-book,
.btn-yellow {
    background: var(--yellow);
    color: #25282b;

    border-radius: 6px;

    padding: 13px 28px !important;

    box-shadow: 0 8px 20px #f7bd1630;
}

.nav-book:hover {
    background: var(--yellow2);
}

/* =========================================================
   8. MOBILE MENU BUTTON
   ========================================================= */

.menu-toggle {
    display: none;

    background: none;
    border: 0;

    font-size: 28px;
}

/* =========================================================
   9. HERO SECTION
   ========================================================= */

.hero {
    position: relative;

    min-height: 670px;

    color: #fff;

    display: flex;
    align-items: center;
}

/* Hero background image */

.hero-image {
    position: absolute;
    inset: 0;

    background: url("Lawnyard.png") center / cover;
    background-repeat: no-repeat;
}

/* Dark overlay over hero image */

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            #15181b9a 0%,
            #15181b9a 47%,
            #15181b30 100%
        );
}

/* =========================================================
   10. HERO CONTENT
   ========================================================= */

.hero-content {
    position: relative;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 60px;

    padding: 70px 0;
}

.hero-copy {
    max-width: 650px;
}

/* Welcome text */

.script {
    font-family: "Playfair Display", serif;

    font-style: italic;

    color: var(--yellow2);

    font-size: 45px;
}

/* Main hero heading */

.hero h1 {
    font-size: 58px;

    line-height: 1.03;

    letter-spacing: -1px;

    margin: 5px 0 22px;
}

/* Hero description */

.hero-copy > p:not(.script) {
    font-size: 16px;

    max-width: 560px;

    color: #eee;
}

/* =========================================================
   11. HERO BUTTONS
   ========================================================= */

.hero-buttons {
    display: flex;

    gap: 15px;

    margin-top: 30px;
}

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 16px;

    padding: 13px 25px;

    border-radius: 6px;

    font-weight: 700;

    border: 1px solid transparent;

    transition: 0.25s;
}

/* Yellow button hover */

.btn-yellow:hover {
    transform: translateY(-2px);

    background: var(--yellow2);
}

/* Transparent / outline button */

.btn-outline {
    border-color: #fff;

    color: #fff;
}

.btn-outline:hover {
    background: #fff;

    color: #222;
}

/* =========================================================
   12. BOOKING CARD
   ========================================================= */

.booking-card {
    width: 305px;

    background: #fff;

    color: var(--dark);

    border-radius: 15px;

    padding: 26px;

    box-shadow: 0 20px 55px #0005;

    text-align: center;

    position: absolute;
    bottom: 1px;
    right:0px;
}

/* Booking card heading */

.booking-card h2 {
    font-size: 27px;
}

.booking-card h2 span {
    color: #e5ab00;
}

/* Small yellow line */

.gold-line {
    width: 45px;
    height: 3px;

    background: var(--yellow);

    margin: 11px auto 18px;
}

/* =========================================================
   13. BOOKING PLATFORM BUTTONS
   ========================================================= */

.booking-link {
    display: block;

    border: 1px solid #c9cbd0;

    border-radius: 7px;

    padding: 13px;

    margin: 10px 0;

    font-size: 21px;

    font-weight: 800;

    background: #fff;

    transition: 0.25s;
}

.booking-link:hover {
    background: #fafafa;

    transform: translateY(-1px);
}

/* Airbnb */

.airbnb {
    color: #ff385c;
}

/* Booking.com */

.booking {
    color: #1456a0;
}

.booking span {
    color: #1596d1;
}

/* LaaierSlaap */

.laakerslaap {
    color: #e89b0a;
}

/* Booking note */

.small-note {
    font-size: 11px;

    color: #777;

    margin-top: 12px;
}

/* =========================================================
   14. GENERAL SECTION SETTINGS
   ========================================================= */

.section {
    padding: 90px 0;
}

/* =========================================================
   15. ABOUT / INTRODUCTION SECTION
   ========================================================= */

.intro {
    background: #fff;
}

.intro-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

/* Small gold heading */

.eyebrow {
    color: #d7a200;

    font-weight: 800;

    letter-spacing: 3px;

    font-size: 12px;

    margin-bottom: 10px;
}

/* About heading */

.intro h2,
.section-heading h2,
.location-section h2,
.contact h2 {
    font-size: 39px;

    line-height: 1.15;
}

/* Highlighted word */

.intro h2 span {
    color: #dca500;
}

/* About paragraph */

.intro-text {
    color: #666;

    font-size: 15px;
}

/* =========================================================
   16. AMENITIES SECTION
   ========================================================= */

.amenities {
    background: var(--light);
}

/* Section heading */

.section-heading {
    text-align: center;

    margin-bottom: 42px;
}

.section-heading h2 {
    font-size: 34px;
}

.section-heading > p:last-child {
    color: #73767a;

    margin-top: 8px;
}

/* =========================================================
   17. AMENITY CARDS
   ========================================================= */

.amenity-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    grid-template-rows: repeat(4, 1fr);
    gap: 14px;
}

.amenity-card {
    background: #fff;

    border: 1px solid var(--border);

    border-radius: 8px;

    overflow: hidden;

    position: relative;

    padding-bottom: 18px;

    box-shadow: 0 4px 20px #00000008;
}

/* Amenity image */

.amenity-card img {
    width: 100%;

    height: 350px;

    object-fit: cover;

    display: block;
}

/* Amenity title and description */

.amenity-card h3,
.amenity-card p {
    padding-left: 20px;
}

.amenity-card h3 {
    font-size: 18px;

    margin-top: 10px;
}

.amenity-card p {
    color: #777;

    font-size: 13px;
}

/* =========================================================
   18. AMENITY ICON
   ========================================================= */

.icon {
    position: relative;

    margin-top: -25px;

    margin-left: 20px;

    width: 50px;
    height: 50px;

    background: var(--yellow);

    border-radius: 50%;

    display: grid;

    place-items: center;

    font-size: 22px;

    border: 4px solid #fff;
}

/* =========================================================
   19. PROPERTY FEATURES STRIP
   ========================================================= */

.feature-strip {
    margin-top: 15px;

    background: #fff;

    border: 1px solid var(--border);

    border-radius: 8px;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    padding: 22px;
}

.feature-strip > div {
    display: grid;

    grid-template-columns: 50px 1fr;

    align-items: center;

    column-gap: 8px;
}

.feature-strip span {
    grid-row: 1 / 3;

    font-size: 28px;
}

.feature-strip strong {
    font-size: 14px;
}

.feature-strip small {
    color: #777;
}

/* =========================================================
   20. GALLERY SECTION
   ========================================================= */

.gallery-section {
    background: #fff;
}

/* Left-aligned gallery heading */

.section-heading.left {
    text-align: left;

    max-width: 760px;
}

/* Gallery grid */

.gallery-grid {
    display: grid;

    grid-template-columns: 3fr 3fr 3fr;

    grid-auto-rows: 205px;

    gap: 12px;
}

/* Gallery item */

.gallery-item {
    margin: 0;

    position: relative;

    overflow: hidden;

    border-radius: 8px;

    background: #ddd;
}

/* Large gallery image */

.gallery-item.large {
    grid-row: span 2;
}

/* Gallery image */

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.4s;
}

/* Gallery zoom effect */

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Gallery caption */

.gallery-item figcaption {
    position: absolute;

    bottom: 0;
    left: 0;
    right: 0;

    padding: 18px 16px 13px;

    color: #fff;

    font-weight: 700;

    background: linear-gradient(
        transparent,
        #000a
    );
}

/* =========================================================
   21. LOCATION SECTION
   ========================================================= */

.location-section {
    background: #f3f3f1;
}

.location-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

/* Location paragraph */

.location-section p:not(.eyebrow) {
    color: #686b70;

    margin: 18px 0 28px;
}

/* =========================================================
   22. MAP PLACEHOLDER
   ========================================================= */

.map-card {
    min-height: 300px;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #dedfdb,
            #f8f8f5
        );

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 7px;

    border: 1px solid #ddd;
}

.map-pin {
    font-size: 48px;
}

.map-card span {
    color: #777;
}

/* =========================================================
   23. CONTACT SECTION
   ========================================================= */

.contact {
    background: var(--yellow);
}

.contact-inner {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 40px;
}

.contact .eyebrow {
    color: #705400;
}

.contact h2 {
    font-size: 32px;
}

.contact p:last-child {
    margin-top: 8px;
}

/* =========================================================
   24. CONTACT BUTTONS
   ========================================================= */

.contact-actions {
    display: flex;

    gap: 10px;

    flex-wrap: wrap;
}

.btn-dark {
    background: #30343a;

    color: #fff;
}

.btn-light {
    background: #fff;
}

.btn-dark:hover,
.btn-light:hover {
    transform: translateY(-2px);
}

/* =========================================================
   25. FOOTER
   ========================================================= */

footer {
    background: #30343a;

    color: #fff;

    padding: 55px 0 0;
}

/* Footer columns */

.footer-grid {
    display: grid;

    grid-template-columns: 2fr 1fr 1.5fr;

    gap: 50px;

    padding-bottom: 40px;
}

.footer-grid h3 {
    font-size: 20px;
}

.footer-grid p,
.footer-grid a {
    display: block;

    color: #c8c9ca;

    font-size: 13px;

    margin-top: 7px;
}

.footer-grid strong {
    display: block;

    margin-bottom: 8px;
}

.footer-grid a:hover {
    color: var(--yellow);
}

/* =========================================================
   26. COPYRIGHT
   ========================================================= */

.copyright {
    text-align: center;

    border-top: 1px solid #ffffff1a;

    padding: 17px;

    color: #aeb0b2;

    font-size: 11px;
}

/* =========================================================
   27. INLINE CODE STYLING
   ========================================================= */

code {
    font-size: 0.85em;

    background: #f0f0ed;

    padding: 2px 5px;

    border-radius: 3px;
}

/* =========================================================
   28. TABLET RESPONSIVE DESIGN
   ========================================================= */

@media (max-width: 900px) {

    /* Top information */
    .top-links {
        gap: 10px;
    }

    /* Navigation */
    .nav {
        height: 80px;
    }

    .menu-toggle {
        display: block;
    }

    /* Mobile navigation menu */
    .nav-links {
        display: none;

        position: absolute;

        top: 120px;
        left: 0;
        right: 0;

        background: #fff;

        box-shadow: 0 10px 20px #0001;

        padding: 20px;

        flex-direction: column;

        align-items: flex-start;
    }

    .nav-links.open {
        display: flex;
    }

    /* Hero */
    .hero-content {
        flex-direction: column;

        align-items: flex-start;
    }

    .booking-card {
        width: min(100%, 360px);
    }

    .hero h1 {
        font-size: 46px;
    }

    /* About and location */
    .intro-grid,
    .location-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    /* Amenities */
    .amenity-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item.large {
        grid-column: span 2;

        grid-row: span 1;
    }

    /* Feature strip */
    .feature-strip {
        grid-template-columns: 1fr 1fr;

        gap: 22px;
    }

    /* Contact */
    .contact-inner {
        flex-direction: column;

        align-items: flex-start;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================================
   29. MOBILE RESPONSIVE DESIGN
   ========================================================= */

@media (max-width: 600px) {

    /* Hide top information bar */
    .topbar {
        display: none;
    }

    /* Logo */
    .brand strong {
        font-size: 19px;
    }

    .brand em {
        font-size: 18px;
    }

    .brand small {
        font-size: 8px;
    }

    /* Hero */
    .hero {
        min-height: 720px;
    }

    .hero-content {
        padding: 45px 0;
    }

    .hero h1 {
        font-size: 39px;
    }

    .script {
        font-size: 34px;
    }

    /* General sections */
    .section {
        padding: 65px 0;
    }

    /* Amenity cards */
    .amenity-grid {
        grid-template-columns: 1fr;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.large {
        grid-column: auto;
    }

    /* Feature strip */
    .feature-strip {
        grid-template-columns: 1fr;
    }

    /* Gallery image height */
    .gallery-grid {
        grid-auto-rows: 230px;
    }

    .gallery-item.large {
        grid-row: span 1;
    }

    /* Headings */
    .intro h2,
    .location-section h2,
    .contact h2 {
        font-size: 31px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
    }
}


