/* CSS for home screen */
@charset "utf-8";

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

footer {
    flex-shrink: 0;
    width: 100%;
    position: relative;
    z-index: 10;
    margin-top: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* About Section */
.about-section {
    display: flex;
    background: linear-gradient(-45deg, #FFFFFF 0%, #F2EBEA 30%, #F1DDDA 100%);
    min-height: 464px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.about-container {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "left right";
    height: 100%;
    width: 100%;
    padding: 32px 10% 0px 10%;
    margin: 0 auto;
    gap: 46px;
    z-index: 2;
}

.about-left {
    display: flex;
    grid-area: left;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    max-width: 500px;
    padding-bottom: 24px;
    z-index: 3;
}

h1 {
    font-size: 280%;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 16px;
    text-align: left;
    z-index: 3;
}

.about-intro {
    font-size: 160%;
    line-height: 1.4;
    font-weight: 300;
    text-align: left;
    z-index: 3;
    margin-bottom: 28px;
}

.button-container {
    display: block; /* Regular block display for desktop */
    width: 100%;
}
.btn {
    display:flex;
    border-radius: 0px 24px 0px 24px; /* Customize corners */
    background: linear-gradient(180deg, #E1A095 0%, #AE5D50 100%);
    filter : drop-shadow(0px 6px 6px #B45C5060);
    font-size: 100%;
    font-weight: 700;
    z-index: 10;
    transition: transform 0.3s;
    text-decoration: none;
    width: 120px;
    height: 50px;
    border: none;
    text-align: center;
    color: white;
    
    display: flex;
    align-items: center;      /* Vertically centers the text */
    justify-content: center;  /* Horizontally centers the text */
    line-height: 1;       
}

.btn:hover {
    background: #EDAFA5;
    /* transform: translateY(-2px); */
}

.about-right {
    display: flex;
    grid-area: right;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    position: relative;
    padding: 40px auto;
}

.about-right img {
    max-height: 414px;
    padding-bottom: 0;
    object-fit: contain;
    position: relative;
    z-index: 3;
}

/*
.gradient-bar {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, #FFFFFF00 0%, #F2EBEA 60%, #F1DDDA 80%);
    filter: blur(30px);
    z-index: 10;
}*/

.bio {
    background-color: #FFF8F7;
    padding: 56px 128px;
}

.bio p {
    font-size: 125%;
    font-weight: 400;
}

.music-section {
    background: url('../image/about_guitar2.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 420px;
    height: auto;
    object-fit: contain;
    position: relative;
    display: flex;
    /* justify-content: center; */
    margin-top: 0px;
    margin-bottom: 0; /* Ensure it sits right above footer */
    align-items: center;
}

.music-container {
    background: linear-gradient(45deg, #FFFFFF00 0%,  #FFFFFF00 30%, #F2EBEA 45%, #F1DDDA 70%);
    display: flex;
    height: 420px;
    width: 100%;
    position: relative;
    align-items: center;
    z-index: 2;
    margin-top: 0px;
    margin-bottom: 0px;
}

.music-content {
    position: relative;
    width: 100%;
    z-index: 3;
}
  
.music-image {
    position: absolute;
    height: auto;
    object-fit: hidden;
    background-position: left;
    width: 100%;
    aspect-ratio: 3.17 / 1;
    z-index: 1;
}

.music-text {
    flex: 1;
    text-align: right;
    max-width: 600px;
    margin-right: 10%;
    margin-left: calc(100% - 400px - 10%);
    z-index: 3;
}

h2 {
    font-size: 180%;
    font-weight: 500;
    margin-top: 32px;
    margin-right: 0px;
    line-height: 1.4;
}

.music-text p {
    font-size: 100%;
    line-height: 1.4;
    margin-top: 24px;
    margin-right: 0px;
    margin-bottom: 24px;
}

.music-mobileimage-container {
    display: none;
}

.music-image-mobile {
    display: none;
}

/* end of main html */

/* Responsive Design */
/*    @media screen and (max-width: 798px) {
    .about-section {
        min-height: auto;
        display: flex;
        flex-direction: column;
        padding: 0;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "logo"
            "left"
            "right";
        display: flex;
        flex-direction: column;
        padding: 0;
        gap: 24px;
        margin-top: 0;
    }
    
    .logo {
        margin: 24px auto 0;
        max-width: 100px;
    }
    
    .about-left {
        max-width: 100%;
        align-items: center;
        text-align: center;
        padding: 24px 0 0 0; 
}
    
    .about-right {
        justify-content: center;
        align-items: center;
        padding: 0 0 8px 0; 
    }
    
    h1 {
        font-size: 250%;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .about-intro {
        font-size: 150%;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .about-right img {
        max-height: 300px;
        max-width: 100%;
        margin: 0 auto;
        display: block;
    }
    
    .bio {
        padding: 40px 64px;
        margin-top: 0; 
    }
    
    .bio p {
        font-size: 100%;
    }
   
    .music-section {
        display: flex;
        flex-direction: column;
        background: linear-gradient(180deg,rgba(241,221,218,1) 0%, rgba(242,235,234, 0.8) 30%, rgba(242,235,234, 0.0) 70%);
        width: 100%;
        padding: 0;
        margin: 0;
        height: 360px;
        justify-content: center;
    }
        
    .music-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap:0px;
        padding: 0;
        background: none;
    }
    
    .music-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .music-image {
        display: none; 
    }
    
    .music-image-mobile {
        display: block;
        width: 100%;
        height: 320px;
        background: url('../image/with_guitar_mobile.png') center/cover no-repeat;
        margin: 0;
        margin-bottom:0;
    }
    
    .music-text {
        background: none; 
        margin-top: -24px;
        width: 100%;
        text-align: center;
        font-size: 100%;
        line-height: 1.4;
    }
    
    h2 {
        margin-top:8px;
        margin-left:auto;
        margin-right: auto;
        margin-bottom: 10%;
        font-size: 170%;
        line-height: 1.4;
        text-align: center;
    }
    
    .music-text p {
        text-align: center;
        align-items: center;
        font-size: 100%;
        line-height: 1.4;
        width: 100%;
    }

    footer {
        display: block;
        width: 100%;
        position: relative;
        z-index: 10;
    }
    */

    @media screen and (max-width: 768px) {
        /* About Section Responsive */
        .about-section {
            min-height: auto;
            display: flex;
            flex-direction: column;
            padding: 0;
        }
        
        .about-container {
            grid-template-columns: 1fr;
            grid-template-areas: 
                "logo"
                "left"
                "right";
            display: flex;
            flex-direction: column;
            padding: 0;
            gap: 24px;
            margin-top: 0;
        }
       
        .about-left {
            max-width: 100%;
            align-items: center;
            text-align: center;
            padding: 24px 0 0 0;
        }
        
        .about-right {
            justify-content: center;
            align-items: center;
            padding: 0 0 8px 0;
        }
        
        h1 {
            font-size: 250%;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .about-intro {
            font-size: 150%;
            text-align: center;
            margin-bottom: 30px;
        }
        
        .about-right img {
            max-height: 300px;
            max-width: 100%;
            margin: 0 auto;
            display: block;
        }
        
        /* Bio Section Responsive */
        .bio {
            padding: 56px 128px;
        }
        
        .bio p {
            font-size: 100%;;
        }
        
        /* Music Section Responsive */
        .music-section {
            display: flex;
            flex-direction: column;
            background: linear-gradient(180deg,rgba(241,221,218,1) 0%, rgba(242,235,234, 0.8) 30%, rgba(242,235,234, 0.0) 70%);
            width: 100%;
            padding-top: 0px;
            padding-bottom: 0px;
            margin-top: 0px;
            margin-bottom: 0px;
            height: 100%;/* Changed to auto for better responsiveness */
            height: 660px;
            justify-content: center;
        }
            
        .music-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            height: auto;
            width: 100%;
            gap: 0;
            padding-top: 0px;
            padding-bottom: 0px;
            margin-top: 0px;
            margin-bottom: 0px;
            background: none;
            max-height: 660px; /* Remove fixed max-height */
        }
        
        .music-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding-top: 0px;
            padding-bottom: 0px;
            margin-top: 0px;
            margin-bottom: 0px;
        }
        
        /* Mobile image handling */
        .music-image {
            display: none;
        }
        
        .music-image-mobile {
            display: block;
            width: 100%;
            height: 320px;
            background: url('../image/with_guitar_mobile.png') center/cover no-repeat;
            padding-top: 0px;
            padding-bottom: 0px;
            margin-top: 0px;
            margin-bottom: 0px;
        }
        
        .music-text {
            background: none;
            margin-top: -24px;
            margin-left: auto;
            margin-right: auto;
            width: 100%;
            text-align: center;
            font-size: 100%;
            line-height: 1.4;
            padding: 0px; /* Add padding for text readability */
        }
        
        h2 {
            margin-top: 8px;
            margin-left: auto;
            margin-right: auto;
            margin-bottom: 10%;
            font-size: 170%;
            line-height: 1.4;
            text-align: center;
        }
        
        .music-text p {
            text-align: center;
            align-items: center;
            font-size: 100%;
            line-height: 1.4;
            width: 100%;
        }
    
        /* Footer fix for tablet view */
        footer {
            margin-top: 0px;
        }
    }
    
    /* Smaller screens (460px and below) */
    @media screen and (max-width: 460px) {
        /* About section adjustments */
        h1 {
            font-size: 200%;
        }
        
        .about-intro {
            font-size: 120%;
            padding: 0 20px;
        }
        
        /* Bio section adjustments */
        .bio {
            padding: 42px 24px;
        }
        
        /* Music section adjustments */
        .music-section {
            min-height: 280px;
        }
        
        .music-image-mobile {
            height: 240px;
        }
        
        h2 {
            font-size: 150%;
            margin-top: 5px;
            margin-bottom: 15px;
        }
        
        .music-text {
            margin-top: -100px;
        }
        
        .music-text p {
            font-size: 90%;
        }
        
        /* Footer adjustments for mobile */
        footer {
            margin-top: 0px;
            min-height: auto !important;
        }
    }