/* Partners Page Specific Styles */

/* Page-specific body adjustments */
body {
    display: flex;
    flex-direction: column;
}

/* Main Content */
main {
    flex: 1;
    padding: 60px 0;
}

/* Title and Navigation Section */
.title-nav-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 80px;
    gap: 40px;
}

.title-content {
    flex: 1;
    max-width: 600px;
}

.main-title {
    font-size: 48px;
    font-weight: bold;
    color: #B8A06F;
    margin-bottom: 20px;
    line-height: 1.2;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 18px;
    color: #B8A06F;
    line-height: 1.6;
    opacity: 0.9;
    font-weight: 300;
}

.nav-submenu {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 2px;
    align-self: flex-start;
    margin-top: 10px; /* Align with title baseline */
}

.nav-submenu .nav-link {
    font-size: 14px;
    text-align: right;
}

/* Partners Section */
.partners-section {
    margin-bottom: 80px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.partner-card {
    background-color: rgba(217, 185, 110, 0.1);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background-color: rgba(217, 185, 110, 0.15);
}

.partner-role {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #B8A06F;
    margin-bottom: 10px;
}

.partner-name {
    font-size: 18px;
    font-weight: 600;
    color: #B8A06F;
    margin-bottom: 20px;
    line-height: 1.3;
    white-space: nowrap;
}

.partner-image {
    width: 100%;
    margin-bottom: 15px;
}

.partner-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 6px;
    background-color: #1a5962;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.modal-container {
    background-color: #0F2F35;
    border-radius: 12px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #B8A06F;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background-color: rgba(217, 185, 110, 0.2);
}

.modal-content {
    display: flex;
    gap: 40px;
    padding: 40px;
}

.modal-image {
    flex: 1;
    min-width: 300px;
}

.modal-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    background-color: #1a5962;
}

.modal-text {
    flex: 1;
    min-width: 300px;
}

.modal-partner-name {
    font-size: 28px;
    font-weight: bold;
    color: #B8A06F;
    margin-bottom: 10px;
    line-height: 1.2;
}

.modal-partner-role {
    font-size: 18px;
    color: #B8A06F;
    font-weight: 600;
    margin-bottom: 25px;
    opacity: 0.8;
}

.modal-contact {
    margin: 20px 0 0 0;
    padding: 15px 0;
    border-top: 1px solid rgba(184, 160, 111, 0.2);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-label {
    font-size: 14px;
    color: #B8A06F;
    font-weight: 600;
    min-width: 60px;
    margin-right: 10px;
}

.contact-value {
    font-size: 14px;
    color: #B8A06F;
    opacity: 0.9;
}

.contact-link {
    color: #B8A06F;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.contact-link:hover {
    opacity: 0.8;
}

.modal-partner-bio {
    font-size: 14px;
    color: #B8A06F;
    line-height: 1.7;
    opacity: 0.9;
    text-align: justify;
    margin-top: 20px;
}

/* Mobile Responsive Design - Preserving Desktop Look */

/* Tablet Layout */
@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .title-nav-section {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }
    
    .nav-submenu {
        flex-direction: row;
        gap: 5px;
        align-self: center;
    }
    
    .nav-submenu .nav-link {
        text-align: center;
    }
}

/* Mobile Layout */
@media (max-width: 768px) {
    .main-title {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .subtitle {
        font-size: 16px;
        line-height: 1.5;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .partner-card {
        padding: 25px 20px;
        cursor: pointer;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .partner-card:active {
        transform: scale(0.98);
    }
    
    .partner-image {
        margin-bottom: 20px;
    }
    
    .partner-image img {
        height: 250px;
    }

    .modal-overlay {
        padding: 10px;
    }

    .modal-content {
        flex-direction: column;
        padding: 25px;
        gap: 25px;
    }
    
    .modal-image {
        min-width: unset;
        max-height: 300px;
    }
    
    .modal-image img {
        height: 300px;
    }
    
    .modal-text {
        min-width: unset;
    }

    .modal-partner-name {
        font-size: 24px;
        line-height: 1.2;
    }
    
    .modal-partner-role {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .modal-partner-bio {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* Small Mobile Layout */
@media (max-width: 480px) {
    .main-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .subtitle {
        font-size: 14px;
    }
    
    .partners-grid {
        gap: 20px;
    }
    
    .partner-card {
        padding: 20px 15px;
    }
    
    .partner-image img {
        height: 220px;
        object-position: 50% 25%;
    }
    
    .partner-name {
        font-size: 16px;
        line-height: 1.3;
    }
    
    .partner-role {
        font-size: 11px;
    }
    
    .modal-content {
        padding: 20px;
        gap: 20px;
    }
    
    .modal-image {
        max-height: 250px;
    }
    
    .modal-image img {
        height: 250px;
        object-position: 50% 25%;
    }
    
    .modal-partner-name {
        font-size: 20px;
    }
    
    .modal-partner-role {
        font-size: 14px;
    }
    
    .modal-partner-bio {
        font-size: 13px;
    }
    
    .modal-close {
        top: 10px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
} 