/* Base Styles */
:root {
    --primary: #ff6666;
    --dark: #121212;
    --darker: #0a0a0a;
    --light: #f5f5f5;
    --gray: #333333;
    --light-gray: #777777;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Azo Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--light);
    transition: var(--transition);
}

.highlight {
    color: var(--primary);
}

/* Remove Custom Cursor Styles */
.cursor, .cursor-follower {
    display: none;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(10, 10, 10, 0.9);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    position: relative;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    padding-bottom: 5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
}

/* Section Styles */
.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 0;
    position: relative;
}

#home {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--darker);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content h1 {
    font-size: 6rem;
    font-weight: 700;
    letter-spacing: 5px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.tagline {
    font-size: 1.2rem;
    color: var(--light-gray);
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.2s;
}

.cta-button a {
    display: inline-block;
    background-color: transparent;
    color: var(--light);
    padding: 12px 30px;
    border: 2px solid var(--primary);
    border-radius: 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.4s;
}

.cta-button a:hover {
    background-color: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 102, 102, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1s;
}

.scroll-indicator span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    color: var(--light-gray);
}

.scroll-indicator i {
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

/* Section Headers */
.section h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 250px;
    height: 250px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.about-image img:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 102, 102, 0.3);
}

.about-heading {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.about-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.detail-item i {
    color: var(--primary);
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Socials Section */
.socials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.social-card {
    background-color: var(--gray);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 20px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.social-card:hover {
    transform: translateY(-10px);
    background-color: var(--darker);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(255, 102, 102, 0.2);
}

.social-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-right: 20px;
    transition: var(--transition);
}

.social-card:hover i {
    transform: scale(1.2);
}

.social-info h3 {
    margin-bottom: 5px;
}

.social-info p {
    color: var(--light-gray);
}

/* Specs Section */
.tab-header {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 30px;
    background-color: transparent;
    color: var(--light);
    border: 1px solid var(--gray);
    margin: 0 10px;
    transition: var(--transition);
    border-radius: 30px;
    font-weight: 500;
}

.tab-btn.active, .tab-btn:hover {
    background-color: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

.socials-grid > *:last-child:nth-child(3n-1),
.specs-grid > *:last-child:nth-child(3n-1) {
    margin-left: auto;
    margin-right: auto;
}

/* When the last item is the 3n-2 element (first in a row of 3) */
.socials-grid > *:last-child:nth-child(3n-2),
.specs-grid > *:last-child:nth-child(3n-2) {
    grid-column: 2;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.spec-card {
    background-color: var(--gray);
    border-radius: 10px;
    padding: 25px;
    transition: var(--transition);
    height: 100%;
    display: flex;
    align-items: center;
    border: 1px solid transparent;
}

.spec-card:hover {
    transform: translateY(-10px);
    background-color: var(--darker);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(255, 102, 102, 0.2);
}

.spec-icon {
    width: 60px;
    height: 60px;
    background-color: var(--darker);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.spec-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.spec-info h3 {
    margin-bottom: 5px;
}

.spec-info p {
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* Flip card functionality */
.flip-card {
    perspective: 1000px;
    height: 100%;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px;
    display: flex;
    align-items: center;
}

.flip-card-front {
    background-color: var(--gray);
}

.flip-card-back {
    background-color: var(--gray);
    transform: rotateY(180deg);
    padding: 25px;
}

/* Make sure the spec card has proper padding */
.spec-card {
    padding: 25px;
    min-height: 120px; /* Add a minimum height to prevent sizing issues */
}

/* Make the flip cards have the same behavior as the spec cards */
.flip-card .spec-card {
    position: static;
    border: none;
    box-shadow: none;
    padding: 0;
    width: 100%;
    height: 100%;
    transform: none;
    background-color: transparent;
}

.flip-card .spec-card:hover {
    transform: none;
    background-color: transparent;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 900;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.active {
    opacity: 0.9;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    opacity: 1;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
    
    .about-details {
        justify-content: center;
    }
    
    .detail-item {
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav {
        display: none;
        width: 100%;
        margin-top: 20px;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .menu-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .about-details {
        grid-template-columns: 1fr;
    }
    
    .tabs {
        overflow-x: auto;
    }
    
    .tab-header {
        justify-content: flex-start;
        min-width: max-content;
    }
}

/* Footer */
footer {
    background-color: var(--darker);
    padding: 30px 0;
    text-align: center;
}

footer p {
    color: var(--light-gray);
    margin: 5px 0;
}

@media screen and (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .social-card, .spec-card {
        padding: 15px;
    }
    
    .social-card i {
        font-size: 1.5rem;
    }
    
    .spec-icon {
        width: 50px;
        height: 50px;
    }
    
    .spec-icon i {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 992px) {
    .hero-content h1 {
        font-size: 4rem;
    }

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

    .about-image {
        margin-bottom: 30px;
    }

    .about-details {
        justify-content: center;
    }

    .detail-item {
        justify-content: center;
    }

    .socials-grid,
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    nav {
        display: none;
        width: 100%;
        margin-top: 20px;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .about-details {
        grid-template-columns: 1fr;
    }

    .tabs {
        overflow-x: auto;
    }

    .tab-header {
        justify-content: flex-start;
        min-width: max-content;
    }

    .socials-grid,
    .specs-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .social-card, .spec-card {
        padding: 15px;
    }

    .social-card i {
        font-size: 1.5rem;
    }

    .spec-icon {
        width: 50px;
        height: 50px;
    }

    .spec-icon i {
        font-size: 1.2rem;
    }
}
