/* ========================================
   Hagia Coffee - Contact Page Styles
   ======================================== */

/* Contact Section */
.contact-section {
    background-color: var(--light-cream);
    overflow: hidden;
}

/* Contact Info Wrapper */
.contact-info-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-info-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: var(--secondary-color);
    opacity: 0.1;
    border-radius: 0 0 0 100%;
    z-index: -1;
}

.contact-description {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Contact Items */
.contact-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.contact-item:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
}

.contact-details h5 {
    font-size: 1.1rem;
    color: var(--dark-brown);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.contact-details p {
    margin: 0;
    color: var(--gray);
    font-size: 0.95rem;
}

.contact-details a {
    color: var(--gray);
    position: relative;
}

.contact-details a:hover {
    color: var(--primary-color);
}

/* Social Links */
.social-links h5 {
    font-size: 1.1rem;
    color: var(--dark-brown);
    margin-bottom: 1rem;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.form-title {
    color: var(--dark-brown);
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Platform Selection */
.platform-selection {
    flex-wrap: wrap;
}

.platform-option {
    flex: 1;
    min-width: 100px;
}

.platform-option input[type="radio"] {
    display: none;
}

.platform-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: var(--light-gray);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    height: 100%;
    color: var(--gray);
}

.platform-label i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transition: var(--transition-smooth);
}

.platform-label span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Hover Effects */
.platform-label:hover {
    background: var(--light-cream);
    transform: translateY(-2px);
}

/* Selected States */
.platform-option input[type="radio"]:checked + .platform-label {
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    color: var(--primary-color);
}

.platform-option input[type="radio"]:checked + .platform-label i {
    transform: scale(1.1);
}

/* Specific Platform Colors (Optional, when checked) */
#platform_wa:checked + .platform-label {
    color: #25D366;
    border-color: #25D366;
}

#platform_email:checked + .platform-label {
    color: #EA4335;
    border-color: #EA4335;
}

#platform_telegram:checked + .platform-label {
    color: #0088cc;
    border-color: #0088cc;
}

.form-floating > .form-control {
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    background-color: var(--light-gray);
}

.form-floating > .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(111, 78, 55, 0.15);
    background-color: var(--white);
}

.form-floating > label {
    color: var(--gray);
}

/* Map Section */
.map-section {
    position: relative;
    height: 450px;
    width: 100%;
}

.map-container {
    width: 100%;
    height: 100%;
}

.map-container iframe {
    filter: grayscale(20%) contrast(1.1); /* Slight vintage look */
    transition: var(--transition-smooth);
}

.map-containeriframe:hover {
    filter: none;
}

/* Responsive */
@media (max-width: 991.98px) {
    .contact-info-wrapper,
    .contact-form-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .map-section {
        height: 350px;
    }
}
