/* TOKYO NIGHT THEME VARIABLES */
:root {
    --bg-main: #1a1b26;
    --bg-secondary: #24283b;
    --accent-cyan: #7dcfff;
    --accent-purple: #7aa2f7;
    --text-primary: #c0caf5;
    --text-secondary: #a9b1d6;
    --dark-overlay: rgba(26, 27, 38, 0.7);
    --border-radius: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--border-radius);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* HEADER & NAV */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(26, 27, 38, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(125, 207, 255, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-social {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-social a {
    color: var(--accent-purple);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.nav-social a:hover {
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

.nav-social i {
    width: 20px;
    height: 20px;
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin: 0 auto 1.5rem;
    display: block;
    filter: brightness(0) invert(1);
    /* Optional: makes logo white if it's dark on dark background */
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--accent-cyan);
}

.nav-login-btn {
    background: rgba(125, 207, 255, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(125, 207, 255, 0.2);
    transition: var(--transition);
}

.nav-login-btn:hover {
    background: var(--accent-cyan) !important;
    color: var(--bg-main) !important;
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--accent-cyan);
    cursor: pointer;
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('images/hero.png');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-overlay);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #fff;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Technical Lines Graphics */
.hero::after {
    content: '';
    position: absolute;
    bottom: 50px;
    right: 50px;
    width: 300px;
    height: 300px;
    background-image:
        linear-gradient(to right, rgba(125, 207, 255, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(125, 207, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle, black, transparent 80%);
}

/* BUTTONS */
.btn {
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    display: inline-block;
    border: none;
}

.btn-primary {
    background-color: var(--accent-cyan);
    color: var(--bg-main);
    box-shadow: 0 0 15px rgba(125, 207, 255, 0.3);
}

.btn-primary:hover {
    background-color: #92dbff;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(125, 207, 255, 0.5);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
}

.btn-outline:hover {
    background-color: rgba(125, 207, 255, 0.1);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* ABOUT SECTION */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--accent-cyan);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-purple);
}

.architects {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.architect strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.architect span {
    color: var(--accent-purple);
    font-size: 0.9rem;
    font-weight: 500;
}

/* SERVICES SECTION */
.services {
    background-color: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background-color: var(--bg-main);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(125, 207, 255, 0.05);
    transition: var(--transition);
}

.service-card i {
    color: var(--accent-cyan);
    width: 32px;
    height: 32px;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-weight: 500;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(125, 207, 255, 0.1);
}

/* DIFFERENTIALS */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.diff-item i {
    width: 48px;
    height: 48px;
    color: var(--accent-purple);
    margin-bottom: 1.5rem;
}

.diff-item h3 {
    margin-bottom: 1rem;
}

/* FAQ SECTION */
.faq-accordion {
    max-width: 800px;
    margin: 3rem auto 0;
}

details {
    background-color: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

details[open] {
    box-shadow: 0 0 15px rgba(187, 154, 247, 0.1);
}

summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary i {
    width: 20px;
    height: 20px;
    color: var(--accent-cyan);
    transition: transform 0.3s ease;
}

details[open] summary i {
    transform: rotate(180deg);
}

details p {
    margin-top: 1.5rem;
    color: var(--text-secondary);
    padding-left: 1rem;
    border-left: 2px solid var(--accent-purple);
}

/* CONTACT SECTION */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.address {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.address i {
    flex-shrink: 0;
    color: var(--accent-cyan);
}

.architect-info {
    border-top: 1px solid rgba(125, 207, 255, 0.1);
    padding-top: 2rem;
}

.architect-info p {
    margin-bottom: 0.5rem;
}

.contact-form {
    background-color: var(--bg-secondary);
    padding: 3rem;
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

input,
select,
textarea {
    width: 100%;
    background-color: var(--bg-main);
    border: 1px solid rgba(125, 207, 255, 0.2);
    padding: 1rem;
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(125, 207, 255, 0.1);
}

::placeholder {
    color: #565f89;
}

/* FOOTER */
.footer {
    padding: 3rem 0;
    background-color: #16161e;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    position: relative;
}

.footer p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.footer-config {
    position: absolute;
    right: 0;
    bottom: 0;
    color: var(--bg-secondary);
    transition: var(--transition);
    opacity: 0.3;
}

.footer-config:hover {
    color: var(--accent-cyan);
    opacity: 1;
}

.footer-config i {
    width: 16px;
    height: 16px;
}

/* ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* RESPONSIVE */
@media (max-width: 992px) {

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        /* height of header */
        left: -100%;
        width: 100%;
        background-color: var(--bg-secondary);
        padding: 2rem;
        gap: 2rem;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .diff-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-btns {
        flex-direction: column;
    }

    .section-padding {
        padding: 4rem 0;
    }
}