/* MyMcDonalds Clean Page Template */

.main-mymcdonalds-final {
    padding-top: 100px;
    background-color: #ffffff;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Page Title Section */
.page-title-section {
    padding: 40px 0;
    background-color: #ffffff;
    text-align: center;
}

.page-main-title {
    font-size: 5vw;
    font-weight: 700;
    color: #333333;
    margin: 0;
    font-family: "SpeedeeBold", Arial, sans-serif;
}

.preuzmi-app {
    font-size:1.2rem;
    font-weight: bold;
}

/* Section 1: Intro Hero */
.hero-section {
        padding: 100px 0px 40px 0px;
    background-color: #ffffff;
}

.hero-wrapper {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.hero-image {
    flex: 0 0 50%;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    margin:auto;
    height: auto;
    display: block;
}

.hero-content {
    flex: 0 0 50%;
    width:100%;
}


.hero-copy h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-copy p {
    font-size: 2rem;
    color: inherit;
    margin-bottom: 1rem;
    max-width: 500px;;
}


.app-badges {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.badge-link {
    display: block;
}

.badge-link img {
    height: auto;
    width: auto;
    display: block;
    max-width: 150px;
}


/* Section 2: Mobile Ordering Banner */
.mobile-ordering-banner {
    padding: 40px 0;
    background-color: transparent;
}

.mobile-ordering-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Section 3: Rewards */
.rewards-section {
    padding: 40px 0;
    margin-top:40px;
    background-color: #ffffff;
    text-align: center;
    position: relative;
}



.center-illustration img {
    height: auto;
    max-width: 150px;
    width: auto;
    display: block;
    margin: 0 auto;
    margin-bottom: 50px;
}

.titles-intro {
    margin-bottom: 2rem;
    display:inline-flex;
}

.intro-line {
    display: inline;
    font-size: 4vw;
    font-weight: 700;
    margin: 0 0.5rem;
    line-height: 1.2;
    color: #333333;
}

#intro-h3-2 {
    background-color: #f3ec78;
    background-image: linear-gradient(90deg, rgba(154, 39, 104, 1) 0%, rgba(230, 7, 25, 1) 35%, rgba(235, 88, 19, 1) 100%);
    background-size: 110%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.subcopy {
    font-size: 1.5rem;
    line-height: 1.6rem;
    color: #333;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.rewards-cta {
    margin-top: 2rem;
    font-family: SpeedeeBold;
    background: linear-gradient(90deg, rgba(154, 39, 104, 1) 0%, rgba(230, 7, 25, 1) 35%, rgba(235, 88, 19, 1) 100%);
    border: none;
    color: white;
    padding: 20px 40px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 28px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 8px;
    margin-bottom: 60px;
}

.btn-rewards {
    font-family: SpeedeeBold !important;
    background: linear-gradient(90deg, rgba(154, 39, 104, 1) 0%, rgba(230, 7, 25, 1) 35%, rgba(235, 88, 19, 1) 100%) !important;
    border: none !important;
    color: white !important;
    padding: 10px 20px !important;
    text-align: center !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-size: 24px !important;
    margin: 4px 2px !important;
    cursor: pointer !important;
    border-radius: 8px !important;
}

.btn-rewards:hover {
    background: linear-gradient(90deg, rgba(154, 39, 104, 0.9) 0%, rgba(230, 7, 25, 0.9) 35%, rgba(235, 88, 19, 0.9) 100%) !important;
}

.coin-left,
.coin-right {
    position: absolute;
    display: block;
    z-index: 0;
}

.coin-left img,
.coin-right img {
    width: 100%;
    height: auto;
}

/* Mobile */
.coin-left {
    left: -20px;
    top: 100px;
}
.coin-right {
    right: -20px;
    top: 100px;
}
.coin-left img, .coin-right img {
    max-width: 80px;
}

/* Tablet */
@media (min-width: 768px) {
    .coin-left {
        left: 0;
        top: 50px;
    }
    .coin-right {
        right: 0;
        top: 50px;
    }
    .coin-left img, .coin-right img {
        max-width: 150px;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .coin-left {
        left: 10px;
        top: 0;
    }
    
    .coin-right {
        right: 10px;
        top: 0;
    }
    
    .coin-left img,
    .coin-right img {
        max-width: 220px;
    }
}

/* Section 4: Exclusive Offers */
.exclusive-offers-section {
    padding: 40px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

.offers-wrapper {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.offers-content {
    flex: 0 0 45%;
}

.offers-title {
    font-size: 3.5vw;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 3vw;
    color: black;
}

.offers-body {
    font-size: 2.5rem;
    line-height: 1.3;
    font-weight: 700;
    color: black;
    padding-top: 20px;
}

.offers-graphic {
    flex: 0 0 55%;
    text-align: center;
}

.offers-graphic img {
    width: 100%;
    max-width: 550px;
    height: auto;
}

/* Section 5: App Download */
.app-download-section {
    padding: 8vh 0;
    background-color: #ffffff;
}

.app-download-section .intro-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-top:30px;
}

.app-download-section .end-box-column-1 {
    width: 35%;
    text-align: left;
}

.app-download-section .end-box-column-2 {
    width: 25%;
    text-align: center;
}


.app-download-section .end-box-image {
    max-width: 100%;
    height: auto;
    margin:auto;
}

.app-download-section #end-h3-1 {
    font-family: "SpeedeeBold", Arial, sans-serif;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.app-download-section #end-h3-2 {
    font-family: "SpeedeeRegular", Arial, sans-serif;
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.app-download-section .play-store-btn,
.app-download-section .app-store-btn {
    display: inline-block;
    border: none;
    background-color: transparent;
    cursor: pointer;
    padding: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 150px;
    height: 50px;
}

.app-download-section .play-store-btn {
    background-image: url("/wp-content/uploads/2021/10/play-store-big.png");
    margin-right: 10px;
}

.app-download-section .app-store-btn {
    background-image: url("/wp-content/uploads/2021/10/app-store-big.png");
}

.app-download-section .title-p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.app-download-section .title-p:before {
    content: "";
    display: inline-block;
    width: 50px;
    height: 50px;
    min-width: 20px;
    background-image: url('/wp-content/uploads/2023/06/circle.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 15px;
}

.app-download-section .title-p h3 {
    font-family: "SpeedeeBold", Arial, sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    margin: 0;
}

.app-download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: start;
    width: 100%;
    align-items: center;
    flex-wrap: nowrap;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-wrapper,
    .offers-wrapper,
    .app-download-section .intro-row {
        gap: 2rem;
    }
    
    .offers-title {
        font-size: 2.4rem;
    }
    
    .app-download-section #end-h3-1 {
        font-size: 2rem;
    }
    
    .intro-line {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .main-mymcdonalds-final {
        padding-top: 30px;
    }
    .app-download-buttons {
        justify-content: center;
    }

    .app-download-section .title-p:before {
        width:30px;
        height:30px;
    }

    .app-download-section .title-p h3 {
        font-size:1.2rem;
    }
    
    .hero-section,
    .rewards-section,
    .exclusive-offers-section,
    .app-download-section {
        padding: 30px 0;
    }
    
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-image {
        flex: none;
        order: 1;
    }
    
    .hero-content {
        flex: none;
        order: 2;
    }
    
    .app-badges,
    .download-badges {
        justify-content: center;
    }
    
    .offers-wrapper,
    .app-download-section .intro-row {
        flex-direction: column;
        text-align: center;
    }
    
    .offers-graphic {
        order: 1;
    }
    
    .offers-content {
        order: 2;
        flex: none;
    }
    
    .app-download-section .end-box-column-1,
    .app-download-section .columns-2-3-wrapper {
        display: flex;
        width: 100%;
        align-items: center;
        gap: 1rem;
    }

    .app-download-section .end-box-column-3 {
        width: 100%;
        text-align: left;
        margin-bottom: 2rem;
    }
    
    .app-download-section .end-box-column-2 {
        text-align: center;
        width:50%;
    }

    .app-download-section .end-box-column-1 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .app-download-section .end-box-column-1 #end-h3-1,
    .app-download-section .end-box-column-1 #end-h3-2 {
        width: 100%;
        font-size: 1.8rem !important;
    }
    
    .app-download-section .end-box-column-1 #end-h3-2 {
        font-size: 1.1rem !important;
    }

    .rewards-section {
        margin-top:20px;
    }

    .app-download-section .end-box-column-1 .play-store-btn,
    .app-download-section .end-box-column-1 .app-store-btn {
        width: 120px;
        height: 45px;
        margin: 0 5px;
    }

    .app-download-section .end-box-column-1 {
        text-align: center;;
    }

    .badge-link img {
        max-width: 120px;
    }

    .hero-copy p {
        font-size: 1.5rem;;
    }

    .hero-image img {
        max-width: 300px;
    }

    .preuzmi-app {
        font-size:0.85rem;
    }

    .app-download-section .play-store-btn,
.app-download-section .app-store-btn  {
    width:120px;
}


    .offers-graphic img {
    max-width: 200px;;
    }

    .app-download-section .end-box-column-3 .title-p {
        justify-content: start;
        font-size: 1.2rem;
    }

    .offers-body {
       font-size: 1.3rem;
    }
    
    .hero-copy h1 {
        font-size: 2rem;
    }
    
    .offers-title {
        font-size: 2rem;
    }

    .hero-wrapper {
        gap: 10px;
    }
    
    .download-subtitle {
        font-size: 1.8rem;
    }
    
    .intro-line {
        font-size: 2rem;
        display: block;
        margin: 0.5rem 0;
    }
    
    .page-main-title {
        font-size: 2.2rem;
        padding-top:20px;
    }
}

