
:root {
    --bg-color: #121212;
    --text-color: #ffffff;
    --grid-color: rgba(255, 255, 255, 0.04);
    --accent-color: #ffffff;
    --transition-slow: 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}


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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}


.section-grid {
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 45px 45px;
    padding: 120px 8%;
    border-bottom: 1px solid var(--grid-color);
    min-height: 100vh;
}


.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-slow);
}

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

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 30px 8%;
    z-index: 1000;
    background: rgba(18, 18, 18, 0.7);
    backdrop-filter: blur(10px);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar a {
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.7;
    transition: 0.3s;
}

.navbar a:hover { opacity: 1; }

.main-title {
    font-size: clamp(3.5rem, 12vw, 9rem);
    line-height: 0.85;
    margin: 60px 0;
    font-weight: 500;
}

.hero-text-top {
    max-width: 450px;
    margin-left: auto;
    font-size: 0.95rem;
    opacity: 0.8;
    text-align: right;
    margin-bottom: 20px;
}

.hero-menu { list-style: none; }
.hero-menu li { margin: 15px 0; }

.menu-link {
    font-size: 1.8rem;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.menu-link span {
    margin-right: 15px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.menu-link:hover { padding-left: 10px; }
.menu-link:hover span { transform: translateX(8px); }


.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 400;
}

.project-card {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    margin-bottom: 150px;
    align-items: center;
}

.carousel {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 16/10;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, opacity 0.3s ease;
}

.carousel:hover .carousel-img { transform: scale(1.04); }

.carousel-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    backdrop-filter: blur(5px);
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-item h4 {
    border-top: 1px solid #fff;
    padding-top: 20px;
    margin-bottom: 15px;
    font-size: 1.2rem;
}


.contact-content { max-width: 700px; }
.contact-header { font-size: 2.5rem; margin-bottom: 20px; font-weight: 300; font-style: italic; }

.btn-primary {
    display: inline-block;
    padding: 20px 45px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    margin-top: 40px;
    transition: 0.4s ease;
}

.btn-primary:hover {
    background: #fff;
    color: #000;
}

.link-underlined {
    text-decoration: none;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    margin-right: 25px;
    transition: 0.3s;
}

.link-underlined:hover { border-bottom-color: #fff; }


footer { padding: 80px 0; text-align: center; }

.btn-up {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
}

.btn-up:hover { opacity: 1; }


@media (max-width: 900px) {
    .project-card { grid-template-columns: 1fr; gap: 20px; }
    .hero-text-top { text-align: left; margin-left: 0; }
    .main-title { font-size: 4.5rem; }
}