@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #1a1a1a;
    --accent-color: #000000;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-strong: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    background-image: radial-gradient(#e0e0e0 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 40px 0;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--light-gray), transparent);
}

/* Typography */
h1,
h2,
h3 {
    color: var(--accent-color);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 4.5rem;
    letter-spacing: -2px;
    font-weight: 700;
    background: linear-gradient(135deg, #000 0%, #666 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 3rem;
    border-bottom: 4px solid var(--accent-color);
    padding-bottom: 0.5rem;
    display: inline-block;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 100px;
    width: 200px;
    height: 4px;
    background: var(--light-gray);
}

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

p {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 600px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 240px;
    box-shadow: var(--shadow-strong);
    z-index: 1001;
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(0);
    transition: var(--transition);
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    color: var(--text-color);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background-color: var(--light-gray);
    color: var(--accent-color);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--medium-gray);
}

.lang-switch {
    background: none;
    border: 1px solid var(--light-gray);
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
}

.lang-switch:hover {
    background: var(--light-gray);
}

/* Hero */
#hero {
    text-align: left;
    background: radial-gradient(circle at top right, #fafafa 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
}

.hero-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Box shadow removed for line art */
}

.line-art {
    width: 100%;
    height: 100%;
    max-width: 500px;
    opacity: 0.8;
}

.line-art path {
    stroke: var(--accent-color);
    stroke-width: 1px;
    fill: none;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLines 4s ease-out forwards;
}

@keyframes drawLines {
    to {
        stroke-dashoffset: 0;
    }
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 600;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 0;
}

.service-card {
    padding: 1.5rem 2rem;
    background: #ffffff;
    border: none;
    border-bottom: 1px solid #eeeeee;
    border-radius: 0;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.service-icon {
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.read-more {
    display: inline-block;
    margin-top: 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--accent-color);
    transition: var(--transition);
}

.service-card:hover .read-more {
    transform: translateX(5px);
}

.service-card.square {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #000, #999);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: none;
    background: var(--light-gray);
    box-shadow: none;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    margin-top: 1.5rem;
}

.service-card li {
    padding: 0.5rem 0;
    color: var(--medium-gray);
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Contact */
#contact {
    background: var(--dark-gray);
    color: #ffffff;
}

#contact h2 {
    color: #ffffff;
    border-color: #333333;
}

#contact p {
    color: #aaaaaa;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.contact-item h4 {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: var(--medium-gray);
}

.contact-item a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

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

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    padding: 1rem 0;
    background: var(--dark-gray);
    color: #444444;
    font-size: 0.7rem;
    border-top: 1px solid #333333;
}

footer p {
    font-size: 0.7rem;
    color: #444444;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }

    section {
        padding: 60px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }
}

/* Service Detail Page */
.service-detail {
    background: #ffffff;
    padding-top: 100px;
}

.detail-list {
    list-style: none;
    margin-top: 2rem;
}

.detail-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    border-left: 2px solid var(--light-gray);
    transition: var(--transition);
}

.detail-list li:hover {
    border-color: var(--accent-color);
}

.detail-list strong {
    display: block;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.about-content p {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    line-height: 1.8;
}