/* ===============================
   GLOBAL STYLES
================================= */

body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    background-color: #f6efe4;
    color: #0f1e2e;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
}

/* ===============================
   HERO 
================================= */

.hero {
    background: linear-gradient(rgba(15,30,46,.75), rgba(15,30,46,.75)),
                url('hero-placeholder.jpg') center/cover no-repeat;
    height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-bottom: 8px solid #c8a24d;
    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    letter-spacing: 2px;
}

.hero p {
    color: #e6f0f8;
    font-size: 1.2rem;
}

/* ===============================
   NAVBAR
================================= */

.navbar {
    background-color: #1c5d99;
    border-bottom: 4px solid #c8a24d;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.navbar li {
    margin: 0 25px;
}

.navbar a {
    color: white;
    font-weight: 600;
    padding: 18px 0;
    display: block;
    position: relative;
}

.navbar a::after {
    content: "";
    display: block;
    height: 3px;
    background: #c8a24d;
    width: 0;
    transition: 0.3s;
}

.navbar a:hover::after {
    width: 100%;
}

/* ===============================
   TALAVERA BACKGROUND SECTIONS
================================= */

.ornate-divider {
    background-image: url('talavera-pattern.png');
    background-size: 200px;
    background-repeat: repeat;
    padding: 80px 60px;
}

/* ===============================
   INTRO SECTION (Homepage)
================================= */

.intro {
    display: flex;
    gap: 50px;
    align-items: center;
    background-color: rgba(255,255,255,.92);
    border: 3px solid #c8a24d;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
}

.intro h2 {
    font-size: 2.2rem;
    color: #7a1f2b;
}

/* ===============================
   FEATURES
================================= */

.features {
    padding: 80px 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    background: #e6f0f8;
}

.feature-card {
    width: 260px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 2px solid #c8a24d;
    text-align: center;
    transition: 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

.feature-card h3 {
    color: #7a1f2b;
    margin-top: 15px;
}

/* ===============================
   BUTTON
================================= */

.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 22px;
    background: #7a1f2b;
    color: white;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s;
}

.btn:hover {
    background: #1c5d99;
}

/* ===============================
   IMAGE PLACEHOLDERS
================================= */

.image-placeholder {
    background-color: #ddd;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #555;
    border-radius: 8px;
}

.image-placeholder.small {
    height: 120px;
}

/* ===============================
   DYNAMIC TREE
================================= */

.dynamic-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    margin-bottom:40px;
}

.tree-generation-label {
    font-size: 1.5rem;
    color: #7a1f2b;
}

.tree-members {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.tree-card {
    background: white;
    border: 3px solid #c8a24d;
    padding: 25px 35px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 600;
    min-width: 160px;
}

.tree-card:hover {
    transform: translateY(-8px);
    background: #e6f0f8;
    box-shadow: 0 12px 25px rgba(0,0,0,.15);
}

.tree-navigation {
    text-align: center;
}

/* ===============================
   FOOTER
================================= */

footer {
    background-color: #0f1e2e;
    color: white;
    text-align: center;
    padding: 30px;
    border-top: 5px solid #c8a24d;
}

/* ===============================
   RESPONSIVE DESIGN
================================= */

@media (max-width: 900px) {
    .intro {
        flex-direction: column;
        padding: 40px 20px;
    }

    .features {
        padding: 60px 20px;
    }

    .members {
        gap: 20px;
    }
}



/* original css

body {
    margin: 0;
    font-family: "Georgia", serif;
    background-color: #f5efe6;
    color: #3b2f2f;
}

.hero {
    background: url('hero-placeholder.jpg') center/cover no-repeat;
    height: 350px;
    position: relative;
}

.overlay {
    background-color: rgba(80, 0, 0, 0.65);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}

.overlay h1 {
    font-size: 3rem;
    margin: 0;
    letter-spacing: 2px;
}

.overlay p {
    font-size: 1.2rem;
    margin-top: 10px;
}

.navbar {
    background-color: #7a1f1f;
}

.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    list-style: none;
}

.navbar li {
    margin: 0 20px;
}

.navbar a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.navbar a:hover {
    background-color: #a52a2a;
}

.intro {
    display: flex;
    padding: 50px;
    gap: 40px;
    align-items: center;
}

.intro-text {
    flex: 1;
}

.intro-image {
    flex: 1;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 50px;
    background-color: #fff;
}

.feature-card {
    width: 260px;
    background: #f9f5f0;
    padding: 20px;
    border-top: 5px solid #7a1f1f;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-card h3 {
    margin-top: 15px;
}

.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #7a1f1f;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.btn:hover {
    background-color: #a52a2a;
}

.image-placeholder {
    background-color: #d8cfc4;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #5a4a42;
    font-weight: bold;
}

.image-placeholder.small {
    height: 120px;
}

footer {
    background-color: #3b2f2f;
    color: #fff;
    text-align: center;
    padding: 20px;
} */ 