/* --- Mobile Layout (max-width: 600px) --- */

/* General Layout Adjustments */
main {
    padding-top: 5rem;
}

h1 {
    font-size: clamp(3.5rem, 12vw, 5rem);
}

h2 {
    font-size: clamp(2rem, 6vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Header & Navigation */
header {
    padding: 0 1rem;
}

/* Hamburger Menu Icon */
.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    cursor: pointer;
    z-index: 1002;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
}

/* Transform Hamburger to X when active */
header.mobile-nav-active .hamburger-menu span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
header.mobile-nav-active .hamburger-menu span:nth-child(2) {
    opacity: 0;
}
header.mobile-nav-active .hamburger-menu span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

header img {
    width: 100px;
    position: relative;
    z-index: 1002;
}

/* Mobile Navigation Overlay */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #2F00FF;
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-y: auto;
    padding: 7rem 0 3rem;
    box-sizing: border-box;
}

header.mobile-nav-active nav {
    transform: translateX(0);
}

nav ul {
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 0;
    margin: 0;
}

/* Adjust Dropdowns for Mobile */
nav ul li details {
    width: 100%;
}

nav ul li summary {
    font-size: 2.2rem;
    font-weight: 200;
    text-align: center;
    pointer-events: none;
}

.dropdown-content {
    position: static;
    background-color: transparent;
    box-shadow: none;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    min-width: auto;
    padding-top: 1rem;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.dropdown-content a {
    font-size: 1.3rem;
    padding: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Section Widths */
.sight-section,
.sound-section,
.smell-section,
.taste-section,
.touch-section,
.statement-section {
    width: 90%;
    margin: 0 auto;
}

.sight-section h1,
.sound-section h1,
.smell-section h1,
.taste-section h1,
.touch-section h1 {
     font-size: clamp(4rem, 18vw, 15rem);
    max-width: 100%;
    overflow-wrap: break-word;
}

/* Stack Album Containers Vertically */
.sight-section-img,
.sound-section-img,
.smell-section-img,
.taste-section-img {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    height: auto;
    padding-top: 2rem;
    margin-top: 1rem;
}

.sight-album-container {
    width: 80%; /* Large single column items */
}

/* Touch Section - Keep Grid but Full Width */
.touch-section-img {
    width: 90vw;
    margin: 2rem auto;
    gap: 0;
}

/* Statement Section */
.statement-final-content {
    padding: 1.5rem;
}

.statement-final-content h1 {
    font-size: 3.5rem;
}

.statement-albums-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 2rem;
}

/* Artists Section */
#artists {
    width: 95%;
    padding: 2rem 0;
}

.artists-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.artist-container img {
    width: clamp(5rem, 30vw, 10rem);
    height: clamp(5rem, 30vw, 10rem);
    max-width: 100%;
}

/* Footer */
footer {
    margin-top: 3rem;
    padding: 1.5rem 0;
}

/* Warning Overlay */
.warning-content {
    padding: 1.5rem;
    width: 90%;
}

.warning-content h2 {
    font-size: 1.8rem;
}

.warning-content p {
    font-size: 1.1rem;
}

.warning-content button {
    padding: 0.8rem 2rem;
    font-size: 1rem;
}

body.statement-page main {
    padding-top: 0;
}

#statement-journey-wrapper {
    height: 100vh;
}

.statement-final-content {
    padding-top: 6rem;
    justify-content: flex-start;
    overflow-y: auto;
    padding-bottom: 4rem;
}