/* -------------------------------------------------------
   RESET & BASE
------------------------------------------------------- */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f6f5ed;
    font-family: Georgia, "Times New Roman", serif;
    color: #333;
    line-height: 1.6;
}

/* Links */
a {
    text-decoration: none;
    color: #8D6E63;
    transition: 0.2s;
}
a:hover {
    color: #cc9933;
}

/* -------------------------------------------------------
   HERO HEADER
------------------------------------------------------- */
.hero {
    text-align: center;
    padding: 2.5rem 1rem;
    background: #000;
    color: #ffcc22;
}

.hero.small {
    padding: 1.8rem 1rem;
}

.hero-title {
    margin: 0.5rem 0 0;
    font-size: 2.2rem;
    letter-spacing: 1px;
}

.hero-sub {
    margin-top: 0.3rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.hero-photo {
    width: 130px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* -------------------------------------------------------
   CARD SECTIONS
------------------------------------------------------- */
.card {
    max-width: 900px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.card h2 {
    margin-top: 0;
    font-size: 1.6rem;
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.3rem;
}

.site-item {
    margin: 1.2rem 0;
}

.site-item h3 {
    margin: 0.4rem 0;
    font-size: 1.25rem;
}

/* -------------------------------------------------------
   FORM (Contact page)
------------------------------------------------------- */
.form-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-modern input,
.form-modern textarea {
    padding: 8px 10px;
    border: 1px solid #777;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

.form-modern button {
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    background: #8D6E63;
    color: white;
    font-size: 1rem;
}

.form-modern button.secondary {
    background: #aaa;
}

/* old #table_form preserved as requested */
#table_form td {
    padding: 0.5em;
    font-style: italic;
}

/* Form messages */
.form-message {
    text-align: center;
    font-size: 1.2rem;
}
.error { color: #a00; }
.success { color: #070; }

/* -------------------------------------------------------
   FOOTER
------------------------------------------------------- */
.footer {
    text-align: center;
    padding: 1.8rem;
    margin-top: 3rem;
    font-size: 0.95rem;
    color: #555;
}

/* -------------------------------------------------------
   RESPONSIVE
------------------------------------------------------- */
@media (max-width: 600px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .card {
        padding: 1.2rem;
    }
}
