@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Poppins:wght@400;500;700&display=swap');

:root {
    --primary-color: #faa11b; 
    --primary-gradient: linear-gradient(135deg, #4adde2a1 0%, #cebb16c0 100%);
    --secondary-color: #333;
    --bg-color: #f9f9f9;
    --light-color: #dddddd;
    
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.05);

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body); 
    line-height: 1.6;
    background-color: var(--light-color);
    color: var(--secondary-color);
}

section {
    padding: 5rem 0;
    text-align: center;
}

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

h1, h2, h3 {
    font-family: var(--font-heading); 
    font-weight: 700; 
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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


header {
    background-color: var(--light-color);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 1rem 2rem;
}

.logo {
    font-family: var(--font-heading); 
    font-size: 1.5rem;
    font-weight: 700; 
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}


.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-color);
    background-image: var(--primary-gradient), url('images/background.jpg');
    background-size: cover;
    background-position: center; 
    color: var(--secondary-color);
    padding-top: 60px; 
    text-align: left;
}

.hero h1 {
    font-size: 3.5rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}


.hero-intro {
    font-size: 2.1rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
}

.hero-title {
    font-family: var(--font-heading); 
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    margin: 0 0 2rem 0;
}

.hero-title span {
    display: block;
}

.title-solid {
    color: var(--secondary-color);
    
    transition: all 0.5s ease-in;
    cursor: pointer;
}

.title-outline {
    color: transparent;
    -webkit-text-stroke: 2px var(--secondary-color);
    text-stroke: 2px var(--secondary-color);
    opacity: 0.6;
}


.title-solid:hover {
    color: transparent;
    -webkit-text-stroke: 2px var(--primary-color);
    text-stroke: 2px var(--primary-color);
    opacity: 0.6;
}

.title-outline:hover {

    color: var(--secondary-color);
    -webkit-text-stroke: 0;
    text-stroke: 2px var(--primary-color);
    opacity: 1;
}

.hero .cta-button {
    background-color: var(--primary-color);
    color: var(--light-color);
    border-color: var(--primary-color);
}

.hero .cta-button:hover {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.cta-button {
    display: inline-block;
    background-color: var(--light-color);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--light-color); 
}

.cta-button:hover {
    background-color: transparent; 
    color: var(--light-color); 
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


#about {
    background-color: var(--bg-color);
}

.about-image {
    padding: 5px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: inline-block; 
    box-shadow: var(--shadow);
    
    
    margin: 0 auto 2.5rem auto; 
}

.about-image img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%; 
    display: block;
}

.about-text {
    max-width: 800px; 
    margin: 0 auto;   
    text-align: left; 
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem; 
}


.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: var(--light-color);
    box-shadow: var(--shadow);
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
    transition: all 0.3s ease; 
}


.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    padding: 1rem;
}

.project-card h3 {
    padding: 1rem 1.5rem 0;
    color: var(--primary-color);
}

.project-card p {
    padding: 0.5rem 1.5rem;
}

.project-links {
    padding: 1rem 1.5rem;
    display: flex;
    flex-warp: warp;
    gap: 18rem;
}

.project-links a {
    display: inline-block; 
    background-color: var(--primary-color); 
    color: var(--light-color); 
    padding: 0.5rem 1rem;      
    border-radius: 5px;        
    font-weight: 500;
    text-decoration: none;            
    transition: all 0.3s ease;
}

.project-links a:hover {
    background-color: var(--secondary-color); 
    color: var(--light-color);                
    transform: translateY(-2px);              
    text-decoration: none;                    
}


#skills {
    background-color: var(--bg-color);
}
.skills-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.skills-list li {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
}


#contact p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.social-links {
    margin-top: 2rem;
}

.social-links a {
    font-size: 2.5rem;
    margin: 0 1rem;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}


footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--secondary-color);
    color: var(--light-color);
}


@media (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; 
        height: 100vh;
        width: 60%;
        background-color: var(--light-color);
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease-in-out;
    }

    .nav-links.nav-active {
        right: 0; 
    }

    .nav-links li {
        margin: 2rem 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.toggle .line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .hamburger.toggle .line:nth-child(2) {
        opacity: 0;
    }
    .hamburger.toggle .line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.2rem;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .hero {
        text-align: center;
        background-position: right center; 
    }
    
    .hero-title {
        font-size: 3.5rem;
        line-height: 1.2;
    }

    .hero-intro {
        text-align: center;
    }
}


#contact-page {
    padding-top: 10rem; 
    padding-bottom: 5rem;
    background-color: var(--light-color);
}

#contact-page h2 {
    font-size: 3rem;
    color: var(--primary-color);
}

.contact-subtitle {
    font-size: 1.2rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.contact-wrapper {
    display: flex;
    gap: 3rem;
    background: #ffffff;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    max-width: 1100px;
    margin: 0 auto;
}

.contact-form {
    flex: 2; 
    display: flex;
    flex-direction: column;
}

.contact-info {
    flex: 1; 
    border-left: 2px solid var(--bg-color);
    padding-left: 3rem;
}

.contact-info h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.info-item a,
.info-item span {
    font-size: 1rem;
    color: var(--secondary-color);
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

.social-links-contact {
    margin-top: 2rem;
}

.social-links-contact a {
    font-size: 2rem;
    margin-right: 1.5rem;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.social-links-contact a:hover {
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.form-submit-btn {
    background: var(--primary-color);
    color: var(--light-color);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    font-weight: 700;
    width: auto;
    padding: 0.85rem 2rem;
    align-self: flex-start; 
}

.form-submit-btn:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .contact-wrapper {
        flex-direction: column;
        padding: 2rem;
    }
    
    .contact-info {
        border-left: none;
        padding-left: 0;
        border-top: 2px solid var(--bg-color);
        padding-top: 2rem;
    }
}