
        /* Global Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Crimson Text', 'Times New Roman', serif;
            transition: background-color 0.3s, color 0.3s;
        }

        body {
            background-color: #f8f3e8;
            color: #3a3226;
            background-image: url('https://www.transparenttextures.com/patterns/cream-paper.png');
        }

        body.dark-mode {
            background-color: #1a1a1a;
            color: #e8e8e8;
            background-image: url('https://www.transparenttextures.com/patterns/dark-wood.png');
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        /* Header Styles */
        header {
            background-color: #5a3921;
            color: #e8d8c0;
            padding: 30px 0;
            text-align: center;
            border-bottom: 8px solid #8b7355;
            background-image: url('https://www.transparenttextures.com/patterns/old-wall.png');
        }

        body.dark-mode header {
            background-color: #3a2414;
            border-bottom-color: #5a4a3a;
        }

        header h1 {
            font-size: 3rem;
            margin-bottom: 10px;
            font-weight: 700;
            letter-spacing: 2px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }

        header p {
            font-size: 1.2rem;
            font-style: italic;
        }

        /* Navigation */
        nav {
            background-color: #8b7355;
            padding: 15px 0;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            background-image: url('https://www.transparenttextures.com/patterns/paper-1.png');
        }

        body.dark-mode nav {
            background-color: #5a4a3a;
        }

        nav ul {
            display: flex;
            justify-content: center;
            list-style: none;
        }

        nav ul li {
            margin: 0 20px;
            position: relative;
        }

        nav ul li a {
            color: #f8f3e8;
            text-decoration: none;
            font-weight: 600;
            padding: 8px 15px;
            border-radius: 4px;
            transition: all 0.3s;
            font-size: 1.1rem;
            letter-spacing: 1px;
        }

        nav ul li a:hover {
            background-color: #5a3921;
            transform: translateY(-2px);
        }

        body.dark-mode nav ul li a:hover {
            background-color: #3a2414;
        }

        nav ul li a.active {
            background-color: #5a3921;
            border-bottom: 3px solid #e8d8c0;
        }

        body.dark-mode nav ul li a.active {
            background-color: #3a2414;
        }

        /* Theme Toggle */
        .theme-toggle {
            position: fixed;
            top: 20px;
            right: 20px;
            background: #5a3921;
            color: #e8d8c0;
            border: none;
            padding: 10px 15px;
            border-radius: 50px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }

        body.dark-mode .theme-toggle {
            background: #3a3226;
            color: #e8d8c0;
        }

        .theme-toggle i {
            font-size: 1.2rem;
        }

        /* User Greeting */
        .user-greeting {
            position: fixed;
            top: 20px;
            right: 150px;
            color: #5a3921;
            font-weight: 600;
            z-index: 1000;
            background: rgba(248, 243, 232, 0.9);
            padding: 8px 15px;
            border-radius: 50px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        body.dark-mode .user-greeting {
            color: #e8d8c0;
            background: rgba(58, 50, 38, 0.9);
        }

        /* Museum Grid */
        .museum-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
            margin: 40px 0;
        }

        .museum-card {
            background-color: #fff;
            border-radius: 5px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            border: 1px solid #d4c9b8;
            position: relative;
        }

        body.dark-mode .museum-card {
            background-color: #2a2a2a;
            border-color: #444;
        }

        .museum-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        }

        .museum-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, #8b7355, #5a3921);
        }

        body.dark-mode .museum-card::before {
            background: linear-gradient(90deg, #5a4a3a, #3a2414);
        }

        .museum-img-container {
            width: 100%;
            height: 220px;
            overflow: hidden;
            background: #e8e0d0;
            position: relative;
        }

        body.dark-mode .museum-img-container {
            background: #333;
        }
        
        .museum-img-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .museum-card:hover .museum-img-container img {
            transform: scale(1.1);
        }

        .museum-info {
            padding: 25px;
            background-color: #fff;
        }

        body.dark-mode .museum-info {
            background-color: #2a2a2a;
        }

        .museum-info h3 {
            margin-bottom: 15px;
            color: #5a3921;
            font-size: 1.4rem;
            font-weight: 700;
            border-bottom: 2px solid #e8d8c0;
            padding-bottom: 8px;
        }

        body.dark-mode .museum-info h3 {
            color: #d4c9b8;
            border-bottom-color: #5a4a3a;
        }

        .museum-info p {
            color: #6a5d4b;
            margin-bottom: 20px;
            font-size: 1rem;
            line-height: 1.5;
        }

        body.dark-mode .museum-info p {
            color: #b8b8b8;
        }

        .btn {
            display: inline-block;
            background-color: #8b7355;
            color: #f8f3e8;
            padding: 10px 20px;
            border-radius: 3px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s;
            border: none;
            cursor: pointer;
            font-size: 1rem;
            letter-spacing: 1px;
        }

        body.dark-mode .btn {
            background-color: #5a4a3a;
        }

        .btn:hover {
            background-color: #5a3921;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        body.dark-mode .btn:hover {
            background-color: #3a2414;
        }

        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(58, 50, 38, 0.9);
            z-index: 1000;
            overflow: auto;
        }

        body.dark-mode .modal {
            background-color: rgba(0, 0, 0, 0.9);
        }

        .modal-content {
            background-color: #f8f3e8;
            margin: 5% auto;
            padding: 40px;
            border-radius: 5px;
            width: 80%;
            max-width: 800px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
            position: relative;
            border: 1px solid #d4c9b8;
            background-image: url('https://www.transparenttextures.com/patterns/cream-paper.png');
        }

        body.dark-mode .modal-content {
            background-color: #2a2a2a;
            border-color: #444;
            background-image: url('https://www.transparenttextures.com/patterns/dark-wood.png');
        }

        .close-btn {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 2rem;
            cursor: pointer;
            color: #8b7355;
            transition: color 0.3s;
        }

        body.dark-mode .close-btn {
            color: #b8b8b8;
        }

        .close-btn:hover {
            color: #5a3921;
        }

        body.dark-mode .close-btn:hover {
            color: #d4c9b8;
        }

        .modal-map {
            width: 100%;
            height: 400px;
            margin: 25px 0;
            border: 5px solid #fff;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        body.dark-mode .modal-map {
            border-color: #444;
        }

        /* Form Styles */
        .form-group {
            margin-bottom: 25px;
        }

        .form-group label {
            display: block;
            margin-bottom: 10px;
            font-weight: 600;
            color: #5a3921;
            font-size: 1.1rem;
        }

        body.dark-mode .form-group label {
            color: #d4c9b8;
        }

        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 12px;
            border: 1px solid #d4c9b8;
            border-radius: 3px;
            font-size: 1rem;
            background-color: #fff;
            color: #3a3226;
            transition: border 0.3s;
        }

        body.dark-mode .form-group input,
        body.dark-mode .form-group textarea,
        body.dark-mode .form-group select {
            background-color: #333;
            border-color: #555;
            color: #e8e8e8;
        }

        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: #8b7355;
            box-shadow: 0 0 5px rgba(139, 115, 85, 0.3);
        }

        body.dark-mode .form-group input:focus,
        body.dark-mode .form-group textarea:focus,
        body.dark-mode .form-group select:focus {
            border-color: #5a4a3a;
            box-shadow: 0 0 5px rgba(90, 74, 58, 0.5);
        }

        .form-group textarea {
            height: 120px;
            resize: vertical;
        }

        .submit-btn {
            background-color: #5a3921;
            color: #f8f3e8;
            border: none;
            padding: 12px 25px;
            border-radius: 3px;
            cursor: pointer;
            font-size: 1.1rem;
            transition: all 0.3s;
            font-weight: 600;
            letter-spacing: 1px;
            width: 100%;
        }

        body.dark-mode .submit-btn {
            background-color: #3a2414;
        }

        .submit-btn:hover {
            background-color: #3a2414;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        body.dark-mode .submit-btn:hover {
            background-color: #2a1a0a;
        }

        .error {
            color: #a52a2a;
            font-size: 0.9rem;
            margin-top: 5px;
            display: none;
            font-style: italic;
        }

        body.dark-mode .error {
            color: #ff6b6b;
        }

        .form-footer {
            text-align: center;
            margin-top: 20px;
            color: #6a5d4b;
        }

        body.dark-mode .form-footer {
            color: #b8b8b8;
        }

        .form-footer a {
            color: #5a3921;
            text-decoration: none;
            font-weight: 600;
        }

        body.dark-mode .form-footer a {
            color: #d4c9b8;
        }

        .form-footer a:hover {
            text-decoration: underline;
        }

        /* Merchandise Styles */
        .merch-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 20px;
            margin: 20px 0;
        }

        .merch-item {
            background-color: #fff;
            border-radius: 5px;
            overflow: hidden;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            transition: all 0.3s;
            border: 1px solid #d4c9b8;
        }

        body.dark-mode .merch-item {
            background-color: #2a2a2a;
            border-color: #444;
        }

        .merch-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
        }

        .merch-img {
            width: 100%;
            height: 180px;
            object-fit: cover;
            background: #e8e0d0;
        }

        body.dark-mode .merch-img {
            background: #333;
        }

        .merch-info {
            padding: 15px;
            text-align: center;
        }

        .merch-info h3 {
            color: #5a3921;
            margin-bottom: 10px;
            font-size: 1.1rem;
        }

        body.dark-mode .merch-info h3 {
            color: #d4c9b8;
        }

        .merch-info p {
            color: #6a5d4b;
            margin-bottom: 15px;
        }

        body.dark-mode .merch-info p {
            color: #b8b8b8;
        }

        .merch-price {
            font-weight: bold;
            color: #5a3921;
            font-size: 1.2rem;
            margin-bottom: 10px;
        }

        body.dark-mode .merch-price {
            color: #d4c9b8;
        }

        /* Quiz Styles */
        .quiz-container {
            margin: 40px 0;
            padding: 30px;
            background-color: #fff;
            border-radius: 5px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            border: 1px solid #d4c9b8;
        }

        body.dark-mode .quiz-container {
            background-color: #2a2a2a;
            border-color: #444;
        }

        .quiz-question {
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 1px solid #d4c9b8;
        }

        body.dark-mode .quiz-question {
            border-bottom-color: #444;
        }

        .quiz-question h3 {
            color: #5a3921;
            margin-bottom: 15px;
        }

        body.dark-mode .quiz-question h3 {
            color: #d4c9b8;
        }

        .quiz-options {
            display: grid;
            grid-template-columns: 1fr;
            gap: 10px;
        }

        .quiz-option {
            display: flex;
            align-items: center;
            padding: 10px;
            background-color: #f8f3e8;
            border-radius: 3px;
            cursor: pointer;
            transition: all 0.3s;
            border: 1px solid #d4c9b8;
        }

        body.dark-mode .quiz-option {
            background-color: #333;
            border-color: #444;
        }

        .quiz-option:hover {
            background-color: #e8d8c0;
        }

        body.dark-mode .quiz-option:hover {
            background-color: #444;
        }

        .quiz-option input {
            margin-right: 10px;
        }

        .quiz-submit {
            margin-top: 20px;
            text-align: center;
        }

        .quiz-result {
            margin-top: 20px;
            padding: 15px;
            border-radius: 3px;
            text-align: center;
            font-weight: bold;
            display: none;
        }

        .quiz-success {
            background-color: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }

        body.dark-mode .quiz-success {
            background-color: #1e3a24;
            color: #a3d9b1;
            border-color: #2a4a30;
        }

        .quiz-failure {
            background-color: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }

        body.dark-mode .quiz-failure {
            background-color: #3a1e22;
            color: #e8a3ab;
            border-color: #4a2a30;
        }

        /* Footer */
        footer {
            background-color: #5a3921;
            color: #e8d8c0;
            text-align: center;
            padding: 30px 0;
            margin-top: 50px;
            border-top: 8px solid #8b7355;
            background-image: url('https://www.transparenttextures.com/patterns/old-wall.png');
        }

        body.dark-mode footer {
            background-color: #3a2414;
            border-top-color: #5a4a3a;
        }

        footer p {
            font-size: 1rem;
            letter-spacing: 1px;
        }

        /* Typography */
        h2 {
            color: #5a3921;
            font-size: 2rem;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 3px solid #d4c9b8;
            text-align: center;
            letter-spacing: 1px;
        }

        body.dark-mode h2 {
            color: #d4c9b8;
            border-bottom-color: #5a4a3a;
        }

        #modal-title {
            color: #5a3921;
            font-size: 2.2rem;
            margin-bottom: 15px;
            text-align: center;
        }

        body.dark-mode #modal-title {
            color: #d4c9b8;
        }

        #modal-description {
            color: #3a3226;
            font-size: 1.1rem;
            line-height: 1.6;
            margin-bottom: 25px;
        }

        body.dark-mode #modal-description {
            color: #b8b8b8;
        }

        #modal-details {
            background-color: #fff;
            padding: 20px;
            border-radius: 3px;
            margin-bottom: 25px;
            border: 1px solid #d4c9b8;
        }

        body.dark-mode #modal-details {
            background-color: #333;
            border-color: #444;
        }

        #modal-details p {
            margin-bottom: 10px;
            color: #3a3226;
        }

        body.dark-mode #modal-details p {
            color: #b8b8b8;
        }

        #modal-details strong {
            color: #5a3921;
        }

        body.dark-mode #modal-details strong {
            color: #d4c9b8;
        }

        /* Cart Styles */
        #cart-items {
            margin: 20px 0;
        }

        .cart-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
            border-bottom: 1px solid #d4c9b8;
        }

        body.dark-mode .cart-item {
            border-bottom-color: #444;
        }

        .cart-item-info {
            flex: 1;
        }

        .cart-item-name {
            font-weight: bold;
            color: #5a3921;
        }

        body.dark-mode .cart-item-name {
            color: #d4c9b8;
        }

        .cart-item-price {
            color: #6a5d4b;
            margin-left: 20px;
        }

        body.dark-mode .cart-item-price {
            color: #b8b8b8;
        }

        .cart-item-remove {
            color: #a52a2a;
            cursor: pointer;
            margin-left: 20px;
        }

        body.dark-mode .cart-item-remove {
            color: #ff6b6b;
        }

        #cart-total {
            text-align: right;
            font-size: 1.2rem;
            margin: 20px 0;
            padding-top: 10px;
            border-top: 2px solid #8b7355;
        }

        body.dark-mode #cart-total {
            border-top-color: #5a4a3a;
        }

        #checkout-btn {
            width: 100%;
            margin-top: 20px;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .museum-grid {
                grid-template-columns: 1fr;
            }

            .modal-content {
                width: 90%;
                margin: 10% auto;
                padding: 25px;
            }

            .modal-map {
                height: 250px;
            }

            nav ul {
                flex-direction: column;
                align-items: center;
            }

            nav ul li {
                margin: 5px 0;
            }

            header h1 {
                font-size: 2.2rem;
            }
            
            .user-greeting {
                position: static;
                text-align: center;
                margin: 10px 0;
                display: block;
            }
        }
    