@import 'style.css';

:root {
    --text-primary: #4A3B32;
    --bg-color: #FAFAF7;     
    --card-bg: #FFFFFF;        
    --text-primary: #111827;   
    --text-secondary: #6B7280; 
    --accent-color: #c9ad74;   
    --accent-hover: rgb(242, 216, 163);   
    --border-color: #E5E7EB;   
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}
header{
    position: static;
}
.service-detail-container{
    margin: 0 auto;
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-header{
    font-family: var(--title-family);
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.service-detail-image{
    height: 50vh;
    width: 60%;
    margin: 0;
    object-fit: cover;
}

.service-header-content{
    display: flex;
    margin: 0;
    width: 35%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.service-header-content h1{
    font-size: 2.5em;
    text-shadow: 2px 2px #555;
    color: black;
    margin: 0;
    padding-bottom: 0.15em;
}
.service-header-content p{
    font-family: var(--role-font);
    font-size: 0.9em;
    margin: 0;
}
.book-now-btn{
    margin: 0;
    margin-top: calc(var(--margin-top)/3);
    padding: 14px 35px;
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.book-now-btn:hover{
    background-color: #e5a557;
}

.service-form-wrapper{
    background-color: #fff;
    margin-top: 1em;
    width: 100%;
    border-radius: 12px;
}


.service-form-wrapper h1 {
    font-size: 2.5rem;
    font-family: var(--title-family);
    text-align: center;
    padding-block: 1em;
}
.service-and-form-container{
    display: flex;
    justify-content: space-between;

}
.service-detail-list {
    flex: 1;
    display: flex;
    align-items: start;
    flex-direction: column;
    padding-inline: 50px;
}
.service-detail-list h2, p, li{
    margin: 0;
}


.service-detail-list p, .book-form-header small {
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    margin-bottom: 25px;
    color: #666;
}

.service-content-detail{
    color: black;
}
.service-detail-list ul{
    display: flex;
    flex-direction: column;
    gap: 1em;
    width:100%;
    list-style-type: none; 
    padding: 0;
}
.service-detail-list li {
    width:100%;
    display: flex;
    justify-content: flex-start;
    font-family: var(--paragraph-font);
    padding: 0.85em;
    border-radius: 5px;
    font-size: 1.1rem;
    gap: 15px;
}
.service-detail-list li i{
    margin: 0;
}
.service-detail-list li:hover{
    transform: translateY(-5px);
    background-color: rgba(231, 230, 230, 0.474);
}
.service-detail-list li:hover .fa-check{
    color: rgb(138, 255, 138);
}

.fa-check{
    font-size: 0.75em;
    padding-inline: 0.5em;
    padding-block: 0.5em;
    border-radius: 50%;
    color: rgb(0, 255, 0);

}

.service-detail-list li:last-child {
    border-bottom: none;
}
.other-services-container{
    width: 100%;
    margin-block: var(--margin-top);
}
.other-services{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.other-services h1{
    font-family: var(--title-family);
}
.book-form-wrapper{
    background-color: #e9e6e68e;
    flex: 1; 
    padding: 1em;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.note{
    margin-top: 2em;
}

.note h4{
    font-family: var(--role-font);
    color:  #774936;
    margin-bottom: 0.85em;
}
.note p{
    font-family: var(--paragraph-font);
    color: #555;
    font-size: 0.85em;
    margin-bottom: 0.5em;
    text-align: justify;
}

.form-row {
    display: flex;
    gap: 1.5em;
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 1em;
}

.form-group label {
    font-family: var(--role-font);
    text-align: left;
    font-weight: bold;
    margin:0;
    padding-left:0.2em;
    margin-bottom: 0.5em;
    font-size: 0.9em;
}
.alert-danger{
    list-style-type: none;
    font-size: 1em;
    text-align: left;
    margin:0;
    padding:0;
    margin-top: 1em;
}
.errorlist{
    list-style-type:none ;
    margin:0;
    padding:0;
}
.errorlist li{
    color:red;
}


.submit-btn {
    width: 100%;
    background-color: var(--button-color);
    color: white;
    border: none;
    padding-block :0.85em;
    font-size: 1em;
    font-family: var(--role-font);
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 2em;
    transition: 0.3s;
}


.submit-btn:hover {
    background-color: #b65329;
}
.submit-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.submit-btn.loading {
    opacity: 0.75;
    cursor: not-allowed;
    pointer-events: none;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
    display: inline-block;
}

.spinner.hidden {
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


@media only screen and (max-width: 1024px) {
    .request-container { width: 90%; }
    .request-split { flex-direction: column; gap: 3em; }
    .form-row { flex-direction: column; gap: 1.5em; }
}
@media only screen and (max-width: 768px) {
    .request-form-wrapper { padding: 1.5em; }
    .radio-group { flex-direction: column; } 
}


.form-control {
    width: 100%;
    padding: 1em;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--paragraph-font);
    font-size: 1em;
    background-color: white;
    box-sizing: border-box; 
    transition: all 0.3s ease;
}


.form-control:focus {
    outline: none;
    border-color: var(--button-color);
    box-shadow: 0 0 0 3px rgba(186, 150, 134, 0.2); 
}


textarea.form-control {
    resize: vertical; 
}

.form-control::placeholder {
    color: #aaa;
}

.form-row {
    display: flex;
    width: 100%;
    gap: 1.5em; 
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex: 1; 
}

.form-label {
    font-family: var(--role-font);
    font-weight: bold;
    margin-bottom: 0.5em;
    font-size: 0.9em;
    color: #333;
}

@media only screen and (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 1.5em;
    }
}

@media (max-width: 900px) {
    .service-header {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .service-detail-image {
        max-width: 100%;
    }
}
@media only screen and (max-width: 600px) {
    .service-detail-container{
        margin:0;
        width:100%;
    }
    .service-header{
        gap: 0;
        flex-direction: column-reverse;
    }
    .service-header-content{
        padding: 0.5em;
        font-size:0.6em;
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: center;
    }
    .service-header-content p{
        font-size: 1.25em;
    }
    
    .book-now-btn{
        margin-top: calc(var(--margin-top)/3);
        font-size: 1.5em;
    }
    .service-form-wrapper h1{
        padding: 1em;
        display: none;
        font-size: 1.85em;
    }
    
    .other-services-container{
       width: 90%;
    }
   
    .service-detail-list{
        width:100%;
        padding:1em;
    }
    .service-detail-image{

        width: 100%;
    }
    .service-and-form-container{
        flex-direction: column;
    }
    .service-detail-list h1{
        font-size:2em;
    }
    .service-detail-list ul{
        width:100%;
        display:flex;
        flex-direction: column;

    }
    .service-detail-list li{
        width:100%;
        font-size: 0.8em;
    }
    .book-form-wrapper{
        margin: 0;
    }
    .book-form-wrapper form{
        margin-top: 1em;
    }
    .modal-body{
        padding: 0;
    }
    .service-content{
        margin: 0;
    }
}

