/* styles.css */

/* Reset some default styles */
body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* Navbar Logo Size */
.navbar-logo {
    width: 40px; /* Increased size for better visibility */
    height: 40px;
}

/* Button Styles - Consistent across pages */
.btn-primary {
    background-color: #6c757d;
    border-color: #6c757d;
    padding: 10px 30px;
    font-size: 1rem;
    border-radius: 30px; /* Rounded button */
    text-transform: uppercase;
    transition: background-color 0.3s, border-color 0.3s;
}

.btn-primary:hover {
    background-color: #5a6268;
    border-color: #5a6268;
}

/* Footer Styles */
footer {
    background-color: #ffffff;
    border-top: 1px solid #e4e5e7;
    padding: 15px 0;
    text-align: center;
    color: #888;
    width: 100%; /* Full width for better alignment */
    position: relative;
    bottom: 0;
    margin-top: 40px;
}

/* Hero Section Styles */
.hero {
    background-color: #343a40;
    color: #ffffff;
    padding: 40px 0; /* Increased padding for a more spacious feel */
    text-align: center;
}

.hero h1 {
    font-size: 3rem; /* Increased font size for better visibility */
    font-weight: bold;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.5rem; /* Increased font size */
    margin-bottom: 25px;
}

/* Responsive Image */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Container Styles for index.html and generator.html */
.index-container, .generator-container {
    max-width: 1200px; /* Increased max-width for more spread */
    margin: 50px auto;
    padding: 0 20px; /* Increased padding */
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Left Section Styles */
.left {
    flex: 1 1 500px; /* Flexible width */
    margin-right: 20px;
}

.left h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #343a40;
}

.left p {
    font-size: 1.3rem;
    margin-top: 20px;
    color: #6c757d;
}

/* Right Section Styles */
.right {
    flex: 1 1 500px; /* Flexible width */
    text-align: center;
}

.right img {
    max-width: 80%;
    height: auto;
    /* Removed border-radius and box-shadow */
}

/* Copy Button Styles within Modal */
.copy-button {
    margin-left: 10px;
}

/* Adjust pre and div within modal panes */
.modal-body pre {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 15px;
    border-radius: 5px;
    overflow-y: auto;
}

.modal-body #renderedContent {
    padding: 15px;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    overflow-y: auto;
}

/* Status Messages */
#markdownStatus, #renderedStatus {
    font-size: 0.9rem;
}

/* Fullscreen modal */
.modal-fullscreen .modal-dialog {
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
}

.modal-fullscreen .modal-content {
    height: 100%;
    border: none;
    border-radius: 0;
}

.modal-fullscreen .modal-body {
    overflow: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .index-container, .generator-container {
        flex-direction: column;
        text-align: center;
    }
    .left, .right {
        width: 100%;
        margin: 0;
    }
    .right img {
        max-width: 100%;
    }
    /* Modal panes stack vertically on small screens */
    .modal-body .row {
        flex-direction: column;
    }
    /* Adjust hero section padding */
    .hero {
        padding: 30px 0;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
}
