@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #0a0a0a;
    color: #eaeaea;
    scroll-behavior: smooth;
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.logo {
    width: 80px;
    margin-bottom: 1.5rem;
}

.overlay h1 {
    font-size: 6.5rem;
    color: #fff;
}

.overlay p {
    max-width: 600px;
    margin-top: 1rem;
    color: #ccc;
    font-size: 2rem;
}

/* ABOUT SECTION */
.about-me {
    background-color: #000;
    color: #fff;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    width: 100%;
    gap: 3rem;
}

.about-text {
    flex: 1;
    text-align: left;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    color: #fff;
    border-left: 4px solid #fff;
    padding-left: 1rem;
}

.about-text p {
    color: #ccc;
    line-height: 1.7;
    font-size: 1.1rem;
    max-width: 500px;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    filter: grayscale(100%);
    transition: 0.5s ease;
}

.about-image img:hover {
    filter: grayscale(0);
    transform: scale(1.05);
}

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .about-text h2 {
        border-left: none;
        border-bottom: 2px solid #fff;
        display: inline-block;
        padding: 0 0 0.5rem 0;
    }

    .about-image img {
        width: 220px;
        height: 220px;
        margin-top: 1.5rem;
    }
}

/* FEATURED PROJECT */
.featured-project {
    background-color: #000;
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
}

.project-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    gap: 3rem;
    flex-wrap: wrap;
}

/* IMAGE SECTION */
.project-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.1);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.8);
    transition: 0.6s ease;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, rgba(0, 0, 0, 0.9));
    opacity: 0.4;
    transition: 0.6s ease;
}

.project-image:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

.project-image:hover .image-overlay {
    opacity: 0.2;
}

/* TEXT SECTION */
.project-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    max-width: 500px;
}

.project-details h2 {
    font-size: 1rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
}

.project-details h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.project-details p {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.btn {
    display: inline-block;
    border: 2px solid #fff;
    padding: 0.7rem 1.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: 0.3s ease;
    align-self: flex-start;
}

.btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

/* RESPONSIVE PROJECT */
@media (max-width: 900px) {
    .project-container {
        flex-direction: column;
        text-align: center;
    }

    .project-details {
        text-align: center;
        max-width: 90%;
        margin-top: 2rem;
    }

    .btn {
        align-self: center;
    }
}

/* 3D CIRCLE SECTION */
.circle-3d-section {
    cursor: pointer;
    height: 20vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-3d {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle at top left, #fff, #e5e5e5 60%, #d9d9d9);
    box-shadow:
        inset -5px -5px 15px rgba(255, 255, 255, 0.8),
        inset 5px 5px 20px rgba(0, 0, 0, 0.1),
        0 10px 25px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #000;
    font-size: 1.2rem;
    text-transform: lowercase;
    letter-spacing: 1px;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    perspective: 800px;
    position: relative;
}

.circle-3d:hover {
    transform: rotateX(10deg) rotateY(-10deg) scale(1.05);
    box-shadow:
        inset -5px -5px 15px rgba(255, 255, 255, 0.8),
        inset 5px 5px 20px rgba(0, 0, 0, 0.15),
        0 25px 35px rgba(0, 0, 0, 0.4);
}

.circle-3d::before {
    content: "";
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translateZ(30px);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid #222;
  color: #777;
  background-color: #0a0a0a;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.social-icons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
}

.social-icons a {
  color: #fff;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: #ccc;
  transform: scale(1.15);
}


/* RESPONSIVE HERO & TEXT */
@media (max-width: 768px) {
    .overlay h1 {
        font-size: 4rem;
    }
.circle-3d{
    width: 250px;
    height: 250px;
    font-size: 1rem;
}
    .project-card {
        padding: 1.5rem;
    }
}


/* spacer */

.spacer {
    height: 5px;
    background-color: #ccc
}