/* Contacts Page Specific Styles */

/* Contacts Hero Section */
.contacts-hero {
    height: 60vh;
    margin-top: 8vh;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: linear-gradient(135deg, rgba(39, 39, 94, 0.9), rgba(184, 156, 106, 0.3)),
                url('../img/contact_us.webp');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.contacts-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-color) 0%, transparent 50%, var(--accent-color) 100%);
    opacity: 0.1;
}

.contacts-hero .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
}

.contacts-hero h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.contacts-hero p {
    font-size: 1.4rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Contacts Section */
.contacts-section {
    padding: 6rem 2rem;
    background-color: #ffffff;
}

.contacts-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contacts-info {
    display: flex;
    flex-direction: column;
}

.contacts-info h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .contacts-info h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contacts-info h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}

.contacts-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contacts-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(184, 156, 106, 0.08);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

@media (max-width: 768px) {
    .contacts-item {
        gap: 1rem;
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .contacts-item {
        gap: 0.75rem;
        padding: 1rem;
    }
}

.contacts-item:hover {
    background: rgba(184, 156, 106, 0.15);
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(184, 156, 106, 0.15);
}

.contacts-link:hover {
    color: var(--primary-color);
}

.contacts-item i {
    font-size: 1.8rem;
    color: var(--accent-color);
    width: 40px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .contacts-item i {
        font-size: 1.5rem;
        width: 35px;
    }
}

@media (max-width: 480px) {
    .contacts-item i {
        font-size: 1.3rem;
        width: 30px;
    }
}

.contacts-item div h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .contacts-item div h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .contacts-item div h3 {
        font-size: 0.95rem;
    }
}

.contacts-item div p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .contacts-item div p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .contacts-item div p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

.contacts-map {
    margin-top: 2rem;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(39,39,94,0.10);
}

/* Social Media Section */
.contacts-social {
    display: flex;
    flex-direction: column;
}

.contacts-social h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .contacts-social h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .contacts-social h2 {
        font-size: 1.5rem;
    }
}

.contacts-social p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

@media (max-width: 480px) {
    .contacts-social p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border: 2px solid #e6e6e6;
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.4s ease;
    text-align: center;
}

.social-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.social-card h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.social-card p {
    font-size: 0.95rem;
    color: #666;
    transition: color 0.3s ease;
}

.social-card:hover:not(.disabled) {
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(39, 39, 94, 0.9) 100%);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 12px 32px rgba(39,39,94,0.15);
    transform: translateY(-8px) scale(1.05);
}

.social-card:hover:not(.disabled) i {
    color: var(--accent-color);
    transform: scale(1.2);
}

.social-card:hover:not(.disabled) h3,
.social-card:hover:not(.disabled) p {
    color: white;
}

.social-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #f0f0f0;
}

.social-card.disabled:hover {
    transform: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contacts-hero {
        margin-top: 7.5vh;
        height: 40vh;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }

    .contacts-hero h1 {
        font-size: 2.5rem;
    }

    .contacts-hero p {
        font-size: 1.1rem;
    }

    .contacts-section {
        padding: 4rem 1.5rem;
    }

    .contacts-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contacts-social {
        margin-top: 2rem;
    }
}

@media (max-width: 701px) {
    .contacts-hero {
        margin-top: 6vh;
    }
}

@media (max-width: 480px) {
    .contacts-hero {
        height: 45vh;
        margin-top: 5vh;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        background-attachment: scroll;
    }

    .contacts-hero h1 {
        font-size: 1.5rem;
    }

    .contacts-hero p {
        font-size: 0.85rem;
    }

    .contacts-section {
        padding: 3rem 1rem;
    }

    .contacts-container {
        gap: 1.5rem;
    }

    .contacts-details {
        gap: 1rem;
    }

    .social-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .social-card {
        padding: 1.5rem;
    }

    .social-card i {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }

    .social-card h3 {
        font-size: 1.1rem;
    }

    .social-card p {
        font-size: 0.9rem;
    }
}

/* Hero Image Optimization - Tablet and Mobile */
@media (max-width: 1024px) {
    .contacts-hero {
        background-attachment: scroll !important;
    }
}

@media (max-width: 768px) {
    .contacts-hero {
        background-attachment: scroll !important;
    }
}
