/* Responsive CSS for Eric Clapton Website */

/* Base responsive styles */
@media screen and (max-width: 1200px) {
    .container {
        width: 95%;
        max-width: 1100px;
    }
    
    .intro-content {
        gap: 30px;
    }
    
    .albums-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 992px) {
    /* Header and Navigation */
    header .container {
        flex-direction: column;
        padding: 15px 0;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 24px;
        color: #333;
    }
    
    .main-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #fff;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 100;
        padding: 0;
    }
    
    .main-menu.active {
        display: flex;
    }
    
    .main-menu li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .main-menu a {
        padding: 15px;
        display: block;
        border-bottom: 1px solid #f5f5f5;
    }
    
    /* Hero Section */
    .hero {
        height: 500px;
    }
    
    .hero-content h1 {
        font-size: 48px;
    }
    
    /* Intro Section */
    .intro-content {
        flex-direction: column;
    }
    
    .intro-text, .intro-image {
        width: 100%;
    }
    
    .intro-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    /* Albums Grid */
    .albums-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Highlights Grid */
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Gallery Preview */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    /* Biography Page */
    .biography-content {
        flex-direction: column;
    }
    
    .biography-main, .biography-sidebar {
        width: 100%;
    }
    
    .biography-sidebar {
        margin-top: 40px;
    }
    
    /* Discography Page */
    .album-details {
        flex-direction: column;
    }
    
    .album-cover-large, .album-info {
        width: 100%;
    }
    
    .album-cover-large {
        margin-bottom: 30px;
    }
    
    /* Filmography Page */
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Collaborations Page */
    .collaborations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Equipment Page */
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Gallery Page */
    .gallery-nav ul {
        flex-wrap: wrap;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 18px;
    }
    
    .right {
        left: 0;
    }
}

@media screen and (max-width: 768px) {
    /* Typography */
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    h3 {
        font-size: 22px;
    }
    
    /* Hero Section */
    .hero {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        margin: 10px 0;
        width: 100%;
        max-width: 250px;
    }
    
    /* Albums Grid */
    .albums-grid {
        grid-template-columns: 1fr;
    }
    
    /* Highlights Grid */
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    /* Songs List */
    .song-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }
    
    .song-number {
        margin-bottom: 10px;
    }
    
    .song-actions {
        margin-top: 10px;
        align-self: flex-end;
    }
    
    /* Gallery Preview */
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    /* Newsletter */
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .newsletter-form .btn {
        width: 100%;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    /* Discography Page */
    .album-filters {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-group {
        margin-bottom: 15px;
        width: 100%;
    }
    
    /* Filmography Page */
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    /* Collaborations Page */
    .collaborations-grid {
        grid-template-columns: 1fr;
    }
    
    /* Equipment Page */
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    
    /* Gallery Page */
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
    }
    
    .prev, .next {
        font-size: 24px;
        width: 40px;
        height: 40px;
    }
    
    .prev {
        left: 10px;
    }
    
    .next {
        right: 10px;
    }
}

@media screen and (max-width: 480px) {
    /* Typography */
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    h3 {
        font-size: 20px;
    }
    
    /* Hero Section */
    .hero {
        height: 350px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    /* Quote Section */
    .quote blockquote {
        font-size: 20px;
    }
    
    /* Album Details */
    .track-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .track-number {
        margin-bottom: 5px;
    }
    
    .track-duration {
        margin-top: 5px;
        align-self: flex-end;
    }
    
    /* Spotify Integration */
    .spotify-track-info {
        flex-direction: column;
    }
    
    .spotify-track-artwork {
        margin: 0 auto 15px;
    }
    
    .spotify-track-details {
        text-align: center;
    }
    
    .spotify-controls-container {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Print Styles */
@media print {
    header, footer, .newsletter, .hero-buttons, .view-all, .spotify-play-button {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    a {
        text-decoration: none;
        color: #000;
    }
    
    .container {
        width: 100%;
        max-width: none;
        padding: 0;
        margin: 0;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }
    
    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }
    
    .intro-content, .album-details, .biography-content {
        display: block;
    }
    
    .intro-text, .intro-image, .album-cover-large, .album-info, .biography-main, .biography-sidebar {
        width: 100%;
        margin: 0 0 20pt 0;
    }
    
    .albums-grid, .highlights-grid, .gallery-grid, .collaborations-grid, .equipment-grid {
        display: block;
    }
    
    .album-card, .highlight-card, .gallery-item, .collaboration-item, .equipment-item {
        margin-bottom: 20pt;
        page-break-inside: avoid;
    }
}
