@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Noto+Sans+KR:wght@100..900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.navbar{
    height: 70px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: black;
}
.navbar .logo {
    flex: 1;
    margin-left: 20px;
}
.navbar .logo-image {
    height: 80px; 
    width: 120px;
    display: block;
}
.navbar .nav-links {
    display: flex;
    margin-right: 20px;
    gap: 20px;
}
.navbar .nav-links a{
    font-size: 1.2rem;
}
.navbar .nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.navbar .nav-link:hover {
    color: #ad1010; 
    text-decoration: underline;
}

body {
   font-family: "Merriweather", sans-serif;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    display: flex;
    justify-content: center; 
    align-items: center; 
    padding: 15px;
}

header h1 {
    font-size: 1.6rem; 
    color: #333;
    margin-bottom: 20px; 
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3); 
    font-weight: bold; 
    letter-spacing: 1px; 
    text-transform: capitalize; 
    position: relative; 
}

header h1::after {
    content: '';
    display: block;
    width: 100px;  /* Adjust width as needed */
    height: 4px; 
    background-color: #ad1010; /* Same color as the h2 style */
    margin: 10px auto 0; 
    border-radius: 5px; 
}

main {
    flex: 1;  
    max-width: 1200px;
    margin: 20px auto;
    margin-bottom: 70px;
    /* padding: 20px; */
}

.service-section {
    display: flex;
    align-items: center;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.service-section.reversed {
    flex-direction: row-reverse;
}

.service-content {
    display: flex;
    flex: 1;
    padding: 20px;
}

.service-image {
    width: 300px;
    height: auto;
    border-radius: 10px;
}

.service-description {
    flex: 1;
    padding: 20px;
}

h2 {
    color: #202020;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    background: #ad1010;
    color: white;
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
}












footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #333;
    color: #fff;
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 15px; 
}
footer p{
    font-size: 1.1rem;
}
footer .social-links{
  margin-right: 10px;
  display: flex;
}
.social-links a {
    margin-left: 10px;
}
footer .social-links img{
  max-width: 25px;
  opacity: 0.8;
  transition: 0.3s;
}














@media (max-width: 768px) {
    .navbar {
        flex-direction: row; 
        height: auto;
        padding: 5px;
    }
    .navbar .nav-links .nav-link{
        font-size: 16px;
    }
    .navbar .nav-links {
        flex-direction: row; 
        margin-right: 5px;
        gap: 10px; 
    }
    header {
        text-align: center; 
    }

    header h1 {
        font-size: 1.4rem; 
        margin: 0; 
        padding: 0 10px; 
    }

    .service-section {
        flex-direction: column; 
        padding: 15px; 
        margin: 10px 0; 
        width: 100%; 
    }

    .service-content {
        flex-direction: column; 
        align-items: center; 
        text-align: center; 
    }

    .service-description {
        padding: 10px; 
        width: 100%; 
    }

    .service-image {
        width: 100%; 
        margin-bottom: 10px; 
        max-height: 200px; 
        object-fit: cover; 
    }
    main {
        margin-bottom: 100px; 
    }

    footer {
        flex-direction: column; 
        align-items: center;
    }
    footer p{
        font-size: 0.8rem;
    }
    footer .social-links{
        margin-left: auto;
    }
}

@media (max-width: 480px) {
    .navbar {
        flex-direction: row; 
        height: auto;
        padding: 5px;
    }
    .navbar .nav-links .nav-link{
        font-size: 18px;
    }
    .navbar .nav-links {
        flex-direction: row; 
        margin-right: 5px;
        gap: 8px; 
    }
    header h1 {
        font-size: 1.2rem; 
        margin: 0; 
        padding: 0 5px; 
    }

    .service-section {
        padding: 10px; 
        margin: 5px 0; 
    }

    .service-description {
        padding: 5px; 
        width: 100%; 
    }

    .service-image {
        max-height: 150px; 
    }

    .service-image {
        width: 100%; 
        margin-bottom: 10px; 
    }

    .service-description {
        padding: 10px; 
    }
    main {
        margin-bottom: 100px; 
    }

    footer {
        flex-direction: column; 
        align-items: center;
    }
    footer p{
        font-size: 0.8rem;
    }
    footer .social-links{
        margin-left: auto;
    }
}