/** THEME SETTINGS -- ONLY NEED TO CHANGE COLORS AND FONTS HERE!**/
:root {
    /** COLORS **/
    --primary: #AA77A1;
    --secondary: #F6F6F6;
    --dark: #222;
    --gray: #737373;
    --light: #f0f0f0;
    --text: #444;
    --border: #ddd;

    /** FONTS **/
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Segoe UI', sans-serif;
}

/*---------------------------------------------------------------------*/

/** GLOBAL **/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: white;
    line-height: 1.6;
}

/** NAVIGATION **/
.nav {
    background: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    position: relative;
}

.nav-left {
    flex: 1;
}

.nav-logo {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary);
}

.nav-right {
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
}

.nav-links a.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

/** BURGER BAR MENU **/
.burger {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: var(--dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.burger span:nth-child(1) {
    top: 0;
}

.burger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.burger span:nth-child(3) {
    bottom: 0;
}

.burger.open span:nth-child(1) {
    transform: rotate(42deg);
    top: 49%;
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: rotate(-42deg);
    bottom: 36%;
}

/** UTILITY FLEX AND LAYOUT HELPERS **/
.flex-wrap {
    display: flex;
    flex-wrap: wrap;
}

.gap-2 {
    gap: 2rem;
}

.gap-10 {
    gap: 0rem;
}

.align-center {
    align-items: center;
}

.flex-half {
    flex: 1;
    min-width: 250px;
}

#about h2::after,
#services h2::after,
#faq h2::after,
#contact h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin-top: 8px;
    border-radius: 2px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

label {
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 5px;
    padding-bottom: 0px;
}

/** ABOUT **/
#about {
    position: relative;
    background: linear-gradient(to right, #fff, #fdfdfd);
    overflow: hidden;
}

#about h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

#about .flex-half p {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10%;
    width: 200%;
    height: 100%;
    background-image: radial-gradient(circle, #ddd 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.05;
    z-index: 0;
}

.about-img-container {
    position: relative;
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.about-img-overlay {
    position: absolute;
    top: 23px;
    right: 4px;
    width: 88%;
    height: 90%;
    border: var(--primary) 5px solid;
    z-index: 99;
}

.img-rounded-border {
    max-width: 100%;
    position: relative;
    z-index: 2;
    border-radius: 12px;
}

/** HERO **/
.hero {
    background: url('../img/background.jpg') center/cover no-repeat;
    height: 665px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
    position: relative;
}

.hero-overlay {
    background: rgba(255, 255, 255, 0.85);
    padding: 2rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-direction: column;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    text-align: center;
}

.hero-logo {
    height: 100px;
    width: auto;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
}

.hero p {
    font-size: 1rem;
    color: var(--text);
}

/** SECTIONS **/
.section {
    padding: 80px 20px;
}

.section-icon.left {
    left: 5%;
    top: 40%;
}

.container {
    max-width: 1165px;
    margin: auto;
}

.middle-icon-container {
    position: absolute;
    transform: translateY(-86%) translateX(62%);
    z-index: 99;
    opacity: 0.8;
}

/** SERVICES **/
.services-section {
    background-color: #fff;
    padding: 0px 72px;
}

.service-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
    align-items: stretch;
    padding-bottom: 20px;
}

.smart-service-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.smart-service-item {
    background: #fff;
    border-radius: 20px;
    padding: 1.75rem 2rem;
    border-left: 4px solid var(--primary);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    animation: fadeInUp 0.6s ease both;
}

.smart-service-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to top, var(--primary), #ffa057);
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    opacity: 0.5;
    z-index: -1;
}

.smart-service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.08);
}

.smart-service-item h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.smart-service-item p {
    color: var(--text);
    font-size: 0.96rem;
    line-height: 1.6;
}

.services-img-container {
    flex: 1;
    background-image: url('../img/background3.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    min-height: 330px;
    filter: grayscale(0) brightness(0.97);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: filter 0.3s ease;
}

.services-img-container:hover {
    filter: grayscale(0) brightness(1);
}

/** ANIMATION **/
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/** LISTS **/
.list {
    list-style: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.list li {
    border-bottom: 1px solid var(--border);
}

.list li:last-child {
    border-bottom: none;
}

/** FAQ **/
.faq-section {
    padding: 0px 72px;
    margin-top: 106px;
}

.faq-list.enhanced-faq {
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: white;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/*.faq-item:hover {
    background-color: var(--light);
}*/

.faq-question {
    padding: 1.4rem;
    width: 100%;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    background: none;
    border: none;
    /*cursor: pointer;*/
    font-family: var(--font-body);
    color: var(--dark);
    transition: background 0.3s ease;
}

/*.faq-question:hover {
    background-color: var(--light);
}*/

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    display: none;
    padding: 0 1.2rem 1.2rem;
    font-size: 0.95rem;
    color: var(--primary);
    line-height: 1.6;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/** ACCOUNT NOTICE **/
.account-notice {
    background-color: var(--gray);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    color: var(--light);
    margin: 2rem 0;
}

.account-notice h2 {
    color: var(--light) !important;
}

.map-section {
    text-align: center;
    padding-bottom: 0px;
}

.account-managed img {
    width: 262px;
}

/** CONTACT **/
.contact-section {
    background-color: var(--secondary);
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    padding: 0.55rem;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 7px;
}

.contact-form button {
    padding: 0.75rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

/** FOOTER **/
.footer {
    text-align: center;
    padding: 1.5rem;
    background: #B47195;
    color: white;
}

#footerLogo {
    position: relative;
    top: 5px;
    left: 4px;
    width: 126px;
    height: 20px;
}

/** BACK TO TOP BUTTON **/
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: none;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    padding: 0.75rem 1rem;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/** MEDIA QUERIES **/



@media (min-width: 300px) and (max-width: 690px)
    {
        .hero
        {
            height: 265px;
            margin-top: 177px;
        }


    }




@media (max-width: 768px) { /*? MOBILE */
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .burger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        border-top: 1px solid var(--border);
        padding: 1rem 0;
        text-align: center;
        z-index: 999;
    }

    .nav-links.nav-active {
        display: flex;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero-overlay {
        padding: 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .about-img-overlay {
        width: 90%;
        height: 88%;
        top: 21px;
        left: -3%;
        border-width: 3px;
    }

    .service-columns {
        flex-direction: column;
    }

    .services-section,
    .faq-section {
        padding: 0px 38px;
    }

    .faq-section {
        margin-top: 39px;
    }

    /*.services-img-container {
        display: none;
    }*/

    .smart-service-item {
        padding: 1.5rem;
    }

    .smart-service-item h3 {
        font-size: 1.1rem;
    }

    .smart-service-item p {
        font-size: 0.92rem;
    }

    .map-section {
        padding: 0px;
        margin-top: 50px;
    }
}

@media (max-width: 480px) { /*? MOBILE SMALL */
    .hero-content {
        flex-direction: column;
    }

    .hero-logo {
        height: 88px;
    }

    .nav-links {
        gap: 0.8rem;
    }
}