/* =========================================
   LIFE SPICES - MAIN WEBSITE STYLESHEET
   ========================================= */

/* ---------- General ---------- */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f7f8f3;
    color: #333;
    line-height: 1.7;
}


/* ---------- Header / Logo ---------- */

header {
    background-color: white;
    text-align: center;
    padding: 25px 20px 15px;
}

header img {
    width: 140px;
    max-width: 100%;
    height: auto;
}


/* ---------- Navigation ---------- */

nav {
    background-color: #3f6b35;
    text-align: center;
    padding: 15px;
}

nav a {
    color: white;
    text-decoration: none;
    display: inline-block;
    margin: 0 20px;
    font-size: 17px;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    color: #dcecc8;
}


/* ---------- Hero / Page Title ---------- */

.hero {
    background-color: #e7f0df;
    text-align: center;
    padding: 60px 20px;
}

.hero h1 {
    font-size: 42px;
    color: #31552b;
    margin-bottom: 15px;
}

.hero p {
    font-size: 20px;
    color: #555;
}


/* ---------- Main Content ---------- */

main {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}


/* ---------- Content Sections ---------- */

.section {
    background-color: white;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.section h2 {
    color: #3f6b35;
    font-size: 26px;
    margin-bottom: 15px;
    border-bottom: 2px solid #dce8d4;
    padding-bottom: 8px;
}

.section p {
    font-size: 17px;
    margin-bottom: 15px;
    text-align: left;
}

.section ul {
    margin-left: 25px;
    font-size: 17px;
}

.section li {
    margin-bottom: 5px;
}


/* ---------- Home Page Introduction ---------- */

.introduction {
    text-align: left;
}

.introduction p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 18px;
}


/* ---------- Home Page Photos ---------- */

.home-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.home-gallery img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.home-gallery img:hover {
    transform: scale(1.02);
}


/* ---------- Picture Page Gallery ---------- */

.gallery {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;

    border-radius: 10px;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);

    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.03);
}


/* ---------- Video ---------- */

.video-container {
    width: 100%;
    margin-top: 20px;
    text-align: center;
}

.video-container video {
    width: 100%;
    max-width: 800px;
    border-radius: 10px;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}


/* ---------- Horizontal Line ---------- */

hr {
    border: none;
    border-top: 1px solid #d5ddcf;
    margin: 30px 0;
}


/* ---------- Footer ---------- */

footer {
    background-color: #31552b;
    color: white;
    text-align: center;
    padding: 25px;
    margin-top: 50px;
}

footer p {
    margin: 0;
    font-size: 15px;
}


/* =========================================
   MOBILE RESPONSIVE DESIGN
   ========================================= */

@media (max-width: 700px) {

    /* Page title */
    .hero {
        padding: 40px 15px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 17px;
    }


    /* Navigation */
    nav a {
        display: block;
        margin: 10px 0;
    }


    /* Main content */
    main {
        padding: 0 15px;
        margin: 25px auto;
    }


    /* Sections */
    .section {
        padding: 20px;
    }

    .section h2 {
        font-size: 23px;
    }

    .section p {
        font-size: 16px;
    }


    /* Home photos */
    .home-gallery {
        grid-template-columns: 1fr;
    }

    .home-gallery img {
        height: auto;
    }


    /* Picture gallery */
    .gallery {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .gallery img {
        height: auto;
    }


    /* Video */
    .video-container video {
        width: 100%;
    }
}