/**
 * Admin styles for Elite Hair Studio website
 */

/* Contact Page Styles */
.contact-section {
    padding-top: 80px;
    padding-bottom: 60px;
    background-color: #f8f9fa;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern-bg.png');
    opacity: 0.05;
    pointer-events: none;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

.contact-section .section-title {
    margin-bottom: 40px;
    text-align: center;
}

.contact-section .section-title h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.contact-section .section-title h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.contact-section .section-title p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Information */
.contact-info {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s ease;
    border-top: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    opacity: 0.05;
}

.contact-info:hover {
    transform: translateY(-5px);
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
}

.contact-info-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(30, 136, 229, 0.2);
    transition: all 0.3s ease;
}

.contact-info-item:hover .contact-info-icon {
    transform: rotateY(180deg);
    background: var(--primary-dark);
}

.contact-info-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.contact-info-content p {
    margin-bottom: 0;
    color: var(--gray);
    line-height: 1.5;
}

.social-icons {
    display: flex;
}

.social-icons a {
    margin-right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(30, 136, 229, 0.3);
}

/* Contact Form */
.contact-form {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.contact-form:hover {
    transform: translateY(-5px);
}

.contact-form h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
}

.form-label {
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.form-control {
    height: 50px;
    border-radius: 10px;
    border: 1px solid #e1e5ea;
    padding: 10px 20px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.2);
    border-color: var(--primary-color);
}

textarea.form-control {
    height: 150px;
    padding: 15px 20px;
}

.form-text {
    color: var(--gray);
    font-size: 0.85rem;
    margin-top: 5px;
}

.btn-primary {
    height: 50px;
    padding: 0 30px;
    font-weight: 600;
    font-size: 16px;
    background: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(30, 136, 229, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 136, 229, 0.4);
}

/* Salon Cards */
.map-section {
    padding: 80px 0 60px;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.map-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(30, 136, 229, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.map-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(30, 136, 229, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.map-section .section-title {
    margin-bottom: 50px;
    text-align: center;
}

.map-section .section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.map-section .section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.map-section .section-title p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 10px;
}

.salon-item {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
}

.salon-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.salon-item:hover {
    transform: translateY(-10px);
}

.salon-item:hover::after {
    opacity: 1;
}

.salon-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.salon-item:hover img {
    transform: scale(1.05);
}

.salon-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(30, 136, 229, 0.9);
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.salon-content {
    padding: 25px;
    position: relative;
}

.salon-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25px;
    right: 25px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.05), transparent);
}

.salon-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.salon-item:hover .salon-content h4 {
    color: var(--primary-color);
}

.salon-info {
    margin-bottom: 20px;
}

.salon-info p {
    margin-bottom: 10px;
    color: var(--gray);
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
}

.salon-info p i {
    margin-right: 12px;
    color: var(--primary-color);
    width: 16px;
    text-align: center;
    margin-top: 4px;
    transition: transform 0.3s ease;
}

.salon-item:hover .salon-info p i {
    transform: translateX(3px);
}

.salon-action-buttons {
    display: flex;
    gap: 10px;
}

.salon-content .btn {
    margin-top: 5px;
    border-radius: 10px;
    padding: 8px 18px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    border-width: 2px;
}

.salon-content .btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.salon-content .btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

.salon-content .btn-outline-secondary {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.salon-content .btn-outline-secondary:hover {
    background-color: var(--secondary-color);
    color: white;
}

.salon-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Map */
.map-iframe {
    position: relative;
    height: 450px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

.map-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 991px) {
    .contact-info {
        margin-bottom: 30px;
    }
    
    .map-section {
        padding: 60px 0 40px;
    }
}

@media (max-width: 767px) {
    .contact-section {
        padding-top: 60px;
        padding-bottom: 40px;
    }
    
    .contact-section .section-title h1 {
        font-size: 2.2rem;
    }
    
    .contact-info, .contact-form {
        padding: 25px 20px;
    }
    
    .contact-info h3, .contact-form h3 {
        font-size: 1.5rem;
    }
    
    .contact-info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .map-section .section-title h2 {
        font-size: 2rem;
    }
    
    .salon-content {
        padding: 20px;
    }
    
    .salon-content h4 {
        font-size: 1.2rem;
    }
    
    .map-iframe {
        height: 350px;
        margin-top: 20px;
    }
    
    .salon-action-buttons {
        flex-direction: column;
    }
} 