@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Nunito", sans-serif;
}

:root {

    /* Colors */
    --white-color: #fff;
    --dark-color: #252525;
    --primary-color: #000005;
    --secondary-color: #FDDA0D;
    --light-pink-color: #fbf8eb;
    --medium-gray-color: #cccccc;

    /* Font Size */
    --font-size-s : 0.9rem;
    --font-size-n : 1rem;
    --font-size-m : 1.12rem;
    --font-size-l : 1.5rem;
    --font-size-xl : 2rem;
    --font-size-xxl : 2.3rem;

    /* Font Weight */
    --font-weight-normal : 400;
    --font-weight-medium : 500;
    --font-weight-semibold : 600;
    --font-weight-bold : 700;

    /* Border radius */
    --border-radius-s : 8px;
    --border-radius-m : 30px;
    --border-radius-circle : 50%;

    /* Site max width */
    --site-max-width: 1300px;

}

html {
    scroll-behavior: smooth;
}

/* Styling for whole site */

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

img {
    width: 100%;
}

img {
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.section-content {
    margin: 0 auto;
    padding: 0 20px;
    max-width: var(--site-max-width);
}

.section-title {
    text-align: center;
    padding: 60px 0 100px;
    text-transform: uppercase;
    font-size: var(--font-size-xl);
}

.section-title::after {
    content: "";
    width: 80px;
    height: 5px;
    display: block;
    margin: 10px auto 0;
    border-radius: var(--border-radius-s);
    background: var(--secondary-color);
}

/* Navbar Styling */

header {
    position: fixed;
    width: 100%;
    z-index: 5;
    background: var(--primary-color);
}

header .navbar {
    display: flex;
    padding: 20px;
    align-items: center;
    justify-content: space-between;
}

.navbar .nav-logo .logo-text {
    color: var(--white-color);
    font-size: 1.8rem;
    font-weight: var(--font-weight-bold);
}

.navbar .nav-logo .logo-text:hover {
    color: var(--secondary-color);
}

.navbar .nav-menu {
    display: flex;
    gap: 10px;
}

.navbar .nav-menu .nav-link {
    padding: 10px 18px;
    color: var(--white-color);
    font-size: var(--font-size-m);
    border-radius: var(--border-radius-m);
    transition: 0.3s ease;
}

.navbar .nav-menu .nav-link:hover {
    color: var(--primary-color);
    background: var(--secondary-color);
}

.navbar :where(#menu-close-button, #menu-open-button) {
    display: none;
}

/* Hero Section Styling */

.hero-section {
    min-height: 100vh;
    background: var(--primary-color);
}

.hero-section .section-content {
    display: flex;
    align-items: center;
    min-height: 100vh;
    color: var(--white-color);
    justify-content: space-between;
}

.hero-section .hero-details .title {
    font-size: 3rem;
    color: var(--secondary-color);
    font-family: "Kaushan Script", cursive;
}

.hero-section .hero-details .subtitle {
    margin-top: 8px;
    max-width: 70%;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
}

.hero-section .hero-details .description {
    max-width: 70%;
    margin: 24px 0 40px;
    font-size: var(--font-size-l);
}

.hero-section .hero-details .buttons {
    display: flex;
    gap: 23px;
}

.hero-section .hero-details .button {
    padding: 10px 26px;
    border: 2px solid transparent;
    color: var(--primary-color);
    border-radius: var(--border-radius-m);
    background: var(--secondary-color);
    font-weight: var(--font-weight-medium);
    transition: 0.3s;
}

.hero-section .hero-details .button:hover, 
.hero-section .hero-details .contact-us {
    color: var(--white-color);
    border-color: var(--white-color);
    background: transparent;
}

.hero-section .hero-details .contact-us:hover {
    color: var(--primary-color);
    border-color: var(--secondary-color);
    background: var(--secondary-color);
}

.hero-section .hero-image-wrapper {
    max-width: 500px;
    margin-right: 30px;
}


/* About Styling Section */
.about-section {
    padding: 120px 0;
    background: var(--light-pink-color);
}

.about-section .section-content {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: space-between;
}

.about-section .about-image-wrapper .about-image {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-circle);
}

.about-section .about-details .section-title {
    padding: 0;
}

.about-section .about-details {
    max-width: 50%;
}

.about-section .about-details .text {
    line-height: 30px;
    margin: 50px 0 30px;
    text-align: center;
    font-size: var(--font-size-m);
}

/* Menu section styling */

.services-section {
    color: var(--white-color);
    background: var(--dark-color);
    padding: 50px 0 100px;
}

.services-section .services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 110px;
    align-items: center;
    justify-content: space-between;
}

.services-section .services-list .services-item {
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
    justify-content: space-between;
    width: calc(100% / 3 - 110px);
}

.services-section .services-list .services-item .services-image {
    max-width: 83%;
    aspect-ratio: 1;
    margin-bottom: 15px;
    object-fit: contain;
}

.services-section .services-list .services-item .name {
    margin: 12px 0;
    font-size: var(--font-size-l);
    font-weight: var(--font-weight-semibold);
}

.services-section .services-list .services-item .text {
    font-size: var(--font-size-m);
}

/* Review Section Styling */

.review-section {
    padding: 50px 0 100px;
    background: var(--light-pink-color);
}

.review-section .slider-wrapper {
    overflow: hidden;
    margin: 0 60px 50px;
}

.review-section .review {
    user-select: none;
    display: flex;
    padding: 35px;
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.review-section .review .user-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    margin-bottom: 50px;
    border-radius: var(--border-radius-circle);
}

.review-section .review .name {
    margin-bottom: 16px;
    font-size: var(--font-size-m);
}

.review-section .review .feedback {
    line-height: 25px;
}

.review-section .swiper-pagination-bullet {
    width: 15px;
    height: 15px;
    opacity: 1;
    background: var(--secondary-color);
}

.review-section .swiper-slide-button {
    margin-top: -50px;
    color: var(--secondary-color);
    transition: 0.3s ease;
}

.review-section .swiper-slide-button:hover {
    color: var(--primary-color);
}

/* Gallery Section Styling */

.gallery-section {
    padding: 50px 0 100px;
}

.gallery-section .gallery-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery-section .gallery-list .gallery-row {
    display: flex;
    gap: 10px;
}

.gallery-section .gallery-list .gallery-item {
    flex: 1;
    overflow: hidden;
    border-radius: 10px;
    cursor: zoom-in;
}

.gallery-section .gallery-item .gallery-image {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-section .gallery-item:hover .gallery-image {
    transform: scale(1.3);
}

/* Contact Section Styling */
.contact-section {
    color: var(--white-color);
    background-color: var(--dark-color);
    padding-bottom: 30px;
}

.contact-section .section-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.contact-section .section-content .contact-info {
    border: 2px solid var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius-m);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: 0.5s;
}

.contact-section .section-content .contact-info a {
    color: var(--white-color);
    transition: 0.5s;
}

.contact-section .section-content .contact-info:hover {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.contact-section .section-content .contact-info:hover a {
    color: var(--secondary-color);
}

.contact-section .section-content .contact-info i {
    margin-top: 10px;
    margin-bottom: 15px;
    font-size: 3rem;
}

.contact-section .section-content .contact-info .contact-title {
    font-size: var(--font-size-l);
    font-weight: var(--font-weight-bold);
    margin-bottom: 10px;
}

.contact-section .section-content .contact-info .contact-detail {
    font-size: var(--font-size-m);
    margin-bottom: 10px;
}

/* Footer Section Styling */
.footer-section {
    padding: 20px 0;
    background: var(--primary-color);
}

.footer-section .section-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-section :where(.copyright-text, .policy-link) {
    color: var(--white-color);
    transition: 0.2s ease;
}

.footer-section .policy-text {
    margin: 0 5px;
    color: var(--white-color);
}

/* Responsive media query code for max width 1024px */
@media screen and (max-width: 1024px){

    .services-section .services-list {
        gap: 60px;
    }
    
    .services-section .services-list .services-item {
        width: calc(100% / 3 - 60px);
    }
}

@media  (max-width: 1080px) {

    .navbar .nav-logo .logo-text {
    font-size: var(--font-size-m);
    }
    .navbar .nav-menu .nav-link {
    font-size: var(--font-size-s);
    }
}

/* Responsive media query code for max width 900px */
@media screen and (max-width: 900px) {

    :root {
        --font-size-m : 1rem;
        --font-size-l : 1.3rem;
        --font-size-xl : 1.5rem;
        --font-size-xxl : 1.8rem;
    }

    body.show-mobile-menu header::before {
        content: "";
        position: fixed;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        backdrop-filter: blur(5px);
        background: rgba(0, 0, 0, 0.2);
    }

    .navbar :where(#menu-close-button, #menu-open-button) {
        display: block;
        font-size: var(--font-size-l);
    }

    .navbar #menu-close-button {
        position: absolute;
        right: 30px;
        top: 30px;
    }

    .navbar #menu-open-button {
        color: var(--white-color);
    }

    .navbar .nav-menu {
        display: block;
        position: fixed;
        left: -300px;
        top: 0;
        width: 300px;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 100px;
        background: var(--white-color);
        transition: left 0.2s ease;
    }

    body.show-mobile-menu .navbar .nav-menu {
        left: 0;
    }

    .navbar .nav-menu .nav-link {
        color: var(--dark-color);
        display: block;
        margin-top: 17px;
        font-size: var(--font-size-l);
    }

    .hero-section .section-content {
        gap: 50px;
        text-align: center;
        padding: 30px 20px 20px;
        flex-direction: column-reverse;
        justify-content: center;
    }

    .hero-section .hero-details :is(.subtitle, .description), 
    .about-section .about-details, .contact-section .contact-form {
        max-width: 100%;
    }

    .hero-section .hero-details .buttons {
        justify-content: center;
    }

    .hero-section .hero-image-wrapper {
        max-width: 270px;
        margin-right: 0;
    }

    .about-section .section-content {
        gap: 70px;
        flex-direction: column-reverse;
    }

    .about-section .about-image-wrapper .about-image {
        width: 100%;
        height: 100%;
        max-width: 250px;
        aspect-ratio: 1;
    }

    .services-section .services-list {
        gap: 30px;
    }
    
    .services-section .services-list .services-item {
        width: calc(100% / 2 - 30px);
    }

    .services-section .services-list .services-item .about-image {
        max-width: 200px;
    }

    .contact-section .section-content {
    display: flex;
    flex-direction: column;
    }
}

@media screen and (max-width: 640px){

    .services-section .services-list {
        gap: 60px;
    }

    .services-section .services-list .services-item,
    .gallery-section .gallery-list .gallery-item {
        width: 100%;
    }

    .review-section .slider-wrapper {
        margin: 0 0 30px;
    }

    .review-section .swiper-slide-button {
        display: none;
    }

    .footer-section .section-content {
        flex-direction: column;
        gap: 20px
    }

    .gallery-row {
    flex-direction: column;
    }

    .contact-section .section-content {
    display: flex;
    flex-direction: column;
    }

    .contact-section .contact-detail {
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
    }

    .footer-section .section-content {
        flex-direction: column;
        gap: 20px
    }
}