@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Italiana:wght@400;700&display=swap');

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --background-color: #f8f9fa;
    --text-color: #333;
    --light-text-color: #6c757d;
    --header-height: 48px;
    --header-width: 300px;
    --section-padding: 20px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 15px);
    
}

body {
    font-family: 'Roboto', serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    padding-top: 20px;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('watercolor1.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.glassmorphic-header {
    position: fixed;
    top: 20px;
    right: 20px;
    left: auto;
    transform: none;
    width: var(--header-width);
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 15px;
    position: relative;
    font-family: 'Italiana', serif;
}

nav {
    width: 100%;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

nav ul li {
    margin: 0;
    flex: 1;
    text-align: center;
}

nav ul li:first-child {
    text-align: left;
}

nav ul li:last-child {
    text-align: right;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 5px 0;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
    bottom: 0;
}

main {
    margin-top: 60px;
}

section {
    padding: var(--section-padding) 0;
}

h1, h2, h3 {
    font-family: 'Italiana', serif;
    color: var(--primary-color);
}

h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    font-weight: 300;
}

#hero {
    text-align: center;
    padding: 100px 0;
    size-adjust: 100%;
}

.profile-picture {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--light-text-color);
    margin-bottom: 2rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
    justify-content: center;
}

.service-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3, .service-card p {
    padding: 0 25px;
}

.service-card h3 {
    margin-top: 1.5rem;
}

blockquote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.2rem;
    border-left: 3px solid var(--secondary-color);
    padding: 20px 30px;
    margin: 40px 0;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px;
    gap: 20px;
}

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: transform 0.3s ease;
    flex: 1;
    min-width: calc(33.33% - 20px);
    text-align: center;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.contact-item p {
    margin: 0;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

#emergency h2 {
    color: #7f1111;
}

.emergency-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px;
    gap: 20px;
}

.emergency-column {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: transform 0.3s ease;
    flex: 1;
    min-width: calc(50% - 20px);
    text-align: center;
}

.emergency-column:hover {
    transform: translateY(-5px);
}

.emergency-column h3 {
    color: #000000;
    margin-bottom: 20px;
}

.emergency-column ul {
    list-style-type: none;
    padding: 0;
}

.emergency-column ul li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.emergency-column ul li strong {
    font-size: 1.2rem;
    color: #dc3545;
}

footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 60px 0;
    margin-top: 80px;
    text-align: center;
}

.glassmorphic-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    margin-bottom: 40px;
}

.glassmorphic-box h2 {
    margin-top: 0;
    color: var(--primary-color);
}

.glassmorphic-box p {
    color: var(--text-color);
}

.glassmorphic-box blockquote {
    background: rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--secondary-color);
    margin: 20px 0;
    padding: 20px;
}

#contact,
#emergency {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.contact-box,
.emergency-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    margin-bottom: 40px;
}

.contact-box h2,
.emergency-box h2 {
    margin-top: 0;
    color: var(--primary-color);
}

.emergency-box h2 {
    color: #7f1111;
}

@supports not (backdrop-filter: blur(10px)) {
    .contact-box,
    .emergency-box,
    .glassmorphic-box,
    .glassmorphic-header,
    .contact-item,
    .emergency-column {
        background: rgba(255, 255, 255, 0.7);
    }
}

@media (max-width: 768px) {
    .glassmorphic-header {
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        border-radius: 0;
        padding: 10px 0;
    }

    .header-content {
        padding: 0 20px;
    }

    nav ul {
        justify-content: space-around;
    }

    nav ul li,
    nav ul li:first-child,
    nav ul li:last-child {
        margin: 0;
        text-align: center;
    }

    nav ul li a {
        font-size: 0.7rem;
        padding: 5px;
    }

    main {
        margin-top: 70px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }

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

    .contact-item,
    .emergency-column {
        min-width: 100%;
    }

    .contact-info,
    .emergency-info {
        flex-direction: column;
    }

    .contact-item,
    .emergency-column {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 16px;
        line-height: 1.6;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 40px 0;
    }

    p {
        margin-bottom: 1rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .profile-picture {
        width: 150px;
        height: 150px;
    }

    .contact-box,
    .emergency-box {
        padding: 20px;
    }

    .contact-item,
    .emergency-column {
        padding: 15px;
        margin-bottom: 15px;
    }

    .contact-item i {
        font-size: 20px;
    }

    .emergency-column h3 {
        font-size: 1.5rem;
    }

    .emergency-column ul li {
        font-size: 1rem;
    }

    .emergency-column ul li strong {
        font-size: 1.1rem;
    }

    .glassmorphic-box {
        padding: 20px;
    }

    .service-card h3 {
        font-size: 1.5rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    blockquote {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .contact-info,
    .emergency-info {
        margin-top: 20px;
    }
    .contact-item,
    .emergency-column {
        width: 100%;
        min-width: 100%;
        box-sizing: border-box;
    }

    .contact-box,
    .emergency-box {
        overflow: hidden;
    }

    .glassmorphic-header {
        padding: 5px 0;
    }

    nav ul li a {
        font-size: 0.65rem;
        padding: 3px;
    }

    .menu-toggle {
        display: none;
    }

    .header-content {
        opacity: 1;
        visibility: visible;
    }

    .service-card img {
        height: 150px;
    }

    .service-card h3,
    .service-card p {
        padding: 0 15px;
    }

    .service-card h3 {
        font-size: 1.3rem;
        margin-top: 1rem;
    }

    .emergency-column {
        padding: 20px;
    }

    .emergency-column h3 {
        font-size: 1.3rem;
    }

    .emergency-column ul li {
        font-size: 0.9rem;
    }

    .emergency-column ul li strong {
        font-size: 1rem;
    }

    footer {
        padding: 40px 0;
        margin-top: 60px;
    }
}

@media (max-width: 360px) {
    .glassmorphic-header {
        padding: 3px 0;
    }

    nav ul li a {
        font-size: 0.6rem;
        padding: 2px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .profile-picture {
        width: 120px;
        height: 120px;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.8rem;
    }

    .contact-item,
    .emergency-column {
        padding: 10px;
    }

    .contact-item i {
        font-size: 18px;
    }

    .emergency-column h3 {
        font-size: 1.2rem;
    }

    .emergency-column ul li {
        font-size: 0.8rem;
    }

    .emergency-column ul li strong {
        font-size: 0.9rem;
    }

    blockquote {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
}