﻿/* =========================================================
   GENERAL
========================================================= */

* {
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

html,
body {
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    background: #fff;

    padding: 0;

    overflow-x: hidden;
}


/* =========================================================
   MAIN PHONE CONTAINER
========================================================= */

.phone {
    width: 100%;
    max-width: 420px;

    min-height: 100vh;

    background: #fff;

    border-radius: 0;

    padding: 18px;

    box-shadow: none;

    position: relative;

    overflow: visible;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    width: 100%;

    display: flex;

    justify-content: space-between;
    align-items: center;

    margin-bottom: 15px;

    position: relative;

    z-index: 100;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    display: flex;

    align-items: center;

    max-width: calc(100% - 50px);
}

.logo img {
    height: 40px;

    width: auto;

    max-width: 100%;

    display: block;
}


/* =========================================================
   HAMBURGER
========================================================= */

.hamburger {
    position: relative;

    width: 40px;
    min-width: 40px;

    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #c96b3c;

    cursor: pointer;

    z-index: 1000;

    user-select: none;
}


/* =========================================================
   MENU ICON
========================================================= */

.menu-icon {
    display: block;

    width: 40px;

    height: 40px;

    font-size: 28px;

    line-height: 40px;

    text-align: center;

    color: #c96b3c;

    cursor: pointer;

    user-select: none;

    position: relative;

    z-index: 1001;
}


/* =========================================================
   DROPDOWN
========================================================= */

.dropdown {
    position: absolute;

    top: 45px;

    right: 0;

    width: 170px;

    max-width: calc(100vw - 30px);

    background: #fff;

    border-radius: 12px;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.2);

    display: none;

    flex-direction: column;

    overflow: hidden;

    z-index: 9999;
}


/* Show Dropdown */

.dropdown.show {
    display: flex;
}


/* =========================================================
   DROPDOWN LINKS
========================================================= */

.dropdown a {
    display: block;

    width: 100%;

    padding: 12px 15px;

    text-decoration: none;

    color: #333;

    font-size: 15px;

    text-align: right;

    cursor: pointer;

    transition: background 0.2s ease;
}


/* Hover */

.dropdown a:hover {
    background: #f2f2f2;
}


/* =========================================================
   MAIN IMAGE
========================================================= */

.image-box {
    position: relative;

    width: 100%;

    border-radius: 16px;

    overflow: hidden;

    margin-bottom: 25px;
}

.image-box img {
    display: block;

    width: 100%;

    max-width: 100%;

    height: auto;

    object-fit: cover;
}


/* =========================================================
   BOOKING WRAPPER
========================================================= */

.book-wrapper {
    position: relative;

    width: 130px;

    height: 130px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: center;
}


/* =========================================================
   RING
========================================================= */

.ring {
    position: absolute;

    inset: 0;

    width: 130px;

    height: 130px;

    border-radius: 50%;

    border: 6px solid #ff5e57;

    animation: pulse 1.5s infinite;
}


/* =========================================================
   PULSE ANIMATION
========================================================= */

@keyframes pulse {

    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}


/* =========================================================
   BOOKING BUTTON
========================================================= */

.book-btn {
    width: 100px;

    height: 100px;

    border-radius: 50%;

    background: #111;

    color: #fff;

    border: none;

    font-size: 16px;

    font-weight: bold;

    cursor: pointer;

    position: relative;

    z-index: 2;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


/* Hover */

.book-btn:hover {
    transform: scale(1.1);

    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.35);
}


/* Click */

.book-btn:active {
    transform: scale(0.97);
}


/* =========================================================
   MOBILE
========================================================= */

@media screen and (max-width: 767px) {

    body {
        width: 100%;

        padding: 0;

        margin: 0;

        background: #fff;
    }

    .phone {
        width: 100%;

        max-width: 100%;

        min-height: 100vh;

        padding: 16px;

        margin: 0;

        border-radius: 0;

        box-shadow: none;
    }

    .logo img {
        width: auto;

        max-width: 150px;

        height: auto;

        max-height: 40px;
    }

    .image-box {
        width: 100%;

        margin-left: 0;

        margin-right: 0;
    }

    .image-box img {
        width: 100%;

        max-width: 100%;

        height: auto;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media screen and (max-width: 480px) {

    body {
        padding: 0;

        margin: 0;

        background: #fff;
    }

    .phone {
        width: 100%;

        max-width: 100%;

        min-height: 100vh;

        padding: 14px;

        margin: 0;

        border-radius: 0;

        box-shadow: none;
    }

    .navbar {
        width: 100%;

        margin-bottom: 12px;
    }

    .logo {
        max-width: calc(100% - 45px);
    }

    .logo img {
        max-width: 135px;

        max-height: 38px;
    }

    .dropdown {
        width: 155px;

        max-width: calc(100vw - 25px);
    }

    .book-wrapper {
        width: 120px;

        height: 120px;
    }

    .ring {
        width: 120px;

        height: 120px;
    }

    .book-btn {
        width: 92px;

        height: 92px;

        font-size: 15px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media screen and (max-width: 360px) {

    body {
        padding: 0;

        margin: 0;

        background: #fff;
    }

    .phone {
        width: 100%;

        max-width: 100%;

        min-height: 100vh;

        padding: 12px;

        border-radius: 0;

        box-shadow: none;
    }

    .logo img {
        max-width: 120px;

        max-height: 35px;
    }

    .menu-icon {
        width: 35px;

        height: 35px;

        font-size: 25px;

        line-height: 35px;
    }

    .hamburger {
        width: 35px;

        min-width: 35px;

        height: 35px;
    }

    .dropdown {
        width: 145px;
    }

    .book-wrapper {
        width: 110px;

        height: 110px;
    }

    .ring {
        width: 110px;

        height: 110px;
    }

    .book-btn {
        width: 84px;

        height: 84px;

        font-size: 14px;
    }
}


/* =========================================================
   TABLET / DESKTOP
========================================================= */

@media screen and (min-width: 768px) {

    body {
        background: #8faeb0;

        padding: 15px;
    }

    .phone {
        width: 100%;

        max-width: 420px;

        min-height: 700px;

        border-radius: 20px;

        padding: 18px;

        box-shadow:
            0 15px 30px rgba(0, 0, 0, 0.25);
    }
}

