* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Makes padding & border included in element width/height */
     text-decoration:none; /* Removes underlines from links globally */
     border: none; /* Removes borders from elements globally  */
     outline: none;/* Removes focus outlines globally (not ideal for accessibility) */
}

html {
    scroll-behavior:smooth; /* Smooth scrolling for anchor links */
    font-size: 62.5%; /* 1rem = 10px, easier calculation */
    overflow-x: hidden;   /* Prevent horizontal scroll */
}

:root {
    --bg-color: #000000; /* Main background color */
    --second-bg-color:#191b1a;  /* Section background */
    --text-color:white; /* Main text color */
    --main-color:#00ff51; /* Highlight/brand color */
    
}
body {
    background: var(--bg-color);
    color: var(--text-color);
}

a {
    text-decoration: none;
    color:#ffffff; 
}
p {
    color: var(--soft-gray);
    font-size: 1.6rem;
}


.header {
    position: fixed; /* Sticks header at top */
    width: 100%;
    top: 0;
    left: 0;
    padding: 2rem 8%;
    background: rgba(13, 13, 13, 0.8);  /* Semi-transparent */
    backdrop-filter: blur(15px);  /* Glass effect */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;  /* Above other content */
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}

#menu-icon{
    font-size: 3.6rem;
    color: var(--main-color);
    display: none; /* Only used for mobile menu toggle */
}

.logo{
    font-size:  3rem;
    color: var(--text-color);
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease;
}
.logo:hover{
    transform: scale(1.1); /* Slight zoom effect */
}

.logo span{
color: var(--main-color); /* Highlight part of the logo */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem;
    font-size: 22px;
}

.navbar a{
    font-size: 1.8rem;
    color: var(--text-color);
    margin-left: 4rem;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: 0.3s ease;
}
.navbar a:hover{
    border-bottom: 3px solid var(--main-color);
    color: var(--main-color);
}



.section {
    background-color: var(--second-bg-color);
    margin: 80px auto;
    min-height: 100px;
    padding: 60px 8%;
    width: 85%;
    border-radius: 16px;
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.05);
    transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover{
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,255,136,0.1);
}

.section h1,
.section h2 {
    color: var(--text-color);
    font-size: 3rem;
    margin-bottom: 2rem;
}




.section p {
    font-size: 20px;
    line-height: 1.8;
    
}

/* HERO VIDEO SECTION */
.home-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    color: white;
}

/* FULL WEBSITE VIDEO BACKGROUND */
.bg-video {
    position: fixed; /* Fixed so it covers viewport */
    top: 0;
    left: 0;
    width: 110%;
    height: 110%;
    object-fit: cover;
    z-index: -2;
    filter: blur(6px); /* Slight blur for background */
    
}

/* Dark overlay so text is readable */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}


.home-content {
    z-index: 2;  /* Above overlay and video */
    max-width: 800px;
}



.home-text {
    flex: 5;  /* Takes more space in flex container */
}

.headshot{
    flex: 2;   /* Smaller portion for image */
}

 .headshot img {
    object-fit: cover;
    width: 300px;
    height: 300px;
    border: 3px solid rgb(255, 255, 255);   /* border */
    border-radius: 20px;

}

.home-text h1{
    font-size: 4rem;
    background: linear-gradient(90deg,#4e4e43,#ffffff);
    -webkit-background-clip: text;
    color: transparent;
}
.home-text p {
    font-size: 1.6rem;
    margin-bottom: 20px;
}


.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: var(--main-color);
    color: black;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px var(--main-color);
}



.skills-section .cells {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Wraps on smaller screens */
    gap: 20px;
    margin-top: 20px;
}


.skills-section .cell {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 150px;
    padding: 20px;
    background: #1f1f1f;
    border-radius: 12px;
    transition: 0.3s ease;
    border: 1px solid rgba(223, 223, 223, 0.1);
}


.skills-section .cell:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(96, 168, 135, 0.3);
}


.skills-section .cell img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

.skills-section .cell span {
    font-weight: bold;
    font-size: 16px;
}

.contact{
    background-color: var(--second-bg-color);
}
.about-section {
    margin: 4rem auto;
    padding: 2rem;
    
}
.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap; /* stacks on mobile */
}
.about-text {
    flex: 2;                   /* text takes more space than image */
    font-size: 1.6rem;
    line-height: 1.8;
    width: 1000px;
    color: #fff;
}

.contact h2{
    margin-bottom: 3rem;
    color: var(--text-color);

}
.contact form {
    flex-direction: column;
    display: flex;
    width: 100%;
    max-width: 700px;
    margin: 4rem auto;
}
.contact form input:focus,
.contact form textarea:focus {
    box-shadow: 0 0 10px var(--main-color); /* Highlight on focus */
}

.contact form .input-box input,
.contact form textarea{
    width: 100%;
    padding: 2.5rem;
    font-size: 1.8rem;
    color: var(--text-color);
    background-color: var(--bg-color);
    border-radius: 2rem;
    border: 2px solid var(--main-color);
    margin: 2rem 0;
    resize: none; /* prevents resizing textareas */
}

.footer {
    background-color: #0a0a0a;
    text-align: center;
    padding: 25px 0;
    border-top: 5px solid rgba(255, 255, 255, 0.1);
}

.footer p{
    font-size: 1.4rem;
    color: white;
    margin: 5px 0;
}

.designed{
    color: #ffffff;
}

.section {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.8s ease forwards; /* Fade-in animation */
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* For Responsive Website*/
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        text-align:right;
    }

    .nav-links {
        flex-direction: column;
        margin-top: 10px;
    }

    .nav-links li {
        margin: 10px 0;
    }




    .skills-section .cell {
        width: 120px;
        padding: 10px;
    }

    .skills-section .cell img {
        width: 60px;
        height: 60px;
    }
}

/* Container & layout */
.get-in-touch {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 2rem;
    background-color: #111;       /* dark background */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    text-align: center;
}

/* Heading */
.get-in-touch .heading {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Paragraph */
.get-in-touch p {
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

/* Contact Info */
.contact-info-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

/* Each Info Item */
.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-item i {
    font-size: 2rem;
    color: #dee6e1; /* theme color */
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: #00ffee;
    font-size: 2rem;
    transition: 0.3s;
}

.social-links a:hover {
    color: #ffffff;
}
