/* General Body Styling */
body {
    font-family: 'Georgia', serif;
    background: linear-gradient(to bottom, #1A1A1A, #222222);
    margin: 0;
    padding: 0;
    color: #F0E68C;
    background-image: url('../images/background.webp');
    background-size: cover;
    background-attachment: fixed;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Mobile Background Image Centering */
@media only screen and (max-width: 768px) {
    body {
        background-position: center center;
    }
}

/* Main Container Styling */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    background-color: rgba(26, 26, 26, 0.85);
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* NorthEastNymph Title Styling */
h1 {
    font-family: 'Brush Script MT', cursive;
    font-size: 3.0em;
    color: #FFB6C1;
    font-weight: bold;
    background: linear-gradient(to bottom, #FFB6C1, #D87093);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.05em;
}

/* Paragraph and Bio Styling */
p {
    font-family: 'Georgia', serif;
    font-size: 1.1em;
    line-height: 1.6;
    margin-top: 0;
    color: #DEB887;
    font-weight: 400;
}

/* Special Nymph Decor Text Styling */
.nymph-decor {
    font-style: italic;
    color: #DDA0DD;
    font-size: 1.4em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

/* Button Styling */
a.button {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px 10px;
    background-color: #46640b;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Mobile Button Size Increase */
@media only screen and (max-width: 768px) {
    a.button {
        padding: 15px 30px;
        font-size: 1.2em;
        margin: 5px;
    }
}

/* Button Overlay */
a.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
    z-index: -1;
}

/* Default Button Hover Effect */
a.button:hover::before {
    transform: scaleX(1);
}

a.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    background-color: #A0522D;
}

/* Specific Button Hover Effects */
a.button[href*="fans.ly"]:hover {
    background-color: #FF69B4;
}

a.button[href*="youtube"]:hover {
    background-color: #FF0000;
}

a.button[href*="reddit"]:hover {
    background-color: #FF4500;
}

a.button[href*="x.com"]:hover {
    background-color: #1DA1F2;
}

a.button[href*="instagram.com"]:hover {
    background-color: #E1306C;
}

/* Icon Inside Button */
a.button img.icon {
    vertical-align: middle;
    margin-right: 10px;
    width: 24px;
    height: 24px;
}

/* Avatar Styling */
.avatar {
    width: 150px;
    height: auto;
    border-radius: 50%;
    border: 4px solid #137d2e;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Mobile-specific adjustments */
@media only screen and (max-width: 768px) {
    .avatar {
        width: 50%;
        max-width: 200px;
        height: auto;
        margin: 10px auto;
        object-fit: cover;
    }
}

.adult-links-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.adult-link-container {
    position: relative;
    width: auto;
    max-width: none;
    margin: 0 10px;
}

/* Style for the container holding both video containers */
.videos-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 20px auto;
    max-width: 1120px;
    padding: 0 10px;
}

/* Style for individual video containers */
.video-container {
    width: calc(50% - 10px);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.video-container iframe {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
}

/* YouTube Video Titles */
.video-container h3:first-child {
    font-family: 'Lobster', cursive;
    color: #E67E22;
    font-size: 1.6em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.video-container h3:last-child {
    font-family: 'Bebas Neue', sans-serif;
    color: #20B2AA;
    font-size: 1.4em;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Mobile view: Stack videos vertically */
@media only screen and (max-width: 768px) {
    .videos-container {
        flex-direction: column;
    }

    .video-container {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* Portrait Image Container */
.portrait-container {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Portrait Images Styling */
.portrait {
    width: 30%;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 10px 0;
    object-fit: cover;
}

/* Mobile Responsiveness */
@media only screen and (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .portrait-container {
        display: block;
        text-align: center;
    }

    .portrait {
        width: 80%;
        margin: 10px auto;
        object-fit: cover;
    }

    .avatar {
        width: 50%;
        margin: 10px auto;
    }

    h1 {
        font-size: 2em;
    }

    a.button {
        display: block;
        margin: 5px auto;
    }

    .adult-links-wrapper {
        flex-direction: column;
    }

    .adult-link-container {
        width: 100%;
        margin: 10px 0;
    }
}

/* Button Container Styles */
.button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.button-container a {
    margin: 5px;
}

/* Desktop Styles: 3 buttons on top, 3 on bottom */
@media only screen and (min-width: 769px) {
    .button-container {
        display: flex;          /* Use flexbox for layout */
        flex-wrap: wrap;      /* Allow buttons to wrap to new lines */
        justify-content: center;  /* Center buttons horizontally */
    }
    .button-container a {
        width: auto;
    }
    /* Target the first 3 buttons */
    .button-container a:nth-child(1),
    .button-container a:nth-child(2),
    .button-container a:nth-child(3) {
        order: 1; /* Place these buttons first */
    }
    /* Target the last 3 buttons (adult links) */
    .button-container a:nth-child(4),
    .button-container a:nth-child(5),
    .button-container a:nth-child(6) {
        order: 2; /* Place these buttons last */
    }
}

/* Mobile Styles: All buttons in a single column, centered */
@media only screen and (max-width: 768px) {
    .button-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .button-container a {
        margin: 5px;
        width: 100%;
        text-align: center;
    }
}

/* Footer Styling */
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    color: white;
    padding: 5px;
    font-size: 14px;
    text-align: center;
    margin-top: 20px;
}

/* Brighten Footer Box */
footer p {
    background-color: rgba(160, 82, 45, 0.9);
    padding: 10px 20px;
    border-radius: 10px;
    color: #F0E68C;
}

footer a:hover {
    color: #FFB6C1;
}

/* Modal Styling */
.modal {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    overflow: hidden;
}

/* Modal Content Styling */
.modal-content {
    background-color: rgb(52, 45, 45);
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 400px;
    text-align: center;
}

/* Mobile responsiveness for modal */
@media only screen and (max-width: 768px) {
    .modal-content {
        width: 90%;
        max-width: 350px;
    }
}

#adultYesButton,
#adultNoButton {
    padding: 8px 16px;
    margin: 0 8px;
    cursor: pointer;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.85em;
}

#adultYesButton:hover,
#adultNoButton:hover {
    background-color: #e0e0e0;
}

/* --- Added Styles --- */

/* Example: Divider */
hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, #DDA0DD, transparent);
    margin: 20px 0;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    background-color: rgba(26, 26, 26, 0.85);
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex; /* Add flexbox */
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Center horizontally */
}

.contact-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    margin: 0 auto; /* Keep this for form centering */
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #DEB887;
    text-align: left;
    font-size: 0.9em;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f8f8f8;
    color: #333;
    font-size: 1em;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 20px;
}

.form-buttons .button {
    flex: 1;
    margin: 0 5px;
}