/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #d1d5db;
    color: #1f2937;
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
header {
    border-bottom: 1px solid #d1d5db;
    background-color: #d1d5db;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.logo {
    font-family: 'Asap', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s;
}

nav a:hover {
    color: #1f2937;
}

/* Hero Section */
.hero {
    padding: 5rem 0;
}

.hero-bg {
    background-color: #547792;
    width: 100%;
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-family: 'Asap', sans-serif;
    font-size: 3.75rem;
    font-weight: 700;
    color: #1f2937;
}

.hero-text {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 42rem;
}

/* Portfolio Section */
.portfolio {
    padding: 4rem 0;
}

.portfolio h2 {
    font-family: 'Limelight', cursive;
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 3rem;
}

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

.portfolio-item {
    cursor: pointer;
}

.portfolio-image {
    aspect-ratio: 4/3;
    background-color: #d1d5db;
    
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    mix-blend-mode: normal;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
    mix-blend-mode: darken;
}





/* About Section */
.about {
    background-color: #547792;
    padding: 5rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.about-image {
    aspect-ratio: 1/1;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about h2 {
    font-family: 'Limelight', cursive;
    font-size: 1.875rem;
    font-weight: 700;
    color: black;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: black;
    
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
}

.contact h2 {
    font-family: 'Limelight', cursive;
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
}

.contact-text {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #1f2937;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    transition: background-color 0.3s;
}

.contact-button:hover {
    background-color: #374151;
}

/* Footer */
footer {
    border-top: 1px solid #d1d5db;
    background-color: #d1d5db;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 3rem 1.5rem;
}

.copyright {
    color: #6b7280;
}

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

.social-links a {
    color: #6b7280;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #1f2937;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background-color: #d1d5db;
    z-index: 50;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: #1f2937;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
    padding: 0.5rem;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: #6b7280;
}

.lightbox-close {
    top: 1.5rem;
    right: 1.5rem;
}

.lightbox-prev {
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev.hidden,
.lightbox-next.hidden {
    display: none;
}

.lightbox-content {
    max-width: 1280px;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: cover;
}

.lightbox-info {
    margin-top: 1.5rem;
    text-align: center;
}

.lightbox-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.lightbox-info p {
    color: #6b7280;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #1f2937;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 50%;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 40;
    opacity: 0;
    pointer-events: none;
}

.scroll-top:hover {
    background-color: #374151;
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Responsive */
@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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