:root {
    --bg-color: #F5F5F7;
    --text-color: #4A4A4A;
    --text-white: #E2E2E5;
    --primary-color: #ED1C24;
    --about-us-color: #1A73E8;
    --areas-of-work-color: #4CAF50;
    --current-events-color: #FFA726;
    --new-case-law-color: #E53935;
    --new-case-law-bg: #e8e8ea;
    --primary-dark: #971115;
    --white: #ffffff;
    --shadow: rgba(0,0,0,0.1);
    interpolate-size: allow-keywords;
}

@font-face {
  font-family: 'Orbitron Regular';
  src: url('/fonts/Orbitron-Regular.ttf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Orbitron Medium';
  src: url('/fonts/Orbitron-Medium.ttf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'Orbitron Bold';
  src: url('/fonts/Orbitron-Bold.ttf') format('opentype');
  font-style: normal;
}

.contact-hero {
    background: var(--primary-color);
    padding: 5rem 0 4rem 0;
    margin: 0;
    position: relative;
    color: white;
    text-align: center;
}

.contact-hero h1 {
    font-family: 'Orbitron Medium', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-main {
    background: var(--bg-color);
    padding: 6rem 0;
    margin: 0;
}

.contact-main .container {
    margin: 0 auto;
    padding: 0 275px;
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.contact-info {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ED1C24, #971115);
}

.contact-greeting {
    margin-bottom: 3rem;
    text-align: center;
}

.contact-greeting h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
    font-style: italic;
}

.contact-greeting p {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: #666;
    margin: 0;
    font-style: italic;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(237, 28, 36, 0.05);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(237, 28, 36, 0.15);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-text {
    flex: 1;
}

.contact-text h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-text p {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.contact-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.map-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 500px;
    position: relative;
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ED1C24, #971115);
    z-index: 2;
}

.map-frame {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0 0 20px 20px;
}

/* Working hours section */
.working-hours-section {
    background: white;
    margin-top: 3rem;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.working-hours-section h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.working-hours-section h3 i {
    color: var(--primary-color);
}

.hours-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 2rem;
    align-items: center;
}

.day {
    font-weight: 600;
    color: var(--text-color);
}

.time {
    color: #666;
}

/* Responsive Design */
@media (max-width: 1440px) {
    .contact-main .container {
        padding: 0 200px;
    }
}

@media (max-width: 1200px) {
    .contact-main .container {
        padding: 0 150px;
    }
    
    .contact-hero h1 {
        font-size: 3rem;
    }
    
    .contact-content {
        gap: 4rem;
    }
}

@media (max-width: 1024px) {
    .contact-main {
        margin-left: calc(-50vw + 50%);
        width: 100vw;
    }
    
    .contact-main .container {
        padding: 0 100px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .map-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 6rem 0 3rem 0;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    .contact-main {
        padding: 4rem 0;
        margin-left: calc(-50vw + 50%);
        width: 100vw;
    }
    
    .contact-main .container {
        padding: 0 2rem;
    }
    
    .contact-info {
        padding: 2rem;
    }
    
    .contact-greeting h2 {
        font-size: 1.5rem;
    }
    
    .contact-greeting p {
        font-size: 1.1rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }
    
    .contact-item:hover {
        transform: translateY(-3px);
    }
    
    .contact-text {
        text-align: center;
    }
    
    .map-container {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 5rem 0 2.5rem 0;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
        letter-spacing: 0.5px;
    }
    
    .contact-main {
        padding: 3rem 0;
    }
    
    .contact-main .container {
        padding: 0 1.5rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .contact-greeting {
        margin-bottom: 2rem;
    }
    
    .contact-greeting h2 {
        font-size: 1.3rem;
    }
    
    .contact-greeting p {
        font-size: 1rem;
    }
    
    .contact-details {
        gap: 1.2rem;
    }
    
    .contact-item {
        padding: 1.2rem 0.8rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
    }
    
    .contact-icon i {
        font-size: 1rem;
    }
    
    .contact-text h3 {
        font-size: 1rem;
    }
    
    .contact-text p {
        font-size: 0.9rem;
    }
    
    .working-hours-section {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .working-hours-section h3 {
        font-size: 1.1rem;
    }
    
    .map-container {
        height: 300px;
    }
}

@media (max-width: 360px) {
    .contact-main .container {
        padding: 0 1rem;
    }
    
    .contact-hero h1 {
        font-size: 1.8rem;
    }
    
    .contact-info {
        padding: 1.2rem;
    }
    
    .contact-greeting h2 {
        font-size: 1.2rem;
    }
    
    .contact-greeting p {
        font-size: 0.95rem;
    }
}

/* Large screens (2K and above) */
@media (min-width: 2560px) {
    .contact-main .container {
        padding: 0 600px;
    }
    
    .contact-hero h1 {
        font-size: 4.5rem;
    }
    
    .contact-greeting h2 {
        font-size: 2.2rem;
    }
    
    .contact-greeting p {
        font-size: 1.5rem;
    }
    
    .contact-text h3 {
        font-size: 1.3rem;
    }
    
    .contact-text p {
        font-size: 1.2rem;
    }
}

/* QHD/1440p screens */
@media (min-width: 1920px) and (max-width: 2559px) {
    .contact-main .container {
        padding: 0 400px;
    }
    
    .contact-hero h1 {
        font-size: 4rem;
    }
    
    .contact-greeting h2 {
        font-size: 2rem;
    }
    
    .contact-greeting p {
        font-size: 1.4rem;
    }
}

/* Full HD/1080p screens */
@media (min-width: 1600px) and (max-width: 1919px) {
    .contact-main .container {
        padding: 0 200px;
    }
}