/*
Theme Name: DevPortfolio
Author: Donald (with help from Tom, CodeCrafter AI)
Description: A custom portfolio theme for Donald, a full-stack developer. Based on the "Recurring" theme design.
Version: 1.0
Tags: portfolio, developer, one-column, custom-menu, custom-logo
*/



    .scrollable-filter {
        max-height: 180px;
        overflow-y: auto;
        border: 1px solid #ccd0d4;
    }
	

 
	
/* --- General Body & Typography --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background-color: #f0f7f8; /* Light blue/cyan background */
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #1e293b; /* Darker text for headings */
}

a {
    color: #4338ca; /* Indigo for links */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* --- Header & Navigation --- */
.site-header {
    background-color: #f0f7f8;
    padding: 20px 0;
    border-bottom: 1px solid #dde;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-title a {
    font-size: 24px;
    font-weight: bold;
    color: #1e293b;
}

.site-title a:hover {
    text-decoration: none;
}

.main-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 25px;
}

.main-navigation li a {
    font-weight: 500;
    color: #334155;
}

.main-navigation li a:hover {
    color: #4338ca;
    text-decoration: none;
}

/* --- Hero Section (Homepage) --- */
 

/* --- Hero Section (Homepage) --- */
.hero {
    /* This section padding is for the overall spacing of the hero section itself */
    padding: 40px 20px;
    /* Remove any direct flex properties from .hero as .container is the flex parent */
    /* Remove gap: 40px; from here, it will be on .hero .container */
}

/* This is the crucial Flexbox container */
.hero .container {
    display: flex; /* Makes the children (hero-text, hero-image) arrange in a row */
    align-items: center; /* Vertically centers items if they have different heights */
    justify-content: space-between; /* Distributes space between items, pushing them to edges */
    gap: 60px; /* <--- INCREASE THIS GAP for more space on regular screens */
    max-width: 1100px; /* Keep this max-width for the content */
    margin: 0 auto; /* Center the container */
    padding: 0 20px; /* Adjust padding if needed, but the .hero padding covers overall section padding */
}
.success_msg {
	     background-color: #dcfce7; /* from bg-green-100 */
    border-color: #4ade80;   /* from border-green-400 */
    color: #15803d;         /* from text-green-700 */
	   position: relative;         /* from 'relative' */
    padding: 0.75rem 1rem;    /* from 'py-3' and 'px-4' */
    margin-bottom: 1.5rem;      /* from 'mb-6' */
    border-radius: 0.25rem;     /* from 'rounded' */
    border-width: 1px;          /* This was part of the 'border' class */
    border-style: solid;
}


.error_msg{
	    background-color: #fee2e2; /* from bg-red-100 */
    border-color: #f87171;   /* from border-red-400 */
    color: #b91c1c;         /* from text-red-700 */
	   position: relative;         /* from 'relative' */
    padding: 0.75rem 1rem;    /* from 'py-3' and 'px-4' */
    margin-bottom: 1.5rem;      /* from 'mb-6' */
    border-radius: 0.25rem;     /* from 'rounded' */
    border-width: 1px;          /* This was part of the 'border' class */
    border-style: solid;
}
 
.hero-text {
    flex: 1; /* Allows the text to take up available space */
    /* Remove padding-right: 20px; if gap is sufficient, or adjust as needed */
    padding-right: 0; /* Let gap handle spacing */
}

.hero-text .subtitle {
    font-weight: 600;
    color: #4338ca;
    margin-bottom: 1rem;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin: 0 0 1rem 0;
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.1rem;
    color: #475569;
    max-width: 500px;
}

.hero-image {
    flex-shrink: 0; /* Prevents image from shrinking too much relative to its width */
    width: 350px; /* Adjust this width as desired for larger screens */
    max-width: 100%; /* Ensures it's responsive within its own container */
    text-align: right; /* Keeps the image aligned right within its container */
}

.hero-image img {
    display: block; /* Removes extra space below image */
    max-width: 100%; /* Ensures image fits within its container, respecting width above */
    height: auto; /* Maintains aspect ratio */
    border-radius: 10px; /* Keep rounded corners */
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); /* Keep shadow */
    margin-left: auto; /* Push image to the right within its flex item if it's smaller than width */
}

/* --- Media Query for Smaller Screens --- */
@media (max-width: 768px) { /* Adjust breakpoint as needed */
    .hero .container {
        flex-direction: column; /* Stack items vertically */
        text-align: center; /* Center align text */
        gap: 30px; /* Add some space between stacked items */
    }

    .hero-text {
        padding-right: 0; /* Remove any right padding when stacked */
        margin-bottom: 0; /* Remove bottom margin if gap handles it */
    }

    .hero-image {
        width: 100%; /* Allow image container to take full width */
        text-align: center; /* Center the image when stacked */
    }

    .hero-image img {
        margin-left: auto;
        margin-right: auto; /* Center the image itself when stacked */
        max-width: 300px; /* Control max width of image on small screens if needed */
    }

    .hero-text h1 {
        font-size: 2.5rem; /* Adjust heading size for smaller screens */
    }

    .hero-text p {
        font-size: 1rem; /* Adjust paragraph size for smaller screens */
        max-width: none; /* Remove max-width on smaller screens to allow text to fill space */
    }
}


/* --- Skills Section (Homepage) --- */
.skills-section {
    padding: 10px 20px;
    text-align: center;
    background-color: #fff;
}

.skills-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.skill-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

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


/* --- General Page Content --- */
.page-content {
    background-color: #fff;
    padding: 40px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-content h1 {
    margin-top: 0;
}

/* --- Contact Form (Contact Page) --- */
.contact-form-container {
    max-width: 600px;
}

.contact-form-container p {
    font-size: 1.1em;
    color: #555;
}

.contact-form-container .form-field {
    margin-bottom: 20px;
}

.contact-form-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-form-container input[type="text"],
.contact-form-container input[type="email"],
.contact-form-container textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form-container textarea {
    height: 150px;
    resize: vertical;
}

.contact-form-container .submit-button {
    background-color: #4338ca;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.contact-form-container .submit-button:hover {
    background-color: #3730a3;
}

/* --- Footer --- */
.site-footer {
    text-align: center;
    padding: 1px 1px;
  /* ---    margin-top: 4px; --- */
    border-top: 1px solid #dde;
    color: #555;
}






/* --- Style for the Active/Current Menu Item --- */

.main-navigation .current-menu-item > a {
    /* Creates the black outlined box */
    border: 2px solid #1e293b; 

    /* Adds space inside the box (top/bottom and left/right) */
    padding: 6px 12px;

    /* Makes the corners of the box slightly rounded */
    border-radius: 5px;

    /* Optional: Makes the link text dark to match the border */
    color: #1e293b; 
}

/* Optional: This rule prevents the default underline from appearing when you hover over the active item */
.main-navigation .current-menu-item > a:hover {
    text-decoration: none;
}







/***********

additional footer formating

*******/
 
 
.footer-content-wrapper {
    display: flex;               /* Use Flexbox for layout */
    justify-content: space-between; /* Pushes items to opposite ends */
    align-items: center;         /* Vertically centers items */
    max-width: 1200px;           /* Optional: Set a max width for content for better readability */
    margin: 0 auto;              /* Center the content wrapper */
    flex-wrap: wrap;             /* Allow items to wrap on smaller screens */
}

.footer-copyright {
    /* No specific styling needed beyond what's inherited, flexbox handles placement */
    margin-right: auto; /* Pushes social icons to the right on desktop */
}

.footer-copyright p {
    margin: 0; /* Remove default paragraph margin */
    font-size: 0.9em; /* Adjust font size if needed */
}

.footer-social-icons {
    display: flex; /* Use Flexbox for icons themselves */
    gap: 15px;     /* Spacing between icons */
    align-items: center; /* Vertically centers icons if they have different heights */
    margin-left: auto; /* Pushes social icons to the right on desktop */
}

.footer-social-icons img.social-icon {
    width: 20px;      /* Consistent icon width */
    height: 20px;     /* Consistent icon height */
    object-fit: contain; /* Ensures the entire image is visible within the bounds */
    vertical-align: middle; /* Aligns images nicely with text if any were present */
    border-radius: 5px; /* Slightly rounded corners for icons (optional) */
    transition: transform 0.2s ease-in-out; /* Smooth hover effect */
}

.footer-social-icons img.social-icon:hover {
    transform: translateY(-3px); /* Slight lift on hover */
	box-shadow: 2px 2px 5px rgba(83, 83, 205, 0.7); /* Add a subtle drop shadow on hover */
}

/* Responsive adjustments for mobile screens */
@media (max-width: 767px) {
    .footer-content-wrapper {
        flex-direction: column; /* Stack items vertically */
        text-align: center;     /* Center align text */
    }

    .footer-copyright,
    .footer-social-icons {
        margin: 0; /* Reset margins for centering */
        width: 100%; /* Ensure they take full width for centering */
        justify-content: center; /* Center icons horizontally */
    }

    .footer-copyright {
        margin-bottom: 15px; /* Add some space between copyright and icons when stacked */
    }
}

 