/*! HTML5

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
html {
    font-size: 1rem;
    line-height: 1.4;
}

/*
 * A better looking default horizontal rule
 */
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 */
audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */
textarea {
    resize: vertical;
}

/* ==========================================================================
   Default styles
   ========================================================================== */

/* Reset and Base Styles */


/* global scope */
:root {
    --main: #2D5016;
    --secondary: #8FBC5A;
    --background: #F5F1E8;
    --text: #6B4423;
    --footer: #3D2817;
    --dark: #000;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Roboto, sans-serif;
    line-height: 1.2;
    background-color: var(--background);
    color: var(--main);
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* general styles  */

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    background-color: var(--secondary);
}
.btn:hover, .btn:focus {
    color: var(--background);
    background-color: var(--main);
}
.feature-card {
    background: white;
    padding: 1.9rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-top: 2px solid var(--secondary);
}

/*
                    TYPOGRAPHY
   ========================================================================== */

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

h2 {
    font-size: 2.5rem;
}

/*
                    STYLES
   ========================================================================== */

/* Navigation */
nav {
    background-color: var(--main);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    padding: 1em 4em;
    position: sticky;
    top: 0;
    z-index: 2;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.625em;
    color: var(--background);
    font-weight: bold;
    font-size: 1.2rem;
}
.nav-logo a {
    scroll-behavior: smooth;
}

.nav-logo a img {
    width: 150px;
    height: 70px;
    scroll-behavior: smooth;
    /*border: red solid 1px;*/
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5em;
    margin-right: 2rem;
}

.nav-links a {
    color: var(--background);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1.1em;
}

.nav-links a:hover {
    color: var(--dark);
    text-decoration: underline;
}

.nav-links button {
    color: var(--background);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1.1em;
}

/*********Header******************/

.header{
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--background);
    width: 100%;
}

.myVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.header-content h1 {
    text-shadow: 1px 1px 2px black;
}

.header-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px black;
}

.header-button {
    display: flex;
    gap: 1rem;
    justify-content: center;
    color: var(--background);
}



/*********About Section******************/
.about {
    padding: 3rem 0;
    background-color: var(--background);
}

.about h2{
    text-align: center;
    margin-bottom: 1rem;
}

.subtitle {
    text-align: center;
    color: var(--dark);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.about-feature {
    text-align: center;
}

.about-feature img {
    width: 50px;
    /*border: red solid 1px;*/
    text-align: left;
    margin-bottom: 1rem;
}

.about-feature h3 {
    margin-bottom: 0.5rem;
}

.about-feature p {
    color: var(--dark);
}


.info-banner {
    background: linear-gradient(135deg, var(--main) 0%, #4a5f4a 100%);
    color: var(--background);
    padding: 2.3rem 1rem;
    margin-top: 3rem;
    border-radius: 13px;
    text-align: center;
}

.info-banner h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--background);
}

.info-banner p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/*********Gallery Section******************/
.gallery {
    padding: 3rem 0;
    background-color: white;
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
    cursor: pointer;
}

/*********Location Section******************/
.location {
    padding: 3rem 0;
    background-color: var(--background);
}

.location h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--main);
}

.location-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/*********Contact Section******************/
.contact {
    padding: 3rem 0;
    background-color: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--main);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--main);
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid var(--background);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

.contact-form .btn-primary {
    grid-column: 1 / -1;
    padding: 1rem;
}

.contact-details {
    background-color: var(--background);
    padding: 2rem;
    border-radius: 10px;
}

.contact-details h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.detail-item {
    margin-bottom: 1.5rem;
}

.detail-item strong {
    display: block;
    margin-bottom: 0.5rem;
}

.detail-item address {
    line-height: 1.5;
    font-style: normal;
    color: var(--main);
}

.detail-item p {
    color: var(--background);
}

.detail-item p a {
    color: var(--main);
    font-weight: bold;
    line-height: 1.5;
}

/*********Footer Section******************/
.footer {
    background-color: var(--footer);
    color: var(--background);
    padding: 2rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
    color: var(--secondary);
    transition: all 0.3s;
}

.footer-column ul li a:hover,
.footer-column ul li a:focus {
    color: var(--background);
    text-decoration: underline;
}

.footer-column a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--secondary);
}

.footer-column p {
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid var(--secondary);
    padding-top: 1rem;
    text-align: center;
}


/*********Thanks Section (after sending form)******************/

.thanks-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thanks-card {
    text-align: center;
    max-width: 560px;
    padding: 2.3rem 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.thanks-icon {
    width: 80px;
    height: 80px;
    background: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.thanks-card img {
    width: 40px;
    height: 40px;
    color: var(--secondary);
}

.thanks-card h2 {
    margin-bottom: 1rem;
}

.thanks-card p {
    color: var(--dark);
    line-height: 1.7;
    margin-bottom: 1.8rem;
}

.thanks-card button a {
    text-decoration: none;
    color: var(--background);
    font-weight: bold;
}



/* Responsive Design */
@media (max-width: 768px) {
    .header-video {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        flex-direction: column;
        gap: 0.5rem;
        /*text-align: center;*/
    }

    .header-content h1 {
        font-size: 2rem;
    }

    .header-content p {
        font-size: 1rem;
    }

    .header-buttons {
        flex-direction: column;
        align-items: center;
    }

    .location-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    white-space: inherit;
    width: auto;
}


/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

