
:root {
    --primary-color: #00a8ff;
    --secondary-color: #333;
    --background-color: #1a1a1a;
    --text-color: #eee;
    --card-background-color: #2a2a2a;
    --shadow-color: rgba(0, 168, 255, 0.2);
}

body.light-mode {
    --primary-color: #007bff;
    --secondary-color: #f8f9fa;
    --background-color: #ffffff;
    --text-color: #333;
    --card-background-color: #f8f9fa;
    --shadow-color: rgba(0, 123, 255, 0.2);
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://www.transparenttextures.com/patterns/noisy.png');
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-right: 1rem; /* Adjust this value as needed */
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.theme-switcher {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.theme-switcher:hover {
    background-color: #007bff;
}

main {
    padding-top: 80px;
}

section {
    padding: 4rem 2rem;
    text-align: center;
}

#hero {
    background-image: url('https://images.unsplash.com/photo-1527993233285-b924911c0338?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-text {
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

#gallery .gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

#gallery .gallery-container img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#gallery .gallery-container img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

#services .service-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

#services .card {
    background-color: var(--card-background-color);
    padding: 2.5rem;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

#services .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}

#contact form {
    max-width: 600px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#contact input,
#contact textarea {
    background-color: var(--card-background-color);
    border: 1px solid var(--secondary-color);
    color: var(--text-color);
    padding: 1rem;
    border-radius: 5px;
}

footer {
    background-color: var(--secondary-color);
    padding: 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }
}
