/* Styles.css - Portfolio Design */

/* CSS Variables */
:root {
    --white: #FFFFFF;
    --blue: #004AAD;
    --red: #D90429;
    --black: #1A1A1A;
    --text-color: #333333;
    --bg-light: #F8F9FA;
    --bg-dark: #121212;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1200px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

li {
    list-style: none;
}

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

img {
    max-width: 100%;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: 700;
}

.section-title span {
    color: var(--blue);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #003366;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--red);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #A3031E;
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--white);
    display: flex;
    align-items: center;
    z-index: 1000;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--black);
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--blue);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
}

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

.nav-links li a:hover::after {
    width: 100%;
}

/* Mobile Menu Button */
.menu-btn {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--black);
    margin: 5px 0;
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s ease-in-out;
    z-index: 999;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    text-align: center;
}

.mobile-menu ul li {
    margin: 20px 0;
}

.mobile-menu ul li a {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(244,244,249,1) 100%);
    padding-top: 80px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content h1 span {
    color: var(--red);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: #666;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    width: 450px;
    border-radius: 20px;
    box-shadow: 20px 20px 60px #d9d9d9, -20px -20px 60px #ffffff;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.skill-card {
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-top: 5px solid var(--blue);
    text-align: center;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 15px 15px 40px rgba(0,0,0,0.1);
}

.skill-card i {
    font-size: 3rem;
    color: var(--blue);
    margin-bottom: 20px;
}

.skill-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.skill-card p {
    color: #666;
    font-size: 0.95rem;
}

.skill-card.skill-red {
    border-top: 5px solid var(--red);
}

.skill-card.skill-red i {
    color: var(--red);
}

/* Contact/Footer */
.footer {
    background-color: var(--white);
    padding: 50px 0 20px;
    color: var(--black);
    border-top: 1px solid #eee;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--blue);
    color: var(--white);
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #888;
}

/* Experience Item Styles */
.exp-item {
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.exp-item.show {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Animation classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Animations Logic in JS added next */
@media (max-width: 991px) {
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 30px;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-image img {
        width: 350px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .menu-btn {
        display: block;
    }
    .section-title {
        font-size: 2rem;
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
}
