/* ========================= */
/* GLOBAL RESET */
/* ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Orbitron', sans-serif;
    background: #0b0b15;
    color: white;
}

/* ========================= */
/* HEADER */
/* ========================= */

header {
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 20px 80px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    z-index: 1000;
}



nav a {
    margin-left: 30px;
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

nav a:hover {
    color: #00e0ff;
}

/* ========================= */
/* HERO - TECH CYBER STYLE  */
/* ========================= */

.hero {
    height: 100vh;
    background: #050510;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* CYBER GRID */
.cyber-grid {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(0,255,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,255,255,0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(700px) rotateX(60deg);
    animation: moveGrid 12s linear infinite;
}

@keyframes moveGrid {
    from { transform: perspective(700px) rotateX(60deg) translateY(0); }
    to { transform: perspective(700px) rotateX(60deg) translateY(60px); }
}

/* SCAN LINE */
.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ffff, transparent);
    animation: scan 4s linear infinite;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

/* HERO CONTENT */
.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeUp 1.2s ease forwards;
    opacity: 0;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(-10px);
    }
}

/* GLITCH TITLE */
.glitch {
    font-size: 4rem;
    color: #00ffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    text-shadow:
        0 0 5px #00ffff,
        0 0 10px #00ffff,
        0 0 20px #00ffff;
}

/* GLITCH EFFECT */
.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    color: #ff00ff;
    clip: rect(0, 900px, 0, 0);
}

.glitch::before {
    animation: glitchTop 2s infinite linear alternate-reverse;
}

.glitch::after {
    animation: glitchBottom 2s infinite linear alternate-reverse;
}

@keyframes glitchTop {
    0% { clip: rect(0, 9999px, 0, 0); }
    10% { clip: rect(0, 9999px, 60px, 0); transform: translate(-4px, -4px); }
    20% { clip: rect(0, 9999px, 0, 0); transform: none; }
}

@keyframes glitchBottom {
    0% { clip: rect(0, 9999px, 0, 0); }
    10% { clip: rect(60px, 9999px, 120px, 0); transform: translate(4px, 4px); }
    20% { clip: rect(0, 9999px, 0, 0); transform: none; }
}

/* HERO SUBTITLE FIX (Readable 3D) */
.hero-subtitle {
    margin-top: 20px;
    color: #cccccc;
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

/* HERO BUTTON */
.hero button {
    margin-top: 30px;
    padding: 15px 40px;
    border: 2px solid #00ffff;
    background: transparent;
    color: #00ffff;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 50px;
    transition: 0.4s;
    box-shadow: 0 0 10px #00ffff;
}

.hero button:hover {
    background: #00ffff;
    color: black;
    box-shadow: 0 0 35px #00ffff;
}

/* ========================= */
/* GALLERY */
/* ========================= */

.section {
    padding: 120px 80px;
    text-align: center;
}

.gallery-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 15px;
    transition: 0.4s ease;
}

.gallery-grid img:hover {
    transform: scale(1.1);
}

/* ========================= */
/* SERVICES */
/* ========================= */

.services-section {
    padding: 120px 10%;
    background: #11111a;
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 70px;
    color: white;
    letter-spacing: 1px;
}

.services-row {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.service-card {
    flex: 1;
    min-width: 280px;
    background: #181824;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: left;
    transition: all 0.4s ease;
}

.accent-line {
    width: 40px;
    height: 3px;
    background: #00ffff;
    margin-bottom: 20px;
    transition: 0.4s ease;
}

.service-card h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-card p {
    font-family: 'Inter', sans-serif;
    color: #bdbdc7;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-card:hover {
    transform: translateY(-10px);
    background: #1e1e2d;
}

.service-card:hover .accent-line {
    width: 70px;
}

/* ========================= */
/* CONTACT */
/* ========================= */

.contact-section {
    padding: 120px 10%;
    background: #0e0e17;
}

.contact-container {
    display: flex;
    gap: 80px;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 60px;
}

/* FORM */

.contact-form {
    flex: 1;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input {
    padding: 14px 18px;
    background: #1a1a26;
    border: 1px solid #2a2a3a;
    border-radius: 8px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: 0.3s ease;
}

.contact-form input:focus {
    outline: none;
    border-color: #00ffff;
    background: #202030;
}

.contact-form button {
    margin-top: 10px;
    padding: 14px;
    background: #2b6e6e;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.contact-form button:hover {
    background: #488e8e;
    transform: translateY(-2px);
}

/* CONTACT INFO */

.contact-info h3 {
    margin-bottom: 30px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.info-item span {
    display: block;
    font-size: 0.85rem;
    color: #8a8aa3;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

.info-item p {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
}

/* EMAIL FIX (Readable + Neon Hover) */
.email {
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #ffffff;
    transition: 0.3s ease;
    cursor: pointer;
}

.email:hover {
    color: #00ffff;
}

.sharp-d {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 6px #00ffff;
}


/* ========================= */
/* LANGUAGE DROPDOWN */
/* ========================= */

.lang-selector {
    position: relative;
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
}

.lang-current {
    padding: 8px 18px;
    border-radius: 30px;
    border: 1px solid rgba(0, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.lang-current:hover {
    border-color: #00ffff;
    color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.lang-options {
    position: absolute;
    top: 120%;
    right: 0;
    background: rgba(15, 15, 15, 0.95);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 140px;
    display: none;
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
}

.lang-option {
    padding: 10px 16px;
    cursor: pointer;
    transition: 0.25s;
    color: #ffffff;
}

.lang-option:hover {
    background: rgba(0, 255, 255, 0.08);
    color: #00ffff;
}

/* Show dropdown when active */
.lang-selector.active .lang-options {
    display: block;
}

/* ========================= */
/* FORM POPUP */
/* ========================= */

.form-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.popup-content {
    background: rgba(20, 20, 20, 0.95);
    padding: 30px 40px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    animation: popupFade 0.3s ease;
}

.popup-content p {
    margin-bottom: 20px;
    font-size: 1rem;
}

.popup-content button {
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid #00ffff;
    background: transparent;
    color: #00ffff;
    cursor: pointer;
    transition: 0.3s;
}

.popup-content button:hover {
    background: #00ffff;
    color: #000;
}

@keyframes popupFade {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}