/* Yafrah one-pager — same theme language as Saaim, art-focused */

.header_section {
    background-image: none;
    background: linear-gradient(135deg, #1a3a4a 0%, #252f2d 55%, #1a5276 100%);
}

.hero-row {
    padding-bottom: 40px;
}

.banner_taital_main.hero-copy {
    padding-left: 15px;
    padding-top: 70px;
}

.hero-lead {
    color: #fefefd;
    font-size: 16px;
    line-height: 1.7;
    margin: 18px 0 28px;
    max-width: 520px;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cta-btn {
    display: inline-block;
    background: #f5c729;
    color: #252f2d !important;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 5px;
    font-size: 14px;
}

.cta-btn:hover {
    background: #ffffff;
    color: #252f2d !important;
}

.cta-btn-outline {
    background: transparent;
    border: 2px solid #fefefd;
    color: #fefefd !important;
}

.cta-btn-outline:hover {
    background: #fefefd;
    color: #252f2d !important;
}

.hero-photo-wrap {
    display: flex;
    justify-content: center;
    padding: 20px 10px 0;
}

.hero-photo {
    width: min(380px, 90%);
    height: auto;
    max-height: 520px;
    border-radius: 18px;
    border: 6px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    object-fit: cover;
    object-position: center;
    background: #fff;
}

.banner_section {
    padding-bottom: 80px;
}

.section_intro {
    color: #666;
    font-size: 16px;
    max-width: 720px;
    margin: 10px 0 0;
}

.section_intro.dark {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
}

.about_section {
    width: 100%;
    float: left;
    padding: 70px 0 40px;
}

.about_content {
    margin-top: 40px;
    align-items: flex-start;
}

.about_photo {
    width: 100%;
    max-width: 380px;
    border-radius: 16px;
    border: 5px solid #f5c729;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    display: block;
    margin: 0 auto 30px;
    object-fit: cover;
    aspect-ratio: 3 / 4;
}

.about_heading {
    font-size: 22px;
    font-weight: 700;
    color: #292929;
    margin: 10px 0 12px;
    padding-bottom: 0;
}

.family_grid {
    display: grid;
    gap: 16px;
    margin-top: 10px;
}

.family_card {
    background: #fff;
    border-left: 5px solid #f5c729;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    padding: 16px 18px;
    border-radius: 6px;
}

.family_card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #252f2d;
    padding-bottom: 4px;
}

.family_card p {
    margin: 0;
    color: #555;
}

.price-highlight {
    color: #1a5276;
    font-size: 22px;
}

.events_section {
    width: 100%;
    float: left;
    background: #252f2d;
    padding: 80px 0;
}

.events_section .portfolio_taital_1 {
    color: #fefefd;
    border-bottom-color: #f5c729;
}

.events_section .section_intro {
    color: #d9d9d9;
}

.gallery_grid {
    margin-top: 36px;
}

.gallery_item {
    margin-bottom: 24px;
}

.gallery_card {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery_card:hover,
.gallery_card:focus {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
    outline: none;
}

.gallery_card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    background: #1a1a1a;
}

.gallery_card_overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-align: left;
}

.project_cards {
    margin-top: 20px;
}

.project_card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    height: 100%;
    margin-bottom: 24px;
    padding-bottom: 18px;
}

.project_visual {
    height: 160px;
    width: 100%;
}

.project_visual_bridal {
    background:
        radial-gradient(circle at 30% 40%, rgba(245, 199, 41, 0.35) 0 40px, transparent 41px),
        radial-gradient(circle at 70% 60%, rgba(26, 82, 118, 0.35) 0 50px, transparent 51px),
        linear-gradient(135deg, #3d2c29, #8b5a2b);
}

.project_visual_festive {
    background:
        radial-gradient(circle at 50% 50%, #f5c729 0 12px, transparent 13px),
        radial-gradient(circle at 25% 35%, rgba(255, 255, 255, 0.2) 0 8px, transparent 9px),
        linear-gradient(135deg, #6b2d5c, #c0392b);
}

.project_visual_custom {
    background:
        linear-gradient(45deg, transparent 48%, rgba(245, 199, 41, 0.4) 48% 52%, transparent 52%),
        linear-gradient(135deg, #1a5276, #252f2d);
}

.project_card h3 {
    font-size: 20px;
    font-weight: 700;
    padding: 18px 18px 6px;
    color: #252f2d;
}

.project_card p {
    margin: 0 18px 12px;
    color: #555;
}

.project_meta {
    display: inline-block;
    margin: 0 18px;
    font-size: 12px;
    font-weight: 700;
    color: #f5c729;
    background: #252f2d;
    padding: 5px 10px;
    border-radius: 4px;
}

.milestones_section {
    padding: 70px 0 90px;
}

.milestone_item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    padding: 22px 20px;
    margin-bottom: 20px;
    height: calc(100% - 20px);
    border-top: 4px solid #f5c729;
}

.milestone_item h4 {
    font-size: 17px;
    font-weight: 700;
    color: #252f2d;
    padding-bottom: 8px;
}

.milestone_item p {
    margin: 0;
    color: #555;
}

.copyright_text {
    text-align: center;
}

/* Artwork modal */
.art-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.art-modal.is-open {
    display: flex;
}

.art-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 20, 22, 0.78);
}

.art-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(980px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.art-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    z-index: 2;
    border: 0;
    background: #252f2d;
    color: #fefefd;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.art-modal-close:hover {
    background: #f5c729;
    color: #252f2d;
}

.art-modal-body {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 0;
    min-height: 420px;
}

.art-modal-media {
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.art-modal-media img {
    max-width: 100%;
    max-height: min(70vh, 640px);
    object-fit: contain;
    border-radius: 8px;
}

.art-modal-details {
    padding: 36px 28px 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.art-modal-details h2 {
    font-size: 26px;
    font-weight: 700;
    color: #252f2d;
    margin: 0 0 10px;
    padding: 0;
}

.art-modal-price {
    color: #1a5276;
    font-size: 16px;
    margin-bottom: 18px;
}

.art-modal-note {
    background: #f7f7f7;
    border-left: 5px solid #f5c729;
    padding: 16px 18px;
    border-radius: 6px;
    margin-bottom: 22px;
}

.art-modal-note p {
    margin: 0 0 8px;
    color: #444;
    line-height: 1.6;
}

.art-modal-note p:last-child {
    margin-bottom: 0;
}

.art-modal-cta {
    align-self: flex-start;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 991px) {
    .banner_taital {
        font-size: 42px;
        line-height: 50px;
    }

    .art-modal-body {
        grid-template-columns: 1fr;
    }

    .art-modal-details {
        justify-content: flex-start;
        padding-top: 20px;
    }
}

@media (max-width: 767px) {
    .banner_taital_main.hero-copy {
        padding-top: 20px;
        text-align: center;
    }

    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .banner_section {
        padding-bottom: 40px;
    }

    .gallery_card img {
        height: 220px;
    }
}
