/* Home Page Specific Styles */

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 74px;
    line-height: 1.5em;
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
}

.hero p {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 1.5em;
    text-align: center;
    color: #fff;
}

.geometric-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* opacity: 0.6; */
    background-image: url('/static/assets/img/main_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Services Section */
.services {
    padding: 160px 5% 170px 5%;
    background-color: #ffffff;
    color: #333;
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.services h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 300;
}

.services-intro {
    text-align: center;
    margin: 0 auto 60px;
    line-height: 1.5em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #000;
}

.service-card p {
    line-height: 1.5em;
    color: #666;
}

/* mahocast Intro Section */
.mahocast-intro {
    padding: 100px 5%;
    background-image: url('/static/assets/img/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 840px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    overflow: visible;
    z-index: 10;
}

.mahocast-intro .iphone {
    position: absolute;
    top: -70px;
    left: calc(50% - 200px);
    transform: translateX(-50%);
    max-width: 100%;
    height: auto;
    z-index: 100;
}

.mahocast-intro .ipad {
    position: absolute;
    top: 300px;
    left: 50%;
    max-width: 80%;
    height: 700px;
    z-index: 99;
}

.mahocast-intro-content {
    position: absolute;
    top: 500px;
    left: calc(50% - 315px);
    transform: translateX(-50%);
    max-width: 505px;
    text-align: left;
    z-index: 1;
    color: #fff;
}

.mahocast-intro-content-title {
    font-family: Arial, sans-serif;
    font-weight: 700;
    font-size: 60px;
    line-height: 1.5em;
    margin-bottom: 20px;
}

.mahocast-intro-content-subtitle {
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.5em;
    margin-bottom: 20px;
}

.mahocast-intro-content-description {
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5em;
}

/* mahocast Section */
.mahocast {
    padding: 240px 0 0 0;
    background-color: #ffffff;
    color: #333;
    width: 100%;
    overflow: hidden;
}

.mahocast-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.mahocast-content-item {
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5em;
    align-self: start;
}

.mahocast-content-item-title {
    position: relative;
    left: -18px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.5em;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.mahocast-content-item-bar {
    position: relative;
    margin-right: 10px;
}

.mahocast-content-item-description {
    font-family: 'Pretendard', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.5em;
}

/* Concert Content */
.mahocast-concert-content {
    padding: 95px 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.5em;
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.mahocast-concert-content-title {
    text-align: right;
    width: 35%;
    border-bottom: 1px solid #000;
    margin-right: 60px;
    height: 40px;
    min-width: 35%;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.5em;
}

.mahocast-concert-poster {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    max-width: 100%;
}

.mahocast-concert-poster-image {
    width: 152px;
    height: 216px;
    background-color: #989898;
    flex-shrink: 0;
}

.mahocast-concert-poster-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ticket Content */
.mahocast-ticket-content {
    padding: 100px 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.5em;
    display: flex;
    margin: 0 auto;
    width: 100%;
}

.mahocast-ticket-content-container {
    display: flex;
    margin: 0 auto;
}

.mahocast-ticket-content-title {
    text-align: right;
    margin-right: 60px;
    height: 40px;
    display: flex;
    justify-content: flex-end;
    padding-right: 40px;
}

.mahocast-ticket-content-title-container {
    font-family: Arial, sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.5em;
    display: grid;
    text-align: center;
    gap: 0;
    width: 80px;
}

.mahocast-ticket-content-description {
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5em;
    max-width: 582px;
}

.mahocast-ticket-content-description-item-title {
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.5em;
    margin-bottom: 10px;
}

.mahocast-ticket-content-description-item-description {
    font-family: 'Pretendard', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5em;
    padding-right: 20px;
}

.mahocast-ticket-content-description-line {
    width: 100%;
    height: 1px;
    border: none;
    background-color: #999;
    margin: 24px 0;
}

/* mahoFantown Section */
.mahoFantown {
    padding: 100px 5%;
    background-color: #fff;
    color: #333;
    width: 100%;
    overflow: hidden;
}

.mahoFantown-content-title {
    font-family: Arial, sans-serif;
    font-weight: 700;
    font-size: 60px;
    line-height: 1.5em;
    text-align: center;
}

.mahoFantown-content-description {
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5em;
}

.mahoFantown-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mahoFantown-content-description-title {
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.5em;
    text-align: center;
    margin: 20px 0;
}

.mahoFantown-content-description-description {
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5em;
    text-align: center;
    margin: 6px 0;
}

.mahoFantown-content-image {
    padding: 50px 0;
}

.mahoFantown-content-ellipse {
    margin-bottom: 24px;
}

/* mahoFantown Features */
.mahoFantown-features-content {
    padding: 100px 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.5em;
    display: flex;
    margin: 0 auto;
    width: 100%;
}

.mahoFantown-features-content-container {
    display: flex;
    margin: 0 auto;
    width: 100%;
    max-width: 740px;
}

.mahoFantown-features-content-description {
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5em;
    text-align: center;
    width: 100%;
}

.mahoFantown-features-content-description-item-title {
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.5em;
    margin-bottom: 10px;
}

.mahoFantown-features-content-description-item-description {
    font-family: 'Pretendard', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5em;
    padding-right: 40px;
}

.mahoFantown-features-content-description-line {
    width: 100%;
    height: 1px;
    border: none;
    background-color: #999;
    margin: 24px 0;
}

.mahoFantown-features-content-image {
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 0;
}

.mahoFantown-features-content-image-description {
    font-family: 'Pretendard', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5em;
    text-align: center;
    width: 100%;
    max-width: 600px;
    margin: 47px auto 0;
    padding: 0 10px;
}

/* IT Services */
.it-services {
    padding: 100px 5%;
    background-color: #fff;
    color: #333;
    width: 100%;
    overflow: hidden;
}

.it-services h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    font-weight: 300;
}

.it-services-list {
    max-width: 800px;
    margin: 0 auto;
}

.it-service-item {
    padding: 30px;
    border-bottom: 1px solid #eee;
}

.it-service-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.it-service-item p {
    line-height: 1.5em;
    color: #666;
}

.services-content-info-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    /* width: 100%; */
    /* max-width: 800px; */
}

.services-content-info-item-left {
    width: 150px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.services-content-info-item-right {
    width: 100%;
    max-width: 600px;
    padding-left: 70px;
}

.services-content-info-item-title {
    font-family: Arial, sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.5em;
    text-align: right;
    padding-right: 60px;
}

.services-content-info-item-description {
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5em;
}

.services-content-info-item-description-title {
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.5em;
    vertical-align: middle;
}

.services-content-info-item-description-description {
    font-family: 'Pretendard', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5em;
    vertical-align: middle;
    padding-top: 10px;
}

.services-content-info-item-line {
    width: 100%;
    height: 1px;
    border: none;
    background-color: #999;
    margin: 40px 0;
}

.services-content-info {
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.services-content-ellipse {
    margin-bottom: 14px;
}

.services-content-title {
    font-family: Arial, sans-serif;
    font-weight: 700;
    font-size: 60px;
    line-height: 1.5em;
    text-align: center;
}

.services-content-description {
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5em;
    padding: 30px 0;
}

.services-content-description-title {
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.5em;
    text-align: center;
    margin: 20px 0;
}

.services-content-description-description {
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5em;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.devices-showcase {
    padding: 100px 5%;
    background: linear-gradient(180deg, #fff 0%, #f8f8f8 100%);
}

.devices-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.device-mockup {
    flex: 1;
    max-width: 300px;
}

.device-mockup img {
    width: 100%;
    height: auto;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .hero {
        height: 342px;
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 36px;
        line-height: 1.5em;
        margin-bottom: 20px;
    }

    .hero p {
        font-size: 20px;
        line-height: 1.5em;
    }

    .services {
        padding: 60px 0px 80px 0px;
        height: 530px;
    }

    .services-intro {
        font-size: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .mahocast-intro {
        height: auto;
        min-height: 450px;
        padding: 50px 20px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .mahocast-intro .iphone {
        position: absolute;
        top: -100px;
        left: 50%;
        transform: translateX(-50%);
        max-width: 100%;
        height: auto;
        z-index: 100;
        width: 150px;
    }

    .mahocast-intro .ipad {
        display: none;
    }

    .mahocast-intro-content {
        position: relative;
        top: 100px;
        left: 0;
        transform: none;
        max-width: 100%;
        width: 100%;
        text-align: left;
    }

    .mahocast-intro-content-title {
        font-size: 36px;
        margin-bottom: 16px;
    }

    .mahocast-intro-content-subtitle {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .mahocast-intro-content-description {
        font-size: 15px;
        line-height: 1.5em;
    }

    .mahocast {
        padding: 30px 0;
    }

    .mahocast-content {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
        padding: 0 30px;
    }

    .mahocast-content-item {
        padding: 20px 0;
    }

    .mahocast-content-item-title {
        font-size: 22px;
        line-height: 1.5em;
        left: -10px;
        margin-bottom: 8px;
    }

    .mahocast-content-item-bar {
        width: 8px;
        height: 20px;
    }

    .mahocast-content-item-description {
        font-size: 15px;
        line-height: 1.5em;
        display: flex;
        flex-direction: column; 
        justify-content: center;
    }
    .mahocast-content-item-description br {
        display: none;
    }

    .mahocast-concert-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 0;
    }

    .mahocast-concert-content-title {
        display: none;
    }

    .mahocast-concert-poster {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 5px;
    }

    .mahocast-concert-poster-image {
        width: 94px;
        height: 134px;
        gap: 10px;
    }

    .mahocast-concert-poster-image img {
        width: 94px;
        height: 134px;
    }

    .mahocast-concert-poster::-webkit-scrollbar {
        display: none;
    }

    .mahocast-ticket-content {
        padding: 30px 20px;
    }

    .mahocast-ticket-content-container {
        flex-direction: column;
        padding: 0;
        align-items: center;
        /* margin: 0 auto; */
        width: 100%;
    }

    .mahocast-ticket-content-title {
        margin-right: 0;
        padding-right: 0;
        justify-content: center;
    }

    .mahocast-ticket-content-title-container {
        font-size: 26px;
        text-align: center;
        gap: 4px;
        width: 100%;
    }

    .mahocast-ticket-content-description {
        width: 100%;
        text-align: center;
    }

    .mahocast-ticket-content-description-item-title {
        font-size: 18px;
        line-height: 1.5em;
        margin: 16px 0;
        text-align: center;
    }

    .mahocast-ticket-content-description-item-description {
        font-size: 15px;
        line-height: 1.5em;
        padding-right: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .mahocast-ticket-content-description-item-description br {
        display: none;
    }

    .mahocast-ticket-content-description-line {
        margin: 20px 0;
    }

    .mahoFantown {
        padding: 30px 20px;
    }

    .mahoFantown-content-ellipse {
        width: 16px;
        height: auto;
        margin-bottom: 14px;
    }

    .mahoFantown-content-title {
        font-size: 36px;
    }

    .mahoFantown-content-description {
        padding: 0 10px;
    }

    .mahoFantown-content-description-title {
        font-size: 16px;
        margin: 16px 0;
    }

    .mahoFantown-content-description-description {
        font-size: 15px;
        line-height: 1.5em;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .mahoFantown-content-image {
        padding: 20px 0;
    }

    .mahoFantown-content-image img {
        width: 100%;
        height: auto;
    }

    .mahoFantown-features-content {
        padding: 40px 0;
        text-align: center;
    }

    .mahoFantown-features-content-container {
        width: 100%;
        padding: 0;
        align-items: center;
        margin: 0 auto;
    }

    .mahoFantown-features-content-description {
        text-align: center;
    }

    .mahoFantown-features-content-description-item-title {
        font-size: 18px;
        line-height: 1.5em;
        text-align: center;
        margin-bottom: 6px;
    }

    .mahoFantown-features-content-description-item-description {
        font-size: 15px;
        line-height: 1.5em;
        padding-right: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .mahoFantown-features-content-description-item-description br {
        display: none;
    }

    .mahoFantown-features-content-description-line {
        margin: 20px 0;
    }

    .mahoFantown-features-content-image {
        padding: 10px 0 20px 0;
    }

    .mahoFantown-features-content-image img {
        width: 100%;
        height: auto;
    }

    .mahoFantown-features-content-image-description {
        font-size: 14px;
        line-height: 1.5em;
        color: #51535F;
        margin: 30px auto 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .it-services {
        padding: 30px 20px;
    }

    .services-content-ellipse {
        width: 16px;
        height: auto;
    }

    .services-content-title {
        font-size: 36px;
    }

    .services-content-description {
        padding: 20px 0;
    }

    .services-content-description-description {
        font-size: 15px;
        line-height: 1.5em;
        max-width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .services-content-description-description br {
        display: none;
    }

    .services-content-info {
        padding: 20px 0 40px 0;
    }

    .services-content-info-item {
        flex-direction: column;
        width: 100%;
        align-items: center;
        margin: 0 auto;
        margin-bottom: 0;
    }

    .services-content-info-item-left {
        width: 100%;
        align-items: center;
        margin-bottom: 0;
        padding-bottom: 0 !important;
    }

    .services-content-info-item-right {
        width: 100%;
        text-align: center;
        padding: 0;
    }

    .services-content-info-item-title {
        font-size: 22px;
        text-align: center;
        padding-right: 0;
        line-height: 1.5em;
        margin-bottom: 0;
    }

    .services-content-info-item-description-title {
        font-size: 18px;
        line-height: 1.5em;
    }

    .services-content-info-item-description-description {
        font-size: 15px;
        line-height: 1.5em;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .services-content-info-item-description-description br {
        display: none;
    }

    .services-content-info-item-line {
        margin: 30px 0;
    }

    .devices-container {
        flex-direction: column;
    }

    .underline {
        border-bottom: 1px solid #000;
        padding-bottom: 4px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 36px;
        line-height: 1.5em;
        width: 250px;
    }

    .hero p {
        font-size: 20px;
        line-height: 1.5em;
        width: 220px;
    }

    .mahocast-intro-content-title {
        font-size: 36px;
    }

    .mahocast-intro-content-subtitle {
        font-size: 16px;
    }

    .mahocast-intro-content-description {
        font-size: 15px;
        line-height: 1.5em;
        font-weight: 400;
    }

    .mahocast-content-item-title {
        font-size: 18px;
    }

    .mahocast-content-item-description {
        font-size: 14px;
        padding: 0 5px;
    }

    .mahoFantown-content-title,
    .services-content-title {
        font-size: 36px;
    }

    .services-content-info-item-title {
        font-size: 24px;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero h1 {
        font-size: 56px;
        line-height: 1.5em;
    }

    .hero p {
        font-size: 28px;
        line-height: 1.5em;
    }

    .services {
        padding: 100px 5% 120px 5%;
    }

    .mahocast {
        padding: 120px 5% 0 5%;
    }

    .mahocast-content {
        max-width: 800px;
        gap: 50px;
    }

    .mahocast-intro {
        height: 700px;
    }

    .mahocast-intro .iphone {
        max-width: 250px;
    }

    .mahocast-intro .ipad {
        max-width: 60%;
        height: 500px;
    }



    .mahocast-intro-content {
        position: absolute;
        top: 400px;
        left: calc(50% - 244px);
        transform: translateX(-50%);
        max-width: 505px;
        text-align: left;
        z-index: 1;
        color: #fff;
    }

    .mahocast-concert-content-title {
        text-align: right;
        width: 35%;
        border-bottom: 1px solid #000;
        margin-right: 160px;
        height: 40px;
        min-width: 35%;
        font-family: 'Poppins', sans-serif;
        font-weight: 500;
        font-size: 24px;
        line-height: 1.5em;
    }
}
