/* -------------------------------------------------
   FONTS & BASE COLORS
------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=Work+Sans:wght@300;400;500&display=swap');

:root {
    --bg: #f9f9f8;
    --text: #1a1a1a;
    --accent: #000;
    --border: #d9d9d9;
    --muted: #6f6f6f;
    --white: #ffffff;
}

/* Global reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Work Sans", sans-serif;
    background-color: var(--bg);
    color: var(--text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* -------------------------------------------------
   HEADER & NAVIGATION
------------------------------------------------- */
/* ===========================
   HEADER + NAVIGATION (FIXED LOGO)
=========================== */

header {
    width: 100%;
    background: var(--accent);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: relative;
    z-index: 10;
}

/* LOGO — aligned vertically with nav */
.logo {
    width: 150px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.4));
}

/* NAV CONTAINER */
.nav {
    list-style: none;
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex: 1;
    margin: 0;
}

.nav li {
    text-transform: uppercase;
}

.nav a {
    position: relative;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background-color: #fff;
    transition: width 0.4s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* CENTER BRAND TEXT */
header h1 {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 0 2rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideIn 1.2s ease forwards 0.5s;
}

@keyframes fadeSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE FIXES */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .logo {
        width: 120px;
    }

    header h1 {
        font-size: 1.5rem;
    }
}

/* -------------------------------------------------
   CONTACT FORM SECTION
------------------------------------------------- */
main.contact-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 20px 100px;
    background-image: url("horse-silhouette.png");
    /* optional subtle background */
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
    position: relative;
}

main.contact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.95));
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    padding: 3rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    animation: fadeIn 1.2s ease forwards, breathe 8s ease-in-out infinite;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes breathe {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.01);
    }
}

.container::before {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: var(--accent);
    margin: 0 auto 1.5rem;
}

.container h1 {
    font-family: "Playfair Display", serif;
    font-size: 2.2rem;
    text-align: center;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.container p {
    text-align: center;
    color: var(--muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.field-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    color: var(--muted);
}

input,
textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background-color: #fff;
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus {
    border-color: var(--accent);
    outline: none;
    background-color: #fefefe;
}

textarea {
    resize: none;
}

button {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid var(--accent);
    border-radius: 8px;
    background-color: var(--accent);
    color: var(--white);
    font-size: 1rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background-color: #1a1a1a;
}

#result {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.95rem;
    color: var(--accent);
}

/* -------------------------------------------------
   FOOTER — clean modern layout
------------------------------------------------- */
footer.footer {
    background-color: var(--white);
    border-top: 2px solid var(--accent);
    padding: 80px 0;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col {
    flex: 1 1 220px;
    min-width: 220px;
}

.footer-col h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
}

.footer-col h4::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
    margin-top: 6px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    text-decoration: none;
    color: var(--text);
    font-weight: 400;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.social-links a {
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    color: var(--accent);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent);
    color: var(--white);
}

.footer-col h5 {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
}

.footer-col p a {
    color: var(--text);
    text-decoration: none;
}

.footer-col p a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 991px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-col {
        width: 100%;
    }

    .footer-col h4::after {
        margin: 6px auto 0;
    }

    .social-links {
        justify-content: center;
    }
}