/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #1a1a2e;
}

/* Navigation */
nav {
    background: #16213e;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-brand {
    font-size: 2rem; /* Larger size for prominence */
    font-family: 'Poppins', sans-serif; /* Custom font */
    font-weight: 700; /* Bold weight */
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.nav-brand:hover {
    transform: scale(1.05); /* Subtle hover scale effect */
}

.brand-icon {
    color: #00adb5;
    margin-right: 0.5rem;
    font-size: 1.8rem;
    transition: color 0.3s ease;
}

.nav-brand:hover .brand-icon {
    color: #00d4ff; /* Matches gradient endpoint */
}

.brand-text {
    background: linear-gradient(45deg, #00adb5, #00d4ff); /* Gradient text */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent; /* Make text transparent to show gradient */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

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

.nav-links li a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #00adb5;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: #e0e0e0;
    cursor: pointer;
}

/* Header */
#home {
    text-align: center;
    padding: 6rem 3rem; /* Increased padding for more vertical and horizontal space */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://picsum.photos/1920/1080');
    background-size: cover;
    background-position: center;
    min-height: 400px; /* Ensure minimum height for prominence */
    display: flex;
    align-items: center;
    justify-content: center;
}

header h1 {
    font-size: 4rem; /* Larger title */
    margin-bottom: 1.5rem;
    color: #fff;
    line-height: 1.2;
}

header p {
    font-size: 1.5rem; /* Larger subtitle */
    max-width: 800px; /* Wider text area for balance */
    margin: 0 auto;
    color: #e0e0e0;
}

/* Projects Section */
#projects {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

#projects h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #00adb5;
}

.project-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.project-card {
    background: #16213e;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 173, 181, 0.3);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #e0e0e0;
}

.project-card h3 i {
    margin-right: 0.5rem;
    color: #00adb5;
}

.project-card p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #00adb5;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    align-self: flex-start;
}

.btn:hover {
    background: #008b93;
}

/* Responsive Design for Projects */
@media (max-width: 768px) {
    .project-row {
        grid-template-columns: 1fr;
    }

    .project-image {
        height: 150px;
    }

    .nav-brand {
        font-size: 1.5rem; /* Slightly smaller on mobile */
    }
}

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

/* Contact Section */
#contact {
    padding: 3rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

#contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #00adb5;
}

.contact-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon {
    color: #e0e0e0;
    font-size: 1.2rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.social-icon i {
    font-size: 1.5rem;
}

.social-icon:hover {
    color: #00adb5;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #16213e;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#contact-form input,
#contact-form textarea {
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    background: #e0e0e0;
    color: #1a1a2e;
    font-size: 1rem;
}

#contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

#contact-form button {
    align-self: center;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background: #16213e;
    color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #16213e;
        padding: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .project-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

#form-status {
    margin-top: 1rem;
    font-size: 1rem;
    text-align: center;
}

#form-status.success {
    color: #00adb5;
}

#form-status.error {
    color: #e74c3c;
}