/*
Theme Name: My Portfolio
Theme URI: http://example.com
Author: Your Name
Author URI: http://example.com
Description: A basic custom WordPress theme
Version: 1.0
Text Domain: my-portfolio
*/
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-branding {
    margin: 0;
}

.site-title {
    margin: 0;
    font-size: 24px;
}

.site-title a {
    color: #333;
    text-decoration: none;
}

.site-description {
    margin: 5px 0 0;
    font-size: 14px;
    color: #666;
}

.custom-logo {
    max-height: 80px;
    width: auto;
}

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

.main-navigation li {
    margin-left: 20px;
}

.main-navigation a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
}

.main-navigation a:hover {
    color: #0073aa;
}

.site-footer {
    background: #fff;
    padding: 20px;
    text-align: center;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-branding .site-title {
    margin: 0;
    font-size: 20px;
}

.footer-branding .custom-logo {
    max-height: 60px;
    width: auto;
}

.footer-navigation ul {
    list-style: none;
    margin: 10px 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.footer-navigation li {
    margin: 0 15px;
}

.footer-navigation a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.footer-navigation a:hover {
    color: #0073aa;
}

.footer-copyright {
    margin-top: 10px;
    font-size: 12px;
    color: #666;
}

/* Section Styles */
.hero-section {
    background-size: cover;
    min-height: 700px;
    display: flex;
    background-attachment: fixed;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 500 150" preserveAspectRatio="none"><path d="M-0.27,83.33 C149.99,150.00 349.20,0.00 500.84,75.17 L500.00,150.00 L0.00,150.00 Z" fill="%23ffffff"/></svg>') repeat-x;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 20px;
    border-radius: 5px;
}

.hero-content h1 {
    margin: 0 0 10px;
    font-size: 70px;
}

.hero-subtext {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 5px;
}

.static-text {
    font-size: 40px;
    white-space: nowrap;
}

.typing-text {
    margin: 0;
    font-size: 40px;
}

.txt {
    border-right: 2px solid #fff;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    50% { border-color: transparent; }
}

.content-section {
    padding: 40px 20px;
    margin: 20px auto;
    max-width: 1200px;
}

.section-content h2 {
    margin: 0 0 20px;
    font-size: 28px;
    color: #333;
}

.section-content p {
    margin: 0;
    font-size: 16px;
    color: #666;
}

/* About Section Styles */
.about-title {
    margin-bottom: 10px;
    font-size: 28px;
    color: #333;
}

.about-description-top {
    margin-bottom: 20px;
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.about-card {
    display: flex;
    justify-content: space-between;
    background: #f3f4f6;
    padding: 40px;
    border-radius: 10px;
    transition: box-shadow 0.3s ease;
}

.about-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Box-shadow on hover */
}

.about-left {
    flex: 1;
    display: flex;
    align-items: center;
}

.about-image {
    flex: 0 0 150px;
    margin-right: 20px;
}

.about-headshot {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.about-details {
    flex: 1;
}

.about-details p {
    margin: 5px 0;
    font-size: 16px;
    color: #444;
}

.about-details strong {
    color: #333;
}

.about-right {
    flex: 1;
    padding-left: 20px;
}

.about-right h3 {
    margin: 0 0 15px;
    font-size: 20px;
    color: #333;
}

.about-td {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.about-td .about-title {
    text-align: center;
    margin-bottom: 10px;
}

.about-td .about-description-top {
    text-align: left;
    color: #555;
}

.skill-item {
    margin-bottom: 10px;
}

.skill-item span {
    display: block;
    font-size: 16px;
    color: #444;
    margin-bottom: 5px;
}

.progress {
    width: 100%;
    height: 10px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #165dfb;
    border-radius: 10px;
    transition: width 0.3s ease;
}

/* Projects Section Styles */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.project-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image {
    transform: scale(1.1); /* Zoom effect on hover */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .overlay {
    opacity: 1;
}

.project-link {
    text-decoration: none;
    color: #fff;
}

.project-link-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-link-text {
    opacity: 1;
}

.project-card h3 {
    margin: 10px 0 5px;
    font-size: 20px;
    color: #333;
}

.project-card p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-card {
        flex-direction: column;
        text-align: center;
    }
    .about-left {
        flex-direction: column;
        margin-bottom: 20px;
    }
    .about-image {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .about-headshot {
        width: 120px;
        height: 120px;
    }
    .about-right {
        padding-left: 0;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.wave path {
    fill: #ffffff;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

.project-card {
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.project-image {
    height: 250px; /* Adjust height as needed */
    background-size: cover;
    background-position: center;
    position: relative;
    transition: filter 0.3s ease;
}

.project-card:hover .project-image {
    filter: brightness(50%);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    padding: 20px;
    box-sizing: border-box;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-description {
    text-align: center;
}

.project-title {
    text-align: center;
    margin: 10px 0;
    font-size: 1.2em;
}

.project-button {
    display: block;
    text-align: center;
    padding: 10px;
    background-color: #007bff; /* Adjust color */
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin: 0 auto 20px;
    width: fit-content;
}

.project-button:hover {
    background-color: #0056b3; /* Adjust hover color */
}