/*
Theme Name: Himawari
Theme URI: 
Author: Kaori Sato
Author URI: 
Description: Base block theme
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 5.7
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: himawari
Tags: 
*/
   

/* Basic styles */

html {
    scroll-behavior: smooth;
}

main {
    margin-top: 90px;
}

.scroll-margin {
    scroll-margin-top: 60px!important;
}

h1, h2, h3, h4, h5, h6 {
    margin: 1rem 0;
}

a {
    text-decoration: none;
    color: #095D72;
    transition: all 0.3s ease !important;
}

a:hover {
    color: #5C5CFF;
}

p {
    font-size: var(--wp--preset--font-size--small);
}

@media (max-width: 905px) {
    header ul a {
        font-size: 1.5rem;
        font-weight: 700;
    }
    ul.wp-block-navigation__container {
        gap: .5rem;
    }
    .block-site-logo img {
        width: 30px;
    }
    .book a {
        padding: .5rem!important;
    }
    .header_order a {
        font-size: 1.5rem;
    }

}

@media (max-width: 710px) {
    .wp-block-site-title a {
        font-size: 1rem;
        text-transform: uppercase;
    }

    header .wp-block-site-logo img {
        width: 40px;
    }

    h2 {
        font-size: 1.5rem;
    }
}

/* Book a chat button */
.wp-element-button,
.wp-block-button__link {
  transition: all 0.3s ease !important;
}

.wp-element-button:hover,
.wp-block-button__link:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

a.wp-element-button:hover,
a.wp-block-button__link:hover {
  color: var(--wp--preset--color--dark-brown) !important;
  text-decoration: none !important;
}

/* embed block */
.wp-embed {
    /* Example: Center the embed block */
    display: flex;
    justify-content: center;
}

.wp-embed iframe {
    /* Example: Set a max width and add some padding */
    max-width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
}

.wp-block-cover {
    margin-top: 0;
}

.wp-block-group .about__card {
    margin: 2rem!important;
}

@media (max-width: 580px) {
    .wp-block-group .about__card {
        margin: 0!important;
    }
    .wp-block-group .about__card p{
        font-size: 1rem!important;
    }
}



/* Contact form */
.wpcf7 input {
    height: 40px;
    max-width: 100%;
    background-color: #EBE3D5;
    border-radius: 5px;
    border: none;
    padding-left: 10px;
    font-size: 1rem;
    box-sizing: border-box;
}

.wpcf7 textarea {
    background-color: #EBE3D5;
    border-radius: 5px;
    max-width: 100%;
    border: none;
    padding: 10px;
    font-size: 1rem;
    box-sizing: border-box;
}

.wpcf7-form .wpcf7-submit {
    background-color: #61564C;
    color: white;
    border-radius: 9999px;
    width: fit-content;
    padding: .75rem 1.25rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.wpcf7-form .wpcf7-submit:hover {
    background-color: var(--wp--preset--color--smokeypink);
    color: var(--wp--preset--color--dark-brown);
    transform: scale(1.05); 
}

.asterisk {
    color: tomato;
}

.wp-block-site-title a {
    text-decoration: none;
}

.home .entry-content {
    margin-top: 0;
}

/* mobile navigation */
.wp-block-navigation__responsive-container {
    background-color: #ffffffeb!important;
}

.wp-block-navigation__responsive-container-content {
    align-items: center!important;
    margin-top: 0!important;
}

.wp-block-navigation__responsive-container-content ul {
    align-items: center!important;
}

/* Scroll Effect */
.scroll_up {
    transition: 0.8s ease-in-out;
    transform: translateY(30px);
    opacity: 0;
  }
  .scroll_up.on {
    transform: translateY(0);
    opacity: 1.0;
  }