/**
 * Elegant Zaprati nas gold - Styles
 * Version: 1.0.0
 * Author: Darko Ivanec - Digitalni Svemir
 */

/* === WRAPPER === */
.elegant-zaprati-nas-gold-wrapper {
    width: 100%;
    padding-left: 23px;
    padding-right: 23px;
    box-sizing: border-box;
    height: 100%;
}

/* === MAIN BOX === */
.elegant-zaprati-nas-gold-box {
    width: 100%;
    max-width: 355px;
    height: 268px;
    background: #D7B875;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    box-sizing: border-box;
    position: relative;
}

/* Mobile only - keep max-width */
@media (max-width: 767px) {
    .elegant-zaprati-nas-gold-box {
        max-width: 355px;
        margin: 0 auto;
    }
}

/* === DECORATIVE FLOURISH === */
.elegant-zaprati-flourish {
    position: absolute;
    top: -27px;
    left: 50%;
    transform: translateX(-50%);
}

.elegant-zaprati-flourish svg {
    display: block;
    width: 44px;
    height: 55px;
}

/* === HEADING: "Zaprati nas" === */
.elegant-zaprati-heading {
    color: #000 !important;
    text-align: center !important;
    font-family: "EB Garamond", serif !important;
    font-size: 35px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 23px !important;
    letter-spacing: -0.35px !important;
    text-decoration-line: underline !important;
    text-decoration-style: solid !important;
    text-decoration-skip-ink: auto !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: auto !important;
    text-underline-position: from-font !important;
    text-transform: none !important;
    margin: 0 0 30px 0 !important;
    padding-top: 25px !important;
}

/* === SUBHEADING: "Posjeti nas..." === */
.elegant-zaprati-subheading {
    width: 310px !important;
    color: #000 !important;
    text-align: center !important;
    font-family: "EB Garamond", serif !important;
    font-size: 25px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 25px !important;
    letter-spacing: -0.25px !important;
    margin: 0 0 -10px 0 !important;
}

/* === SOCIAL ICONS CONTAINER === */
.elegant-zaprati-social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    margin-bottom: 20px;
}

/* === SOCIAL ICON LINK === */
.elegant-social-icon-link {
    display: block;
    width: 45px;
    height: 45px;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.elegant-social-icon-link:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

/* === SOCIAL ICON IMAGE === */
.elegant-social-icon {
    width: 45px;
    height: 45px;
    aspect-ratio: 1/1;
    display: block;
    object-fit: contain;
}

/* SVG icons - if they need fill color */
.elegant-social-icon svg {
    fill: #000;
}

/* === RESPONSIVE === */

/* Tablet and Desktop - Two column layout with fixed height (match Igra Darivanja) */
@media (min-width: 768px) {
    /* Override WP Bakery global margin-bottom on wrapper */
    .wpb_wrapper > .elegant-zaprati-nas-gold-wrapper {
        margin-bottom: 0 !important;
    }

    .elegant-zaprati-nas-gold-wrapper {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .elegant-zaprati-nas-gold-box {
        max-width: none !important;
        width: 100% !important;
        height: 550px !important;
        min-height: 550px !important;
        margin: 0 !important;
    }
}

/* Desktop specific styles (1000px+) */
@media (min-width: 1000px) {
    /* Heading - Desktop larger size */
    .elegant-zaprati-heading {
        font-size: 50px !important;
        line-height: 50px !important;
        letter-spacing: -0.5px !important;
        white-space: nowrap !important;
    }

    /* Subheading - Desktop larger size */
    .elegant-zaprati-subheading {
        width: auto !important;
        max-width: none !important;
        font-size: 30px !important;
        line-height: 30px !important;
        letter-spacing: -0.3px !important;
        white-space: nowrap !important;
        margin-top: 40px !important;
        margin-bottom: 50px !important;
    }

    /* Social icons - Desktop size */
    .elegant-social-icon-link,
    .elegant-social-icon {
        width: 45px !important;
        height: 45px !important;
        aspect-ratio: 1/1 !important;
    }

    .elegant-zaprati-social-icons {
        gap: 30px !important;
    }
}

@media (max-width: 400px) {
    .elegant-zaprati-nas-gold-box {
        max-width: 100%;
        height: auto;
        min-height: 268px;
        padding: 35px 15px 25px;
    }

    .elegant-zaprati-heading {
        font-size: 30px;
        line-height: 30px;
    }

    .elegant-zaprati-subheading {
        width: 310px !important;
        font-size: 25px !important;
        line-height: 25px !important;
    }

    .elegant-zaprati-social-icons {
        gap: 26px;
    }

    .elegant-social-icon-link,
    .elegant-social-icon {
        width: 45px;
        height: 45px;
    }
}
