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

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

/* Hero section */
.hero {
    background: linear-gradient(to left, #FFFFFF 0%, #F2EBEA 80%, #F1DDDA 100%);
    display: flex;
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
}

.hero-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    margin: 100px 10%;
    width: 100%;
    gap: 70px;
    padding: 0;
    z-index: 2;
}

.hero-image {
    flex: 1;
    max-width: 536px;
    height: auto;
    margin-left: 0px;
    background-image: url('../image/Hero\ Imagev2.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left;
    aspect-ratio: 1 / 1;
    z-index: 3;
}

.hero-content {
    flex: 1;
    max-width: 450px;
    margin-top: 0px;
    z-index: 3;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 64px;
    color: #3B3F3E;
    line-height: auto;
    margin-top: 36px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 180%;
    font-weight: 300;/* Light weight */
    color: #3B3F3E;/* Dark Grey */
    margin-bottom:24px;
}

.hero-description {
    font-size: 100%;
    line-height: 200%;
    color: #3B3F3E;
    margin-bottom: 24px;
}

.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 8px 8px #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;
    border-radius: 0px 24px 0px 24px; /* Customize corners */
}

/* Services section */
.services {
    background-color: #f8f8f8;
    padding: 100px 128px;
}
  
.services h2 {
    font-size: 180%;
    font-weight: 700;
    text-align: center;
}

.services-grid {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 64px;
    gap: 102px;
    overflow: scroll;
}

.service-card {
    flex-shrink: 0;
    width: 272px;
    justify-content: flex-start;
    background-color: transparent;
    padding-bottom: 30px;
    overflow: visible;
}

.service-image {
    width: 100%;
    height: auto;
    position: relative;
    text-align: center;
  }

.service-image img {
    width: 70%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.5s;
    filter: drop-shadow(4px 8px 8px rgba(62, 43, 24, 0.4));
}

.service-title {
    font-size: 180%;
    margin-top: 36px;
    text-align: center;
}

.service-description {
    font-size: 100%;
    margin-top: 16px;
    text-align: center;
}

.design-btn-area {
    text-align: center;
    margin-top: 36px;
}

/* For the Learn More button */
.design-btn {
    background-color: #F2EBEA;
    border-radius: 0px 24px 0px 24px; /* Customize corners */
    color: #3B3F3E;
    filter : drop-shadow(0px 6px 6px #B45C5060);
    padding-top: 8px;
    font-size: 100%;
    font-weight: 700;
    z-index: 10;
    transition: transform 0.3s;
    text-decoration: none;
    display: inline-block;
    width: 120px;
    height: 50px;
    border: 4px solid #B45C50; 
    text-align: center;
    box-sizing: border-box;
}

.design-btn:hover {
    background-color: #E6DAD7;
}

.music-intro {
    background-image: url('../image/music_key_visualv2.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
    position: relative; 
    overflow: hidden;
    padding: 0;
    height: 240px;
    display: flex;
    color: white; 
    align-items: center;
}

.music-intro-container {
    background: linear-gradient(to right, #4E2823 0%,#814239 32%, #B45C50 53%, #9B4F4500 100%);
    display: block;
    max-height: 360px;
    height: auto;
    width: 100%;
    position: relative;
    justify-content: left;
    align-items: center;
}

.music-intro-text {
    position: relative;
    max-width: 1000px;
    margin: 0;
    padding: 48px 128px 0px 48px;
    z-index: 3;
}

.music-intro-text h1 {
    font-size: 200%;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0;
    z-index:3;
}

.music-intro-text p{
    font-size: 125%;
    font-weight: 500;
    z-index:3;
    margin-bottom: 36px;
}

.music-btn-container {
    display: block; 
    width: 100%;
    margin-bottom: 48px;
    margin-left:48px;
    z-index:3;
}

/* Tablet Responsive Design (768px) */
@media (max-width: 768px) {
    /* Hero section responsiveness */
    .hero {
        padding: 16px 24px;
        overflow-x: hidden;
    }
    
    .hero-container {
        flex-direction: column;
        gap: 40px;
        align-items: center;
        margin: 60px 5%;
        width: 90%;
    }
    
    .hero-image {
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
        background-position: center;
    }
    
    .hero-content {
        width: 100%;
        text-align: center;
        flex-wrap: wrap;
        max-width: 400px;
        padding: 0;
    }
    
    .hero-title {
        font-size: 300%;
        line-height: 1.4;
        margin-top: 0;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 160%;
        margin-bottom: 24px;
    }
    
    .hero-description {
        font-size: 100%;
        line-height: 1.8;
        margin-bottom: 30px;
    }
    
    .button-container {
        display: flex;
        justify-content: center;
        width: 100%;
        margin: 0 auto;
    }

    .btn {
        margin: 0 auto;
    }
    
    /* Services section responsiveness */
    .services {
        padding: 60px 24px;
    }
    
    .services h2 {
        font-size: 200%;
    }
    
    .services-grid {
        flex-direction: column;
        align-items: center;
        gap: 32px;
        margin-top: 40px;
        overflow: visible;
    }
    
    .service-card {
        flex-shrink: 1;
        width: 100%;
        max-width: 400px;
        justify-content: center;
    }
    
    .service-image {
        max-width: 100%;
    }
    
    .service-title {
        font-size: 180%;
        margin-top: 36px;
    }
    
    .design-btn-area {
        margin-top: 30px;
    }
    
    /* Music section responsiveness */
    .music-intro {
        position: relative;
        background-image: none !important;
        height: auto;
        min-height: 240px;
        margin-bottom: 140px;
        overflow: visible;
    }
    
    .music-intro-container {
        background: linear-gradient(180deg, rgb(78, 40, 35) 0%, rgba(129,66,57, 0.5) 70%, rgba(129,66,57, 0.4) 80%);
        height: auto !important;
        min-height: 240px;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        padding-bottom: 0px;
    }
    
    .music-intro-text {
        width: 100%;
        max-width: 90%;
        text-align: center;
        padding: 40px 20px 0 20px;
        margin: 0 auto;
    }
    
    .music-intro-text h1 {
        text-align: center;
        font-size: 180%;
        margin-bottom: 15px;
    }
    
    .music-intro-text p {
        text-align: center;
        font-size: 100%;
    }
    
    .music-btn-container {
        display: flex;
        justify-content: center;
        width: 100%;
        margin: 24px 0;
        padding: 0;
    }
    
    /* Guitar image positioned below */
    .music-intro::after {
        content: "";
        background-image: url('../image/music_key_visual.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: bottom left;
        position: absolute;
        object-fit: fill;
        overflow: hidden;
        top: 100%;
        left: 0;
        right: 0;
        height: 180px;
        margin-bottom: 0px;
        z-index: 1;
    }

    footer {
        margin-top: 0px;
    }
}

/* Mobile Responsive Design (460px) */
@media (max-width: 460px) {
    /* Hero section adjustments */
    .hero {
        padding: 0;
    }
    
    .hero-container {
        margin: 40px 5%;
        width: 90%;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 240%;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 140%;
    }
    
    /* Services section adjustments */
    .services {
        padding: 40px 15px;
    }
    
    .services h2 {
        font-size: 180%;
    }
    
    .service-card {
        max-width: 320px;
    }
    
    .service-title {
        font-size: 160%;
    }
    
    .service-description {
        font-size: 90%;
    }
    
    /* Music section adjustments */
    .music-intro {
        min-height: 240px;
        margin-bottom: 0px;
    }
    
    .music-intro-container {
        min-height: 240px;
    }
    
    .music-intro-text {
        padding: 24px 24px 0 24px;
    }
    
    .music-intro-text h1 {
        font-size: 180%;
    }
    
    .music-intro-text p {
        font-size: 100%;
    }
    
    .music-btn-container {
        margin-top: 12px;
        margin-bottom: 8px;
    }
    
    .music-intro::after {
        height: 320px;
    }
}