:root {
    --bg-color: #f5f5f5;
    --text-color: #333;
    --card-bg: #fff;
    --accent-color: #000;
    --font-family: "Inter", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo img {
    height: 60px; /* Adjust as needed */
    width: auto;
    display: block;
}

nav {
    display: flex;
    align-items: center;
    gap: 3rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #666;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent-color);
}

.lang-switch {
    display: flex;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #666;
    align-items: center;
}

.lang-switch button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    color: #999;
    font-weight: 500;
    transition: color 0.3s;
}

.lang-switch button.active {
    color: var(--accent-color);
    font-weight: 700;
}

.lang-switch button:hover {
    color: var(--accent-color);
}

/* Main Grid */
main {
    padding: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card {
    background-color: var(--card-bg);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 2rem;
    text-align: center;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.card-desc {
    font-size: 0.85rem;
    color: #777;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    padding: 0;
    width: 90%;
    max-width: 800px;
    position: relative;
    display: flex;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    overflow: hidden;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-button {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
    z-index: 10;
    line-height: 1;
}

.modal-body {
    display: flex;
    width: 100%;
}

.modal-body img {
    width: 50%;
    object-fit: cover;
}

.modal-text {
    width: 50%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-text h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.modal-text p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        padding: 1.5rem 2rem;
    }

    main {
        padding: 2rem;
    }

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

    .modal-content {
        flex-direction: column;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-body {
        flex-direction: column;
    }

    .modal-body img {
        width: 100%;
        height: 300px;
    }

    .modal-text {
        width: 100%;
        padding: 2rem;
    }
}

/* About Page */
.about-view {
    width: 100%;
    background-color: #1a1a1a; /* Dark background */
    color: #fff;
}

.about-hero {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.about-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
}

.about-container {
    max-width: 800px;
    width: 100%;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
}

.about-intro {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    text-align: justify;
}

.about-card {
    background-color: #2a2a2a;
    padding: 2.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.about-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-card p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #ddd;
    margin-bottom: 1.5rem;
}

.about-card ul {
    list-style: none;
    padding-left: 0;
}

.about-card li {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #ddd;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.about-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #fff;
}

.about-footer {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #ddd;
    margin-top: 3rem;
}

/* Contact Page */
.contact-view {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
}

.contact-intro {
    font-size: 1rem;
    color: #666;
    margin-bottom: 4rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    text-align: left;
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #999;
    text-transform: uppercase;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: #fff;
    padding: 2rem;
    text-align: center;
    border-top: 1px solid #eee;
    margin-top: auto;
}

footer p {
    font-size: 0.8rem;
    color: #999;
}
