/* ============================================
   PERSONAL PORTFOLIO STYLESHEET
   ============================================
   
   HOW TO USE THIS FILE:
   - This controls the colors, fonts, and layout of your portfolio
   - Don't be scared of the code! Look for the words in CAPITAL LETTERS
     and the instructions inside [brackets]
   - Make one change at a time and save (Ctrl+S) to test it
   - Refresh your browser (F5) to see the changes
   - If you break something, press Ctrl+Z to undo!
   
   ============================================ */


/* ============================================
   STEP 1: COLOR SCHEME
   ============================================
   
   CUSTOMIZE YOUR COLORS HERE!
   
   Pick colors you love from: https://www.color-hex.com/
   
   TO CHANGE A COLOR:
   - Find the color code (looks like #FF5733)
   - Replace it with your color code
   - Save and refresh your browser
   
   Example colors to try:
   - Professional blue: #2C3E50
   - Modern purple: #6C5CE7
   - Warm orange: #E17055
   - Fresh green: #00B894
   - Bold red: #D63031
   
   ============================================ */

:root {
    /* Main color - used for links and highlights */
    --primary-color: #3498db;
    
    /* Secondary color - used for accents */
    --secondary-color: #2c3e50;
    
    /* Accent/highlight color */
    --accent-color: #e74c3c;
    
    /* Light background color */
    --light-bg: #f5f5f5;
    
    /* Text color (dark for readability) */
    --text-color: #333333;
    
    /* Light text (for dark backgrounds) */
    --light-text: #ffffff;
    
    /* Border color (for lines and dividers) */
    --border-color: #ddd;
}

/* 
   BONUS: Want a dark theme instead?
   Uncomment the block below and comment out the colors above.
   
   :root {
       --primary-color: #64B5F6;
       --secondary-color: #1A1A1A;
       --accent-color: #FF6B6B;
       --light-bg: #2A2A2A;
       --text-color: #E0E0E0;
       --light-text: #ffffff;
       --border-color: #444;
   }
*/


/* ============================================
   STEP 2: FONTS
   ============================================
   
   CHANGE YOUR FONT STYLE:
   
   Common font options:
   - Arial - clean and simple
   - Helvetica - classic and professional
   - Georgia - elegant and serif
   - Trebuchet MS - friendly and modern
   - Courier New - monospace (tech-looking)
   
   TO CHANGE:
   Find font-family: 'Arial', sans-serif;
   Replace 'Arial' with your chosen font
   
   ============================================ */

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}

h1, h2, h3 {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
}


/* ============================================
   STEP 3: HEADER & NAVIGATION
   ============================================
   
   This is the menu bar at the top of your page.
   Customize colors and spacing here.
   
   ============================================ */

header {
    background-color: var(--secondary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--light-text);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

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


/* ============================================
   STEP 4: HERO SECTION (Big Welcome Area)
   ============================================
   
   This is the main visual at the top.
   Adjust spacing, text size, and button style here.
   
   TO CUSTOMIZE:
   - Change background color
   - Adjust padding (space inside)
   - Change text sizes (look for font-size: 2rem;)
   
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--light-text);
    padding: 6rem 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin: 0 0 1rem 0;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin: 0 0 1rem 0;
    color: var(--primary-color);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Call-to-Action Button */
.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

.cta-button:hover {
    background-color: darken(var(--accent-color), 10%);
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    max-width: 400px;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Mobile: Stack hero content vertically */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 4rem 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
}


/* ============================================
   STEP 5: CONTAINER & SPACING
   ============================================
   
   This controls the width and centering of content.
   Increase max-width to make sections wider.
   
   ============================================ */

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

section {
    padding: 5rem 2rem;
}

section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}


/* ============================================
   STEP 6: ABOUT SECTION
   ============================================
   
   Customize the "About Me" section here.
   
   ============================================ */

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

.about p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.highlights {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 600px;
    margin: 2rem auto 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.highlights h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.highlights ul {
    list-style: none;
    padding: 0;
}

.highlights li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.highlights li:before {
    content: "✓ ";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}


/* ============================================
   STEP 7: PORTFOLIO / PROJECTS SECTION
   ============================================
   
   This is where your work is showcased.
   
   TO CUSTOMIZE:
   - Change how many columns: grid-template-columns: repeat(3, 1fr);
     Use "repeat(2, 1fr)" for 2 columns
     Use "repeat(1, 1fr)" for 1 column
   - Adjust gap (space between projects)
   - Change card styles (shadows, borders, etc.)
   
   ============================================ */

.portfolio {
    background-color: #ffffff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

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

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    margin: 0 0 0.5rem 0;
    color: var(--secondary-color);
}

.project-info p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.tag {
    background-color: var(--light-bg);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Mobile: Stack projects in 1 column */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}


/* ============================================
   STEP 8: TESTIMONIALS SECTION
   ============================================
   
   Optional section for client testimonials.
   
   ============================================ */

.testimonials {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--light-text);
}

.testimonials h2 {
    color: var(--light-text);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    margin: 0 0 1rem 0;
    font-style: italic;
}

.testimonial-author {
    margin: 0;
    font-weight: bold;
    font-size: 0.95rem;
}

/* Mobile: Stack testimonials */
@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   STEP 9: CONTACT SECTION
   ============================================
   
   Make it easy for people to reach you.
   
   ============================================ */

.contact {
    background-color: var(--light-bg);
}

.contact-intro {
    text-align: center;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 2rem auto;
}

.contact-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.contact-item h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

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

.social-links {
    text-align: center;
    margin-top: 3rem;
}

.social-links h3 {
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.social-icon {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 0.85rem;
    font-weight: bold;
}

.social-icon:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

/* Mobile: Stack contact items */
@media (max-width: 768px) {
    .contact-methods {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   STEP 10: FOOTER
   ============================================
   
   The very bottom of your page.
   
   ============================================ */

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

footer p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}


/* ============================================
   BONUS: RESPONSIVE DESIGN
   ============================================
   
   This makes your site look good on phones, tablets, and computers.
   The mobile adjustments are already built in above!
   
   If you want to test how it looks on phones:
   1. Open your website in a browser
   2. Press F12 to open Developer Tools
   3. Click the phone icon (top left of dev tools)
   4. Resize your browser to different widths to test
   
   ============================================ */

/* General mobile adjustments */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    section {
        padding: 3rem 1rem;
    }
    
    section h2 {
        font-size: 1.8rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
}


/* ============================================
   THAT'S IT!
   ============================================
   
   You've got all the CSS you need to customize your portfolio.
   
   QUICK RECAP OF WHAT YOU CAN CHANGE:
   1. Colors: Edit the :root section at the top
   2. Fonts: Change font-family values
   3. Spacing: Adjust padding and margin values
   4. Sizes: Change font-size or width values
   5. Shadows: Adjust box-shadow values
   6. Corners: Change border-radius values
   
   If you want to learn more about CSS, check out:
   https://www.w3schools.com/css/
   
   Happy styling! 💫
   
   ============================================ */
