/* Hero Section */

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 1000px;
    padding: 0 20px;
    z-index: 3;
}

.hero-glass {
    background: rgba(255, 140, 0, 0.1);
    backdrop-filter: blur(20px);
    border: 4px solid #ff8c00;
    border-radius: 0;
    padding: 60px 50px;
    box-shadow:
        inset -8px -8px 0 rgba(139, 69, 19, 0.3),
        inset 8px 8px 0 rgba(218, 165, 32, 0.3),
        0 0 40px rgba(255, 140, 0, 0.3);
    position: relative;
}

.hero-glass::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid rgba(218, 165, 32, 0.5);
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    color: #ff8c00;
    text-shadow:
        4px 4px 0 #8B4513,
        0 0 20px rgba(255, 140, 0, 0.5);
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    color: #ffffff;
    line-height: 1.6;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

/* Environment */

.environment-viewer {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    border: 4px solid #ff8c00;
    padding: 20px;
    text-align: center;
    display: none;
    margin-top: 30px;
    box-shadow:
        inset -4px -4px 0 rgba(139, 69, 19, 0.5),
        inset 4px 4px 0 rgba(218, 165, 32, 0.5);
}

.environment-viewer.active {
    display: block;
    animation: retro-slide-in 0.5s ease;
}

@keyframes retro-slide-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.environment-3d {
    width: 100%;
    min-height: 400px;
    background:
        linear-gradient(45deg, rgba(26, 26, 46, 0.8) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(26, 26, 46, 0.8) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(26, 26, 46, 0.8) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(26, 26, 46, 0.8) 75%),
        linear-gradient(135deg, #1a1a2e, #16213e);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    border: 4px solid #00aaff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #00aaff;
    position: relative;
    overflow: hidden;
}

.environment-content {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-around;
    padding-left: 5px;
    padding-right: 5px;
}

.environment-content>* {
    flex: 1 1 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.environment-content video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.environment-content-vert {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.environment-content .secondary-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#client_projects .environment-content a,
#portfolio .environment-content a {
    color: white;
    text-decoration: none;
}

/* Services */

#services i {
    color: #ff8c00;
    text-shadow: 2.5px 2.5px 0 #8B4513;
}

/* Porfolio */

#client_projects .secondary-container,
#portfolio .secondary-container {
    padding-top: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

#client_projects .secondary-container:hover,
#portfolio .secondary-container:hover {
    transform: translateY(8px);
    background: rgba(0, 170, 255, 0.2);
    box-shadow:
        inset -4px -4px 0 rgba(0, 119, 204, 0.5),
        inset 4px 4px 0 rgba(51, 187, 255, 0.5),
        0 12px 25px rgba(0, 170, 255, 0.3);
}

#client_projects .environment-3d .secondary-container,
#portfolio .environment-3d .secondary-container {
    padding: 5px;
}


#client_projects a,
#portfolio a {
    text-decoration: none;
    color: inherit;
}

#client_projects img,
#portfolio img {
    object-fit: cover;
}

/* Testimonials */

.testimonial-card {
    min-height: 300px;
}

.testimonial-text {
    margin-bottom: 20px;
    flex-grow: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: auto;
}

.testimonial-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.testimonial-others {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Team */

.team-member {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.team-photo {
    border: 1px solid #ff8c00;
    width: 100%;
    display: inline-block;
    max-width: 100px;
    height: auto;
    border-radius: 50%;
}

.team-details {
    display: flex;
    flex-direction: column;
}

.team-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
}

.team-role {
    font-size: 0.95rem;
    color: #ccc;
}

/* Contact */

.contact-container {
    max-width: 800px;
    text-align: center;
    background: rgba(255, 140, 0, 0.1);
    backdrop-filter: blur(20px);
    border: 4px solid #ff8c00;
    padding: 60px 40px;
    z-index: 3;
    position: relative;
    box-shadow:
        inset -8px -8px 0 rgba(139, 69, 19, 0.3),
        inset 8px 8px 0 rgba(218, 165, 32, 0.3);
}

.contact-container p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.contact-info {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: white;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    position: relative;
}

.contact-item i {
    color: #00aaff;
}

#contact a {
    color: white;
    text-decoration: none;
}

.contact-actions {
    display: flex;
    gap: 5px;
    position: relative;
    margin-left: auto;
}

.copy-btn,
.open-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s ease;
    text-decoration: none;
}

.copy-btn:hover,
.open-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Tooltip */
.tooltip {
    position: absolute;
    top: -25px;
    right: 0;
    background: #ff8c00;
    color: white;
    padding: 3px 8px;
    font-size: 0.75rem;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.tooltip.show {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-glass {
        padding: 40px 25px;
    }

    .testimonial-card {
        min-height: 400px;
    }

    .environment-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }
}
