

:root {
    --primary-color: #054690;
    --secondary-color: #6c757d;
    --accent-color: #d4af37;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    padding-top: 76px; 
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('../../photo/home-main.jpg') center/cover no-repeat;
    height: 70vh;
    min-height: 500px;
    margin-top: -76px; 
}

.hero h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    letter-spacing: 1px;
}

.hero p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-size: 1.2rem;
}

.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(5, 70, 144, 0.1);
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(5, 70, 144, 0.1);
    font-weight: 600;
}

.page-content {
    padding: 3rem 0;
}

.page-content h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.page-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.btn {
    border-radius: 25px;
    padding: 0.5rem 0.05rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    width: auto;
    display: inline-block;
    min-width: auto;
    margin: 0;
    box-sizing: border-box;
}

.btn-primary {
    background-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #043a7a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(5, 70, 144, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

footer {
    background-color: #f8f8f8;
    color: #333;
}

footer h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer ul li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

footer .social-icons a {
    color: #666;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

footer .social-icons a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.pagination .page-link {
    color: var(--primary-color);
    border: 1px solid #dee2e6;
    margin: 0 2px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: rgba(5, 70, 144, 0.1);
    border-color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: rgba(5, 70, 144, 0.1);
    color: var(--primary-color);
}

@media (max-width: 768px) {
    body {
        padding-top: 66px;
    }
    
    .hero {
        height: 50vh;
        min-height: 400px;
        margin-top: -66px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .page-content {
        padding: 2rem 0;
    }
    
    .card-img-top {
        height: 200px;
    }
    
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .nav-link {
        margin: 0.2rem 0;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 40vh;
        min-height: 300px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.4rem 1.5rem;
        font-size: 0.9rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(5, 70, 144, 0.1);
    border-left-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.shadow-md {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2) !important;
}

.rounded-lg {
    border-radius: 15px !important;
}

.fb-page {
    margin: 0 auto;
}

.fb-page iframe {
    width: 100% !important;
}

.contact-info i {
    color: var(--primary-color);
    width: 24px;
    margin-right: 10px;
}

.contact-info p {
    margin-bottom: 0.8rem;
}

.company-info h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.company-info ul {
    padding-left: 1.2rem;
}

.company-info li {
    margin-bottom: 0.5rem;
    color: #666;
}

.wagashi-making img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.wagashi-making ul {
    padding-left: 1.2rem;
}

.wagashi-making li {
    margin-bottom: 0.8rem;
    color: #666;
}

@media print {
    .navbar,
    footer,
    .btn,
    .fb-page {
        display: none !important;
    }
    
    body {
        padding-top: 0;
    }
    
    .page-content {
        padding: 0;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}
