/* General Reset / Basic Styling */
body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #000000; /* Black background */
    color: #f0f0f0; /* Light gray text */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #1e90ff; /* Dodger blue */
    text-decoration: none;
}

a:hover, a:focus {
    color: #4eaaff; /* Lighter blue for hover */
    text-decoration: underline;
}

hr.content-separator { /* For separating content sections like on about.php or underthecovers.php */
    border: 0;
    height: 1px;
    background-color: #333333; /* Dark gray separator */
    margin: 30px 0; /* Vertical spacing */
}

/* Site Header Styling */
.site-header {
    background: #1a1a1a;
    color: #ffffff;
    padding: 1rem 0;
    text-align: center;
    border-bottom: #0779e4 2px solid;
    width: 100%;
}

.site-header .logo-container {
    margin-bottom: 10px;
}

.site-header .logo-container img {
    vertical-align: middle;
}

.site-header h1 {
    margin: 0 0 10px 0;
    font-size: 2em;
    display: inline-block;
    vertical-align: middle;
}

.site-header a { /* For logo link */
    color: #ffffff;
}

.main-nav {
    margin-top: 10px;
}

.main-nav a {
    color: #ffffff;
    padding: 0.5rem 1rem;
    display: inline-block;
}

.main-nav a:hover,
.main-nav a.active {
    background: #333333;
    color: #f0ad4e; /* Accent color for active/hover nav item */
    text-decoration: none;
}

.main-nav a.active {
    font-weight: bold;
}

/* Main Content Area */
.site-content-wrapper { /* Optional wrapper, if used */
    width: 100%;
    padding: 20px 0;
    flex-grow: 1;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    background-color: #111111; /* Content area background */
    border-radius: 5px;
    box-sizing: border-box;
}

.page-title {
    color: #ffffff;
    text-align: center;
    margin-bottom: 25px;
    font-size: 2.2em;
}

.page-title .subtitle { /* For "with Spartacus" on underthecovers.php */
    font-size: 0.7em;
    font-weight: normal;
    color: #aaaaaa;
    display: block;
    margin-top: 5px;
}

.podcast-intro { /* For intro text on podcast pages */
    font-size: 1.1em;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 25px;
    color: #cccccc;
}

.section-title { /* For sub-headings like "Latest Episodes" */
    text-align: center;
    font-size: 1.8em;
    color: #e0e0e0;
    margin-top: 30px;
    margin-bottom: 20px;
    border-bottom: 1px solid #333333;
    padding-bottom: 10px;
}

/* Styles for the Spotify Section (on index.php) */
.spotify {
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: center;
}

.spotify-intro-text {
    text-align: center;
    font-weight: bold;
    color: #f0f0f0;
    margin-bottom: 1rem;
    font-size: 1.1em;
}

.spotify iframe {
    border-radius: 12px;
    /* max-width: 100%; is set inline in PHP, which is fine */
}

.spotify-link-container {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.spotify-all-episodes-link {
    display: inline-block;
    padding: 12px 25px;
    background-color: #1DB954; /* Spotify green */
    color: #ffffff !important;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.spotify-all-episodes-link:hover,
.spotify-all-episodes-link:focus {
    background-color: #1aa34a; /* Darker Spotify green */
    color: #ffffff !important;
    text-decoration: none;
}

/* Styles for the Warning Box (on index.php, placed right under header) */
.warning-box {
    background-color: #282020;
    color: #f8d7da;
    border: 1px solid #5c2d33;
    padding: 15px 20px;
    margin: 20px 0; /* Added some top/bottom margin if it's outside .container */
    border-radius: 8px;
    text-align: center;
    font-size: 0.95em;
    line-height: 1.5;
}

.warning-box em {
    font-style: italic;
}

/* Podcast Page Common Styles (for mypodcasts.php & underthecovers.php) */
.podcast-total-count {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #cccccc;
    background-color: #1a1a1a;
    padding: 10px;
    border-radius: 5px;
}

.podcast-feed-error,
.podcast-no-episodes {
    background-color: #282020;
    color: #f8d7da;
    border: 1px solid #5c2d33;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
    text-align: center;
}

.podcast-list {
    margin-top: 20px;
}

.podcast-episode {
    background-color: #111111; /* Matches .container background */
    padding: 25px; /* Enhanced padding */
    margin-bottom: 30px;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    box-shadow: 0 3px 7px rgba(0,0,0,0.25); /* Slightly more pronounced */
}

.podcast-episode:last-child {
    margin-bottom: 0;
}

.episode-title {
    margin-top: 0;
    margin-bottom: 8px; /* Enhanced spacing */
    font-size: 1.7em; /* Enhanced size */
    color: #0779e4; /* Accent blue */
}

.episode-meta {
    font-size: 0.85em;
    color: #aaaaaa;
    margin-bottom: 20px; /* Enhanced spacing */
}

.episode-player {
    margin: 20px 0; /* Consistent vertical margin */
}

.episode-player audio {
    width: 100%;
    border-radius: 5px;
}

.episode-audio-unavailable {
    margin: 20px 0;
    font-style: italic;
    color: #cccccc;
    padding: 12px;
    background-color: #222222;
    border-left: 4px solid #0779e4;
    border-radius: 4px;
}

.episode-description {
    font-size: 1em; /* Standardized size */
    line-height: 1.7;
    color: #e0e0e0;
    margin-bottom: 20px;
    max-height: 150px; /* Limit initial height */
    overflow-y: auto;  /* Add scroll for overflow */
    padding-right: 10px; /* Space for scrollbar if it appears */
}

.episode-actions {
    margin-top: 20px;
    text-align: right;
}

.button.episode-details-button, 
a.download-link {
    display: inline-block;
    padding: 10px 18px;
    background-color: #0779e4;
    color: #ffffff !important;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.95em;
    font-weight: bold;
    transition: background-color 0.2s ease;
    border: none;
}

.button.episode-details-button:hover,
a.download-link:hover {
    background-color: #055a9c;
    color: #ffffff !important;
    text-decoration: none;
}

/* Podcast Controls (Load More / Return to Top buttons) */
.podcast-controls {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid #333333;
}

.podcast-controls .button {
    background-color: #0779e4;
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    margin: 5px 10px;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.podcast-controls .button:hover {
    background-color: #055a9c;
}

.podcast-controls .button:active {
    transform: translateY(1px);
}

#returnToTop {
    background-color: #444444;
    visibility: hidden; 
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

#returnToTop.visible {
    visibility: visible;
    opacity: 1;
}

/* Footer Styling */
.site-footer {
    background: #1a1a1a;
    color: #cccccc;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: auto;
    width: 100%;
    border-top: #0779e4 1px solid;
    box-sizing: border-box;
}

.site-footer .footer-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.site-footer .footer-contact-info {
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 0.95em;
}

.site-footer .footer-contact-info p {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.site-footer .phone-contact,
.site-footer .email-contact,
.site-footer .webmaster-contact {
    font-weight: normal;
    font-size: 1em;
}

.site-footer .phone-contact a,
.site-footer .email-contact a,
.site-footer .webmaster-contact a {
    color: #1e90ff;
    text-decoration: none;
}
.site-footer .phone-contact a:hover,
.site-footer .email-contact a:hover,
.site-footer .webmaster-contact a:hover {
    color: #4eaaff;
    text-decoration: underline;
}

.site-footer .footer-tagline {
    font-style: italic;
    font-size: 0.9em;
    color: #aaaaaa;
    margin-top: 0.3em;
    margin-bottom: 1.2em;
}

.site-footer .footer-separator {
    border: 0;
    height: 1px;
    background-color: #383838;
    margin: 20px auto;
    width: 70%;
}
.site-footer .final-separator {
    width: 90%;
    margin-top: 25px;
    margin-bottom: 20px;
}

.site-footer .copyright-text {
    margin-top: 20px;
    font-size: 0.85em;
    color: #999999;
}


/* --- Mobile Compatibility - Media Queries --- */
@media (max-width: 992px) {
    .container {
        width: 95%;
    }
    .site-header h1 {
        font-size: 1.8em;
    }
    .page-title {
        font-size: 2em;
    }
    .episode-title {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .site-header h1 {
        font-size: 1.5em;
        display: block;
        margin-top: 5px;
    }

    .main-nav a {
        padding: 0.5rem 0.75rem;
        font-size: 0.95em;
    }

    .page-title {
        font-size: 1.8em;
    }
    .page-title .subtitle {
        font-size: 0.65em;
    }
    .section-title {
        font-size: 1.6em;
    }

    .container {
        width: 98%;
        padding: 15px;
    }

    .episode-title {
        font-size: 1.4em;
    }
    .episode-description {
        font-size: 0.9em; 
    }
    .episode-actions {
        text-align: center; 
    }
    .button.episode-details-button, 
    a.download-link {
        width: 100%; 
        box-sizing: border-box; 
        margin-bottom: 10px;
    }
    .spotify iframe { 
        height: 200px;  
    }
    .site-footer .footer-contact-info { 
        font-size: 0.9em;  
    }
    .site-footer { 
        padding: 1.5rem 1rem;  
    }
}

@media (max-width: 480px) {
    .main-nav a {
        display: block;
        margin-bottom: 5px;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .site-header h1 {
        font-size: 1.3em;
    }
    .page-title {
        font-size: 1.6em;
    }
    .episode-title {
        font-size: 1.3em;
    }
    .podcast-controls .button {
        padding: 10px 15px; 
        font-size: 0.9em;
    }
}

.utc-title {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
}

.utc-title::before,
.utc-title::after {
    content: ""; 
    background-image: url('../images/underthecovers.png'); 
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; 
    width: 150px;  
    height: 150px; 
    margin: 0 15px; 
    display: inline-block; 
}

.utc-title span {
    display: inline-block; 
}

/* Concerts Page Specific Styles */
.page-subtitle.concert-intro { 
    text-align: center;
    font-size: 1rem; 
    color: #aaaaaa; 
    margin-top: -1rem; 
    margin-bottom: 20px;
}

.concert-count-display { 
    color: #1DB954; 
    font-size: 0.9em; 
    font-weight: normal; 
}

.concert-log-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
    columns: 2; 
    column-gap: 40px; 
}

.concert-log-list .concert-item {
    padding: 8px 0;
    border-bottom: 1px solid #282828; 
    margin-bottom: 8px; 
    page-break-inside: avoid; 
    break-inside: avoid-column;
}

.concert-log-list .concert-item:last-child {
    border-bottom: none;
}

.concert-log-list .artist-name {
    font-weight: bold;
    color: #e0e0e0; 
}

.concert-log-list a.artist-name {
    color: #1e90ff; 
    text-decoration: none;
}

.concert-log-list a.artist-name:hover {
    color: #4eaaff;
    text-decoration: underline;
}

.concert-log-list .concert-notes {
    font-size: 0.85em;
    color: #bbbbbb; 
    margin-left: 8px;
    display: inline; 
}

.concert-log-list .met-highlight { 
    color: #f0ad4e; 
    font-weight: bold;
}

.concert-log-list .anecdote-highlight { 
    color: #87CEEB; 
    font-style: italic;
}
.concert-log-list .category-comedy { 
    color: #90ee90; 
    font-style: italic;
}

@media (max-width: 768px) {
    .concert-log-list {
        columns: 1; 
    }
}

/* Suggestion Form Styles */
.suggestion-form-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #333333; 
}

.suggestion-form-section h2.section-title { 
    margin-bottom: 15px;  
}
.suggestion-form-section > p { 
    text-align: center;
    margin-bottom: 25px;
    color: #cccccc;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #e0e0e0; 
    font-weight: bold;
}

.contact-form .form-input,
.contact-form .form-textarea {
    width: 100%;
    padding: 12px;
    background-color: #222222; 
    border: 1px solid #444444; 
    color: #f0f0f0; 
    border-radius: 5px;
    box-sizing: border-box; 
    font-family: 'Roboto', Arial, sans-serif; 
    font-size: 1em;
}

.contact-form .form-input:focus,
.contact-form .form-textarea:focus {
    border-color: #0779e4; 
    outline: none; 
    box-shadow: 0 0 5px rgba(7, 121, 228, 0.5); 
}

.contact-form fieldset.form-group {
    border: 1px solid #444444;
    padding: 15px;
    border-radius: 5px;
}

.contact-form fieldset.form-group legend {
    padding: 0 10px;
    font-weight: bold;
    color: #e0e0e0;
}

.contact-form fieldset.form-group div { 
    margin-bottom: 8px;
}
.contact-form fieldset.form-group div:last-child {
    margin-bottom: 0;
}

.contact-form input[type="radio"] {
    margin-right: 8px;
    vertical-align: middle;
}
.contact-form input[type="radio"] + label { 
    display: inline-block;
    font-weight: normal;
    margin-bottom: 0;
}

.contact-form .form-submit-group {
    text-align: center; 
    margin-top: 30px;
}

.contact-form .button.submit-button {
    background-color: #1DB954; 
    color: #ffffff;
    padding: 12px 30px;
    font-size: 1.1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.contact-form .button.submit-button:hover {
    background-color: #1aa34a; 
}

.submission-status-message {
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
    text-align: center;
}

.submission-status-message .success-message {
    background-color: #1a3d1a; 
    color: #d4edda; 
    border: 1px solid #2c5b2c;
    padding: 15px;
    border-radius: 5px;
}

.submission-status-message .error-message {
    background-color: #332020; 
    color: #f8d7da; 
    border: 1px solid #5c2d33;
    padding: 15px;
    border-radius: 5px;
}

.submission-status-message .error-list {
    list-style-type: none;
    padding-left: 0;
    margin-top: 10px;
    color: #f8d7da; 
}

.submission-status-message .error-list li {
    margin-bottom: 5px;
}

/* Sobriety Page Specific Styles */
.sobriety-intro {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1em;
    line-height: 1.7;
    color: #cccccc;
}

.sobriety-intro p {
    margin-bottom: 1em;
}

.sobriety-counter-section {
    background-color: #1a1a1a; 
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    margin: 30px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.counter-display {
    margin-bottom: 15px;
}

.sobriety-number { 
    font-size: 4.5em; 
    font-weight: bold;
    color: #28a745; 
    line-height: 1.1;
    display: block; 
    text-shadow: 0 0 10px rgba(40, 167, 69, 0.5); 
}

.sobriety-label { 
    font-size: 1.5em; 
    color: #f0f0f0; 
    margin-top: 5px;
}

.sobriety-start-date {
    font-size: 0.9em;
    color: #aaaaaa;
    margin-top: 15px;
}

.sobriety-reflection {
    margin-top: 30px;
    line-height: 1.8;
}

.sobriety-reflection h2 {
    text-align: center;
    font-size: 1.8em;
    color: #e0e0e0;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.sobriety-reflection p {
    margin-bottom: 1.2em;
    color: #cccccc;
}

.sobriety-counter-section {
    background-color: #1a1a1a;
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    margin: 30px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.sobriety-main-label { 
    font-size: 1.8em; 
    color: #f0f0f0;  
    font-weight: bold;
    margin-bottom: 25px;
}

.sobriety-duration-display {
    display: flex;
    justify-content: center; 
    align-items: baseline; 
    margin-bottom: 15px;
    gap: 20px; 
}

.duration-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px; 
}

.duration-value { 
    font-size: 3.5em; 
    font-weight: bold;
    color: #28a745; 
    line-height: 1.1;
    display: block;
    text-shadow: 0 0 8px rgba(40, 167, 69, 0.4);
}

.duration-unit {
    font-size: 1em; 
    color: #cccccc; 
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sobriety-total-days {
    font-size: 1em;
    color: #aaaaaa;
    margin-top: 15px;
    font-style: italic;
}

.sobriety-start-date {
    font-size: 0.9em;
    color: #aaaaaa;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .sobriety-main-label {
        font-size: 1.5em;
    }
    .duration-value {
        font-size: 2.8em;
    }
    .duration-unit {
        font-size: 0.9em;
    }
    .sobriety-duration-display {
        gap: 15px; 
    }
    .duration-block {
        min-width: 60px;
    }
}

@media (max-width: 480px) {
    .sobriety-main-label {
        font-size: 1.3em;
    }
    .duration-value {
        font-size: 2.2em;
    }
    .duration-unit {
        font-size: 0.8em;
    }
    .sobriety-duration-display {
        flex-direction: row; 
        gap: 10px;
    }
    .duration-block {
        min-width: 50px;
    }
    .sobriety-counter-section {
        padding: 20px 10px;
    }
}

/* Listen Page Specific Styles */
.listen-intro {
    font-size: 1.1em;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 30px;
    color: #cccccc;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
    gap: 25px; 
    margin-top: 30px;
    margin-bottom: 40px;
}

.platform-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    background-color: #1a1a1a; 
    padding: 25px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: #f0f0f0; 
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: 1px solid #2a2a2a; 
    min-height: 150px; 
    box-sizing: border-box;
}

.platform-card:hover,
.platform-card:focus {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.2); 
    border-color: #0779e4; 
}

.platform-logo {
    width: 50px;      
    height: 50px;      
    object-fit: contain; 
    margin-bottom: 15px; 
}

.platform-name {
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
}

.listen-outro {
    text-align: center;
    margin-top: 30px;
    font-size: 1em;
    color: #bbbbbb;
}

@media (max-width: 480px) {
    .platform-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); 
        gap: 15px;
    }
    .platform-card {
        padding: 20px 15px;
        min-height: 120px;
    }
    .platform-logo {
        max-height: 50px; /* This was in your example, but width/height on .platform-logo is more direct */
    }
    .platform-name {
        font-size: 1em;
    }
}

/* Favorite Podcasts Page Specific Styles (also used for YouTubers page) */
.recommendations-intro { 
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1em; /* From .podcast-intro */
    line-height: 1.7; /* From .podcast-intro */
    color: #cccccc; /* From .podcast-intro */
}

.podcast-recommendation-grid { /* Reused for YouTube grid */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 25px; 
    margin-top: 20px;
    margin-bottom: 30px;
}

.podcast-card { /* Reused for YouTube card */
    background-color: #1a1a1a; 
    padding: 20px 25px;
    border-radius: 8px;
    border: 1px solid #2f2f2f; 
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.podcast-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.15); 
}

.podcast-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.4em;
    color: #0779e4; 
}

.podcast-card h3 a {
    color: inherit; 
    text-decoration: none;
}

.podcast-card h3 a:hover {
    text-decoration: underline;
    color: #4eaaff; 
}

.podcast-card p {
    font-size: 0.95em;
    color: #cccccc; 
    line-height: 1.6;
    margin-bottom: 0; 
    flex-grow: 1; 
}

.no-recommendations {
    text-align: center;
    font-style: italic;
    color: #aaaaaa;
    padding: 20px;
}

.suggest-section { /* Styles for the suggestion section on YouTubers/Podcasts page */
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #333333;
}

.suggest-section h2.section-title {
    /* Uses existing .section-title styles */
    margin-bottom: 15px;
}

.suggest-section p {
    color: #cccccc;
    margin-bottom: 20px;
    line-height: 1.7;
    max-width: 700px; 
    margin-left: auto;
    margin-right: auto;
}

.button.suggest-button {
    background-color: #f0ad4e; 
    color: #111111; 
    padding: 12px 25px;
    font-weight: bold;
    text-decoration: none; /* Ensure links styled as buttons don't have underlines */
    border: none; /* Ensure buttons don't have default borders */
    border-radius: 5px; /* Consistent rounding */
    display: inline-block; /* Proper button behavior */
    cursor: pointer; /* Indicate interactivity */
}

.button.suggest-button:hover {
    background-color: #d99c43; 
    color: #000000;
}


/* Styles for Social Follow Section on About Page */
.story-section {
    /* text-align: center; is already inline */
    margin-top: 30px;    /* Space above this section */
    margin-bottom: 30px; /* Space below this section */
    padding-top: 20px;   /* Optional: space if using a border-top */
    /* border-top: 1px solid #333333; */ /* Optional: if you removed the <hr> and want a CSS border */
}

.fb-button-with-img {
    display: inline-block; /* Allows margin and keeps icons on the same line */
    margin: 0 1rem;   
	text-align: center;	/* Space between icons */
    text-decoration: none; /* Removes underline from image links */
}

.fb-icon {
    width: 75px;  /* Adjust size as desired */
    height: 75px; /* Adjust size as desired */
    vertical-align: middle; /* Good practice for image links */
    border-radius: 25px; /* Optional: for rounded corners on icons */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.fb-button-with-img:hover .fb-icon {
    transform: scale(1.5); /* Slight zoom effect */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3); /* Optional subtle glow */
}

/* The paragraph styling is already inline, but if you wanted to move it to CSS:
.story-section p {
    margin-top: 0.5rem;
    color: #f1f1f1;
    font-weight: bold;
}
*/



/* --- Dropdown Menu Styles --- */

/* The container for the dropdown. Required to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block; /* Aligns it with other nav items */
}

/* The main dropdown button (e.g., "My Favorites") */
.dropdown .dropbtn {
  /* Inherit styles from your other nav links */
  padding: 15px 20px;
  text-decoration: none;
  display: inline-block;
  color: white; /* Adjust color to match your nav bar */
  cursor: pointer; /* Makes it look like a button */
  border: none;
  background: none;
  font-family: inherit; /* Use the same font as other links */
  font-size: inherit;   /* Use the same font size */
}

/* The hidden dropdown content */
.dropdown-content {
  display: none; /* Hidden by default */
  position: absolute;
  background-color: #333; /* A dark background for the dropdown */
  min-width: 180px; /* Or whatever width you prefer */
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.3);
  z-index: 100; /* Ensures it appears on top of other content */
  border-radius: 4px; /* Optional: adds rounded corners */
}

/* The links inside the dropdown */
.dropdown-content a {
  color: white; /* Text color for dropdown links */
  padding: 12px 16px;
  text-decoration: none;
  display: block; /* Makes the entire area clickable */
  text-align: left;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #555;
}

/* Show the dropdown menu when hovering over the dropdown container */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Optional: Style the active link within the dropdown */
.dropdown-content a.active {
    background-color: #f90; /* Or whatever your active color is */
    color: #333;
}


/* --- Enhanced Contact Page Styles --- */

.contact-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(40, 40, 40, 0.8); /* Semi-transparent dark background */
    border: 1px solid #555;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.contact-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid #f90; /* Your brand's accent color */
    padding-bottom: 1rem;
}

.contact-header .page-title {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.contact-header .subtitle {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
}

/* Form Styling */
.contact-form-wrapper .form-group {
    margin-bottom: 1.5rem;
}

.contact-form-wrapper label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #ddd;
}

.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper select,
.contact-form-wrapper textarea {
    width: 100%;
    padding: 12px;
    background-color: #222;
    border: 1px solid #555;
    border-radius: 4px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper select:focus,
.contact-form-wrapper textarea:focus {
    outline: none;
    border-color: #f90; /* Accent color on focus */
    box-shadow: 0 0 10px rgba(255, 153, 0, 0.3);
}

.contact-form-wrapper .form-row {
    display: flex;
    gap: 1.5rem;
}

.contact-form-wrapper .form-row .form-group {
    width: 50%;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
    .contact-form-wrapper .form-row {
        flex-direction: column;
        gap: 0;
    }
    .contact-form-wrapper .form-row .form-group {
        width: 100%;
    }
}


/* Submit Button */
.btn-submit {
    display: block;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 4px;
    background-color: #f90; /* Your brand's vibrant accent color */
    color: #111;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #fff;
    color: #111;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* After Form and Social Connect */
.after-form-note, .social-connect {
    text-align: center;
    margin-top: 3rem;
}

.social-links a {
    color: #ccc;
    font-size: 2rem;
    margin: 0 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: #f90; /* Accent color on hover */
    transform: scale(1.2);
}


/* This is the CSS for your main content block on the contact page */
.contact-container {
    max-width: 800px; /* THIS IS THE MOST IMPORTANT LINE - it stops the container from growing past 800px wide */
    margin: 2rem auto; /* The 'auto' on left/right margin is what centers it horizontally */
    padding: 2rem;
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid #555;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}


/* --- Submission Page Styles (Success & Error) --- */

.submission-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 3rem;
    text-align: center;
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid #555;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    /* Add a subtle animation */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 0.6s ease-out forwards;
}

@keyframes fadeInSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.submission-container .icon-wrapper {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.submission-container .success-icon {
    color: #28a745; /* A nice green */
}

.submission-container .error-icon {
    color: #dc3545; /* A strong red */
}

.submission-container h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.submission-container .subtitle {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* Re-using the button style from contact.php for consistency */
.submission-container .btn-submit {
    display: inline-block; /* Changed from block */
    width: auto; /* Changed from 100% */
    padding: 15px 30px; /* More padding for a better look */
    text-decoration: none;
}