/* --- GLOBAL STYLES & FONTS --- */
/* Using Caveat for body text for a cute, handwritten feel, and VT323 for retro headings */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;700&family=VT323&display=swap');

html {
    background-color: #F8F4E3; /* Soft cream/off-white base background */
}

body {
    font-family: 'Caveat', cursive; /* Cute cottagecore handwritten font for body text */
    color: #5A4A3C; /* Medium dark brown text */
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-image: url('images/cottage_bg_tile.gif'); /* Placeholder for a new, cozy repeating background tile */
    background-repeat: repeat;
    background-attachment: fixed; /* Background stays fixed as content scrolls */
    background-position: center top;
    cursor: auto; /* Reset cursor to default, or use a custom cozy one */
}

/* --- TEXT SELECTION --- */
::selection {
    background-color: #A2D98D; /* Lighter matcha green selection */
    color: #FFFFFF; /* White text on selection */
}
::-moz-selection {
    background-color: #A2D98D;
    color: #FFFFFF;
}

/* --- SCROLLBAR STYLES (Webkit) --- */
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: #E0D8C8; /* Light brown track */
    border: 1px solid #A08060; /* Medium brown border */
}
::-webkit-scrollbar-thumb {
    background-color: #6B8E23; /* Olive green thumb */
    border-radius: 10px;
    border: 2px solid #5A4A3C; /* Dark brown border */
}
::-webkit-scrollbar-thumb:hover {
    background-color: #A2D98D; /* Lighter matcha on hover */
    border-color: #E0D8C8; /* Light brown border on hover */
}

/* --- MAIN CONTAINER --- */
.main-container {
    max-width: 900px; /* Width of the main content area */
    margin: 20px auto; /* Centered with margin */
    background-color: #E0D8C8; /* Warm light brown/greige background */
    border: 2px solid #A08060; /* Medium brown solid border */
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1); /* Soft, subtle shadow */
    padding: 25px; /* More padding for a softer feel */
    border-radius: 15px; /* Rounded corners for coziness */
    position: relative;
    z-index: 1;
}

/* --- HEADER --- */
header {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px dashed #A08060; /* Medium brown dashed line */
    position: relative;
}

header h1 {
    font-family: 'VT323', monospace; /* Keeping pixel font for title */
    font-size: 4em; /* Large title */
    color: #6B8E23; /* Olive green title */
    text-shadow: 3px 3px 0px #5A4A3C; /* Dark brown shadow */
    margin: 0;
    padding: 0;
    text-transform: uppercase; /* Keeping uppercase for retro feel */
    letter-spacing: 2px;
}

header p {
    font-family: 'Caveat', cursive; /* Cute font for tagline */
    font-size: 1.5em;
    color: #8B4513; /* Saddle brown tagline */
    text-shadow: 1px 1px #E0D8C8; /* Subtle light brown shadow */
    margin-top: 5px;
}

/* Decorative Header GIFs (adjust for cottagecore images in HTML) */
.header-decor-left, .header-decor-right {
    position: absolute;
    top: 10px;
    width: 60px; /* Size of the GIF */
    height: auto;
    z-index: 2;
}
.header-decor-left { left: 10px; }
.header-decor-right { right: 10px; }


/* --- NAVIGATION --- */
nav {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #A08060; /* Medium brown dashed line */
    font-family: 'VT323', monospace; /* Pixel font for nav */
    font-size: 1.4em;
}

nav a {
    color: #8B4513; /* Saddle brown links */
    text-decoration: none;
    margin: 0 15px;
    padding: 5px 10px;
    border: 2px solid transparent; /* Transparent border for hover effect */
    transition: all 0.3s ease;
}

nav a:hover {
    color: #6B8E23; /* Olive green on hover */
    border-color: #A2D98D; /* Lighter matcha border on hover */
    background-color: rgba(107, 142, 35, 0.1); /* Subtle olive green background on hover */
}

/* --- CONTENT SECTIONS --- */
.content-section {
    background-color: #F0EAD6; /* Cream background for content blocks */
    border: 2px dashed #A08060; /* Medium brown dashed border */
    padding: 20px;
    margin-bottom: 30px; /* Space between sections */
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.1); /* Softer shadow */
    border-radius: 10px; /* Slightly rounded corners */
}

.content-section:last-of-type {
    margin-bottom: 0;
}

.content-section h2 {
    font-family: 'VT323', monospace; /* Pixel font for headings */
    font-size: 2.2em;
    color: #6B8E23; /* Olive green headings */
    text-shadow: 2px 2px #5A4A3C; /* Dark brown shadow */
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.content-section h3 {
    font-family: 'VT323', monospace; /* Pixel font for subheadings */
    font-size: 1.6em;
    color: #8B4513; /* Saddle brown subheadings */
    text-shadow: 1px 1px #E0D8C8; /* Light brown shadow */
    margin-top: 20px;
    margin-bottom: 10px;
}

.content-section p {
    margin-bottom: 10px;
    color: #5A4A3C; /* Medium dark brown for paragraph text */
    font-family: 'Caveat', cursive; /* Cute font for paragraph text */
    font-size: 1.4em; /* INCREASED FONT SIZE FOR READABILITY */
}

.content-section a {
    color: #8B4513; /* Saddle brown links within sections */
    text-decoration: underline;
    transition: color 0.3s ease;
}
.content-section a:hover {
    color: #6B8E23; /* Olive green on hover */
}

/* --- IMAGE STYLING --- */
.content-section img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px auto;
    border: 3px solid #A08060; /* Medium brown border */
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    border-radius: 8px; /* Rounded corners for images */
}

/* Small Decorative GIFs */
.decor-gif {
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px;
    width: 32px; /* Adjust size as needed */
    height: auto;
}

/* --- LISTS (for links, etc.) --- */
ul {
    list-style: none; /* Remove default bullets */
    padding: 0;
    margin-top: 15px;
}
ul li {
    margin-bottom: 8px;
    font-family: 'Caveat', cursive; /* Cute font for list items */
    font-size: 1.3em; /* INCREASED FONT SIZE FOR READABILITY */
}
ul li a {
    color: #8B4513; /* Saddle brown links */
    text-decoration: none;
    transition: all 0.3s ease;
}
ul li a:hover {
    color: #6B8E23; /* Olive green on hover */
    text-decoration: underline;
    text-shadow: 1px 1px #A2D98D; /* Light matcha shadow */
}

/* --- MARQUEE STYLE --- */
marquee {
    background-color: #A2D98D; /* Lighter matcha background for marquee */
    color: #5A4A3C; /* Dark brown text */
    padding: 5px 0;
    font-family: 'VT323', monospace; /* Pixel font for marquee */
    font-size: 1.3em;
    font-weight: bold;
    border-top: 2px dashed #E0D8C8; /* Light brown dashed line */
    border-bottom: 2px dashed #E0D8C8; /* Light brown dashed line */
    margin-top: 15px;
    display: block;
}

/* --- RETRO BUTTONS / STAMPS --- */
.button-container {
    text-align: center;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px dashed #A08060; /* Medium brown dashed line */
}
.retro-button {
    display: inline-block;
    margin: 5px;
    border: 2px solid #6B8E23; /* Olive green border */
    box-shadow: 2px 2px 0px #5A4A3C; /* Dark brown shadow */
    transition: transform 0.2s ease;
    border-radius: 5px; /* Slightly rounded buttons */
}
.retro-button:hover {
    transform: scale(1.05);
    border-color: #A2D98D; /* Lighter matcha on hover */
}

/* --- NOW PLAYING / ROTATING TEXT (JS controlled) --- */
#now-playing-container {
    background-color: #F0EAD6; /* Cream background */
    border: 2px solid #A08060; /* Medium brown border */
    padding: 10px;
    margin-top: 20px;
    text-align: center;
    font-family: 'VT323', monospace; /* Pixel font */
    font-size: 1.2em;
    color: #6B8E23; /* Olive green text */
    box-shadow: 3px 3px 0px #5A4A3C; /* Dark brown shadow */
    border-radius: 8px; /* Rounded corners */
}
#now-playing-text {
    display: inline-block;
    animation: nowPlayingBlink 1.5s infinite; /* Subtle blink for the text */
}
@keyframes nowPlayingBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* --- FOOTER --- */
footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #A08060; /* Medium brown dashed line */
    font-family: 'Caveat', cursive; /* Cute font for footer */
    font-size: 1em;
    color: #5A4A3C; /* Dark brown */
}
footer a {
    color: #8B4513; /* Saddle brown links */
    text-decoration: underline;
}
footer a:hover {
    color: #6B8E23; /* Olive green on hover */
}

/* --- VISITOR COUNTER / GUESTBOOK SECTION --- */
.retro-info-block {
    background-color: #F0EAD6; /* Cream background */
    border: 2px solid #A08060; /* Medium brown border */
    padding: 10px;
    margin-top: 20px;
    text-align: center;
    font-family: 'VT323', monospace; /* Pixel font */
    font-size: 1.2em;
    color: #6B8E23; /* Olive green text */
    box-shadow: 3px 3px 0px #5A4A3C; /* Dark brown shadow */
    border-radius: 8px; /* Rounded corners */
}
.retro-info-block p {
    margin: 5px 0;
    color: #5A4A3C; /* Dark brown text */
}
.retro-info-block a {
    color: #8B4513; /* Saddle brown links */
    text-decoration: underline;
}
.retro-info-block a:hover {
    color: #6B8E23; /* Olive green on hover */
}

/* Blinker effect for specific text (only if desired, not for large containers) */
.blinker-text {
    animation: nowPlayingBlink 1.5s infinite; /* Using the softer blink */
}
