/*
         * This CSS is a manual conversion of the Tailwind CSS classes 
         * used in the React version to standard CSS, ensuring the look
         * and feel are identical.
         */
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

        /* Custom Font */
        @font-face {
            font-family: 'Stardom';
            src: url('Stardom-Regular.woff2') format('woff2'),
                 url('Stardom-Regular.woff') format('woff'),
                 url('Stardom-Regular.ttf') format('truetype');
            font-weight: 400;
            font-display: swap;
            font-style: normal;
        }

        * {
            font-family: 'EB Garamond', serif;
        }

        /* Base Styles */
        :root {
            --bg-color: #fafafa;
            --text-color: #18181b;
            --border-color: #e4e4e7;
            --accent-color: #d4af37; /* Amber-500 equivalent */
            --accent-hover: #b48e24; /* Amber-600 equivalent */
            --zinc-200: #e4e4e7;
            --zinc-300: #d4d4d8;
            --zinc-600: #52525b;
            --zinc-700: #3f3f46;
        }

        body {
            background-color: var(--bg-color);
            color: var(--text-color);
            min-height: 100vh;
            font-family: 'Stardom', 'sans-serif';
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            margin: 0;
            padding: 0;
        }

        .container {
            max-width: 1280px;
            margin-left: auto;
            margin-right: auto;
            padding-left: 1rem;
            padding-right: 1rem;
        }

        /* Header and Navigation */
        header {
            background-color: var(--bg-color);
            border-bottom: 1px solid var(--border-color);
            position: sticky;
            top: 0;
            z-index: 50;
        }
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 1rem;
            padding-bottom: 1rem;
        }
        .header-logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .header-title {
            font-size: 1.5rem;
            font-weight: 700;
            letter-spacing: -0.025em;
            color: var(--text-color);
        }
        .nav-desktop {
            display: none;
            align-items: center;
            gap: 1.5rem;
        }
        .nav-link {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem;
            border-radius: 0.5rem;
            transition: color 200ms, background-color 200ms;
            text-decoration: none;
            color: var(--zinc-600);
        }
        .nav-link.active {
            color: var(--accent-color);
            background-color: var(--zinc-200);
        }
        .nav-link:hover:not(.active) {
            color: var(--accent-color);
            background-color: var(--zinc-200);
        }
        .nav-link span {
            font-weight: 500;
        }
        .nav-mobile-btn {
            padding: 0.5rem;
            color: var(--zinc-600);
            border-radius: 0.375rem;
            background: none;
            border: none;
            cursor: pointer;
        }
        .nav-mobile-btn:hover {
            background-color: var(--zinc-200);
        }
        .nav-mobile-btn:focus {
            outline: 2px solid transparent;
            outline-offset: 2px;
            box-shadow: 0 0 0 2px var(--accent-color);
        }
        .nav-mobile-menu {
            display: none;
            background-color: #f4f4f5;
            border-top: 1px solid var(--border-color);
            padding: 1rem;
            gap: 0.5rem;
            flex-direction: column;
        }
        .nav-mobile-menu.open {
            display: flex;
        }
        .nav-mobile-link {
            width: 100%;
            text-align: left;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem;
            border-radius: 0.5rem;
            transition: color 200ms, background-color 200ms;
            text-decoration: none;
            color: var(--zinc-600);
            background: none;
            border: none;
            cursor: pointer;
        }
        .nav-mobile-link.active {
            color: var(--accent-color);
            background-color: var(--zinc-200);
        }
        .nav-mobile-link:hover:not(.active) {
            color: var(--accent-color);
            background-color: var(--zinc-200);
        }
        .nav-mobile-link span {
            font-weight: 500;
            font-size: 1.125rem;
        }

        /* Main Content & Sections */
        main {
            padding-top: 2rem;
            padding-bottom: 2rem;
        }
        @media (min-width: 768px) {
            main {
                padding-top: 4rem;
                padding-bottom: 4rem;
            }
            .nav-desktop { display: flex; }
            .nav-mobile-btn { display: none; }
        }
        .page-section {
            display: none; /* All pages are hidden by default */
        }
        .page-section.active {
            display: block; /* Only the active page is shown */
        }

        /* Portfolio Grid */
        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(1, minmax(0, 1fr));
            gap: 1.5rem;
            margin-top: 2rem;
        }
        @media (min-width: 640px) {
            .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        }
        @media (min-width: 1024px) {
            .portfolio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
        }
        .portfolio-item {
            position: relative;
            cursor: pointer;
            overflow: hidden;
            border-radius: 0.75rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            transform: scale(1);
            transition: transform 300ms;
        }
        .portfolio-item:hover {
            transform: scale(1.05);
        }
        .portfolio-item img {
            width: 100%;
            height: auto;
            object-fit: cover;
            transition: opacity 300ms;
        }
        .portfolio-item:hover img {
            opacity: 0.75;
        }
        .portfolio-item-overlay {
            position: absolute;
            inset: 0;
            background-color: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 300ms;
        }
        .portfolio-item:hover .portfolio-item-overlay {
            opacity: 1;
        }
        .portfolio-item-overlay span {
            color: var(--bg-color);
            font-size: 1.125rem;
            font-weight: 700;
        }
        
        /* Modal Styles */
        .modal-overlay {
            position: fixed;
            inset: 0;
            background-color: rgba(0, 0, 0, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
            z-index: 50;
            opacity: 0;
            animation: fadeIn 0.3s forwards;
        }
        .modal-content {
            position: relative;
            padding: 0.5rem;
            background-color: white;
            border-radius: 0.5rem;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            transform: scale(0.95);
            animation: zoomIn 0.3s forwards;
        }
        .modal-content img {
            max-width: 100%;
            max-height: 90vh;
            border-radius: 0.5rem;
        }
        .modal-close-btn {
            position: absolute;
            top: 0.5rem;
            right: 0.5rem;
            padding: 0.5rem;
            background-color: white;
            color: var(--text-color);
            border-radius: 9999px;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            border: none;
            cursor: pointer;
            transition: background-color 200ms;
        }
        .modal-close-btn:hover {
            background-color: var(--zinc-100);
        }

        /* About Section */
        .about-section {
            max-width: 56rem;
            margin-left: auto;
            margin-right: auto;
        }
        .about-card {
            background-color: white;
            padding: 2rem;
            border-radius: 0.75rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            gap: 1.5rem;
        }
        .about-info {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.5rem;
        }
        @media (min-width: 768px) {
            .about-info { 
                flex-direction: row; 
                align-items: flex-start;
                gap: 2rem;
            }
        }
        .about-photo {
            width: 10rem;
            height: 10rem;
            border-radius: 9999px;
            object-fit: cover;
            border: 4px solid var(--accent-color);
        }
        .about-text-content {
            text-align: center;
        }
        @media (min-width: 768px) {
            .about-text-content { text-align: left; }
        }
        .about-title {
            font-size: 1.875rem;
            font-weight: 600;
            color: var(--text-color);
        }
        .about-subtitle {
            color: var(--accent-color);
            font-size: 1.125rem;
        }

        br {
            display: block;
            margin: 5px 0;
        }

        .about-paragraph {
            font-size: 1.125rem;
            color: var(--zinc-700);
            line-height: 1.75rem;
        }

        /* Commissions Form */
        .commissions-form {
            max-width: 36rem;
            margin-left: auto;
            margin-right: auto;
        }
        .form-card {
            background-color: white;
            padding: 2rem;
            border-radius: 0.75rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            gap: 1.5rem;
        }
        .form-group {
            margin-bottom: 1.5rem;
        }
        .form-label {
            display: block;
            font-size: 0.875rem;
            font-weight: 500;
            color: var(--zinc-700);
        }
        .form-input, .form-textarea {
            margin-top: 0.25rem;
            display: block;
            width: 93.5%;
            justify-content: center;
            padding: 0.5rem 1rem;
            background-color: var(--zinc-100);
            border: 1px solid var(--zinc-300);
            border-radius: 0.375rem;
            color: var(--text-color);
        }
        .form-input:focus, .form-textarea:focus {
            outline: 2px solid transparent;
            outline-offset: 2px;
            box-shadow: 0 0 0 2px var(--accent-color);
            border-color: var(--accent-color);
        }
        .form-textarea {
            min-height: 7rem;
        }
        .submit-btn {
            width: 100%;
            display: flex;
            justify-content: center;
            padding: 0.75rem 1rem;
            border: 1px solid transparent;
            border-radius: 0.375rem;
            box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            font-size: 1.125rem;
            font-weight: 500;
            color: white;
            background-color: var(--accent-color);
            transition: background-color 200ms;
        }
        .submit-btn:hover {
            background-color: var(--accent-hover);
        }
        .submit-btn:focus {
            outline: 2px solid transparent;
            outline-offset: 2px;
            box-shadow: 0 0 0 2px var(--accent-color);
        }

        /* Footer */
        footer {
            background-color: var(--bg-color);
            border-top: 1px solid var(--border-color);
            padding-top: 2rem;
            padding-bottom: 2rem;
        }
        .footer-content {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
        }
        @media (min-width: 768px) {
            .footer-content { flex-direction: row; }
        }
        .footer-copyright {
            color: var(--zinc-600);
            font-size: 0.875rem;
        }
        .footer-social-links {
            display: flex;
            gap: 1rem;
        }
        .footer-social-link {
            color: var(--zinc-600);
            transition: color 200ms;
        }
        .footer-social-link:hover {
            color: var(--accent-color);
        }
        
        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        @keyframes zoomIn {
            from { transform: scale(0.95); }
            to { transform: scale(1); }
        }