body {
    margin: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background: #f8f8f8;
    color: #222;
}

header {
    background-image: url('/images/camera1.jpg');

    color: #fff;
    padding-bottom: 40px;
}

nav {
    display: flex;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 1rem 0;
    align-items: center;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
}

nav a:hover {
    color: #e67e22;
    background: rgba(230, 126, 34, 0.08);
}

.menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.2rem;
}

.hero {
    text-align: center;
    padding: 100px 20px 0 20px;
    position: relative;
}

.hero-img-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
}

.hero-img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border: 4px solid #fff;
    background: #eee;
    transition: filter 0.3s;
}

.hero-img:hover {
    filter: blur(0px) brightness(1);
}

.contact-info-header {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    font-size: 1.08rem;
    color: #e67e22;
    font-weight: 500;
    flex-wrap: wrap;
}

.contact-info-header i {
    margin-right: 0.5rem;
}

.portrait {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    margin-bottom: 1rem;
    border: 4px solid #fff;
    background: #eee;
    animation: fadeIn 1s;
}

.cv-btn {
    background: #e67e22;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    margin-left: 1rem;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cv-btn:hover {
    background: #ca5c04;
}

.skills-list,
.education-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    padding: 0;
}

.skills-list li,
.education-list li {
    background: #f3f3f3;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    font-weight: 500;
}

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

.montages-grid img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s;
}

.montages-grid img:hover {
    transform: scale(1.04) rotate(-2deg);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.5rem;
    color: #e67e22;
}

main {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.10);
    border-radius: 18px;
    padding: 2.5rem 2rem;
    margin-top: -40px;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

section {
    margin-bottom: 0;
    padding: 2rem 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    transition: box-shadow 0.2s;
}

section:last-child {
    border-bottom: none;
}

section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    color: #212121;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #e67e22, #f8f8f8);
    margin-top: 8px;
    border-radius: 2px;
}

#portrait {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

#portrait .portrait {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    margin-bottom: 0;
}

#portrait p {
    font-size: 1.2rem;
    color: #444;
    max-width: 600px;
    text-align: justify;
    font-family: 'Times New Roman', Times, serif;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    list-style: none;
    padding: 0;
    justify-content: flex-start;
}

.skills-list li {
    background: linear-gradient(90deg, #e67e22 60%, #fff 100%);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(230, 126, 34, 0.08);
    font-size: 1.05rem;
    letter-spacing: 1px;
    transition: transform 0.2s;
}

.skills-list li:hover {
    transform: scale(1.08);
}

.education-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
    list-style: none;
    padding: 0;
}

.education-list li {
    background: #f3f3f3;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
    font-size: 1.08rem;
    font-weight: 500;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.gallery-grid img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
    transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-grid img:hover {
    transform: scale(1.04) rotate(-1deg);
    box-shadow: 0 8px 32px rgba(230, 126, 34, 0.15);
}

.montages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.montages-grid video {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
    transition: transform 0.2s, box-shadow 0.2s;
}

.montages-grid img:hover {
    transform: scale(1.04) rotate(-2deg);
    box-shadow: 0 8px 32px rgba(230, 126, 34, 0.15);
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

input,
textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background: #fafafa;
    transition: border 0.2s;
}

input:focus,
textarea:focus {
    border: 1px solid #e67e22;
    outline: none;
}

button {
    background: linear-gradient(90deg, #e67e22 60%, #ca5c04 100%);
    color: #fff;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(230, 126, 34, 0.08);
}

button:hover {
    background: #ca5c04;
}

footer {
    text-align: center;
    padding: 2rem 0 1rem 0;
    color: #888;
    font-size: 0.95rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.2rem;
    font-size: 1.08rem;
    color: #e67e22;
    font-weight: 500;
}

.contact-details i {
    margin-right: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 0.5rem;
}

.social-links a {
    color: #e67e22;
    font-size: 1.5rem;
    transition: color 0.2s, transform 0.2s;
}

.social-links a:hover {
    color: #ca5c04;
    transform: scale(1.15) rotate(-8deg);
}

.contact-flex {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-details {
    min-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 1.08rem;
    color: #e67e22;
    font-weight: 500;
}

.contact-details i {
    margin-right: 0.5rem;
    font-size: 1.3rem;
    vertical-align: middle;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 0.5rem;
}

.social-links a {
    color: #e67e22;
    font-size: 1.5rem;
    transition: color 0.2s, transform 0.2s;
    vertical-align: middle;
}

.social-links a:hover {
    color: #ca5c04;
    transform: scale(1.15) rotate(-8deg);
}

@media (max-width: 900px) {
    main {
        padding: 1rem;
    }

    #portrait {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }

    .gallery-grid,
    .montages-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-flex {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }
}

@media (max-width: 600px) {
    .hero {
        padding-top: 70px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    main {
        padding: 0.5rem;
    }

    nav ul {
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    nav a {
        font-size: 0.95rem;
        padding: 0.3rem 0.5rem;
    }

    section h2 {
        font-size: 1.3rem;
    }

    .gallery-grid,
    .montages-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-header {
        gap: 1rem;
        font-size: 0.95rem;
    }
    
}