
/* =========================================
   Verdant Bloom Wedding Florist Website
   Main Stylesheet
   ========================================= */


/* General Website Design */

body {
    background-color: #dcebf5;
    font-family: "Times New Roman", Times, serif;
    color: #333333;
    margin: 0;
    padding: 0;
    font-size: 18px;
}


/* Website Header */

header {
    background-color: white;
    padding: 25px 20px;
    border-bottom: 2px solid #c8dbe9;
}


/* Logo and Website Name Alignment */

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}


/* Project Logo */

.website-logo {
    width: 110px;
    height: 110px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}


/* Website Name and Tagline */

.header-text {
    text-align: left;
}

.header-text h1 {
    color: #244b6b;
    font-size: 42px;
    margin: 0;
}

.header-text p {
    color: #60768a;
    font-size: 18px;
    margin: 8px 0 0;
}


/* Navigation Bar */

nav {
    background-color: #244b6b;
    text-align: center;
    padding: 17px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    margin: 0 18px;
    padding: 8px;
}

nav a:hover {
    color: #dcebf5;
    text-decoration: underline;
}


/* Main Website Content */

main {
    background-color: white;
    max-width: 1100px;
    margin: 35px auto;
    padding: 35px;
    border-radius: 12px;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(36, 75, 107, 0.08);
}


/* General Headings */

h2 {
    color: #244b6b;
    font-size: 32px;
    text-align: center;
    margin-bottom: 25px;
}

h3 {
    color: #244b6b;
    font-size: 24px;
}

p {
    line-height: 1.7;
}


/* Homepage Hero Section */

.hero {
    background-color: #edf5fa;
    text-align: center;
    padding: 55px 30px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.hero h2 {
    color: #244b6b;
    font-size: 38px;
    margin-bottom: 20px;
}

.hero p {
    max-width: 750px;
    margin: 0 auto 25px;
    font-size: 20px;
    color: #526779;
}


/* Website Buttons */

.button,
input[type="submit"],
button {
    display: inline-block;
    background-color: #244b6b;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-family: "Times New Roman", Times, serif;
    font-size: 18px;
    text-decoration: none;
    cursor: pointer;
    margin: 8px;
    transition: background-color 0.2s;
}

.button:hover,
input[type="submit"]:hover,
button:hover {
    background-color: #376e94;
    color: white;
}


/* Flower and Wedding Package Cards */

.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.card,
.item {
    background-color: #f8fbfd;
    border: 1px solid #c8dbe9;
    border-radius: 10px;
    padding: 25px;
    flex: 1 1 250px;
    box-sizing: border-box;
    transition: box-shadow 0.2s;
}

.card:hover,
.item:hover {
    box-shadow: 0 5px 15px rgba(36, 75, 107, 0.12);
}

.card h3,
.item h3 {
    color: #244b6b;
    margin-top: 0;
}

.card p,
.item p {
    font-size: 17px;
    line-height: 1.6;
}

.card a,
.item a,
main a:not(.button) {
    color: #244b6b;
}

.card a:hover,
.item a:hover {
    color: #376e94;
}


/* Flower and Wedding Images */

.card img,
.item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.hero img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}


/* Consultation Form */

form {
    background-color: #f5f9fc;
    max-width: 600px;
    margin: 30px auto;
    padding: 30px;
    border: 1px solid #c8dbe9;
    border-radius: 10px;
    box-sizing: border-box;
}

label {
    display: block;
    color: #244b6b;
    font-weight: bold;
    margin-top: 18px;
    margin-bottom: 6px;
    font-size: 18px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #b8cbd9;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: "Times New Roman", Times, serif;
    font-size: 17px;
    background-color: white;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #83b2d4;
    outline-offset: 1px;
}


/* Consultation Submit Button */

input[type="submit"] {
    width: 100%;
    margin: 25px 0 0;
}


/* Form Error and Success Messages */

.error {
    color: #b42318;
    background-color: #fff1f0;
    border: 1px solid #f3c2bd;
    padding: 12px;
    border-radius: 5px;
}

.success {
    color: #245c42;
    background-color: #e8f5ec;
    border: 1px solid #b9dec6;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}


/* Website Footer */

footer {
    background-color: #244b6b;
    color: white;
    text-align: center;
    padding: 25px 15px;
    margin-top: 40px;
}

footer p {
    margin: 5px;
    font-size: 16px;
}


/* Tablet and Mobile Screens */

@media screen and (max-width: 768px) {

    .header-content {
        gap: 15px;
    }

    .website-logo {
        width: 85px;
        height: 85px;
    }

    .header-text h1 {
        font-size: 34px;
    }

    .header-text p {
        font-size: 16px;
    }

    nav {
        padding: 12px;
    }

    nav a {
        display: inline-block;
        margin: 7px;
        font-size: 16px;
    }

    main {
        margin: 20px 12px;
        padding: 22px;
    }

    .hero {
        padding: 35px 20px;
    }

    .hero h2 {
        font-size: 29px;
    }

    .hero p {
        font-size: 18px;
    }

    .cards {
        flex-direction: column;
        gap: 18px;
    }

    .card,
    .item {
        flex: auto;
    }

    form {
        padding: 20px;
    }
}


/* Smaller Mobile Screens */

@media screen and (max-width: 480px) {

    header {
        padding: 20px 10px;
    }

    .header-content {
        gap: 10px;
    }

    .website-logo {
        width: 65px;
        height: 65px;
    }

    .header-text h1 {
        font-size: 27px;
    }

    .header-text p {
        font-size: 14px;
    }

    h2 {
        font-size: 27px;
    }

    form {
        padding: 18px;
    }
}
