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

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

/* Hero Section */
.hero {
    background-image: url('../image/design_herov2.png');
    /* position: absolute; */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;

    position: relative; 
    overflow: hidden;
    padding: 60px 0;
    height: 240px; /* Fixed height for better vertical centering */
    display: flex;

    color: white;
    align-items: center;
}

.hero-container {
    background: linear-gradient(to right, #4E2823 0%,#814239 32%, #B45C50 53%, #9B4F4500 100%);
    display: flex;
    height: 240px;
    width: 100%;
    position: relative;
    justify-content: space-between;
    align-items: center;
}

.hero-image {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    /* max-width: 1280px; */
    margin: 0 ;
    padding: 0 64px;
}

.hero-content h1 {
    font-size: 280%;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Tagline Section */
.tagline-section {
display: flex;
background: radial-gradient(#FFFFFF 0%,#F2EBEA 50%, #F1DDDA 100%);
height: 86px;
border-bottom: 1px solid #f0f0f0;
margin: 0px 0px;
padding: 40px 24px;
display: flex;
align-items: center;
justify-content: center;
}

.tagline-section p {
    font-size: 125%;
    color: #3B3F3E; /* Dark Grey */
    line-height: 1.6;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Service Blocks */
.service-blocks {
    max-width: 100%;
    margin: 0px;
}

.service-block {
    display: flex;
    justify-content: center;
    width: 100%;
}

.service-block:nth-child(odd) {
    background-color: #FFF8F7;
}

.service-block:nth-child(even) {
    background-color: #FEFDFD;
}

.service-block-container {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 80px;
    margin: 80px 36px 80px 36px;
}

.service-image img {
    flex: 0;
    max-width: 389px;
    height: auto;
    margin-left: 0px;

    background-size: contain;
    background-repeat: no-repeat;
    background-position: left;
    aspect-ratio: 1.2 / 1;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-content {
    max-width: 70%;
    /* min-width: 320px; */
    margin-right: 24px;
    position: relative;
}

.service-content h2 {
    font-size: 180%;
    margin: 0;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.service-list {
    list-style: none;
}

.service-list li {
    display: flex;
    margin-bottom: 16px;
    align-items: flex-start;
}

.service-block:nth-child(2) .service-block-container {
    flex-direction: row-reverse;
}

.check-icon {
    width: 24px;
    height: 24px;
    background-color: #B45C50;
    border-radius: 50%;
    margin-right: 16px;
    position: relative;
    flex-shrink: 0;
}

/* check mark */
.check-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 6px;
    height: 10px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    margin-top: -2px;
}

.service-list li p {
    margin: 0;
    flex: 1;
    font-size: 125%;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Add this at the end of your design.css file */

/* Responsive Design */
/* Responsive Design */
@media (max-width: 768px) {
    /* Hero Section */
    .hero {
        height: auto;
        min-height: 180px;
        padding: 40px 0;
        background-image: none; /* Remove background image */
    }

    .hero-container {
        height: auto;
        text-align: center;
        background: linear-gradient(to right, #4E2823 0%, #814239 60%, #B45C50 100%); /* Simplified gradient */
        padding: 30px 0;
    }

    .hero-image {
        display: none; /* Hide the hero image completely */
    }

    .hero-content {
        padding: 0 20px;
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 200%;
    }

    /* Tagline Section */
    .tagline-section {
        height: auto;
        padding: 30px 15px;
        text-align: center;
    }

    .tagline-section p {
        font-size: 110%;
    }

    /* Service Blocks */
    .service-block {
        padding: 40px 20px;
    }

    .service-block-container {
        flex-direction: column;
        gap: 30px;
    }

    .service-block:nth-child(2) .service-block-container {
        flex-direction: column !important;
    }

    .service-image img {
        max-width: 100%;
        margin: 0 auto;
        display: block;
    }

    .service-content {
        max-width: 100%;
        padding: 0;
    }

    .service-content h2 {
        font-size: 160%;
        text-align: center;
        margin-bottom: 20px;
    }

    .service-list li {
        margin-bottom: 20px;
    }

    .service-list li p {
        font-size: 110%;
    }

    /* Check Icon */
    .check-icon {
        min-width: 24px; /* Prevent shrinking */
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 180%;
    }

    .service-content h2 {
        font-size: 140%;
    }

    .service-list li p {
        font-size: 100%;
    }
}

/* for future release 
.view-portfolio-btn {
background-color: transparent;
background-image: url(./svg/button_portfolio.svg) ;
background-size: cover;
background-repeat: no-repeat;
background-position: center;

color: white;
padding: 8px 0px;
font-weight: 500;
z-index: 10;
transition: background-color 0.3s;
text-decoration: none;
display: inline-block;
width: 150px;
height: 50px;
border: none;
text-align: center;

position: absolute;
bottom: 0px;
right: 0;
}

.view-portfolio-btn:hover {
    background-image: url(./svg/button_portfolio_hover.svg); 
}
*/