/*
Theme Name: Pitout Kobe Theme
Theme URI: https://pitout-kobe.com/
Author: Gemini
Author URI: https://gemini.google.com/
Description: バイクショップ ピットアウト神戸のオリジナルテーマです。オートバイの販売、修理、カスタムなど、お客様のバイクライフを総合的にサポートします。
Version: 1.0.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, custom-logo, custom-menu, post-formats, threaded-comments, translation-ready, blog, two-columns, right-sidebar
Text Domain: pitout-kobe-theme

SEO Keywords: バイク 販売 中古車 神戸 兵庫区 オートバイ 原付き 修理 メンテナンス 改造 カスタム
*/

/*--------------------------------------------------------------
# Core
--------------------------------------------------------------*/
body {
    background-color: #fff;
    color: #333;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; /* Added font-family */
}

p {
    line-height: 1.7; /* Adjusted line-height for readability */
}

a {
    color: #cc0000;
    text-decoration: none;
}

a:hover {
    color: #000;
}

h2, .section-title {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    font-weight: bold;
    color: #000;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.site-header {
    background-color: #000;
}

.site-header .site-branding .custom-logo {
    max-height: 80px; /* Updated from 60px */
    width: auto;
}

.site-header .navbar-nav .nav-link {
    color: #000; /* Black for normal state */
    font-size: 1.1rem; /* Slightly larger font size */
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease-in-out;
}

.site-header .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #cc0000; /* Red underline color */
    transition: width 0.3s ease-in-out;
}

.site-header .navbar-nav .nav-link:hover,
.site-header .navbar-nav .nav-link.active,
.site-header .navbar-nav .nav-item.current-menu-item .nav-link {
    color: #cc0000; /* Red for hover and active states */
}

.site-header .navbar-nav .nav-link:hover::after,
.site-header .navbar-nav .nav-link.active::after,
.site-header .navbar-nav .nav-item.current-menu-item .nav-link::after {
    width: 100%;
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
    background-color: #222;
    color: #fff;
    padding: 2em 0 0;
}

.site-footer h5 {
    color: #fff;
    font-weight: bold;
}

.site-footer a {
    color: #f8f9fa;
}

.site-footer a:hover {
    color: #cc0000;
}

.site-footer .copyright-bar {
    background-color: #000;
    padding: 1em 0;
}

/*--------------------------------------------------------------
# Front Page
--------------------------------------------------------------*/
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.about-section p {
    line-height: 1.8;
}

.services-section .card {
    border: none;
    transition: transform 0.3s ease-in-out;
}

.services-section .card:hover {
    transform: translateY(-10px);
}

.inventory-cta-section {
    background-color: #f8f9fa;
}

/*--------------------------------------------------------------
# Bike Inventory List (Shortcode)
--------------------------------------------------------------*/
.bike-inventory-list .card .card-img-top {
    width: 100%;
    height: 220px; /* Set a fixed height for the image container */
    object-fit: cover; /* This will cover the area, cropping the image while maintaining aspect ratio */
}

.bike-inventory-list .card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bike-inventory-list .card .card-body {
    flex-grow: 1;
}

.bike-inventory-list .price {
    font-weight: bold;
    color: #cc0000;
    font-size: 1.2rem;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.btn {
    transition: all 0.3s ease-in-out; /* Added transition for buttons */
}

.btn-danger:hover {
    background-color: #a00000; /* Darker red on hover */
    border-color: #a00000;
    transform: translateY(-2px); /* Slight lift effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

.btn-outline-dark:hover {
    background-color: #333; /* Darker background on hover */
    color: #fff; /* White text on hover */
    transform: translateY(-2px); /* Slight lift effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

/*--------------------------------------------------------------
# Cards
--------------------------------------------------------------*/
.services-section .card,
.bike-inventory-list .card {
    transition: all 0.3s ease-in-out; /* Added transition for cards */
}

.services-section .card:hover,
.bike-inventory-list .card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

/*--------------------------------------------------------------
# Miscellaneous
--------------------------------------------------------------*/
#to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: #cc0000;
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    transition: background-color 0.3s;
}

#to-top:hover {
    background-color: #000;
}
