/* ============================= */
/* GLOBAL */
/* ============================= */

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #f4f1ec;
    color: #222;
}

/* Prevent page scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* ============================= */
/* HEADER */
/* ============================= */

header {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(to right, #111, #2b2b2b);
    color: white;
    position: relative;
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.summary {
    max-width: 990px;
    margin: 0 auto;
}

/* ============================= */
/* LANGUAGE SWITCH */
/* ============================= */

.lang-switch {
    position: absolute;
    top: 20px;
    right: 20px;
}

.lang-switch a {
    color: white;
    margin-left: 12px;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.85;
    transition: 0.3s;
}

.lang-switch a:hover {
    opacity: 1;
}

/* ============================= */
/* GALLERY */
/* ============================= */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 60px 60px 80px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 15px;
}

.card button {
    padding: 12px 22px;
    border: none;
    background: #111;
    color: white;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.3s;
}

.card button:hover {
    background: #333;
}

.card h3 {
    margin-top: 5px;
    margin-bottom: 15px;
    font-size: 22px;
}

.card p {
    margin: 0 0 15px 0;
    padding: 0;
    font-size: 18px;
}

.card button {
    margin-top: 10px;
}

/* ============================= */
/* MODAL */
/* ============================= */

/* ============================= */
/* MODAL */
/* ============================= */

.modal {
    display: none;               /* Hidden by default */
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    overflow-y: auto;
    z-index: 999;
    padding: 60px 20px;          /* space top & bottom */
}

/* When modal is active */
.modal.active {
    display: flex;
    justify-content: center;
    align-items: flex-start;     /* important for long content */
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 700px;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.25);
    animation: fadeIn 0.3s ease;
}

.modal-content h2 {
    margin-top: 0;
}

/* Smooth entrance */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    margin-bottom: 30px;
}

/* ============================= */
/* FORM */
/* ============================= */

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

label {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
    color: #555;
}

input,
textarea {
    width: 100%;
    padding: 15px 16px;
    border-radius: 14px;
    border: 1px solid #ddd;
    font-size: 15px;
    background: #fafafa;
    transition: 0.3s ease;
    box-sizing: border-box;
}

input:focus,
textarea:focus {
    border-color: #000;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0,0,0,0.04);
}

input[readonly] {
    background: #f0f0f0;
    font-weight: 500;
    color: #333;
}

textarea {
    resize: none;
}

/* ============================= */
/* PAYMENT SECTION */
/* ============================= */

.payment-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.payment-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 15px;
}

.revolut-qr {
    width: 180px;
    border-radius: 14px;
    margin: 15px 0;
    box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}

/* ============================= */
/* BUTTONS */
/* ============================= */

.button-group {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.btn {
    padding: 14px 26px;
    border: none;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
    font-size: 16px;
}

.btn-primary {
    background: #111;
    color: white;
}

.btn-primary:hover {
    background: #333;
}

.btn-secondary {
    background: #e0e0e0;
}

.btn-secondary:hover {
    background: #cfcfcf;
}

.s-row {
    margin-top: 20px;
}

.sold {
    width: 50px;
    height: 50px;
    background-color: #ff0000;
    border-radius: 50%;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 768px) {

    .modal-content {
        padding: 35px 25px;
        border-radius: 18px;
    }

    .gallery {
        padding: 40px 20px;
    }

    header h1 {
        font-size: 28px;
    }

    .card h3 {
        font-size: 20px;
    }
}