:root {
    --bg-body: #121212;
    --text-main: #e0e0e0;
    --bg-card: #1e1e1e;
    --shadow: rgba(0,0,0,0.4);
    --accent: #82cfff;
    --text-btn: #121212;
    --review-bg: #2a2a2a;
}

@media (prefers-color-scheme: light) {
    :root {
        --bg-body: #f0f2f5;
        --text-main: #1c1c1e;
        --bg-card: #ffffff;
        --shadow: rgba(0,0,0,0.1);
        --accent: #0066cc;
        --text-btn: #ffffff;
        --review-bg: #f2f8ff;
    }
}

.ubuntu-regular {
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.ubuntu-medium {
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.ubuntu-bold {
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.ubuntu-regular-italic {
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-style: italic;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Ubuntu", sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 15px;
    background-color: var(--bg-body);
    color: var(--text-main);
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

h1 {
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-align: center;
}

h2 {
    font-weight: 500;
    font-size: 1.8rem;
    margin: 10px 0 10px 0;
    text-align: center;
}

p {
    font-weight: 400;
    margin: 10px;
    text-align: center;
    line-height: 1.8;
}

button {
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 500;
    background-color: var(--accent);
    color: var(--text-btn);
    cursor: pointer;
}

section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 800px;
    margin: 15px;
    padding: 20px;
    border-radius: 12px;
    background-color: var(--bg-card);
    box-shadow: 0 4px 12px var(--shadow);
}

ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

li {
    margin-bottom: 10px;
}

a {
    color: var(--accent);
    text-decoration: none;
    text-align: center;
}

a:hover {
    text-decoration: underline;
}

iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 8px;
    margin-top: 15px;
}

.review-card {
    width: 100%;
    max-width: 95%;
    margin: 10px 0;
    padding: 16px;
    border-radius: 12px;
    background-color: var(--review-bg);
    box-shadow: 0 4px 12px var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
    border: 1px solid transparent;
}

.review-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
}

#navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    font-weight: 500;
    font-size: 1.2rem;
}

#map_360 {
    display: none;
}

#call-button {
    display: none;
    position: fixed;
    bottom: calc(25px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent);
    color: var(--text-btn);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 500;
}

#fix ul, #services ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    padding: 0;
    margin: 0;
    align-items: stretch;
    grid-auto-rows: 1fr;
}

#fix li, #services li {
    background-color: var(--review-bg);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
    border: 1px solid transparent;
    margin: 0;
    height: auto;
    box-sizing: border-box;
}

#fix li:hover, #services li:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

@media not (hover: hover) {
    #call-button {
        display: block;
    }
    h1 {
        font-size: 1.6rem;
    }
    body {
        padding-bottom: 50px;
    }
    #fix ul, #services ul {
        grid-template-columns: 1fr;
    }
}