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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Dark theme */
.dark-theme {
    background-color: #111;
    color: #fff;
}

.dark-theme nav {
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
}

.dark-theme .nav-links a {
    color: #fff;
}

.dark-theme .language-toggle {
    border-color: #fff;
    color: #fff;
}

.dark-theme .language-toggle:hover {
    background: #fff;
    color: #111;
}

/* Navigation */
nav {
    position: fixed;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Centered Navigation */
.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-left: auto;
}

.nav-center {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
}

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

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

/* Hero Section */
.hero {
    height: 90vh;
    position: relative;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-content {
    position: absolute;
    bottom: 20%;
    left: 10%;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1.5s ease-out;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 1rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 2rem;
    background: #f9f9f9;
}

.portfolio h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    aspect-ratio: 3/4;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 2rem;
    color: white;
    transform: translateY(0);
}

.portfolio-item:hover .overlay {
    transform: translateY(0);
}

.overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Add social media icons styling */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-icons i {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
}

/* About Section */
.about {
    padding: 5rem 2rem;
    background: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.about h2::after {
    content: '✨';
    position: absolute;
    right: -30px;
    animation: sparkle 2s infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

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

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
}

.label {
    color: #666;
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    background: #111;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.contact-container {
    display: flex;
    flex-direction: row;
    max-width: 1400px;
    margin: 0 auto;
    gap: 4rem;
    padding: 0 2rem;
    align-items: center;
    position: relative;
    width: 100%;
    min-height: 800px;
}

.contact-images {
    position: relative;
    height: 732px;
    width: 978px;
    transform-origin: center bottom;
    order: 1;
    flex: 1;
    z-index: 1;
}

.contact-content {
    flex: 0 1 400px;
    order: 2;
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.parallax-image {
    position: absolute;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.parallax-image.background {
    bottom: 0;
    left: 0;
    right: 0;
    height: 732px;
    width: 978px;
    z-index: 1;
    border-radius: 0;
}

.parallax-image.isa {
    bottom: 0;
    right: 0;
    height: 750px;
    z-index: 2;
    transform-origin: bottom right;
}

.parallax-image.mic {
    bottom: 0;
    left: 0;
    height: 400px;
    z-index: 3;
    transform-origin: bottom left;
}

/* Update hover animations */
.social-button:hover ~ .contact-images .parallax-image.mic {
    transform: rotate(-3deg);
}

.social-button:hover ~ .contact-images .parallax-image.isa {
    transform: translateY(-10px);
}

/* Scroll animation for mic */
@keyframes micRotate {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.parallax-image.mic.animate {
    animation: micRotate 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.parallax-image.isa.animate {
    animation: fadeInSlideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.contact h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.social-button {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    background: white;
    border-radius: 50px;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.social-button i {
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    background: #333;
    color: white;
}

/* Icons of Amsterdam Section */
.icon-section {
    padding: 5rem 2rem;
    background: #000;
    color: #fff;
}

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

.icon-grid {
    margin-bottom: 4rem;
}

.icon-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.icon-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    position: relative;
    display: inline-block;
}

/* Add sparkle animation to Icon section */
.icon-text h2::after {
    content: '✨';
    position: absolute;
    right: -30px;
    animation: iconSparkle 3s infinite;
}

@keyframes iconSparkle {
    0%, 100% { 
        opacity: 0.7; 
        transform: scale(1) rotate(0deg); 
    }
    50% { 
        opacity: 1; 
        transform: scale(1.2) rotate(10deg); 
    }
}

.icon-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #ccc;
}

.icon-logos {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.icon-logo {
    max-width: 150px;
    height: auto;
}

.pakhuis-image {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    aspect-ratio: 16/9;
}

/* Update responsive styles for icon section */
@media (max-width: 768px) {
    .icon-logos {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        justify-items: center;
        width: 100%;
        max-width: 400px;
        margin: 2rem auto 0;
    }
    
    .icon-logo {
        width: 100%;
        max-width: 120px;
    }

    .icon-text h2 {
        font-size: 2rem;
    }

    .icon-text p {
        font-size: 1rem;
    }

    .icon-grid {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .icon-section {
        padding: 3rem 1rem;
    }
}

.dark-theme .portfolio,
.dark-theme .about,
.dark-theme .contact {
    background: #111;
}

.dark-theme .social-button {
    background: #222;
    color: #fff;
}

.dark-theme .social-button:hover {
    background: #333;
}

/* Update existing portfolio items for dark theme */
.dark-theme .portfolio-item {
    background: #222;
}

.dark-theme .overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .nav-links {
        gap: 2rem;
    }

    .nav-center {
        gap: 2rem;
    }


    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .social-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

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

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

    .nav-links {
        gap: 1.5rem;
    }

    .nav-center {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 1rem;
    }
}

/* Language Toggle */
.language-toggle {
    background: none;
    border: 2px solid #333;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.language-toggle:hover {
    background: #333;
    color: white;
}

/* Language specific content */
.lang-nl {
    display: none;
}

body.dutch .lang-nl {
    display: block;
}

body.dutch .lang-en {
    display: none;
}

/* Responsive adjustments for work section */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    // ... remove work-related styles ...
}

@media (max-width: 430px) {
    .nav-links a[href="#about"] {
        display: none;
    }

    .nav-center {
        gap: 2rem;
    }
}

/* Responsive scaling */
@media (max-width: 1400px) {
    .contact-container {
        padding: 0 1rem;
        gap: 2rem;
    }

    .contact-images {
        min-height: 400px;
        transform: scale(0.8);
        transform-origin: center center;
    }
}

@media (max-width: 1200px) {
    .contact-container {
        flex-direction: column-reverse;
        align-items: center;
        min-height: auto;
        padding: 2rem 1rem;
    }

    .contact-images {
        transform: scale(0.7);
        margin: 2rem auto;
        height: 732px;
    }

    .contact-content {
        width: 100%;
        max-width: 500px;
        text-align: center;
        padding: 2rem 0;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .contact-images {
        transform: scale(0.6);
        margin: 0;
    }
}

@media (max-width: 768px) {
    .contact-images {
        transform: scale(0.5);
        margin: 0;
        min-height: 300px;
    }

    .contact h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .social-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-images {
        transform: scale(0.35);
        margin: 0;
    }

    .contact h2 {
        font-size: 1.8rem;
    }

    .social-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .social-button i {
        margin-right: 0.8rem;
    }
}

/* Password Protection Styles */
.password-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.password-container {
    background: #222;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.password-container h2 {
    color: white;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
}

.password-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.password-form input {
    padding: 1rem;
    border: none;
    border-radius: 5px;
    background: #333;
    color: white;
    font-size: 1rem;
}

.password-form input::placeholder {
    color: #666;
}

.password-form button {
    padding: 1rem;
    border: none;
    border-radius: 5px;
    background: #444;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.password-form button:hover {
    background: #555;
}

.password-error {
    color: #ff4444;
    margin-top: 1rem;
    min-height: 1.5em;
}

/* Hide overlay when authorized */
.authorized .password-overlay {
    display: none;
} 