/* --- GLOBAL STYLES & FONT SETUP --- */
:root {
    --bg-pink: #F985B6;
    --button-magenta: #9B0746;
    --button-hover: #7d0638;
    --text-light: #ffffff;
    --font-sans: "Instrument Sans", sans-serif;
    --font-serif: "Instrument Serif", serif;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    background-color: #000;
    display: flex;
    height: 100vh;
    overflow: hidden; /* Prevents whole page from scrolling */
}

/* --- SIDEBAR LAYOUT & STYLING --- */
.sidebar {
    width: 280px;
    flex-shrink: 0;
    padding: 20px 10px 20px 20px;
    box-sizing: border-box;
}

.sidebar-content {
    background-color: var(--bg-pink);
    border-radius: 24px;
    width: 100%;
    height: 100%;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    background: var(--button-magenta);
    color: var(--text-light);
    padding: 12px 18px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
}

.sidebar-header .logo {
    width: 28px;
    height: 28px;
    margin-right: 12px;
    /* This makes the SVG logo white */
    filter: brightness(0) invert(1);
}

/* --- NAVIGATION & BUTTONS --- */
.main-nav {
    margin-top: 20px;
}

.main-nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.main-nav ul li {
    margin-bottom: 12px;
}

/* Base style for all nav buttons */
.main-nav a {
    background-color: var(--button-magenta);
    color: var(--text-light);
    display: block;
    padding: 14px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    border-radius: 18px;
    transition: background-color 0.2s ease;
}

.main-nav a:hover {
    background-color: var(--button-hover);
}

/* --- SOCIALS DROPDOWN --- */
.dropdown {
    position: relative;
}

.socials-button {
    display: flex;
    gap: 8px;
}

.socials-main-button {
    flex-grow: 1; /* Takes up available space */
}

.socials-arrow-button {
    background-color: var(--button-magenta);
    border: none;
    color: var(--text-light);
    border-radius: 18px;
    padding: 0 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.socials-arrow-button:hover {
    background-color: var(--button-hover);
}

.socials-arrow-button .material-icons {
    font-size: 36px;
}

.dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 105%; /* Position below the button */
    left: 0;
    width: 100%;
    background-color: rgba(155, 7, 70, 0.95); /* Semi-transparent magenta */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 18px;
    padding: 10px;
    box-sizing: border-box;
    z-index: 10;
}

.dropdown-menu.show {
    display: block; /* Shown with JS */
}

.dropdown-menu a {
    background: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 12px;
    text-align: left;
    border-radius: 12px;
}

/* --- MAIN CONTENT AREA --- */
.main-content {
    flex-grow: 1;
    height: 100vh;
    overflow-y: auto; /* Makes only this part scrollable */
    background-image: url('water-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 40px;
    box-sizing: border-box;
}

section {
    background-color: rgba(0, 0, 0, 0.35);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 24px;
    margin-bottom: 30px;
}

.serif {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--bg-pink);
    margin-top: 0;
    margin-bottom: 1rem;
}

section h2.serif {
    font-size: 2.5rem;
}

section p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 70ch; /* For better readability */
}

/* --- GALLERY --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-placeholder {
    aspect-ratio: 1 / 1;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

/* --- FOOTER --- */
footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    padding: 20px 0;
}