/* Fonts */
@font-face {
    font-family: 'AldoTheApache';
    src: url('../fonts/AldotheApache.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Base */
html {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: Garamond, serif;
    margin-bottom: 0;
    color: #ffffff;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 3rem; }
h3 { font-size: 2.5rem; font-style: italic; padding: auto; }
h4 { font-size: 2rem; }
h5 { font-size: 1.5rem; }
h6 { font-size: 1rem; font-style: italic; padding: auto; }

.subtitle {
    color: #a80000;
    font-family: Garamond, serif;
    font-style: italic;
    font-weight: lighter;
    margin-bottom: 30px;
    margin-top: 0;
    font-size: inherit;
}

/* Links */
a {
    color: rgb(255, 255, 255);
    text-decoration: underline;
}

a:hover {
    color: rgb(184, 0, 0);
}

nav a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    padding: 15px;
    font-size: large;
    font-family: Garamond, serif;
}

/* Layout */
section {
    margin-top: 1rem;
    padding: 10px;
}

main {
    text-align: center;
    min-height: 50vh;
    color: rgb(185, 185, 185);
}

/* Hero */
.hero {
    background: linear-gradient(120deg, #EDD482, #ffe9a1);
    color: white;
    font-family: 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.hero .title {
    font-size: clamp(3.5rem, 8vw, 10rem);
    font-family: 'AldoTheApache';
    color: #31493C;
    white-space: nowrap;
}

.hero-body {
    background-size: cover;
    color: white;
    padding: 10px 20px;
    text-align: center;
    font-size: 24px;
    background-image: url("../img/backgroundheaderImage.jpg");
}

.hero .hero-body {
    background-image: none;
}

/* Hero two-column layout: stacked on mobile, side-by-side on desktop */
.hero-two-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

/* Mobile: image above subtitle, full width so it reflows visibly */
.hero-image-column {
    flex: 0 0 auto;
    order: 1;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-content-column {
    flex: 1 1 auto;
    order: 2;
    width: 100%;
}

@media (min-width: 1024px) {
    .hero-two-column {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }

    .hero-image-column {
        flex: 0 1 50%;
        width: auto;
        display: flex;
        justify-content: center;
    }

    .hero-content-column {
        flex: 1 1 50%;
        width: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

/* Components */
.service-icon {
    font-size: 3rem;
    color: #00d1b2;
}

.accent {
    color: #C25C39;
}

.box {
    background-color: #000000ba;
    border-radius: 10px;
    padding: 20px;
}

img {
    max-width: 100%;
    border-radius: 10px;
}

/* Hero image: mobile = square up to screen width; desktop = max half container */
.hero-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100vw;
}

@media (min-width: 1024px) {
    .hero .container .hero-image {
        max-width: 50%;
        max-height: none;
    }
}

/* Footer */
footer {
    background-color: #43485c;
    text-align: center;
    color: white;
    font-size: 1.3rem;
}

.footer {
    background-color: #f5f5f5;
    padding: 2rem 1.5rem;
}

/* Navbar */
.navbar {
    background-color: #2d2d2d;
    color: rgb(52, 52, 52);
    justify-content: center;
}

/* Section backgrounds */
#introduction {
    background-image: url("../img/shavings5.jpg");
    background-size: cover;
    background-repeat: repeat-y;
    background-attachment: fixed;
}

#woods {
    background-image: url("../img/shavings2.jpg");
    background-size: cover;
    background-repeat: repeat-y;
    background-attachment: fixed;
}

#customs {
    background-image: url("../img/shavings3.jpg");
    background-size: cover;
    background-repeat: repeat-y;
    background-attachment: fixed;
}

#finishes {
    background-image: url("../img/shavings1.jpg");
    background-size: cover;
    background-repeat: repeat-y;
    background-attachment: fixed;
}

#pitch {
    background-image: url("../img/shavings4.jpg");
    background-size: cover;
    background-repeat: repeat-y;
    background-attachment: fixed;
}
