:root {
    --background: #fff;
    --text: #222;
    --overlay: rgba(255, 255, 255, 0.94);
    --text-color: #222;
    --nav-background: rgba(255, 255, 255, 0.95);
    --overlay-color: rgba(255, 255, 255, 0.94);
}

/* Reset and base styles */
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

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

/* Base layout */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

img {
    pointer-events: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: block;
    max-width: 100%;
    height: auto;
}

/* Main layout */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    background-color: #fff;
    color: var(--text-color);
    font-family: -apple-system, BlinkMacSystemFont, helvetica neue, helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    padding-top: 45px; /* Adjust this value based on your menu height */
}

/* Header styles */
.site-header {
    position: relative; /* Changed from fixed */
    width: 100%;
    background: var(--background);
    padding: 2rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    text-align: center; /* Center all content */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-text a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
}

/* Responsive photo grid styles for all devices */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    width: 100%;
    margin: 0 0 20px;
    grid-auto-flow: dense;
    padding: 0;
    max-width: none;
}

.photo-grid > * {
    position: relative;
    min-height: 300px;
    background-color: transparent;
}

.photo-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    pointer-events: auto;
}

/* Remove any unnecessary constraints */
.photo-grid > *:not(:first-child) {
    align-self: stretch;
    justify-self: stretch;
}

/* Add styles for first-photo container */
.first-photo {
    width: 100%;
    margin: 0 0 2px;
    padding: 0;
    max-width: none;
}

.first-photo img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    pointer-events: auto; /* Make the image clickable */
}

.photo-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* Page content */
.page-content {
    margin-top: 2rem; /* Changed from 100px */
    padding: 0; /* Remove horizontal padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.page-content > *:not(.photo-grid):not(.first-photo) {
    padding: 0 20px; /* Add padding to non-grid elements */
    max-width: 800px;
    width: 100%;
    box-sizing: border-box;
}

.page-content h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 400;
    letter-spacing: 1px;
    width: 100%;
}

.description {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center; /* Added center alignment */
    padding: 0 20px;
}

/* Ensure text container uses full width for centering */
.page-content > * {
    width: 100%;
    max-width: 800px;
}

/* Footer styles */
.footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.1);
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.footer-text {
    font-size: 1.1rem;
    color: var(--text);
    opacity: 0.8;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 10px 0;
}

.social-links a {
    color: var(--text);
    font-size: 24px;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--text);
}

.social-links a:hover {
    background: var(--text);
    color: var(--background);
    transform: translateY(-2px);
}

.social-links a i {
    font-size: 20px;
}

/* Responsive footer adjustments */
@media screen and (max-width: 480px) {
    .footer {
        padding: 30px 15px;
    }
}

/* Disable context menu and dragging */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Additional protection layer */
.photo-grid::after {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
    z-index: 3;
}

.masthead-content h1 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--text);
}

.masthead-text {
    text-align: center; /* Changed from left */
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.masthead-text h1 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--text);
}

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

.text-content p {
    margin-bottom: 1.5rem;
}

.masthead-social {
    text-align: center;
}

.masthead-social .social-links {
    margin: 30px 0;
}

.masthead-social .social-links a {
    border-color: var(--text);
    color: var(--text);
}

.masthead-social .social-links a:hover {
    background: var(--text);
    color: var(--background);
}

.masthead-text p {
    margin-bottom: 1.5rem;
}

.details h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.details p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--background);
}

.masthead-contents {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 20px 60px;
    max-width: 800px;
    margin: 0 auto;
}

.masthead-social ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.masthead-arrow-container {
    margin-top: 40px;
    text-align: center;
    cursor: pointer;
}

.masthead-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text);
    border-bottom: 2px solid var(--text);
    transform: rotate(45deg);
    display: inline-block;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.masthead-arrow:hover {
    opacity: 1;
}

.project-covers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

@media (max-width: 768px) {
    .project-covers {
        grid-template-columns: 1fr;
    }
    .photo-grid > * {
        min-height: 200px;
    }
    .header-container {
        flex-direction: column;
        gap: 20px;
    }
    .page-navigation .nav-links {
        grid-template-columns: repeat(2, 1fr); /* Keep two columns for navigation on tablets */
    }
}

@media (max-width: 480px) {
    /* Remove grid column changes */
    .photo-grid {
        grid-template-columns: 1fr; /* Keep 3 columns on all devices including mobile */
        gap: 2px;
    }
    
    .photo-grid > * {
        min-height: 150px; /* Reduced height for better mobile display */
    }

    /* Keep navigation images in parallel on mobile */
    .page-navigation .nav-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .page-navigation .title {
        font-size: 1rem; /* Slightly smaller text for mobile navigation items */
    }
}

/* Update project covers to maintain consistent grid */
@media (max-width: 1024px) {
    /* Remove any grid-changing rules here */
}

@media (max-width: 768px) {
    .project-covers {
        grid-template-columns: 1fr; /* Keep 3 columns on tablets */
    }
    .header-container {
        flex-direction: column;
        gap: 20px;
    }
    .page-navigation .nav-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

.project-cover {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    background: #fff;
}

.cover-content-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.cover-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    width: 100%;
    padding-bottom: 133.33%; /* 3:4 aspect ratio */
}

.cover-image-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.details-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.details-inner {
    color: var(--text);
}

.details-inner .title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.details-inner .description {
    font-size: 1rem;
    line-height: 1.4;
}

.project-cover:hover .cover-image-wrap img {
    transform: scale(1.05);
}

.project-cover:hover .details-wrap {
    opacity: 1;
}

.project-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Complete rewrite of page navigation styles to fix image dimensions */
.page-navigation {
    margin: 60px auto;
    max-width: 1400px;
    padding: 0 20px;
}

.page-navigation .nav-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-navigation .project-cover {
    width: auto;
    max-width: 422px;
    text-decoration: none;
}

/* Remove all previous cover-image-wrap styles in navigation */
.page-navigation .cover-image-wrap {
    position: relative;
    width: 211px; /* Half of original width */
    height: 281px; /* Half of original height, maintaining aspect ratio */
    overflow: hidden;
    margin: 0 auto;
}

.page-navigation .cover-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Remove any responsive size adjustments to keep the same size on all screens */
@media (max-width: 992px), (max-width: 768px), (max-width: 480px) {
    .page-navigation .cover-image-wrap {
        width: 211px; /* Keep the same size on all screens */
        height: 281px;
    }
}

.page-navigation .details-wrap {
    background: var(--overlay);
}

.page-navigation .title {
    font-size: 1.2rem;
    color: var(--text);
}

@media (max-width: 768px) {
    .page-navigation .nav-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Make sure the page navigation is responsive */
@media (max-width: 768px) {
    .page-navigation .cover-image-wrap {
        /* Make width proportionally smaller while keeping the same aspect ratio */
        width: 320px; /* Reduced from 422px */
        height: 426px; /* Maintained aspect ratio (422:562 = 320:426) */
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .page-navigation .cover-image-wrap {
        /* For smaller screens, make the image even smaller but keep proportions */
        width: 211px; /* Half of original width */
        height: 281px; /* Half of original height, maintaining aspect ratio */
        margin: 0 auto;
    }
    
    /* Also adjust the grid layout for better fit on small screens */
    .page-navigation .nav-links {
        gap: 15px; /* Reduce gap on smaller screens */
    }
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    cursor: pointer;
    touch-action: none;
    user-select: none;
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    pointer-events: auto;
    cursor: auto;
}

/* Enhanced lightbox styles for better zoom indication */
.lightbox-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    pointer-events: auto;
    cursor: zoom-in; /* Show zoom-in cursor by default */
    transform-origin: center;
    transition: transform 0.1s ease-out;
    user-select: none;
    -webkit-user-select: none;
}

/* When zoomed in, show grab cursor */
.lightbox.zoomed .lightbox-image {
    cursor: grab;
}

/* When actively grabbing/dragging */
.lightbox.zoomed .lightbox-image:active {
    cursor: grabbing;
}

/* Improve lightbox performance */
.lightbox-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    will-change: transform; /* Performance hint for browsers */
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 1050; /* Higher than other elements in the lightbox */
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding-bottom: 5px; /* Visual adjustment for the × symbol */
}

.lightbox-close:hover {
    background: rgba(0,0,0,0.8);
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-decoration: none;
    color: var(--text);
}

.page-title {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--text);
}

/* Remove these styles as they're no longer needed */
.header-spacer {
    display: none;
}

.masthead {
    padding-top: 2rem; /* Adjusted padding */
}

.site-footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.1);
    margin-top: 60px;
    background: var(--background);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.pf-footer-social ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.pf-footer-social a {
    color: var(--text);
    font-size: 1.5rem;
    transition: opacity 0.3s ease;
}

.pf-footer-social a:hover {
    opacity: 0.7;
}

.footer-text {
    font-size: 1.1rem;
    color: var(--text);
    opacity: 0.8;
    letter-spacing: 0.5px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.social-links a {
    color: var(--text);
    font-size: 24px;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--text);
}

.social-links a:hover {
    background: var(--text);
    color: var(--background);
    transform: translateY(-2px);
}

/* Add this to existing social-links styles */
.social-links a i {
    font-size: 20px;
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: var(--text);
    color: var(--background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateY(100px);
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 0.8;
    transform: translateY(0);
}

.scroll-to-top:hover {
    opacity: 1;
}

/* Touch device specific styles */
.touch-device .details-wrap {
    transition: opacity 0.2s ease;
}

.touch-device .project-cover:hover .details-wrap {
    opacity: 0; /* Disable hover effect on touch devices */
}

.touch-device .project-cover.touch-active .details-wrap {
    opacity: 1; /* Show details only when touch-active class is applied */
}

/* Fix for page navigation on touch devices */
.touch-device .page-navigation .project-cover:hover .details-wrap {
    opacity: 0;
}

.touch-device .page-navigation .project-cover.touch-active .details-wrap {
    opacity: 1;
}

/* Make sure cover image doesn't scale on first tap for touch devices */
.touch-device .project-cover:hover .cover-image-wrap img {
    transform: none;
}

.touch-device .project-cover.touch-active .cover-image-wrap img {
    transform: scale(1.05);
}

/* Touch device specific styles - updated for two-tap navigation */
.touch-device .project-cover .details-wrap {
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* Ensure taps go through to the parent element */
}

/* Remove hover effect from project covers on touch devices */
.touch-device .project-cover:hover .details-wrap {
    opacity: 0; /* Don't show on hover for touch devices */
}

/* Show details when data-details-shown attribute is true */
.touch-device .project-cover[data-details-shown="true"] .details-wrap {
    opacity: 1 !important;
}

/* Fix for page navigation on touch devices */
.touch-device .page-navigation .project-cover[data-details-shown="true"] .details-wrap {
    opacity: 1 !important;
}

/* Pinned Navigation Menu Styles - Fixed */
.pinned-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--background);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0; /* Increased from 10px to 15px */
    /* Make the menu visible by default */
    transform: translateY(0);
    transition: transform 0.3s ease;
}

/* This class will be used only when we want to hide the menu */
.pinned-menu.hidden {
    transform: translateY(-100%);
}

.pinned-menu-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.pinned-menu-logo {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-decoration: none;
    color: var(--text);
}

/* Add styles for logo image */
.pinned-menu-logo img {
    height: 30px; /* Increased from 30px */
    width: auto;
    display: block;
}

.pinned-menu-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.pinned-menu-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pinned-menu-links a:hover,
.pinned-menu-links a.active {
    background-color: var(--text);
    color: var(--background);
}

.pinned-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
    padding: 5px;
}

@media (max-width: 768px) {
    .pinned-menu-toggle {
        display: block;
    }
    
    .pinned-menu-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--background);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 10px 0;
        transform: translateY(-100vh);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        pointer-events: none;
    }
    
    .pinned-menu-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .pinned-menu-links a {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
}

/* Contact form styles */
.contact-form-container {
    max-width: 600px;
    margin: 0 auto 30px;
    padding: 0 20px;
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.contact-form h3 {
    text-align: center;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.8;
}

.contact-form input,
.contact-form textarea {
    padding: 10px 15px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
    background: var(--background);
    color: var(--text);
    transition: border-color 0.3s ease;
}

.contact-form textarea {
    min-height: 120px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(0,0,0,0.3);
}

/* Improved button styles */
.contact-form button {
    padding: 12px 20px;
    background: var(--text);
    color: var(--background);
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
    position: relative;
    overflow: hidden;
}

.contact-form button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contact-form button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Spinner animation for button */
.contact-form button i.fa-spinner {
    margin-right: 6px;
}

/* Improved form status styling */
#form-status {
    text-align: center;
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-height: 20px;
    font-weight: 500;
    display: block;
    width: 100%;
    opacity: 0;
    transform: translateY(-10px);
    max-height: 0;
    overflow: hidden;
}

#form-status.success {
    color: #fff;
    background-color: rgba(40, 167, 69, 0.9);
    border: none;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
    padding: 12px;
    opacity: 1;
    transform: translateY(0);
    max-height: 100px;
    margin-bottom: 10px;
}

#form-status.error {
    color: #fff;
    background-color: rgba(220, 53, 69, 0.9);
    border: none;
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.3);
    padding: 12px;
    opacity: 1;
    transform: translateY(0);
    max-height: 100px;
    margin-bottom: 10px;
}

/* Form status icon styles */
#form-status::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 8px;
    display: inline-block;
}

#form-status.success::before {
    content: "\f00c"; /* checkmark icon */
}

#form-status.error::before {
    content: "\f071"; /* warning icon */
}

/* Form success animation */
@keyframes formSuccessGlow {
    0% { box-shadow: 0 0 0 rgba(40, 167, 69, 0); }
    50% { box-shadow: 0 0 20px rgba(40, 167, 69, 0.4); }
    100% { box-shadow: 0 0 0 rgba(40, 167, 69, 0); }
}

.form-success {
    animation: formSuccessGlow 1s ease-in-out;
}

/* Additional responsive styling for form status */
@media (max-width: 768px) {
    #form-status {
        font-size: 0.9rem;
        padding: 10px;
    }
    
    #form-status.success,
    #form-status.error {
        padding: 10px;
    }
}

/* Additional responsive adjustments */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 0 15px;
    }
    
    .contact-form input,
    .contact-form textarea {
        font-size: 16px; /* Better for mobile input fields */
    }
}

/* Profile Image Styles - Perfect Facebook-style */
.profile-image-container {
    margin: 0 auto 20px;
    width: 350px; /* Fixed width */
    height: 350px; /* Equal height for perfect circle */
    border-radius: 50%; /* Make it round */
    border: 3px solid #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden; /* Contain the image inside the circle */
    background: #fff; /* Background for transparent parts */
    box-sizing: border-box; /* To ensure padding doesn't affect size */
}

.profile-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%; /* Reduced from 120% to show more of the face */
    height: 110%; /* Reduced from 120% to show more of the face */
    object-fit: cover; /* Facebook-style: fills the circle completely */
    display: block;
    object-position: center 25%; /* Adjusted from 35% to show more of the top of head */
}

/* Copyright text in footer */
.footer-copyright {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.7;
    text-align: center;
    letter-spacing: 0.5px;
    font-weight: 400;
}
