/* AMOOD CSS */

/* Basic page styles */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #171727;
    background: #f8f7ff;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
}

/* Buttons and logo */

.button {
    display: inline-block;
    padding: 14px 26px;
    border: 0;
    border-radius: 30px;
    color: white;
    background: #7c3aed;
    font-weight: bold;
}

.button:hover {
    opacity: .9;
}

.logo {
    color: #171727;
    font-size: 40px;
    font-weight: bold;
    letter-spacing: -3px;
}

.logo span, .hero h1 span {
    color: #7c3aed;
}

/* Header */

.header {
    min-height: 72px;
    padding: 10px 4%;
    display: flex;
    align-items: center;
    gap: 45px;
    background: white;
    border-bottom: 1px solid #eeeaf4;
}

.header nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header nav a {
    font-size: 14px;
    font-weight: bold;
}

.header nav a:hover, .feature-card a, .feature-card button, #result-title {
    color: #7c3aed;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

/* Home page */

.hero {
    min-height: 355px;
    padding: 60px 8%;
    color: white;
    background: linear-gradient(90deg, rgba(11, 8, 35, .95), rgba(11, 8, 35, .25)), url("https://images.unsplash.com/photo-1470770841072-f978cf4d019e?auto=format&fit=crop&w=2000&q=85") center / cover;
}

.hero h1 {
    max-width: 850px;
    margin: 15px 0;
    font-size: 56px;
}

.hero p {
    max-width: 550px;
    color: #ddd9e8;
    font-size: 18px;
    line-height: 1.5;
}

.hero p:first-child {
    margin-bottom: 0;
    color: #c99af2;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
}

.hero .button {
    margin-top: 15px;
}

/* Move finder */

.finder {
    position: relative;
    z-index: 1;
    width: 92%;
    max-width: 1400px;
    margin: -25px auto 0;
    padding: 28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 35px rgba(64, 22, 120, .12);
}

.finder-box {
    margin: 0;
    padding-right: 15px;
    border-right: 1px solid #e5e0ec;
}

.finder-box:last-of-type {
    border: 0;
}

.finder-box h2 {
    margin: 0 0 15px;
    font-size: 16px;
}

.finder-box button, .budget-options button, .filter-group button, .planner-box button, .group-box button {
    padding: 10px 15px;
    margin: 4px;
    border: 1px solid #dfd8e9;
    border-radius: 22px;
    background: white;
}

.finder-box button {
    min-height: 48px;
    border-radius: 12px;
}

.finder-box button:hover, .budget-options button:hover, .filter-group button:hover {
    color: #7c3aed;
    border-color: #7c3aed;
}

.find-button, .plan-button, .group-button {
    display: block;
    margin: 25px auto;
}

/* Page headings */

.page-heading, .random-section {
    color: white;
    background: #100d2b;
}

.page-heading {
    padding: 65px 8%;
}

.page-heading h1 {
    margin: 10px 0;
    font-size: 42px;
}

.page-heading p {
    max-width: 600px;
    color: #d6d1e2;
    line-height: 1.5;
}

/* Cards and content */

.section-title {
    margin-bottom: 25px;
}

.section-title h2 {
    margin: 5px 0;
    font-size: 28px;
}

.section-title p, .move-card p, .feature-card p, #result-info {
    color: #6d6879;
}

.moves-section, .day-plan {
    padding: 50px 8%;
}

.move-grid, .feature-grid, .plan-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.move-card, .feature-card, .plan-card, .about-box, .account-box, #move-result {
    border: 1px solid #e7e1ef;
    border-radius: 16px;
    background: white;
}

.move-card {
    overflow: hidden;
    padding-bottom: 18px;
    box-shadow: 0 5px 18px rgba(50, 25, 80, .06);
}

.move-image, .move-card img {
    display: block;
    width: 100%;
    height: 160px;
}

.move-image {
    background: #f1edfa;
    object-fit: cover;
}

.move-card img {
    object-fit: cover;
}

.move-card h3 {
    margin: 15px 15px 5px;
}

.move-card p {
    margin: 5px 15px 15px;
    line-height: 1.4;
}

.move-card button {
    margin-left: 15px;
    padding: 9px 14px;
    border: 1px solid #7c3aed;
    border-radius: 22px;
    color: #7c3aed;
    background: white;
}

.move-card button:hover {
    color: white;
    background: #7c3aed;
}

/* Other sections */

.features, .filters, .planner, .group-move, .explore-more, .account-section {
    background: #f1edfa;
}

.features, .filters, .planner, .group-move, .explore-more {
    padding: 55px 8%;
}

.feature-card {
    padding: 25px;
}

.feature-card h3 {
    margin-top: 0;
}

.feature-card p {
    line-height: 1.5;
}

.budget-section {
    padding: 55px 8%;
    text-align: center;
    background: white;
}

.budget-section h2 {
    font-size: 30px;
}

.join-section {
    margin: 35px 8% 45px;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-radius: 18px;
    color: white;
    background: #7c3aed;
}

.join-section .button {
    color: #7c3aed;
    background: white;
}

.random-section {
    padding: 60px 8%;
    text-align: center;
}

.explore-more {
    text-align: center;
}

.planner-box, .group-box {
    margin-bottom: 25px;
}

.plan-grid {
    grid-template-columns: repeat(3, 1fr);
}

.plan-card, .about-box {
    padding: 25px;
}

.about-section {
    padding: 55px 8%;
    display: flex;
    gap: 20px;
}

.about-box {
    width: 50%;
}

.account-section {
    padding: 70px 20px;
}

.account-box {
    max-width: 450px;
    margin: auto;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(64, 22, 120, .08);
}

/* Account form */

.account-form label {
    display: block;
    margin: 15px 0 5px;
}

.account-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d8d1e2;
    border-radius: 8px;
}

.account-form .button {
    width: 100%;
    margin-top: 20px;
}

/* Results */

button.selected {
    color: white;
    border-color: #7c3aed;
    background: #7c3aed;
}

#move-result {
    display: none;
    max-width: 500px;
    margin: 30px auto;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(64, 22, 120, .08);
}

#move-result.show {
    display: block;
}

.empty-saved {
    grid-column: 1 / -1;
    padding: 30px;
    border: 1px dashed #d8d0e9;
    border-radius: 16px;
    color: #6d6879;
    text-align: center;
}

/* Footer */

footer {
    padding: 30px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #e3ddec;
    color: #6d6879;
    background: white;
}

footer nav a {
    margin-left: 20px;
}

footer nav a:hover {
    color: #7c3aed;
}

/* Responsive layout */

/* Responsive design */

@media (max-width: 1000px) {

    .finder, .move-grid, .feature-grid, .plan-grid {
        grid-template-columns: 1fr 1fr;
    }

}

/* Responsive layout */

@media (max-width: 700px) {

    .header {
        padding: 15px 6%;
        display: block;
        text-align: center;
    }

    .header nav {
        margin: 20px 0;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .header-buttons {
        justify-content: center;
        margin: 10px 0 0;
    }

    .hero {
        min-height: 330px;
        padding: 55px 7%;
    }

    .hero h1 {
        font-size: 38px;
    }

    .finder, .move-grid, .feature-grid, .plan-grid {
        grid-template-columns: 1fr;
    }

    .finder {
        width: 90%;
    }

    .finder-box {
        padding: 0 0 18px;
        border: 0;
        border-bottom: 1px solid #e5e0ec;
    }

    .about-section {
        display: block;
    }

    .about-box {
        width: 100%;
        margin-bottom: 20px;
    }

    .join-section {
        margin: 30px 6%;
        padding: 28px;
        display: block;
    }

    .join-section .button {
        margin-top: 12px;
    }

    footer {
        display: block;
        text-align: center;
    }

    footer nav {
        margin-top: 15px;
    }

    footer nav a {
        display: inline-block;
        margin: 8px;
    }

}

/* One purple shade and the Amood logo */

.logo {
    color: #171727;
}

.logo span {
    color: #7C3AED;
}

.button,
.join-section {
    background: #7C3AED;
}

.button:hover {
    background: #7C3AED;
    opacity: 0.9;
    filter: none;
}

.hero {
    background: #17132b url("../images/hero.webp") center / cover;
}

.page-heading,
.random-section {
    background: #17132b;
}

.header nav a:hover,
.finder-box button:hover,
.move-card button,
.feature-card a,
.feature-card button,
.filter-group button:hover,
#result-title {
    color: #7C3AED;
}

.finder-box button:hover,
.move-card button,
.budget-options button:hover,
.filter-group button:hover {
    border-color: #7C3AED;
}

.move-card button:hover,
button.selected {
    color: white;
    border-color: #7C3AED;
    background: #7C3AED;
}

/* Activity photos */

.activity-image {
    display: block;
    width: 100%;
    height: 200px;
    margin-bottom: 16px;
    border-radius: 12px;
    object-fit: cover;
}

.plan-card .activity-image {
    height: 140px;
}

.random-result {
    max-width: 500px;
    margin: 20px auto 0;
    padding: 20px;
    border-radius: 14px;
    color: #171727;
    background: white;
    text-align: left;
}

.random-result h3 {
    margin: 0 0 8px;
}

.random-result p {
    margin: 0;
    color: #6d6879;
}
