/* Alice Mary Smith Website CSS */

@import url("https://fonts.googleapis.com/css2?family=IM+Fell+English+SC&family=EB+Garamond:ital,wght@0,400;0,700;1,400&display=swap");

body {
    font-family: "EB Garamond", serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #fdf5e6; /* Creamy background */
    color: #3b2f2f; /* Dark brown text */
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 20px;
}

header {
    background: #5a3928; /* Darker brown for header */
    color: #fdf5e6;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #c8ad7f 3px solid; /* Gold-ish border */
}

header a {
    color: #fdf5e6;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

header ul {
    padding: 0;
    list-style: none;
}

header li {
    float: left;
    display: inline;
    padding: 0 20px 0 20px;
}

header #branding {
    float: left;
}

header #branding h1 {
    margin: 0;
    font-family: "IM Fell English SC", serif;
    font-size: 36px; /* Larger for main title */
}

header nav {
    float: right;
    margin-top: 10px;
}

.main-content {
    padding: 20px;
    background: #fff;
    margin-top: 20px;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.main-content h1, .main-content h2, .main-content h3 {
    font-family: "IM Fell English SC", serif;
    color: #5a3928;
}

.main-content h1 {
    font-size: 32px;
    border-bottom: 2px solid #c8ad7f;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.main-content h2 {
    font-size: 28px;
    margin-top: 30px;
}

.main-content h3 {
    font-size: 24px;
    margin-top: 20px;
}

.work-section {
    margin-bottom: 40px;
    padding: 20px;
    border: 1px dashed #c8ad7f;
    background-color: #fffaf0; /* Lighter cream for sections */
}

.work-section h3 {
    margin-top: 0;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.work-section ul {
    list-style: disc;
    padding-left: 20px;
}

.work-section li {
    margin-bottom: 10px;
}

.work-section a {
    color: #800000; /* Maroon for links */
    text-decoration: none;
}

.work-section a:hover {
    text-decoration: underline;
}

.victorian-border {
    border: 10px solid transparent;
    padding: 15px;
    border-image: url("assets/victorian_border_design.jpeg") 30 stretch; /* Using the border image */
    margin-bottom: 20px;
}

.highlighted-link {
    color: #800000; /* Maroon, same as other links for consistency */
    font-weight: bold; /* Make it stand out */
    text-decoration: underline; /* Ensure it's clearly a link */
}

.highlighted-link:hover {
    color: #5a3928; /* Darker brown on hover */
}

.portrait-image {
    float: right;
    margin: 0 0 15px 20px;
    width: 250px; /* Adjust as needed */
    border: 5px solid #c8ad7f; /* Gold-ish border */
    box-shadow: 3px 3px 5px rgba(0,0,0,0.2);
}

.landmark-image {
    display: block;
    margin: 20px auto;
    max-width: 80%;
    border: 5px solid #5a3928; /* Darker brown border */
    box-shadow: 3px 3px 5px rgba(0,0,0,0.2);
}

/* Contact Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-family: "IM Fell English SC", serif;
    color: #5a3928;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #c8ad7f;
    background-color: #fffaf0;
    font-family: "EB Garamond", serif;
    font-size: 16px;
    color: #3b2f2f;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
}

.form-group textarea {
    resize: vertical; /* Allow vertical resizing */
}

.submit-button {
    display: inline-block;
    background-color: #5a3928; /* Dark brown */
    color: #fdf5e6; /* Creamy text */
    padding: 12px 25px;
    text-decoration: none;
    font-family: "IM Fell English SC", serif;
    font-size: 18px;
    border: 2px solid #c8ad7f; /* Gold-ish border */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #3b2f2f; /* Darker brown on hover */
    border-color: #fdf5e6;
}

.contact-link-container {
    text-align: center; /* Center the link */
    margin-top: 30px;
    padding: 15px;
    border-top: 1px dashed #c8ad7f;
}

.contact-link {
    font-family: "IM Fell English SC", serif;
    font-size: 20px;
    color: #800000; /* Maroon */
    text-decoration: none;
    padding: 10px 15px;
    border: 2px solid #c8ad7f;
    background-color: #fffaf0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-link:hover {
    background-color: #5a3928;
    color: #fdf5e6;
    text-decoration: none;
}

footer {
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    color: #5a3928;
    font-size: 0.9em;
}

/* Responsive adjustments */
@media(max-width: 768px){
    header #branding,
    header nav,
    header nav li {
        float: none;
        text-align: center;
        width: 100%;
    }

    header {
        padding-bottom: 20px;
    }

    .container {
        width: 95%;
    }

    .portrait-image {
        float: none;
        display: block;
        margin: 15px auto;
        width: 60%;
    }

    .landmark-image {
        max-width: 95%;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group textarea {
        width: 100%; /* Ensure full width on smaller screens */
    }
}

