/* 
* Toys By Thomas - Contact CSS
* Additional styles for the contact page
*/

/* ===== CONTACT INFO SECTION ===== */
.contact-info {
    padding-top: 0;
}

.info-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 30px;
    text-align: center;
    height: 100%;
    transition: all var(--transition-medium);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.info-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 2rem;
    border-radius: var(--radius-circle);
    margin: 0 auto 25px;
    transition: all var(--transition-medium);
}

.info-card:hover .info-icon {
    background-color: var(--secondary);
    transform: rotateY(180deg);
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.info-card p {
    color: var(--gray);
    margin-bottom: 15px;
}

.info-link {
    font-weight: 600;
    color: var(--secondary);
    transition: all var(--transition-fast);
    display: inline-block;
}

.info-link:hover {
    color: var(--primary);
    transform: translateX(5px);
}

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

.contact-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-image img {
    width: 100%;
    height: auto;
    display: block;
}

.contact-badge {
    position: absolute;
    top: 30px;
    right: -20px;
    background-color: var(--secondary);
    color: var(--white);
    padding: 15px 25px;
    border-radius: var(--radius-md);
    font-family: var(--accent-font);
    font-weight: 600;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.contact-badge:before {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 0;
    height: 0;
    border-top: 10px solid #F57C00;
    border-right: 10px solid transparent;
}

.contact-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
    display: block;
}

.form-control, .form-select {
    height: 50px;
    padding: 10px 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    font-family: var(--body-font);
    transition: all var(--transition-fast);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(30, 136, 229, 0.25);
}

textarea.form-control {
    height: auto;
    resize: vertical;
}

.form-check {
    margin-bottom: 25px;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-label {
    font-size: 0.95rem;
    color: var(--gray);
}

/* ===== MARKET SCHEDULE SECTION ===== */
.market-schedule {
    padding: var(--section-spacing) 0;
}

.schedule-table {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.schedule-item {
    display: flex;
    align-items: center;
    padding: 25px;
    border-bottom: 1px solid var(--light-gray);
    transition: all var(--transition-fast);
}

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

.schedule-item:hover {
    background-color: rgba(30, 136, 229, 0.05);
}

.schedule-date {
    width: 80px;
    height: 80px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    flex-shrink: 0;
}

.schedule-date .month {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.schedule-date .day {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.schedule-content {
    flex: 1;
}

.schedule-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.schedule-location, .schedule-time {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.schedule-location i, .schedule-time i {
    color: var(--primary);
    margin-right: 10px;
    width: 16px;
}

.schedule-status {
    margin-left: 20px;
}

.status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status.upcoming {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.status.past {
    background-color: rgba(158, 158, 158, 0.1);
    color: #9E9E9E;
}

/* ===== SOCIAL MEDIA SECTION ===== */
.social-media {
    padding: var(--section-spacing) 0;
    background-color: var(--light);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.social-item {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-medium);
    display: block;
}

.social-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    color: var(--dark);
}

.social-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: var(--radius-circle);
    margin: 0 auto 20px;
    font-size: 1.8rem;
    transition: all var(--transition-medium);
}

.social-item:nth-child(1) .social-icon {
    background-color: #E1306C;
    color: var(--white);
}

.social-item:nth-child(2) .social-icon {
    background-color: #1877F2;
    color: var(--white);
}

.social-item:nth-child(3) .social-icon {
    background-color: #1DA1F2;
    color: var(--white);
}

.social-item:nth-child(4) .social-icon {
    background-color: #FF0000;
    color: var(--white);
}

.social-item:hover .social-icon {
    transform: rotateY(180deg);
}

.social-name {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.social-handle {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991.98px) {
    .contact-image {
        margin-bottom: 40px;
    }
    
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .info-card {
        margin-bottom: 30px;
    }
    
    .schedule-item {
        flex-direction: column;
        text-align: center;
    }
    
    .schedule-date {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .schedule-status {
        margin-left: 0;
        margin-top: 15px;
    }
}

@media (max-width: 575.98px) {
    .social-grid {
        grid-template-columns: 1fr;
    }
}
