/* Landing page styles copied from EricApricot.com/styles.css */

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

html {
    scroll-behavior: smooth;
}

body, 
button, 
input, 
select, 
textarea,
h1, h2, h3, h4, h5, h6,
.project-card,
.project-card h3,
.project-card p,
.visit-link {
    font-family: 'Atkinson Hyperlegible Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    line-height: 1.6;
    color: #333;
}

/* Navigation */
header {
    background-color: #3b0764;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.03);
}

.logo-img {
    height: 50px;
    width: auto;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.logo-container:hover .logo-img {
    border-color: #3498db;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.5);
}

.logo-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-container:hover .logo-text {
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.3);
}

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

.nav-links a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #3498db;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #3498db;
}

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

.dropdown-indicator {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transform-origin: center;
    transition: transform 0.2s ease;
    margin-top: -1px;
}

.dropdown:hover .dropdown-indicator {
    transform: rotate(45deg);
}

.dropdown {
    position: relative;
}

.dropbtn {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #34495e;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.25);
    z-index: 1100;
    border-radius: 0.5rem;
    padding: 0.5rem 0;
}

.dropdown-content a {
    color: #ecf0f1;
    padding: 0.5rem 1rem;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background-color: #2c3e50;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Main Content */
.main-content {
    padding-top: 100px;
    padding-bottom: 50px;
    min-height: calc(100vh - 150px);
    background-color: #f0f9ff;
}

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

.about-section {
    padding: 0 2rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f0f9ff;
    border-top: 1px solid #cbd5e1;
    border-bottom: none;
    border-radius: 0;
}

.about-content h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.about-content ul {
    margin-left: 1.5rem;
}

#home,
#about,
#contact-section {
    scroll-margin-top: 110px;
}

.projects h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: #1a202c;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 400px;
    padding: 2rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.project-card:nth-child(1) {
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.95)), url('DNHQ-icon-v4.png');
}

.project-card:nth-child(2) {
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.95)), url('GSV%20Pug.png');
}

.project-card:nth-child(3) {
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.95)), url('GSW%20Pug.png');
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(59, 130, 246, 0.05));
    z-index: 1;
}

.project-card:nth-child(1)::before {
    background: linear-gradient(135deg, transparent, rgba(59, 130, 246, 0.08));
}

.project-card:nth-child(2)::before {
    background: linear-gradient(135deg, transparent, rgba(139, 92, 246, 0.08));
}

.project-card:nth-child(3)::before {
    background: linear-gradient(135deg, transparent, rgba(16, 185, 129, 0.08));
}

.project-card > * {
    position: relative;
    z-index: 2;
}

.project-card h3 {
    font-size: 1.8rem;
    margin: 0 0 1rem 0;
    padding: 0;
    color: #0f172a;
    font-weight: 700;
    min-height: 4rem;
    display: flex;
    align-items: flex-end;
    line-height: 1.2;
}

.project-card p {
    margin: 0 0 1.5rem 0;
    padding: 0;
    color: #1f2937;
    flex-grow: 1;
    display: flex;
    align-items: center;
    min-height: 6rem;
    line-height: 1.6;
}

.visit-link {
    display: inline-block;
    font-weight: 600;
    transition: transform 0.2s ease;
    color: #3b82f6;
}

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

.project-card:hover .visit-link {
    transform: translateX(5px);
}

/* Contact Section */
.contact-section {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.contact-section h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #fff;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.social-link {
    display: flex !important;
    align-items: center;
    justify-content: center !important;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 500;
    text-align: center;
}

.social-link i,
.social-link .social-icon {
    font-size: 1.25rem;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom {
    background-color: #1a252f;
    padding: 1.5rem 2rem;
    text-align: center;
    color: #95a5a6;
    font-size: 0.9rem;
}

footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }

    nav ul {
        margin-top: 1rem;
    }

    nav ul li {
        margin: 0 1rem;
    }
}
