/* General Styling */
body {
    font-family: 'Roboto', sans-serif;
    background: #f5efe4;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6; /* Improves text readability */
    padding-bottom: 60px; /* Adjust this value to match the footer's height */
    box-sizing: border-box; /* Ensures padding is accounted for */
}

/* Header Section */
.header {
    background: linear-gradient(to bottom, #8B3E2F, #6C2E23); /* Petra-inspired gradient */
    color: #fff;
    text-align: center;
    padding: 20px 10px;
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(to right, #B5654F, #D6A47A); /* Gradient border */
    border-image-slice: 1;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px; /* Adds a more elegant spacing */
    transition: transform 0.3s ease-in-out; /* Smooth hover effect */
}

.header h1:hover {
    transform: scale(1.02); /* Subtle zoom effect on hover */
}

.header p {
    font-size: 1.2rem;
    margin-top: 10px;
    color: #F9E6D7; /* Slightly lighter for better contrast */
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Navigation Section */
.navigation {
    text-align: left;
    padding: 10px 20px;
}

.home-link {
    display: inline-flex;
    align-items: center;
    font-size: 1.2rem;
    color: #8B3E2F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.home-link i {
    margin-right: 8px; /* Add spacing between the icon and the text */
}

.home-link:hover {
    color: #6C2E23; /* Slightly darker color on hover */
}

/* Main Content Section */
.content {
    max-width: 900px;
    margin: 0 auto; /* Center the content */
    padding: 20px;
}

.content h2 {
    font-size: 1.5rem;
    color: #8B3E2F; /* Match the header theme */
    margin-bottom: 15px;
}

.content p, .content ul {
    margin-bottom: 20px;
    text-align: justify; /* Justify text for a clean look */
}

.content ul {
    padding-left: 20px; /* Indent bullet points */
}

.content li {
    margin-bottom: 10px; /* Add spacing between list items */
    color: #555; /* Slightly lighter text color for bullet points */
}

/* Footer Section */
.footer {
    display: flex;
    justify-content: space-between; /* Align left and right sections to edges */
    align-items: center;
    padding: 10px 20px; /* Adjust padding for better spacing */
    background: linear-gradient(to right, #8B3E2F, #6C2E23);
    color: white;
    font-size: 0.9rem;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.footer-left {
    flex: 1; /* Take up available space on the left */
    text-align: left;
    margin: 0;
    padding: 0;
    white-space: nowrap; /* Prevent text wrapping */
}

.footer-left p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-center {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-links a:hover {
    color: #f1c40f; /* Golden yellow hover effect */
}

.footer-right {
    flex: 1; /* Take up available space on the right */
    text-align: right;
    margin: 0;
    padding-right: 50px; /* Adjust padding to move links slightly left */
    white-space: nowrap; /* Prevent text wrapping */
}

.footer-right p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-right a {
    color: #f1c40f; /* Golden yellow */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-right a:hover {
    color: #f39c12; /* Slightly darker yellow */
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        font-size: 0.9rem;
        padding-bottom: 100px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .content {
        padding: 15px;
    }

    .footer {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 0.8rem;
    }

    .header h1 {
        font-size: 1.8rem;
    }

    .content {
        padding: 10px;
    }

    .footer {
        font-size: 0.75rem;
        flex-wrap: wrap;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        flex: 1 100%;
        margin-bottom: 5px;
        text-align: center;
    }

    .footer-center {
        gap: 10px;
    }

    .footer-links a {
        font-size: 1.2rem;
    }
}
