 body {
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     margin: 0;
     padding: 0;
     background: linear-gradient(to bottom, #f0f4f8, #ffffff);
     color: #333;
 }

 header {
     background: linear-gradient(135deg, #003366, #0055aa);
     color: white;
     padding: 40px 10px;
     text-align: center;
     border-bottom-left-radius: 40px;
     border-bottom-right-radius: 40px;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
 }

 header h1 {
     margin: 0;
     font-size: 2.5rem;
 }

 .gallery {
     display: flex;
     justify-content: center;
     gap: 20px;
     margin: 30px auto;
     padding: 10px;
     max-width: 800px;
     flex-wrap: wrap;
 }

 .gallery img {
     width: 220px;
     height: 150px;
     object-fit: cover;
     border-radius: 15px;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
     transition: transform 0.3s, box-shadow 0.3s;
     cursor: pointer;
 }

 .gallery img:hover {
     transform: scale(1.05);
     box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
 }

 .product-info {
     text-align: center;
     padding: 20px;
 }

 .product-info h2 {
     color: #003366;
     font-size: 1.8rem;
     margin-bottom: 15px;
 }

 .product-info ul {
     list-style: none;
     padding: 0;
     margin: 0 auto 20px;
     max-width: 400px;
     text-align: left;
 }

 .product-info li {
     background: #e8f0fe;
     margin: 8px 0;
     padding: 10px 15px;
     border-radius: 8px;
     font-size: 1rem;
 }

 .buy-btn {
     background: #ff6600;
     color: white;
     border: none;
     padding: 12px 25px;
     border-radius: 25px;
     font-size: 1rem;
     cursor: pointer;
     transition: background 0.3s, transform 0.2s;
 }

 .buy-btn:hover {
     background: #cc5200;
     transform: scale(1.05);
 }

 .back-link {
     display: inline-block;
     margin-top: 20px;
     color: #003366;
     text-decoration: none;
     font-weight: bold;
     transition: color 0.3s;
 }

 .back-link:hover {
     color: #0055aa;
 }

 footer {
     background: #003366;
     color: white;
     padding: 20px;
     text-align: center;
     margin-top: 40px;
 }

 footer a {
     color: #ffcc00;
     margin: 0 10px;
     text-decoration: none;
     font-weight: bold;
 }

 footer a:hover {
     text-decoration: underline;
 }

 /* Modal for large image */
 .modal {
     display: none;
     position: fixed;
     z-index: 1000;
     left: 0;
     top: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.8);
     justify-content: center;
     align-items: center;
 }

 .modal img {
     max-width: 90%;
     max-height: 80%;
     border-radius: 10px;
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
     transition: transform 0.3s ease;
 }

 .modal img:hover {
     transform: scale(1.02);
 }