* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: #f7e6d0; /* Warm background */
    display: flex;
    justify-content: center;
    padding: 20px;
    color: #4a3b32;
}

.poster-container {
    background-color: #fffaf0;
    width: 100%;
    max-width: 800px;
    padding: 25px; /* Reduced from 40px to save space */
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 8px solid #e28743;
    background-image: radial-gradient(#e28743 1px, transparent 1px);
    background-size: 20px 20px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Background overlay to make text readable */
.poster-container::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 250, 240, 0.92);
    z-index: 0;
}

.poster-container > * {
    position: relative;
    z-index: 1;
}

/* Typography & Titles */
.top-badge {
    display: inline-block;
    background-color: #ffd166;
    color: #d1495b;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 1.1rem;
    transform: rotate(-2deg);
    margin-bottom: 20px;
    box-shadow: 2px 4px 0 rgba(0,0,0,0.1);
}

.main-title {
    font-family: 'Balsamiq Sans', cursive;
    color: #d1495b;
    font-size: 4rem;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 3px 3px 0 #ffd166;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.sub-title {
    font-family: 'Balsamiq Sans', cursive;
    background-color: #e28743;
    color: white;
    display: inline-block;
    padding: 8px 30px;
    border-radius: 25px;
    font-size: 1.8rem;
    margin-bottom: 25px;
    transform: rotate(1deg);
    box-shadow: 2px 4px 0 rgba(0,0,0,0.1);
}

/* Main Photo */
.main-photo-container {
    position: relative;
    width: 480px; /* Widened slightly to give tools room */
    margin: 0 auto 20px;
}

.main-photo-wrapper {
    margin: 0 auto;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    padding: 12px;
    background-color: #e28743;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.main-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 6px dashed #fffaf0; /* Stitched look */
}

/* Floating Tools */
.floating-tool {
    position: absolute;
    font-size: 3.5rem;
    z-index: 2;
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.2));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(var(--rot)); }
    50% { transform: translateY(-10px) rotate(calc(var(--rot) + 5deg)); }
}

.tool-hammer { top: 10px; left: -10px; --rot: -20deg; }
.tool-yarn { top: -20px; right: 0px; --rot: 15deg; animation-delay: 0.5s; font-size: 4.5rem;}
.tool-thread { bottom: 20px; left: -10px; --rot: -45deg; animation-delay: 1s; }
.tool-knot { bottom: -5px; right: 10px; --rot: 30deg; animation-delay: 1.5s; }
.tool-glue { top: 150px; left: -40px; --rot: -10deg; animation-delay: 0.2s; font-size: 2.8rem; }

.tool-bead {
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 3px solid white;
}
.bead-1 { top: 50px; right: -25px; background-color: #d1495b; animation-delay: 0.3s; }
.bead-2 { bottom: 100px; left: -30px; background-color: #ffd166; animation-delay: 0.7s; }
.bead-3 { top: 200px; right: -35px; background-color: #4a3b32; animation-delay: 1.2s; }
.bead-4 { bottom: 60px; right: -25px; background-color: #e28743; animation-delay: 0.9s; }


/* Products Gallery */
.products-section {
    background: rgba(255, 209, 102, 0.3);
    padding: 15px;
    border-radius: 20px;
    margin-bottom: 25px;
}

.products-title {
    font-family: 'Balsamiq Sans', cursive;
    font-size: 2rem;
    color: #6a4c41;
    margin-bottom: 15px;
}

.gallery {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.gallery-item {
    width: 130px;
    height: 130px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background-color: white;
    border: 4px solid white;
    transform: rotate(calc(-3deg + (var(--r, 0) * 6deg)));
    transition: transform 0.3s ease;
}

.gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item:nth-child(even) { --r: 1; }
.gallery-item:hover { transform: scale(1.1) rotate(0deg); z-index: 2; position: relative;}

/* Event Details */
.event-details {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 30px;
}

.detail-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 10px;
    color: #d1495b;
}

.highlight {
    color: #e28743;
}

.sub-row {
    font-size: 1.4rem;
    color: #4a3b32;
    align-items: center;
}

.fb-icon {
    width: 24px;
    vertical-align: middle;
    margin-right: 5px;
}

/* Reservation Box */
.reservation-box {
    background-color: white;
    border: 4px dashed #d1495b;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: inset 0 0 0 10px rgba(255, 209, 102, 0.2);
}

.reservation-box h4 {
    color: #d1495b;
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-weight: 900;
}

.reservation-box p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Registration Form */
.reg-form {
    text-align: left;
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 800;
    margin-bottom: 5px;
    color: #4a3b32;
    font-size: 1.2rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e28743;
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
}

.shape-selector {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.shape-option {
    flex: 1;
    text-align: center;
}

.shape-visual {
    background-color: rgba(255, 209, 102, 0.3);
    border: 3px solid transparent;
    padding: 15px 5px;
    border-radius: 15px;
    font-weight: bold;
}

.qty-control {
    margin-top: 10px;
    background: white;
    padding: 5px;
    border-radius: 8px;
    border: 2px solid #e28743;
}

.basket-qty {
    width: 40px;
    text-align: center;
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
    color: #d1495b;
}

.basket-qty:focus {
    outline: none;
}

.shape-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background-color: white; /* in case images are transparent or just for a nice border */
}

.submit-btn {
    width: 100%;
    background-color: #d1495b;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Balsamiq Sans', cursive;
    cursor: pointer;
    box-shadow: 0 4px 0 #9e3240;
    transition: transform 0.1s, box-shadow 0.1s;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #9e3240;
}

.gdpr-note {
    font-size: 0.95rem;
    color: #6a4c41;
    text-align: center;
    margin-top: 15px;
    opacity: 0.8;
}

/* Footer */
footer {
    font-size: 1.3rem;
    font-weight: bold;
    color: #4a3b32;
    padding-top: 15px;
    border-top: 2px solid rgba(226, 135, 67, 0.3);
}

.payment {
    color: #e28743;
    font-size: 1.5rem;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 600px) {
    .poster-container {
        padding: 15px;
        border-width: 4px;
    }

    .main-title { font-size: 2.8rem; }
    .sub-title { font-size: 1.4rem; }
    
    .main-photo-container {
        width: 100%;
        max-width: 280px;
        margin: 0 auto 20px;
    }

    .main-photo-wrapper { 
        width: 100%; 
        height: auto; 
        aspect-ratio: 1 / 1; 
        padding: 8px;
    }

    /* Adjust floating tools for mobile so they don't cause overflow */
    .floating-tool { font-size: 2rem; }
    .tool-hammer { top: -5px; left: -5px; }
    .tool-yarn { top: -10px; right: -5px; font-size: 2.5rem; }
    .tool-thread { bottom: 10px; left: -5px; }
    .tool-knot { bottom: -5px; right: 0px; }
    .tool-glue { top: 80px; left: -15px; font-size: 1.8rem; }
    .tool-bead { width: 15px; height: 15px; border-width: 2px; }

    .gallery-item {
        width: calc(50% - 10px);
        height: auto;
        aspect-ratio: 1 / 1;
    }
    
    .shape-selector {
        flex-direction: column;
    }
    
    .shape-option {
        margin-bottom: 10px;
    }

    .detail-row { flex-direction: column; gap: 10px; }
}
