/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

/* Remove underline from hyperlinks */
a {
    text-decoration: none;
    color: inherit; /* Ensures the link inherits the color from its parent element */
}

/*::::::::::::::::::::::::::::*/
/* Header Styles */
/*::::::::::::::::::::::::::::*/
header {
    display: flex;
    justify-content: flex-end; /* Align items to the right */
    align-items: center;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
    box-shadow: 0 15px 20px -10px rgba(0, 0, 0, 0.100);
    position: fixed; /* Fixed at the top */
    top: 0;
    width: 100%; /* Full width of the viewport */
    z-index: 1001; /* Ensure header is above other elements */
    transition: background-color 0.3s ease, padding 0.3s ease; /* Smooth transition for background and padding */
    height: 100px; /* Default desktop height */
}

/* Background becomes opaque on scroll */
header.scrolling {
    background-color: rgba(255, 255, 255, 0.92); /* Fully opaque white background */
}

/*::::::::::::::::::::::::::::*/
/* Logo Styles */
/*::::::::::::::::::::::::::::*/
.logo {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 9999; /* Ensure logo is above other elements */
}

.logo img {
    height: 300px; /* Default desktop logo height */
    width: auto;
    animation: logoRotateY 8s linear infinite; /* Logo rotation */
    transition: height 2s ease; /* Smooth height transition */
    filter: drop-shadow(1.22px 1.952px 2.684px rgba(79, 79, 79, 0.358)); /* Logo shadow */
}

/* Logo rotation keyframes */
@keyframes logoRotateY {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

/* Shrinking logo on scroll */
header.scrolling .logo img {
    height: 75px; /* Shrink logo on scroll */
}


/*::::::::::::::::::::::::::::*/
/* Login Icon Styles */
/*::::::::::::::::::::::::::::*/
.login-icon {
    position: absolute;
    top: 30px;
    right: 75px; /* Adjusted position */
}

.login-icon img {
    width: 30px;
    height: 30px; /* Login icon size */
}

/*::::::::::::::::::::::::::::*/
/* Search Icon Styles */
/*::::::::::::::::::::::::::::*/
.search-icon {
    position: absolute;
    top: 30px;
    right: 120px; /* Adjusted position */
}

.search-icon img {
    width: 30px;
    height: 30px; /* Search icon size */
}

/*::::::::::::::::::::::::::::*/
/* Mobile Styles */
/*::::::::::::::::::::::::::::*/
@media (max-width: 767px) {
    header {
        height: 60px; /* Reduced height for mobile */
    }

    .logo img {
        height: 150px; /* Reduced mobile logo height */
    }

    header.scrolling .logo img {
        height: 50px; /* Shrink logo on scroll for mobile */
    }

    .menu-icon {
        top: 15px; /* Adjusted for mobile */
        right: 20px;
    }

    .login-icon {
        top: 13px; /* Adjusted for mobile */
        right: 65px;
    }

    .search-icon {
        top: 13px; /* Adjusted for mobile */
        right: 110px;
    }
}

/*::::::::::::::::::::::::::::*/
/* Larger Screen Adjustments */
/*::::::::::::::::::::::::::::*/
@media (min-width: 768px) {
    .logo img {
        filter: drop-shadow(2.22px 3.552px 4.884px rgba(0, 0, 0, 1)); /* Stronger drop-shadow */
    }
}

/*::::::::::::::::::::::::::::*/
/* Right Menu Icons */
/*::::::::::::::::::::::::::::*/
.right-menu-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 120px;
    right: 25px;
    z-index: 1000;
}

.right-menu-icons .menu-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background-color: transparent; /* Ensure no background color is set */
}

.right-menu-icons .menu-icon-item:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
    box-shadow: none; /* Remove or reduce box shadow to avoid any hover artifacts */
}

.right-menu-icons .menu-icon-item img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: none; /* Remove drop-shadow if it causes issues */
}

.right-menu-icons .menu-icon-item:hover img {
    transform: scale(1.2); /* Enlarge icon on hover */
    filter: brightness(1.2); /* Use brightness instead of drop-shadow */
}

.right-menu-icons .menu-icon-item span {
    margin-top: 5px;
    color: #333;
    font-size: 12px;
    transition: color 0.3s ease;
}

.right-menu-icons .menu-icon-item:hover span {
    color: #3498db; /* Soft blue text color on hover */
}

/* Hide Right Menu Icons on Mobile */
@media (max-width: 767px) {
    .right-menu-icons {
        display: none;
    }
}

/*::::::::::::::::::::::::::::*/
/* Main Content Area */
/*::::::::::::::::::::::::::::*/
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 20px;
    box-sizing: border-box; /* Include padding in width calculation */
    margin-top: 90px; /* Add margin-top to respect the header */
    width: 100%; /* Take full width of the screen */
    padding: 20px;
}

section {
    width: 100%;
    max-width: 1200px;
    text-align: center;
    margin: 0 auto 40px; /* Center the section and add bottom margin */
}

/* Center the content of placeholder section */
#placeholder-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 200px; /* Set a height for visibility */
}

#placeholder-section h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

#placeholder-section p {
    font-size: 1rem;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .right-menu-icons {
        position: static;
        flex-direction: row;
        justify-content: space-around;
        width: 100%;
        background-color: #fff;
        border-top: 1px solid #ddd;
        padding: 10px 0;
        margin-top: 70px; /* Ensure it stays below the header */
        z-index: 999; /* Ensure it's below the header */
    }

    .right-menu-icons .menu-icon-item {
        margin-bottom: 0;
    }
}


/* Footer styles */
footer {
    background: linear-gradient(45deg, rgba(40, 40, 40, 0.8), rgb(34, 34, 34));
    color: #fff;
    padding: 40px 0;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.footer-container div {
    flex: 1;
    min-width: 200px;
    margin: 10px;
}

.footer-about,
.footer-links,
.footer-newsletter,
.footer-contact,
.footer-social {
    text-align: center;
}

.footer-about h3,
.footer-links h3,
.footer-newsletter h3,
.footer-contact h3,
.footer-social h3 {
    margin-bottom: 10px;
    font-size: 1.2em;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li,
.footer-contact ul li {
    margin: 5px 0;
}

.footer-links ul li a,
.footer-contact ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover,
.footer-contact ul li a:hover {
    color: #f0a500;
}

.footer-newsletter {
    margin-bottom: 0; /* Remove bottom margin if any */
    padding-bottom: 0; /* Remove bottom padding if any */
}

.footer-newsletter p {
    margin-bottom: 10px;
}

.footer-newsletter form {
    display: flex;
    justify-content: center;
}

.footer-newsletter input[type="email"] {
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
    outline: none;
}

.footer-newsletter button {
    padding: 10px 20px;
    border: none;
    background-color: #FFDB5C;
    color: #fff;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.footer-newsletter button:hover {
    background-color: #FFAF61;
}

.footer-social .social-icons {
    display: flex;
    justify-content: center;
}

.footer-social .social-icons a {
    margin: 0 10px;
}

.footer-social .social-icons img {
    width: 30px;
    height: 30px;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
}

.footer-bottom p {
    margin: 0;
}

/* Ensure images fit within the card and inherit the border radius */
.card img,
.ready-for-hire-image-box img,
.staff-picks-image-box img,
.gallery-images img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure image fills the box */
    border-radius: inherit; /* Inherit the parent container's border radius */
}

/* Hide Swiper navigation arrows */
.swiper-button-next,
.swiper-button-prev{
    visibility: hidden;
}

/* Section Header Styles */
section,
.swiper-container,
.models-list-container,
#todays-news,
.todays-news-inner-container,
.todays-news-outer-container {
    text-align: center !important;
    width: 100%;
    position: relative;
}

/* Section Headers - Unified Style */
h2 {
    position: relative;
    display: block;
    font-size: 3.5rem;
    text-align: center;
    width: 100%;
    padding: 2.5rem 0 1.5rem;
    margin: 40px auto 25px;
    background: linear-gradient(90deg, #ffb187, #e521d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Decorative underline for all h2 headers
h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 30'%3E%3Cdefs%3E%3ClinearGradient id='grad1' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' style='stop-color:rgba(255,192,203,0.3)'/%3E%3Cstop offset='50%25' style='stop-color:rgba(255,105,180,1)'/%3E%3Cstop offset='100%25' style='stop-color:rgba(255,192,203,0.3)'/%3E%3C/linearGradient%3E%3Cpath id='wave' d='M0,15 Q30,5 60,15 T120,15 T180,15 T240,15' stroke='url(%23grad1)' stroke-width='8' fill='none' stroke-linecap='round'/%3E%3C/defs%3E%3Cuse href='%23wave' transform='translate(-20 0)'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% 100%;
    opacity: 1;
    display: block;
} */

/* Mobile adjustments */
@media (max-width: 767px) {
    h2 {
        font-size: 2.5rem;
        padding: 1.5rem 0 1rem;
        margin: 30px auto 20px;
    }

    h2::after {
        height: 20px;
    }
}

/*::::::::::::::::::::::::::::*/
/* Credit Card Section Styles */
/*::::::::::::::::::::::::::::*/
#credit-card-section {
    padding: 0 20px 40px; /* Remove top padding, keep sides and bottom */
    text-align: center;
    background-color: #fff;
}

.credit-card-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 1px;
    background-color: #fff;
    border-radius: 10px;
    border: 0.5px solid transparent;
    background-image: 
        linear-gradient(white, white), 
        linear-gradient(to right, 
            rgba(255,192,203,0.3), 
            rgba(255,105,180,0.5), 
            rgba(255,192,203,0.3)),
        radial-gradient(circle at 50% 50%, rgba(255, 182, 193, 0.15) 0%, transparent 8%);
    background-origin: border-box;
    background-clip: content-box, border-box, content-box;
    background-size: 100% 100%, 100% 100%, 20px 20px;
    background-position: 0 0, 0 0, 0 0;
    position: relative;
}

.credit-card-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, rgba(255, 192, 203, 0.08) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 192, 203, 0.08) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 192, 203, 0.08) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 192, 203, 0.08) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    border-radius: 10px;
    pointer-events: none;
}

/* Add inner container for content padding */
.credit-card-title {
    display: block;
    font-family: 'Noto Sans JP', sans-serif; /* Match H2 font */
    color: #333;
    margin: 15px 0;
    font-size: 2rem;
    text-align: center;
    font-weight: 700; /* Match H2 weight */
    letter-spacing: 0.05em; /* Match H2 letter spacing */
    background: linear-gradient(45deg, #ffa947, #FF1493); /* Pink gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.credit-card-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 10px;
    flex-wrap: wrap;
}

.credit-card-icons i {
    font-size: 40px;
    filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.2));
}

/* Specific colors for each card type - brighter versions */
.fa-cc-visa {
    color: #1434CB; /* Brighter blue */
    background: linear-gradient(135deg, #1434CB, #0052FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fa-cc-mastercard {
    background: linear-gradient(135deg, #FF5F00, #EB001B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fa-cc-jcb {
    background: linear-gradient(135deg, #0DB02B, #00873C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fa-cc-amex {
    background: linear-gradient(135deg, #2671B9, #4D9AD4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fa-cc-diners-club {
    background: linear-gradient(135deg, #0079BE, #2D9BDA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .credit-card-container {
        padding: 0.5px;
        border: 0.25px solid transparent;
        background-image: 
            linear-gradient(white, white), 
            linear-gradient(to right, 
                rgba(255,192,203,0.3), 
                rgba(255,105,180,0.5), 
                rgba(255,192,203,0.3)),
            radial-gradient(circle at 50% 50%, rgba(255, 182, 193, 0.15) 0%, transparent 8%);
        background-size: 100% 100%, 100% 100%, 15px 15px; /* Slightly smaller pattern for mobile */
    }

    .credit-card-container::before {
        background-image: 
            linear-gradient(45deg, rgba(255, 192, 203, 0.08) 25%, transparent 25%),
            linear-gradient(-45deg, rgba(255, 192, 203, 0.08) 25%, transparent 25%),
            linear-gradient(45deg, transparent 75%, rgba(255, 192, 203, 0.08) 75%),
            linear-gradient(-45deg, transparent 75%, rgba(255, 192, 203, 0.08) 75%);
        background-size: 15px 15px; /* Slightly smaller pattern for mobile */
        background-position: 0 0, 0 7.5px, 7.5px -7.5px, -7.5px 0px;
    }

    .credit-card-title {
        font-size: 20px;
        margin: 12px 0;
    }

    .credit-card-icons {
        gap: 15px;
        margin: 8px;
    }

    .credit-card-icons i {
        font-size: 30px;
    }

    .credit-card-text {
        font-size: 1em;
        margin: 12px 0;
        background: linear-gradient(45deg, #ffa947, #FF1493);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    #credit-card-section {
        padding: 0 15px 30px;
    }
}

.credit-card-text {
    color: #333;
    font-size: 1.2em;
    line-height: 1.8;
    margin: 20px 0;
    padding: 10px;
    background: linear-gradient(45deg, #ffa947, #FF1493); /* Pink gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.credit-card-link {
    text-decoration: none;
    display: block;
    max-width: 800px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.credit-card-link:hover {
    transform: translateY(-2px);
}

.credit-card-container {
    position: relative; /* Ensure proper positioning of pseudo-element */
}

.credit-card-container::after {
    content: '< 詳細はこちら';
    position: absolute;
    bottom: 8px;
    right: 8px;
    font-size: 12px;
    color: #FF69B4;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.credit-card-link:hover .credit-card-container::after {
    opacity: 1;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .credit-card-container::after {
        font-size: 10px;
        bottom: 6px;
        right: 6px;
    }
}

