/* Contact Page Specific Styles */

:root {
    --tradingShadows: 0px 3px 13px rgba(0, 0, 0, 13%);
}

@media (prefers-color-scheme: dark) {
    :root {
        --tradingShadows: 0px 3px 21px rgba(0, 0, 0, 34%);
    }
}

.contact-content {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-intro h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: hsl(var(--foreground));
}

.contact-intro p {
    font-size: 1.125rem;
    color: hsl(var(--foreground));
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-map-section {
    margin-bottom: 4rem;
    border-radius: var(--radius);

}

.contact-map {
    width: 100%;
    height: 400px;
    border-radius: var(--radius);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: hsla(var(--background), 0.9);
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 2rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0px 5px 13px rgba(0, 0, 0, 0.13);
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: hsl(var(--foreground));
}

.contact-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem;
    color: hsl(var(--foreground));
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: hsl(var(--foreground));
}

.contact-link {
    color: hsl(var(--primary));
    text-decoration: none;
    font-size: 0.89rem;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: hsl(var(--primary-foreground));
}

.contact-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link img {
    width: 155px;
    height: auto;
    transition: transform 0.2s ease;
}

.social-link:hover img {
    transform: scale(1.05);
}

.flip-horizontal {
    transform: rotateY(180deg);
}

.contact-image-section {
    margin-bottom: 2rem;
    text-align: center;
}

.office-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.21);
}

.contact-cta {
    text-align: center;
    padding: 4rem;
    background: linear-gradient(to right,
            hsla(var(--background), 0.9),
            hsla(var(--background), 0.95));
    border-radius: var(--radius);

}

.contact-cta h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

.contact-cta p {
    font-size: 1.125rem;
    color: hsl(var(--foreground));
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.trading-hours {
    background: hsla(var(--background), 0.8);
    border-radius: var(--radius);
    
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.day-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px;
    border-radius: var(--radius);

    background: hsla(230 20% 98%, 0.9);
    box-shadow: var(--tradingShadows);
    position: relative;
    min-height: 3.5rem;
}



.day {
    font-weight: 500;
    font-size: 0.89rem;
    color: hsl(var(--foreground));
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}



.open-day .day::before {
    content: '';
    position: absolute;

    left: -8px;
    top: -13px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #32cd32;
    box-shadow: 0px 0px 13px limegreen;
    margin-right: 0.75rem;
}

.closed-day .day::before {
    content: '';

    width: 8px;
    position: absolute;
    left: -8px;
    top: -13px;
    height: 8px;
    border-radius: 50%;
    background: #ff4444;
    box-shadow: 0px 0px 8px rgba(255, 68, 68, 0.5);
    margin-right: 0.75rem;
}

.hours {
    font-size: 0.84rem;
    color: hsl(var(--foreground-muted, var(--foreground)));
    text-align: right;
}

.hours .open {
    color: #32cd32;
    font-weight: 500;
}

.hours .closed {
    color: #ff4444;
    font-weight: 500;
}

/* Weekend note styles */
.weekend-note {
    text-align: center;
    font-size: 0.85rem;
    color: hsl(var(--foreground-muted, var(--foreground)));
    margin-top: 1rem;
    opacity: 0.8;
}

/* Current day highlight */
.day-row[data-current="true"] {
    background: hsla(var(--background), 0.95);
    border-color: hsl(var(--primary));
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
}



@media (max-width: 768px) {
    .contact-content {
        padding: 2rem 1rem;
    }

    .open-day .day::before {
         
    
        left: -12px;
        top: -9px;
         
       
    }
    
    .closed-day .day::before {
        left: -12px;
        top: -9px;
    }

    .contact-intro h2 {
        font-size: 2rem;
    }

    .contact-intro p {
        font-size: 1rem;
    }

    .contact-map {
        height: 300px;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .contact-card h3 {
        font-size: 1.25rem;
    }

    .contact-info p,
    .contact-link {
        font-size: 1rem;
    }

    .contact-cta {
        padding: 2rem 1rem;
    }

    .contact-cta h3 {
        font-size: 1.5rem;
    }

    .contact-cta p {
        font-size: 1rem;
    }

    .social-link img {
        width: 120px;
    }

    .trading-hours {
        
    }

    .day-row {
        padding: 0.875rem 1rem;
        min-height: 3rem;
    }

    .hours {
        font-size: 0.925rem;
    }

    .day {
        font-size: 1rem;
    }

}

#map {
    z-index: 0;
}