* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f7f7f5;
    color: #222;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    text-align: center;
    padding: 60px 20px 40px;
    background: transparent;

}

header h1 {
    font-size: 2.8em;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    letter-spacing: 1px;
    color: #111;
    margin-bottom: 12px;
}

header p {
    font-size: 1.2em;
    color: #222;
}

.gallery {
    column-count: 4;
    column-gap: 30px;
    padding: 40px;
    max-width: 1600px;
    margin: 0 auto;
}

@media (max-width:1200px){ .gallery{ column-count:3; } }
@media (max-width:800px){ .gallery{ column-count:2; } }
@media (max-width:500px){ .gallery{ column-count:1; } }

.gallery-item {
    break-inside: avoid;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    background: #fff;
    padding: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    margin-top: 14px;
    font-weight: 500;
    font-size: 0.95em;
    color: #444;
    letter-spacing: 0.3px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 50px rgba(0,0,0,0.08);
}

.gallery-item p {
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
    font-size: 1em;
    color: #000;
}

.preview {
    background: #f2f2f2;
    position: relative;
    width: 100%;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);

}

.preview iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    transform-origin: top left;
}

footer {
    margin-top: auto;
    text-align: center;
    padding: 40px 20px;
    background: transparent;
    color: #999;
    font-size: 0.9em;
}

