/* 
 * Hair Salon Picasso - Contact Page Styles
 * CONTACTページ専用CSS
 */

/* ===== CONTACT HERO SECTION ===== */
.contact-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/contact-bg.jpg') center/cover no-repeat;
    opacity: 0.3;
    z-index: 1;
}

.contact-hero-content {
    position: relative;
    text-align: center;
    color: white;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.3s;
}

.contact-hero-title {
    font-size: 4rem;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-family: "orpheuspro", serif;
}

.contact-hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    font-weight: 300;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.contact-hero-text {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.contact-hero-bg {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 60px;
    background: white;
    transform: skewY(-1deg);
    transform-origin: bottom left;
}

/* ===== BREADCRUMB ===== */
.breadcrumb-nav {
    background-color: var(--light-color);
    padding: 20px 0;
}

.breadcrumbs {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.breadcrumbs li {
    position: relative;
    margin-right: 20px;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    position: absolute;
    right: -12px;
    top: 0;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--text-light);
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs li:last-child {
    color: var(--primary-color);
    font-weight: 500;
}

/* ===== CONTACT METHODS SECTION ===== */
.contact-methods-section {
    background-color: white;
    padding: 100px 0;
}

.contact-method {
    background: white;
    padding: 40px 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--dark-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

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

.contact-method:hover::before {
    transform: scaleX(1);
}

.contact-method-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.contact-method:hover .contact-method-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-method-icon i {
    font-size: 32px;
    color: white;
}

.contact-method h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-weight: 500;
}

.contact-method p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.contact-method-info {
    margin-top: 20px;
}

.contact-method-info p {
    font-size: 14px;
    margin-bottom: 20px;
}

.contact-method .button {
    margin: 0;
    padding: 0.7em 1.8em;
    font-size: 14px;
}

/* ===== CONTACT FORM SECTION ===== */
.contact-section {
    background-color: var(--light-color);
    padding: 100px 0;
}

.contact-form-description {
    text-align: center;
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 50px;
    line-height: 1.8;
}

.contact-form {
    background: white;
    padding: 50px 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--dark-color));
    border-radius: 8px 8px 0 0;
}

.contact-form label {
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 8px;
    display: block;
    font-size: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    padding: 12px 15px;
    font-size: 15px;
    transition: var(--transition);
    margin-bottom: 20px;
    background: white;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(169, 151, 109, 0.1);
    outline: none;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    display: none;
    color: #e53935;
    font-size: 14px;
    margin-top: -15px;
    margin-bottom: 15px;
}

.help-text {
    font-size: 13px;
    color: var(--text-light);
    margin-top: -15px;
    margin-bottom: 20px;
    font-style: italic;
}

.privacy-policy {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 4px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 30px;
}

.privacy-policy label {
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.6;
    cursor: pointer;
}

.privacy-policy input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    margin-bottom: 0;
}

.privacy-policy a {
    color: var(--primary-color);
    text-decoration: underline;
}

.privacy-policy a:hover {
    color: var(--secondary-color);
}

.contact-form .button {
    padding: 1em 3em;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    min-width: 180px;
}

.submit-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Form Validation States */
.is-invalid-input {
    border-color: #e53935 !important;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1) !important;
}

.is-invalid-label {
    color: #e53935;
}

.is-invalid-input + .form-error,
.is-invalid-label .form-error {
    display: block;
}

/* ===== SHOP INFO SECTION ===== */
.shop-info-section {
    background: white;
    padding: 100px 0;
}

.shop-info-card {
    background: white;
    padding: 40px 35px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.shop-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--dark-color));
}

.shop-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.shop-info-card h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
}

.shop-info-card h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--primary-color);
    margin-right: 15px;
    border-radius: 2px;
}

.shop-hours {
    margin-bottom: 25px;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
}

.hour-item:last-child {
    border-bottom: none;
}

.hour-item.holiday {
    color: #e53935;
    font-weight: 500;
}

.day {
    font-weight: 500;
    color: var(--secondary-color);
}

.time {
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
}

.hour-item.holiday .time {
    color: #e53935;
}

.shop-note {
    font-size: 13px;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid var(--primary-color);
}

.access-info {
    margin-bottom: 25px;
}

.access-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    transition: var(--transition);
}

.access-item:hover {
    background: #f0f4f8;
}

.access-item i {
    color: var(--primary-color);
    font-size: 18px;
    margin-right: 15px;
    margin-top: 3px;
    min-width: 20px;
}

.access-item div {
    flex: 1;
}

.access-item strong {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.access-item p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

/* ===== MAP SECTION ===== */
.map-section {
    background: var(--light-color);
    padding: 100px 0;
}

.map-description {
    text-align: center;
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 40px;
}

.map-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    background: white;
    padding: 8px;
}

.map-container iframe {
    border-radius: 4px;
    display: block;
    width: 100%;
    height: 450px;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    background: white;
    padding: 100px 0;
}

.accordion {
    border: none;
    margin-top: 50px;
}

.accordion-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.accordion-title {
    background: white;
    border: none;
    padding: 25px 30px;
    font-size: 16px;
    font-weight: 500;
    color: var(--secondary-color);
    width: 100%;
    text-align: left;
    position: relative;
    transition: var(--transition);
    cursor: pointer;
}

.accordion-title::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 18px;
    transition: var(--transition);
}

.accordion-title[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(180deg);
}

.accordion-title:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

.accordion-title[aria-expanded="true"] {
    background: var(--primary-color);
    color: white;
}

.accordion-title[aria-expanded="true"]::after {
    color: white;
}

.accordion-content {
    border: none;
    padding: 25px 30px;
    background: white;
    border-top: 1px solid #f0f0f0;
}

.accordion-content p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
    display: initial;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE STYLES ===== */
@media screen and (max-width: 63.9375em) {
    .contact-hero {
        height: 40vh;
        min-height: 350px;
    }
    
    .contact-hero-title {
        font-size: 3rem;
    }
    
    .contact-hero-subtitle {
        font-size: 1.3rem;
    }
    
    .contact-hero-text {
        font-size: 1rem;
    }
    
    .contact-method {
        margin-bottom: 30px;
        padding: 30px 25px;
    }
    
    .contact-form {
        padding: 35px 25px;
    }
    
    .shop-info-card {
        margin-bottom: 30px;
        padding: 30px 25px;
    }
    
    .accordion-title {
        padding: 20px 25px;
        font-size: 15px;
    }
    
    .accordion-title::after {
        right: 25px;
    }
    
    .accordion-content {
        padding: 0 25px 20px;
    }
}

@media screen and (max-width: 39.9375em) {
    .contact-hero {
        height: 35vh;
        min-height: 300px;
        margin-top: 70px;
    }
    
    .contact-hero-title {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
    
    .contact-hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-hero-text {
        font-size: 0.95rem;
    }
    
    .contact-methods-section,
    .contact-section,
    .shop-info-section,
    .map-section,
    .faq-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .contact-method {
        padding: 25px 20px;
    }
    
    .contact-method-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .contact-method-icon i {
        font-size: 28px;
    }
    
    .contact-form {
        padding: 25px 20px;
    }
    
    .contact-form label {
        font-size: 14px;
    }
    
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .shop-info-card {
        padding: 25px 20px;
    }
    
    .hour-item {
        padding: 10px 0;
        font-size: 14px;
    }
    
    .access-item {
        padding: 12px;
    }
    
    .access-item i {
        font-size: 16px;
        margin-right: 12px;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .accordion-title {
        padding: 18px 20px;
        font-size: 14px;
    }
    
    .accordion-title::after {
        right: 20px;
        font-size: 16px;
    }
    
    .accordion-content {
        padding: 0 20px 18px;
    }
    
    .accordion-content p {
        font-size: 14px;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .contact-hero,
    .map-section,
    .site-footer {
        display: none;
    }
    
    .contact-form {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .shop-info-card {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
    .contact-hero {
        background: #000;
        color: #fff;
    }
    
    .contact-method,
    .shop-info-card,
    .contact-form {
        border: 2px solid #000;
    }
    
    .accordion-item {
        border: 2px solid #000;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    .contact-hero-content {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .contact-method,
    .shop-info-card {
        transition: none;
    }
    
    .contact-method:hover,
    .shop-info-card:hover {
        transform: none;
    }
    
    .fade-in {
        transition: none;
        opacity: 1;
        transform: none;
    }
}